1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "siemens,ws-ap3610", "qca,ar7161";
11 model = "Siemens WS-AP3610";
14 bootargs = "console=ttyS0,115200";
18 led-boot = &led_power_green;
19 led-failsafe = &led_power_red;
20 led-running = &led_power_green;
21 led-upgrade = &led_power_red;
22 label-mac-device = ð0;
26 compatible = "fixed-clock";
28 clock-output-names = "ref";
29 clock-frequency = <40000000>;
33 compatible = "gpio-leds";
35 led_power_green: led_power_green {
36 label = "ws-ap3610:green:power";
37 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
40 led_power_red: led_power_red {
41 label = "ws-ap3610:red:power";
42 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
46 label = "ws-ap3610:blue:wlan5";
47 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy0tpt";
52 label = "ws-ap3610:green:wlan5";
53 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
57 label = "ws-ap3610:blue:wlan2";
58 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy1tpt";
63 label = "ws-ap3610:green:wlan2";
64 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
69 compatible = "gpio-keys";
73 linux,code = <KEY_RESTART>;
74 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
90 phy0: ethernet-phy@0 {
92 * When the compatible-is missing, PHY autodetection
93 * is performed, but the PHY-ID reads all 0xff.
95 * Linux does not create the device in this case,
96 * and the reset is never even de-asserted.
98 compatible = "ethernet-phy-id0143.bca2",
99 "ethernet-phy-ieee802.3-c22";
104 reset-assert-us = <10000>;
105 reset-deassert-us = <10000>;
112 phy-mode = "rgmii-id";
113 phy-handle = <&phy0>;
122 compatible = "jedec,spi-nor";
124 spi-max-frequency = <25000000>;
127 compatible = "fixed-partitions";
128 #address-cells = <1>;
138 label = "u-boot-bak";
139 reg = <0x40000 0x40000>;
144 compatible = "denx,uimage";
146 reg = <0x80000 0xe00000>;
151 reg = <0xe80000 0x40000>;
157 reg = <0xec0000 0x40000>;
163 reg = <0xf00000 0x40000>;
169 reg = <0xf40000 0x40000>;
175 reg = <0xf80000 0x40000>;
181 reg = <0xfc0000 0x40000>;