1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6362.dtsi"
8 model = "Netgear DGND3700 v2";
9 compatible = "netgear,dgnd3700-v2", "brcm,bcm6362";
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_red;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_green;
19 compatible = "gpio-keys-polled";
20 poll-interval = <100>;
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_WLAN>;
26 debounce-interval = <60>;
31 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
38 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>;
45 compatible = "gpio-leds";
49 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
52 led_power_red: led@34 {
53 function = LED_FUNCTION_POWER;
54 color = <LED_COLOR_ID_RED>;
55 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
68 nvmem-cells = <&macaddr_cferom_6a0>;
69 nvmem-cell-names = "mac-address";
77 brcm,serial-shift-inv;
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led>;
86 label = "green:internet";
89 led_power_green: led@8 {
91 function = LED_FUNCTION_POWER;
92 color = <LED_COLOR_ID_GREEN>;
98 function = LED_FUNCTION_WPS;
99 color = <LED_COLOR_ID_GREEN>;
105 label = "green:usb1";
111 label = "green:usb2";
117 label = "amber:internet";
123 label = "green:ethernet";
135 label = "amber:usb1";
141 label = "amber:usb2";
147 label = "amber:ethernet";
153 compatible = "brcm,bcm53125";
159 #address-cells = <1>;
191 ethernet = <&switch0port4>;
206 compatible = "brcm,nandcs";
208 nand-ecc-step-size = <512>;
209 nand-ecc-strength = <15>;
212 #address-cells = <1>;
216 compatible = "fixed-partitions";
217 #address-cells = <1>;
222 reg = <0x0000000 0x0004000>;
226 compatible = "fixed-layout";
227 #address-cells = <1>;
230 macaddr_cferom_6a0: macaddr@6a0 {
237 compatible = "brcm,wfi";
239 reg = <0x0004000 0x1c7c000>;
245 reg = <0x1c80000 0x0040000>;
251 reg = <0x1cc0000 0x0040000>;
257 reg = <0x1d00000 0x0080000>;
262 label = "language_dev";
263 reg = <0x1d80000 0x0040000>;
269 reg = <0x1dc0000 0x0100000>;
295 switch0port4: port@4 {