1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include "bcm6328.dtsi"
7 #include <dt-bindings/input/input.h>
10 model = "Sercomm AD1018";
11 compatible = "sercomm,ad1018", "brcm,bcm6328";
14 led-boot = &led_power_green;
15 led-failsafe = &led_power_green;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_green;
21 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
22 stdout-path = "serial0:115200n8";
26 compatible = "gpio-keys-polled";
33 gpios = <&pinctrl 24 1>;
34 linux,code = <KEY_WPS_BUTTON>;
35 debounce-interval = <60>;
40 gpios = <&pinctrl 25 1>;
41 linux,code = <KEY_WLAN>;
42 debounce-interval = <60>;
47 gpios = <&pinctrl 31 1>;
48 linux,code = <KEY_RESTART>;
49 debounce-interval = <60>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led
59 &pinctrl_ephy0_spd_led &pinctrl_ephy1_act_led
60 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
63 brcm,serial-shift-inv;
69 label = "ad1018:red:internet";
75 label = "ad1018:green:internet";
78 led_power_green: led@8 {
81 label = "ad1018:green:power";
88 label = "ad1018:green:adsl";
94 label = "ad1018:red:adsl";
100 label = "ad1018:green:phone";
106 label = "ad1018:green:wps";
112 label = "ad1018:green:wifi";
118 label = "ad1018:green:usb";
124 brcm,hardware-controlled;
132 compatible = "brcm,nandcs";
134 #address-cells = <1>;
136 nand-ecc-step-size = <512>;
137 nand-ecc-strength = <15>;
139 brcm,nand-oob-sector-size = <64>;
142 compatible = "fixed-partitions";
143 #address-cells = <1>;
148 reg = <0x0000000 0x0020000>;
154 reg = <0x0020000 0x00a0000>;
160 reg = <0x00c0000 0x0140000>;
166 reg = <0x0200000 0x0140000>;
172 reg = <0x0340000 0x00a0000>;
178 reg = <0x03e0000 0x0140000>;
184 reg = <0x6920000 0x0140000>;
189 reg = <0x6a60000 0x0140000>;
193 compatible = "sercomm,wfi";
195 reg = <0x0520000 0x6400000>;
200 reg = <0x6ba0000 0x0280000>;
206 reg = <0x6e20000 0x0280000>;
216 pins = "gpio0", "gpio1";