1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6328.dtsi"
6 model = "Innacomm W3400V6";
7 compatible = "innacomm,w3400v6", "brcm,bcm6328";
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_red;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
17 compatible = "gpio-keys-polled";
18 poll-interval = <100>;
22 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
29 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
31 debounce-interval = <60>;
36 compatible = "brcm,bcma-sprom";
41 nvmem-cells = <&macaddr_cfe_6a0 1>;
42 nvmem-cell-names = "mac-address";
44 brcm,sprom = "brcm/bcm4318-sprom.bin";
51 nvmem-cells = <&macaddr_cfe_6a0 0>;
52 nvmem-cell-names = "mac-address";
59 compatible = "jedec,spi-nor";
60 spi-max-frequency = <16666667>;
61 spi-tx-bus-width = <2>;
62 spi-rx-bus-width = <2>;
69 compatible = "fixed-partitions";
74 reg = <0x000000 0x010000>;
79 compatible = "fixed-layout";
83 macaddr_cfe_6a0: macaddr@6a0 {
84 compatible = "mac-base";
86 #nvmem-cell-cells = <1>;
92 compatible = "brcm,bcm963xx-imagetag";
93 reg = <0x010000 0x7e0000>;
98 reg = <0x7f0000 0x010000>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_leds>;
114 label = "green:internet";
120 label = "red:internet";
129 led_power_green: led@4 {
132 function = LED_FUNCTION_POWER;
133 color = <LED_COLOR_ID_GREEN>;
134 default-state = "on";
137 led_power_red: led@5 {
140 function = LED_FUNCTION_POWER;
141 color = <LED_COLOR_ID_RED>;
148 function = LED_FUNCTION_WPS;
149 color = <LED_COLOR_ID_GREEN>;
160 pins = "gpio1", "gpio2", "gpio3",
161 "gpio4", "gpio5", "gpio11";
171 phy-handle = <&phy1>;
179 phy-handle = <&phy2>;
187 phy-handle = <&phy3>;
195 phy-handle = <&phy4>;