brcm63xx: add support for the Actiontec R1000H gateway
[openwrt/staging/blogic.git] / target / linux / brcm63xx / dts / 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 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs noinitrd console=ttyS0,115200";
13 };
14
15 gpio-keys-polled {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19 poll-interval = <20>;
20 debounce-interval = <60>;
21
22 reset {
23 label = "reset";
24 gpios = <&pinctrl 34 1>;
25 linux,code = <KEY_RESTART>;
26 };
27
28 wps {
29 label = "wps";
30 gpios = <&pinctrl 35 1>;
31 linux,code = <KEY_WPS_BUTTON>;
32 };
33 };
34
35 gpio-leds {
36 compatible = "gpio-leds";
37
38 inet_green {
39 label = "R1000H:green:inet";
40 gpios = <&pinctrl 5 0>;
41 };
42
43 usb_green {
44 label = "R1000H:green:usb";
45 gpios = <&pinctrl 21 1>;
46 };
47
48 power_green {
49 label = "R1000H:green:power";
50 gpios = <&pinctrl 22 0>;
51 default-state = "on";
52 };
53
54 wps_green {
55 label = "R1000H:green:wps";
56 gpios = <&pinctrl 23 1>;
57 };
58
59 power_red {
60 label = "R1000H:red:power";
61 gpios = <&pinctrl 24 0>;
62 };
63
64 wps_red {
65 label = "R1000H:red:wps";
66 gpios = <&pinctrl 30 1>;
67 };
68
69 inet_red {
70 label = "R1000H:red:inet";
71 gpios = <&pinctrl 31 0>;
72 };
73 };
74 };
75
76 &pflash {
77 status = "ok";
78
79 linux,part-probe = "bcm63xxpart";
80
81 CFE@0 {
82 reg = <0x000000 0x020000>;
83 read-only;
84 };
85
86 linux@20000 {
87 reg = <0x020000 0x1fc0000>;
88 };
89
90 nvram@1fe0000 {
91 reg = <0x1fe0000 0x20000>;
92 };
93 };