bcm63xx: move dts-v1 statement to top-level DTSI files
[openwrt/staging/mkresin.git] / target / linux / bcm63xx / dts / bcm6368-observa-vh4032n.dts
1 #include "bcm6368.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 model = "Observa VH4032N";
7 compatible = "observa,vh4032n", "brcm,bcm6368";
8
9 aliases {
10 led-boot = &led_power_blue;
11 led-failsafe = &led_power_blue;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_blue;
14 };
15
16 chosen {
17 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
18 stdout-path = "serial0:115200n8";
19 };
20
21 keys {
22 compatible = "gpio-keys-polled";
23 #address-cells = <1>;
24 #size-cells = <0>;
25 poll-interval = <20>;
26
27 reset {
28 label = "reset";
29 gpios = <&pinctrl 34 1>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
32 };
33
34 wlan {
35 label = "wlan";
36 gpios = <&pinctrl 35 1>;
37 linux,code = <KEY_WLAN>;
38 debounce-interval = <60>;
39 };
40 };
41
42 leds {
43 compatible = "gpio-leds";
44
45 dsl_blue {
46 label = "blue:dsl";
47 gpios = <&pinctrl 2 1>;
48 };
49 dsl_red {
50 label = "red:dsl";
51 gpios = <&pinctrl 5 1>;
52 };
53 hspa_blue {
54 label = "blue:hspa";
55 gpios = <&pinctrl 11 1>;
56 };
57 hspa_red {
58 label = "red:hspa";
59 gpios = <&pinctrl 12 1>;
60 };
61 led_power_blue: power_blue {
62 label = "blue:power";
63 gpios = <&pinctrl 22 0>;
64 default-state = "on";
65 };
66 power_red {
67 label = "red:power";
68 gpios = <&pinctrl 24 0>;
69 };
70 voice_blue {
71 label = "blue:voice";
72 gpios = <&pinctrl 25 1>;
73 };
74 voice_red {
75 label = "red:voice";
76 gpios = <&pinctrl 26 1>;
77 };
78 };
79 };
80
81 &pinctrl {
82 pinctrl-names = "default";
83 pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
84 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
85
86 usb_hub_reset {
87 gpio-hog;
88 gpios = <27 0>;
89 output-high;
90 line-name = "usb-hub-reset-gpio";
91 };
92 };
93
94 &pflash {
95 status = "okay";
96
97 partitions {
98 compatible = "fixed-partitions";
99 #address-cells = <1>;
100 #size-cells = <1>;
101
102 cfe@0 {
103 label = "CFE";
104 reg = <0x0000000 0x0020000>;
105 read-only;
106 };
107
108 linux@20000 {
109 label = "linux";
110 reg = <0x0020000 0x1fc0000>;
111 compatible = "brcm,bcm963xx-imagetag";
112 };
113
114 nvram@1fe0000 {
115 label = "nvram";
116 reg = <0x1fe0000 0x020000>;
117 };
118 };
119 };
120
121 &uart0 {
122 status = "okay";
123 };