1296fbf14bdfcbd55637e61633319556657466f1
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / vh4032n.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Observa VH4032N";
9 compatible = "observa,vh4032n", "brcm,bcm6368";
10
11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 gpio-keys-polled {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21 debounce-interval = <60>;
22
23 reset {
24 label = "reset";
25 gpios = <&pinctrl 34 1>;
26 linux,code = <KEY_RESTART>;
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 dsl_blue {
39 label = "VH4032N:blue:dsl";
40 gpios = <&pinctrl 2 1>;
41 };
42 dsl_red {
43 label = "VH4032N:red:dsl";
44 gpios = <&pinctrl 5 1>;
45 };
46 hspa_blue {
47 label = "VH4032N:blue:hspa";
48 gpios = <&pinctrl 11 1>;
49 };
50 hspa_red {
51 label = "VH4032N:red:hspa";
52 gpios = <&pinctrl 12 1>;
53 };
54 power_blue {
55 label = "VH4032N:blue:power";
56 gpios = <&pinctrl 22 0>;
57 };
58 power_red {
59 label = "VH4032N:red:power";
60 gpios = <&pinctrl 24 0>;
61 default-state = "on";
62 };
63 voice_blue {
64 label = "VH4032N:blue:voice";
65 gpios = <&pinctrl 25 1>;
66 };
67 voice_red {
68 label = "VH4032N:red:voice";
69 gpios = <&pinctrl 26 1>;
70 };
71 };
72 };
73
74 &pinctrl {
75 usb_hub_reset {
76 gpio-hog;
77 gpios = <27 0>;
78 output-high;
79 line-name = "usb-hub-reset-gpio";
80 };
81 };
82
83 &pflash {
84 status = "ok";
85
86 partitions {
87 compatible = "fixed-partitions";
88 #address-cells = <1>;
89 #size-cells = <1>;
90
91 cfe@0 {
92 label = "CFE";
93 reg = <0x0000000 0x0020000>;
94 read-only;
95 };
96
97 linux@20000 {
98 label = "linux";
99 reg = <0x0020000 0x1fc0000>;
100 compatible = "brcm,bcm963xx-imagetag";
101 };
102
103 nvram@1fe0000 {
104 label = "nvram";
105 reg = <0x1fe0000 0x020000>;
106 };
107 };
108 };
109
110 &uart0 {
111 status = "ok";
112 };