a4001n.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 = "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 = "wps";
  24. gpios = <&pinctrl 24 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. debounce-interval = <60>;
  27. };
  28. };
  29. leds {
  30. compatible = "gpio-leds";
  31. inet_red {
  32. label = "A4001N:red:inet";
  33. gpios = <&pinctrl 1 0>;
  34. };
  35. power_red {
  36. label = "A4001N:red:power";
  37. gpios = <&pinctrl 4 0>;
  38. };
  39. power_green {
  40. label = "A4001N:green:power";
  41. gpios = <&pinctrl 8 0>;
  42. default-state = "on";
  43. };
  44. usb_green {
  45. label = "A4001N:green:usb";
  46. gpios = <&pinctrl 10 1>;
  47. };
  48. dsl_green {
  49. label = "A4001N:green:dsl";
  50. gpios = <&pinctrl 11 1>;
  51. };
  52. };
  53. };
  54. &hsspi {
  55. status = "ok";
  56. flash@0 {
  57. compatible = "jedec,spi-nor";
  58. spi-max-frequency = <16666667>;
  59. spi-tx-bus-width = <2>;
  60. spi-rx-bus-width = <2>;
  61. reg = <0>;
  62. partitions {
  63. compatible = "fixed-partitions";
  64. #address-cells = <1>;
  65. #size-cells = <1>;
  66. cfe@0 {
  67. reg = <0x000000 0x010000>;
  68. label = "cfe";
  69. read-only;
  70. };
  71. linux@10000 {
  72. reg = <0x010000 0x7e0000>;
  73. label = "linux";
  74. compatible = "brcm,bcm963xx-imagetag";
  75. };
  76. nvram@7f0000 {
  77. reg = <0x7f0000 0x010000>;
  78. label = "nvram";
  79. };
  80. };
  81. };
  82. };
  83. &uart0 {
  84. status = "ok";
  85. };