a4001n.dts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /dts-v1/;
  2. #include "bcm6328.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "ADB P.DG A4001N";
  6. compatible = "adb,a4001n", "brcm,bcm6328";
  7. chosen {
  8. bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. };
  10. gpio-keys-polled {
  11. compatible = "gpio-keys-polled";
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. poll-interval = <20>;
  15. debounce-interval = <60>;
  16. reset {
  17. label = "reset";
  18. gpios = <&gpio0 23 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. wps {
  22. label = "wps";
  23. gpios = <&gpio0 24 1>;
  24. linux,code = <KEY_WPS_BUTTON>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. inet_red {
  30. label = "A4001N:red:inet";
  31. gpios = <&gpio0 1 0>;
  32. };
  33. power_red {
  34. label = "A4001N:red:power";
  35. gpios = <&gpio0 4 0>;
  36. };
  37. power_green {
  38. label = "A4001N:green:power";
  39. gpios = <&gpio0 8 0>;
  40. default-state = "on";
  41. };
  42. usb_green {
  43. label = "A4001N:green:usb";
  44. gpios = <&gpio0 10 1>;
  45. };
  46. dsl_green {
  47. label = "A4001N:green:dsl";
  48. gpios = <&gpio0 11 1>;
  49. };
  50. };
  51. };