1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "bcm6328.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
9 model = "ADB P.DG A4101N A-000-1A1-AE";
10 compatible = "adb,pdg-a4101n-a-000-1a1-ae", "brcm,bcm6328";
13 led-boot = &led_dsl_green;
14 led-failsafe = &led_dsl_green;
15 led-upgrade = &led_dsl_green;
19 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
20 stdout-path = "serial0:115200n8";
24 compatible = "gpio-keys-polled";
31 gpios = <&pinctrl 12 1>;
32 linux,code = <KEY_WLAN>;
33 debounce-interval = <60>;
38 gpios = <&pinctrl 23 1>;
39 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>;
45 gpios = <&pinctrl 24 1>;
46 linux,code = <KEY_WPS_BUTTON>;
47 debounce-interval = <60>;
52 compatible = "gpio-leds";
56 gpios = <&pinctrl 31 1>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_leds>;
67 led_dsl_green: led@3 {
76 function = LED_FUNCTION_WPS;
77 color = <LED_COLOR_ID_GREEN>;
83 function = LED_FUNCTION_USB;
84 color = <LED_COLOR_ID_GREEN>;
90 label = "green:internet";
98 compatible = "jedec,spi-nor";
99 spi-max-frequency = <16666667>;
100 spi-tx-bus-width = <2>;
101 spi-rx-bus-width = <2>;
104 #address-cells = <1>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
113 reg = <0x000000 0x010000>;
119 reg = <0x010000 0xff0000>;
121 compatible = "brcm,bcm963xx-imagetag";
130 pins = "gpio3", "gpio9", "gpio10",
134 green_internet_switch {
138 line-name = "green:internet-switch";