a4001n1.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /dts-v1/;
  2. #include "bcm6328.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "ADB P.DG A4001N1";
  6. compatible = "adb,a4001n1", "brcm,bcm6328";
  7. chosen {
  8. bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. keys {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. reset {
  17. label = "reset";
  18. gpios = <&pinctrl 23 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. wps {
  23. label = "wlan";
  24. gpios = <&pinctrl 24 1>;
  25. linux,code = <KEY_WLAN>;
  26. debounce-interval = <60>;
  27. };
  28. };
  29. leds {
  30. compatible = "gpio-leds";
  31. inet_red {
  32. label = "A4001N1:red:inet";
  33. gpios = <&pinctrl 2 1>;
  34. };
  35. ppp_green {
  36. label = "A4001N1:green:ppp";
  37. gpios = <&pinctrl 3 1>;
  38. };
  39. power_green {
  40. label = "A4001N1:green:power";
  41. gpios = <&pinctrl 4 1>;
  42. default-state = "on";
  43. };
  44. ppp_red {
  45. label = "A4001N1:red:ppp";
  46. gpios = <&pinctrl 5 1>;
  47. };
  48. usb_green {
  49. label = "A4001N1:green:3g";
  50. gpios = <&pinctrl 6 1>;
  51. };
  52. usb_red {
  53. label = "A4001N1:red:3g";
  54. gpios = <&pinctrl 7 1>;
  55. };
  56. power_red {
  57. label = "A4001N1:red:power";
  58. gpios = <&pinctrl 8 1>;
  59. };
  60. wlan_green {
  61. label = "A4001N1:green:wlan";
  62. gpios = <&pinctrl 9 1>;
  63. };
  64. wlan_red {
  65. label = "A4001N1:red:wlan";
  66. gpios = <&pinctrl 10 1>;
  67. };
  68. inet_green {
  69. label = "A4001N1:green:inet";
  70. gpios = <&pinctrl 11 1>;
  71. };
  72. eth_red {
  73. label = "A4001N1:red:eth";
  74. gpios = <&pinctrl 20 1>;
  75. };
  76. eth_green {
  77. label = "A4001N1:green:eth";
  78. gpios = <&pinctrl 31 1>;
  79. };
  80. };
  81. };
  82. &hsspi {
  83. status = "ok";
  84. flash@0 {
  85. compatible = "jedec,spi-nor";
  86. spi-max-frequency = <16666667>;
  87. spi-tx-bus-width = <2>;
  88. spi-rx-bus-width = <2>;
  89. reg = <0>;
  90. #address-cells = <1>;
  91. #size-cells = <1>;
  92. partitions {
  93. compatible = "fixed-partitions";
  94. #address-cells = <1>;
  95. #size-cells = <1>;
  96. cfe@0 {
  97. reg = <0x000000 0x010000>;
  98. label = "cfe";
  99. read-only;
  100. };
  101. linux@10000 {
  102. reg = <0x010000 0xfe0000>;
  103. label = "linux";
  104. compatible = "brcm,bcm963xx-imagetag";
  105. };
  106. nvram@ff0000 {
  107. reg = <0xff0000 0x010000>;
  108. label = "nvram";
  109. };
  110. };
  111. };
  112. };
  113. &uart0 {
  114. status = "ok";
  115. };