r1000h.dts 1.6 KB

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