1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6368.dtsi"
8 model = "Observa VH4032N";
9 compatible = "observa,vh4032n", "brcm,bcm6368";
12 led-boot = &led_power_blue;
13 led-failsafe = &led_power_red;
14 led-running = &led_power_blue;
15 led-upgrade = &led_power_blue;
19 compatible = "gpio-keys-polled";
20 poll-interval = <100>;
24 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
31 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RFKILL>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
42 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
60 led_power_blue: led@22 {
61 function = LED_FUNCTION_POWER;
62 color = <LED_COLOR_ID_BLUE>;
63 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
66 led_power_red: led@24 {
67 function = LED_FUNCTION_POWER;
68 color = <LED_COLOR_ID_RED>;
69 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
75 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
80 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
85 compatible = "brcm,ssb-sprom";
90 nvmem-cells = <&macaddr_cfe_6a0 1>;
91 nvmem-cell-names = "mac-address";
93 brcm,sprom = "brcm/bcm43222-sprom.bin";
94 brcm,sprom-fixups = <2 0x04d2>, <4 0x4350>,
95 <65 0x1300>, <68 0x0402>,
96 <70 0x0090>, <71 0x4c19>,
97 <72 0x2345>, <87 0x0315>,
98 <88 0x0315>, <96 0x2048>,
99 <97 0xfed7>, <98 0x15a6>,
100 <99 0xfaee>, <100 0x3e3a>,
101 <101 0x3a36>, <102 0xff7f>,
102 <103 0x11b9>, <104 0xfc53>,
103 <105 0xffe6>, <106 0xfdd2>,
104 <107 0xfe49>, <108 0xff6a>,
105 <109 0x136e>, <110 0xfbed>,
106 <111 0x0000>, <112 0x2048>,
107 <113 0xfee2>, <114 0x15e5>,
108 <115 0xfaed>, <116 0x3e3a>,
109 <117 0x3a36>, <118 0xffc8>,
110 <119 0x12b8>, <120 0xfca1>,
111 <121 0xff9b>, <122 0x122a>,
112 <123 0xfcc8>, <124 0xff95>,
113 <125 0x146b>, <126 0xfbba>,
114 <127 0x0000>, <161 0x0000>,
115 <162 0x0000>, <169 0x0000>,
116 <170 0x0000>, <171 0x0000>,
117 <172 0x0000>, <173 0x0000>,
118 <174 0x0000>, <175 0x0000>,
119 <176 0x0000>, <219 0x1108>;
130 nvmem-cells = <&macaddr_cfe_6a0 0>;
131 nvmem-cell-names = "mac-address";
137 gpios = <27 GPIO_ACTIVE_HIGH>;
139 line-name = "usb-hub-reset-gpio";
155 compatible = "fixed-partitions";
156 #address-cells = <1>;
161 reg = <0x0000000 0x0020000>;
165 compatible = "fixed-layout";
166 #address-cells = <1>;
169 macaddr_cfe_6a0: macaddr@6a0 {
170 compatible = "mac-base";
172 #nvmem-cell-cells = <1>;
178 compatible = "brcm,bcm963xx-imagetag";
180 reg = <0x0020000 0x1fc0000>;
185 reg = <0x1fe0000 0x020000>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&pinctrl_ephy0_led &pinctrl_ephy1_led
193 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
202 phy-handle = <&phy1>;
210 phy-handle = <&phy2>;
218 phy-handle = <&phy3>;
226 phy-handle = <&phy4>;