1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "enterasys,ws-ap3705i", "qca,ar9344";
10 model = "Enterasys WS-AP3705i";
13 bootargs = "console=ttyS0,115200n8";
17 led-boot = &led_power_green;
18 led-failsafe = &led_power_red;
19 led-running = &led_power_green;
20 led-upgrade = &led_power_red;
21 label-mac-device = ð0;
25 compatible = "mtd-concat";
26 devices = <&fwconcat0 &fwconcat1>;
29 compatible = "fixed-partitions";
34 compatible = "denx,uimage";
36 reg = <0x0 0x1dd0000>;
42 compatible = "gpio-leds";
44 pinctrl-names = "default";
45 pinctrl-0 = <&enable_gpio_11 &enable_gpio_16>;
47 led_power_green: power_green {
48 label = "green:power";
49 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 led_power_red: power_red {
54 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
64 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
68 label = "green:radio2";
69 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
70 linux,default-trigger = "phy0tpt";
75 compatible = "gpio-leds";
78 label = "green:radio1";
79 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
80 linux,default-trigger = "phy1tpt";
85 compatible = "gpio-keys";
88 label = "Reset button";
89 linux,code = <KEY_RESTART>;
90 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
96 clock-frequency = <40000000>;
100 enable_gpio_16: pinmux_enable_gpio_16 {
101 pinctrl-single,bits = <0x10 0x0 0x000000ff>;
104 enable_gpio_11: pinmux_enable_gpio_11 {
105 pinctrl-single,bits = <0x8 0x0 0xff000000>;
120 compatible = "jedec,spi-nor";
122 spi-max-frequency = <25000000>;
125 compatible = "fixed-partitions";
126 #address-cells = <1>;
130 label = "u-boot-bak";
136 label = "u-boot-env0";
137 reg = <0x80000 0x10000>;
142 label = "u-boot-env1";
143 reg = <0x90000 0x10000>;
149 reg = <0xa0000 0x80000>;
155 reg = <0x120000 0x10000>;
161 reg = <0x130000 0x100000>;
165 fwconcat0: partition@230000 {
167 reg = <0x230000 0xdd0000>;
173 compatible = "jedec,spi-nor";
175 spi-max-frequency = <25000000>;
178 compatible = "fixed-partitions";
179 #address-cells = <1>;
182 fwconcat1: partition@0 {
184 reg = <0x0 0x1000000>;
194 compatible = "pci168c,0033";
195 reg = <0x0000 0 0 0 0>;
205 phy0: ethernet-phy@0 {
213 pll-data = <0x1e000000 0x08000101 0x08001313>;
216 phy-handle = <&phy0>;