1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6328.dtsi"
6 model = "Sercomm AD1018";
7 compatible = "sercomm,ad1018", "brcm,bcm6328";
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_green;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
17 compatible = "gpio-keys-polled";
18 poll-interval = <100>;
22 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
24 debounce-interval = <60>;
29 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WLAN>;
31 debounce-interval = <60>;
36 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
38 debounce-interval = <60>;
43 compatible = "brcm,bcma-sprom";
48 nvmem-cells = <&macaddr_cferom_6a0 1>;
49 nvmem-cell-names = "mac-address";
51 brcm,sprom = "brcm/bcm43217-sprom.bin";
52 brcm,sprom-fixups = <6 0x1c00>,
79 nvmem-cells = <&macaddr_cferom_6a0 0>;
80 nvmem-cell-names = "mac-address";
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led
88 &pinctrl_ephy0_spd_led &pinctrl_ephy1_act_led
89 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
92 brcm,serial-shift-inv;
98 label = "red:internet";
104 label = "green:internet";
107 led_power_green: led@8 {
110 function = LED_FUNCTION_POWER;
111 color = <LED_COLOR_ID_GREEN>;
112 default-state = "on";
118 label = "green:adsl";
130 label = "green:phone";
136 function = LED_FUNCTION_WPS;
137 color = <LED_COLOR_ID_GREEN>;
143 label = "green:wifi";
149 function = LED_FUNCTION_USB;
150 color = <LED_COLOR_ID_GREEN>;
156 brcm,hardware-controlled;
171 pins = "gpio0", "gpio1";
179 compatible = "brcm,nandcs";
181 nand-ecc-step-size = <512>;
182 nand-ecc-strength = <15>;
185 #address-cells = <1>;
189 compatible = "fixed-partitions";
190 #address-cells = <1>;
195 reg = <0x0000000 0x0020000>;
199 compatible = "fixed-layout";
200 #address-cells = <1>;
203 macaddr_cferom_6a0: macaddr@6a0 {
204 compatible = "mac-base";
206 #nvmem-cell-cells = <1>;
213 reg = <0x0020000 0x00a0000>;
219 reg = <0x00c0000 0x0140000>;
225 reg = <0x0200000 0x0140000>;
231 reg = <0x0340000 0x00a0000>;
237 reg = <0x03e0000 0x0140000>;
243 reg = <0x6920000 0x0140000>;
249 reg = <0x6a60000 0x0140000>;
254 compatible = "sercomm,wfi";
256 reg = <0x0520000 0x6400000>;
261 reg = <0x6ba0000 0x0280000>;
267 reg = <0x6e20000 0x0280000>;
280 phy-handle = <&phy1>;
288 phy-handle = <&phy2>;
296 phy-handle = <&phy3>;
304 phy-handle = <&phy4>;