bcm63xx: use generic diag.sh
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6368-actiontec-r1000h.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Actiontec R1000H";
9 compatible = "actiontec,r1000h", "brcm,bcm6368";
10
11 aliases {
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_green;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_green;
16 };
17
18 chosen {
19 bootargs = "rootfstype=squashfs noinitrd console=ttyS0,115200";
20 stdout-path = "serial0:115200n8";
21 };
22
23 keys {
24 compatible = "gpio-keys-polled";
25 #address-cells = <1>;
26 #size-cells = <0>;
27 poll-interval = <20>;
28
29 reset {
30 label = "reset";
31 gpios = <&pinctrl 34 1>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
34 };
35
36 wps {
37 label = "wps";
38 gpios = <&pinctrl 35 1>;
39 linux,code = <KEY_WPS_BUTTON>;
40 debounce-interval = <60>;
41 };
42 };
43
44 leds {
45 compatible = "gpio-leds";
46
47 inet_green {
48 label = "R1000H:green:inet";
49 gpios = <&pinctrl 5 0>;
50 };
51
52 usb_green {
53 label = "R1000H:green:usb";
54 gpios = <&pinctrl 21 1>;
55 };
56
57 led_power_green: power_green {
58 label = "R1000H:green:power";
59 gpios = <&pinctrl 22 0>;
60 default-state = "on";
61 };
62
63 wps_green {
64 label = "R1000H:green:wps";
65 gpios = <&pinctrl 23 1>;
66 };
67
68 power_red {
69 label = "R1000H:red:power";
70 gpios = <&pinctrl 24 0>;
71 };
72
73 wps_red {
74 label = "R1000H:red:wps";
75 gpios = <&pinctrl 30 1>;
76 };
77
78 inet_red {
79 label = "R1000H:red:inet";
80 gpios = <&pinctrl 31 0>;
81 };
82 };
83 };
84
85 &pflash {
86 status = "ok";
87
88 partitions {
89 compatible = "fixed-partitions";
90 #address-cells = <1>;
91 #size-cells = <1>;
92
93 CFE@0 {
94 reg = <0x000000 0x020000>;
95 read-only;
96 };
97
98 linux@20000 {
99 reg = <0x020000 0x1fc0000>;
100 compatible = "brcm,bcm963xx-imagetag";
101 };
102
103 nvram@1fe0000 {
104 reg = <0x1fe0000 0x20000>;
105 };
106 };
107 };
108
109 &uart0 {
110 status = "ok";
111 };
112
113 &uart1 {
114 status = "ok";
115 };