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 = "aruba,ap-105", "qca,ar7161";
10 model = "Aruba AP-105";
13 bootargs = "console=ttyS0,9600";
17 led-boot = &led_power_green;
18 led-failsafe = &led_power_red;
19 led-running = &led_power_green;
20 led-upgrade = &led_power_green;
21 label-mac-device = ð0;
25 compatible = "gpio-leds";
27 led_power_green: power_green {
28 label = "green:power";
29 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
32 led_power_red: power_red {
34 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-leds";
53 label = "green:wlan2g";
54 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
59 label = "green:wlan5g";
60 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy1tpt";
66 compatible = "gpio-keys";
70 linux,code = <KEY_RESTART>;
71 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
76 compatible = "i2c-gpio";
78 sda-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
79 scl-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
85 compatible = "atmel,at97sc3203s";
88 /* triggering it, will also kill system */
89 reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
97 ath9k0: wifi@0,11 { /* 2.4 GHz */
98 compatible = "pci168c,0029";
99 nvmem-cells = <&macaddr_hwinfo_1c>;
100 nvmem-cell-names = "mac-address";
101 mac-address-increment = <1>;
102 reg = <0x8800 0 0 0 0>;
107 ath9k1: wifi@0,12 { /* 5 GHz */
108 compatible = "pci168c,0029";
109 nvmem-cells = <&macaddr_hwinfo_1c>;
110 nvmem-cell-names = "mac-address";
111 mac-address-increment = <2>;
112 reg = <0x9000 0 0 0 0>;
121 phy0: ethernet-phy@0 {
128 nvmem-cells = <&macaddr_hwinfo_1c>;
129 nvmem-cell-names = "mac-address";
131 pll-data = <0x00110000 0x00001099 0x00991099>;
134 phy-handle = <&phy0>;
141 compatible = "jedec,spi-nor";
143 spi-max-frequency = <25000000>;
146 compatible = "fixed-partitions";
147 #address-cells = <1>;
152 reg = <0x000000 0x40000>;
158 reg = <0x40000 0xfa0000>;
159 compatible = "denx,uimage";
162 hwinfo: partition@fe0000 {
164 reg = <0xfe0000 0x10000>;
169 label = "u-boot-env";
170 reg = <0xff0000 0x10000>;
178 compatible = "nvmem-cells";
179 #address-cells = <1>;
182 macaddr_hwinfo_1c: macaddr@1c {