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 = "aruba,ap-105", "qca,ar7161";
11 model = "Aruba AP-105";
14 bootargs = "console=ttyS0,9600";
18 led-boot = &power_green;
19 led-failsafe = &power_red;
20 led-running = &power_green;
21 led-upgrade = &power_green;
22 label-mac-device = ð0;
26 compatible = "fixed-clock";
28 clock-output-names = "ref";
29 clock-frequency = <40000000>;
33 compatible = "gpio-leds";
35 power_green: power_green {
36 label = "ap-105:green:power";
37 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
40 power_red: power_red {
41 label = "ap-105:red:power";
42 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 wifi_2g_red: wifi_2g_red {
47 label = "ap-105:red:wlan2g";
48 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
51 wifi_5g_red: wifi_5g_red {
52 label = "ap-105:red:wlan5g";
53 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-leds";
61 label = "ap-105:green:wlan2g";
62 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "phy0tpt";
67 label = "ap-105:green:wlan5g";
68 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
69 linux,default-trigger = "phy1tpt";
74 compatible = "gpio-keys";
78 linux,code = <KEY_RESTART>;
79 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
84 compatible = "i2c-gpio";
86 sda-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
87 scl-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
89 /* can be removed on 4.19 */
90 gpios = <&gpio 5 GPIO_ACTIVE_LOW>,
91 <&gpio 4 GPIO_ACTIVE_LOW>;
97 compatible = "atmel,at97sc3203s";
100 /* triggering it, will also kill system */
101 reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
109 ath9k0: wifi@0,11 { /* 2.4 GHz */
110 compatible = "pci168c,0029";
111 mtd-mac-address = <&hwinfo 0x1c>;
112 mtd-mac-address-increment = <1>;
113 reg = <0x8800 0 0 0 0>;
118 ath9k1: wifi@0,12 { /* 5 GHz */
119 compatible = "pci168c,0029";
120 mtd-mac-address = <&hwinfo 0x1c>;
121 mtd-mac-address-increment = <2>;
122 reg = <0x9000 0 0 0 0>;
137 phy0: ethernet-phy@0 {
144 mtd-mac-address = <&hwinfo 0x1c>;
146 pll-data = <0x00110000 0x00001099 0x00991099>;
149 phy-handle = <&phy0>;
157 compatible = "jedec,spi-nor";
159 spi-max-frequency = <25000000>;
162 compatible = "fixed-partitions";
163 #address-cells = <1>;
168 reg = <0x000000 0x40000>;
174 reg = <0x40000 0xfa0000>;
175 compatible = "denx,uimage";
178 hwinfo: partition@fe0000 {
180 reg = <0xfe0000 0x10000>;
185 label = "u-boot-env";
186 reg = <0xff0000 0x10000>;