1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6328.dtsi"
8 model = "Innacomm W3400V6";
9 compatible = "innacomm,w3400v6", "brcm,bcm6328";
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 23 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
31 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
38 compatible = "brcm,bcma-sprom";
43 nvmem-cells = <&macaddr_cfe_6a0 1>;
44 nvmem-cell-names = "mac-address";
46 brcm,sprom = "brcm/bcm4318-sprom.bin";
53 nvmem-cells = <&macaddr_cfe_6a0 0>;
54 nvmem-cell-names = "mac-address";
61 compatible = "jedec,spi-nor";
62 spi-max-frequency = <16666667>;
63 spi-tx-bus-width = <2>;
64 spi-rx-bus-width = <2>;
71 compatible = "fixed-partitions";
76 reg = <0x000000 0x010000>;
81 compatible = "fixed-layout";
85 macaddr_cfe_6a0: macaddr@6a0 {
86 compatible = "mac-base";
88 #nvmem-cell-cells = <1>;
94 compatible = "brcm,bcm963xx-imagetag";
95 reg = <0x010000 0x7e0000>;
100 reg = <0x7f0000 0x010000>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_leds>;
116 label = "green:internet";
122 label = "red:internet";
131 led_power_green: led@4 {
134 function = LED_FUNCTION_POWER;
135 color = <LED_COLOR_ID_GREEN>;
136 default-state = "on";
139 led_power_red: led@5 {
142 function = LED_FUNCTION_POWER;
143 color = <LED_COLOR_ID_RED>;
150 function = LED_FUNCTION_WPS;
151 color = <LED_COLOR_ID_GREEN>;
162 pins = "gpio1", "gpio2", "gpio3",
163 "gpio4", "gpio5", "gpio11";
173 phy-handle = <&phy1>;
181 phy-handle = <&phy2>;
189 phy-handle = <&phy3>;
197 phy-handle = <&phy4>;