1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6368.dtsi"
8 model = "Netgear EVG2000";
9 compatible = "netgear,evg2000", "brcm,bcm6369", "brcm,bcm6368";
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 25 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
31 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
41 label = "green:voip2";
42 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 label = "red:internet";
47 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
51 label = "green:internet";
52 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
56 label = "green:voip1";
57 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
61 function = LED_FUNCTION_USB;
62 color = <LED_COLOR_ID_GREEN>;
63 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
66 led_power_green: led@22 {
67 function = LED_FUNCTION_POWER;
68 color = <LED_COLOR_ID_GREEN>;
69 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
72 led_power_red: led@23 {
73 function = LED_FUNCTION_POWER;
74 color = <LED_COLOR_ID_RED>;
75 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
80 function = LED_FUNCTION_LAN;
81 color = <LED_COLOR_ID_GREEN>;
82 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
86 function = LED_FUNCTION_WAN;
87 color = <LED_COLOR_ID_GREEN>;
88 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
93 compatible = "brcm,ssb-sprom";
98 nvmem-cells = <&macaddr_cfe_6a0 1>;
99 nvmem-cell-names = "mac-address";
101 brcm,sprom = "brcm/bcm4322-sprom.bin";
102 brcm,sprom-fixups = <219 0xec08>;
113 nvmem-cells = <&macaddr_cfe_6a0 0>;
114 nvmem-cell-names = "mac-address";
119 compatible = "brcm,bcm53115";
125 #address-cells = <1>;
157 ethernet = <&switch0port5>;
172 switch0port5: port@5 {
190 compatible = "fixed-partitions";
191 #address-cells = <1>;
196 reg = <0x000000 0x020000>;
200 compatible = "fixed-layout";
201 #address-cells = <1>;
204 macaddr_cfe_6a0: macaddr@6a0 {
205 compatible = "mac-base";
207 #nvmem-cell-cells = <1>;
214 reg = <0x020000 0xf40000>;
215 compatible = "brcm,bcm963xx-imagetag";
219 label = "board_data";
220 reg = <0xf60000 0x080000>;
226 reg = <0xfe0000 0x020000>;