1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm63268.dtsi"
8 model = "Comtrend VR-3032u";
9 compatible = "comtrend,vr-3032u", "brcm,bcm63168", "brcm,bcm63268";
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_green;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_green;
19 compatible = "gpio-keys-polled";
20 poll-interval = <100>;
24 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
31 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
45 nvmem-cells = <&macaddr_cferom_6a0>;
46 nvmem-cell-names = "mac-address";
54 brcm,serial-shift-inv;
56 pinctrl-names = "default";
57 pinctrl-0 = <&pinctrl_serial_led>;
62 brcm,hardware-controlled;
63 brcm,link-signal-sources = <0>;
69 brcm,hardware-controlled;
70 brcm,link-signal-sources = <1>;
76 label = "red:internet";
88 function = LED_FUNCTION_USB;
89 color = <LED_COLOR_ID_GREEN>;
95 function = LED_FUNCTION_WPS;
96 color = <LED_COLOR_ID_GREEN>;
102 label = "green:internet";
108 brcm,hardware-controlled;
114 brcm,hardware-controlled;
120 brcm,hardware-controlled;
126 brcm,hardware-controlled;
132 brcm,hardware-controlled;
138 brcm,hardware-controlled;
144 brcm,hardware-controlled;
147 led_power_green: led@20 {
150 function = LED_FUNCTION_POWER;
151 color = <LED_COLOR_ID_GREEN>;
159 compatible = "brcm,nandcs";
161 nand-ecc-step-size = <512>;
162 nand-ecc-strength = <15>;
164 brcm,nand-oob-sector-size = <64>;
166 #address-cells = <1>;
170 compatible = "fixed-partitions";
171 #address-cells = <1>;
176 reg = <0x0000000 0x0020000>;
180 compatible = "fixed-layout";
181 #address-cells = <1>;
184 macaddr_cferom_6a0: macaddr@6a0 {
191 compatible = "brcm,wfi-split";
193 reg = <0x0020000 0x7ac0000>;
209 phy-handle = <&phy1>;
217 phy-handle = <&phy2>;
225 phy-handle = <&phy3>;
233 phy-handle = <&phy4>;