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 = "fixed-clock";
27 clock-output-names = "ref";
28 clock-frequency = <40000000>;
32 compatible = "gpio-leds";
34 led_power_green: power_green {
35 label = "green:power";
36 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
39 led_power_red: power_red {
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-leds";
60 label = "green:wlan2g";
61 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy0tpt";
66 label = "green:wlan5g";
67 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
68 linux,default-trigger = "phy1tpt";
73 compatible = "gpio-keys";
77 linux,code = <KEY_RESTART>;
78 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
83 compatible = "i2c-gpio";
85 sda-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
86 scl-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
92 compatible = "atmel,at97sc3203s";
95 /* triggering it, will also kill system */
96 reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
104 ath9k0: wifi@0,11 { /* 2.4 GHz */
105 compatible = "pci168c,0029";
106 nvmem-cells = <&macaddr_hwinfo_1c>;
107 nvmem-cell-names = "mac-address";
108 mac-address-increment = <1>;
109 reg = <0x8800 0 0 0 0>;
114 ath9k1: wifi@0,12 { /* 5 GHz */
115 compatible = "pci168c,0029";
116 nvmem-cells = <&macaddr_hwinfo_1c>;
117 nvmem-cell-names = "mac-address";
118 mac-address-increment = <2>;
119 reg = <0x9000 0 0 0 0>;
130 phy0: ethernet-phy@0 {
137 nvmem-cells = <&macaddr_hwinfo_1c>;
138 nvmem-cell-names = "mac-address";
140 pll-data = <0x00110000 0x00001099 0x00991099>;
143 phy-handle = <&phy0>;
150 compatible = "jedec,spi-nor";
152 spi-max-frequency = <25000000>;
155 compatible = "fixed-partitions";
156 #address-cells = <1>;
161 reg = <0x000000 0x40000>;
167 reg = <0x40000 0xfa0000>;
168 compatible = "denx,uimage";
171 hwinfo: partition@fe0000 {
173 reg = <0xfe0000 0x10000>;
178 label = "u-boot-env";
179 reg = <0xff0000 0x10000>;
187 compatible = "nvmem-cells";
188 #address-cells = <1>;
191 macaddr_hwinfo_1c: macaddr@1c {