a4001n.dts 1.7 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 = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. gpio-keys-polled {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. debounce-interval = <60>;
  17. reset {
  18. label = "reset";
  19. gpios = <&pinctrl 23 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 24 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. inet_red {
  31. label = "A4001N:red:inet";
  32. gpios = <&pinctrl 1 0>;
  33. };
  34. power_red {
  35. label = "A4001N:red:power";
  36. gpios = <&pinctrl 4 0>;
  37. };
  38. power_green {
  39. label = "A4001N:green:power";
  40. gpios = <&pinctrl 8 0>;
  41. default-state = "on";
  42. };
  43. usb_green {
  44. label = "A4001N:green:usb";
  45. gpios = <&pinctrl 10 1>;
  46. };
  47. dsl_green {
  48. label = "A4001N:green:dsl";
  49. gpios = <&pinctrl 11 1>;
  50. };
  51. };
  52. };
  53. &hsspi {
  54. status = "ok";
  55. flash@0 {
  56. compatible = "jedec,spi-nor";
  57. spi-max-frequency = <16666667>;
  58. spi-tx-bus-width = <2>;
  59. spi-rx-bus-width = <2>;
  60. reg = <0>;
  61. linux,part-probe = "bcm63xxpart";
  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. };