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>;
49 nvmem-cell-names = "mac-address";
50 mac-address-increment = <1>;
52 brcm,sprom = "brcm/bcm43217-sprom.bin";
53 brcm,sprom-fixups = <6 0x1c00>,
80 nvmem-cells = <&macaddr_cferom_6a0>;
81 nvmem-cell-names = "mac-address";
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led
89 &pinctrl_ephy0_spd_led &pinctrl_ephy1_act_led
90 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
93 brcm,serial-shift-inv;
99 label = "red:internet";
105 label = "green:internet";
108 led_power_green: led@8 {
111 label = "green:power";
112 default-state = "on";
118 label = "green:adsl";
130 label = "green:phone";
142 label = "green:wifi";
154 brcm,hardware-controlled;
169 pins = "gpio0", "gpio1";
177 compatible = "brcm,nandcs";
179 nand-ecc-step-size = <512>;
180 nand-ecc-strength = <15>;
183 #address-cells = <1>;
187 compatible = "fixed-partitions";
188 #address-cells = <1>;
191 cferom: partition@0 {
193 reg = <0x0000000 0x0020000>;
199 reg = <0x0020000 0x00a0000>;
205 reg = <0x00c0000 0x0140000>;
211 reg = <0x0200000 0x0140000>;
217 reg = <0x0340000 0x00a0000>;
223 reg = <0x03e0000 0x0140000>;
229 reg = <0x6920000 0x0140000>;
235 reg = <0x6a60000 0x0140000>;
240 compatible = "sercomm,wfi";
242 reg = <0x0520000 0x6400000>;
247 reg = <0x6ba0000 0x0280000>;
253 reg = <0x6e20000 0x0280000>;
266 phy-handle = <&phy1>;
274 phy-handle = <&phy2>;
282 phy-handle = <&phy3>;
290 phy-handle = <&phy4>;
305 compatible = "nvmem-cells";
306 #address-cells = <1>;
309 macaddr_cferom_6a0: macaddr@6a0 {