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 label = "green:power";
111 default-state = "on";
117 label = "green:adsl";
129 label = "green:phone";
141 label = "green:wifi";
153 brcm,hardware-controlled;
168 pins = "gpio0", "gpio1";
176 compatible = "brcm,nandcs";
178 nand-ecc-step-size = <512>;
179 nand-ecc-strength = <15>;
182 #address-cells = <1>;
186 compatible = "fixed-partitions";
187 #address-cells = <1>;
192 reg = <0x0000000 0x0020000>;
196 compatible = "fixed-layout";
197 #address-cells = <1>;
200 macaddr_cferom_6a0: macaddr@6a0 {
201 compatible = "mac-base";
203 #nvmem-cell-cells = <1>;
210 reg = <0x0020000 0x00a0000>;
216 reg = <0x00c0000 0x0140000>;
222 reg = <0x0200000 0x0140000>;
228 reg = <0x0340000 0x00a0000>;
234 reg = <0x03e0000 0x0140000>;
240 reg = <0x6920000 0x0140000>;
246 reg = <0x6a60000 0x0140000>;
251 compatible = "sercomm,wfi";
253 reg = <0x0520000 0x6400000>;
258 reg = <0x6ba0000 0x0280000>;
264 reg = <0x6e20000 0x0280000>;
277 phy-handle = <&phy1>;
285 phy-handle = <&phy2>;
293 phy-handle = <&phy3>;
301 phy-handle = <&phy4>;