r1000h.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /dts-v1/;
  2. #include "bcm6368.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Actiontec R1000H";
  6. compatible = "actiontec,r1000h", "brcm,bcm6368";
  7. chosen {
  8. bootargs = "rootfstype=squashfs 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 34 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 35 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. debounce-interval = <60>;
  27. };
  28. };
  29. gpio-leds {
  30. compatible = "gpio-leds";
  31. inet_green {
  32. label = "R1000H:green:inet";
  33. gpios = <&pinctrl 5 0>;
  34. };
  35. usb_green {
  36. label = "R1000H:green:usb";
  37. gpios = <&pinctrl 21 1>;
  38. };
  39. power_green {
  40. label = "R1000H:green:power";
  41. gpios = <&pinctrl 22 0>;
  42. default-state = "on";
  43. };
  44. wps_green {
  45. label = "R1000H:green:wps";
  46. gpios = <&pinctrl 23 1>;
  47. };
  48. power_red {
  49. label = "R1000H:red:power";
  50. gpios = <&pinctrl 24 0>;
  51. };
  52. wps_red {
  53. label = "R1000H:red:wps";
  54. gpios = <&pinctrl 30 1>;
  55. };
  56. inet_red {
  57. label = "R1000H:red:inet";
  58. gpios = <&pinctrl 31 0>;
  59. };
  60. };
  61. };
  62. &pflash {
  63. status = "ok";
  64. partitions {
  65. compatible = "fixed-partitions";
  66. #address-cells = <1>;
  67. #size-cells = <1>;
  68. CFE@0 {
  69. reg = <0x000000 0x020000>;
  70. read-only;
  71. };
  72. linux@20000 {
  73. reg = <0x020000 0x1fc0000>;
  74. compatible = "brcm,bcm963xx-imagetag";
  75. };
  76. nvram@1fe0000 {
  77. reg = <0x1fe0000 0x20000>;
  78. };
  79. };
  80. };
  81. &uart0 {
  82. status = "ok";
  83. };
  84. &uart1 {
  85. status = "ok";
  86. };