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 = "ap-105:green:power";
36 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
39 led_power_red: power_red {
40 label = "ap-105:red:power";
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 label = "ap-105:red:wlan2g";
47 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
51 label = "ap-105:red:wlan5g";
52 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-leds";
60 label = "ap-105:green:wlan2g";
61 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy0tpt";
66 label = "ap-105: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>;
88 /* can be removed on 4.19 */
89 gpios = <&gpio 5 GPIO_ACTIVE_LOW>,
90 <&gpio 4 GPIO_ACTIVE_LOW>;
96 compatible = "atmel,at97sc3203s";
99 /* triggering it, will also kill system */
100 reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
108 ath9k0: wifi@0,11 { /* 2.4 GHz */
109 compatible = "pci168c,0029";
110 mtd-mac-address = <&hwinfo 0x1c>;
111 mtd-mac-address-increment = <1>;
112 reg = <0x8800 0 0 0 0>;
117 ath9k1: wifi@0,12 { /* 5 GHz */
118 compatible = "pci168c,0029";
119 mtd-mac-address = <&hwinfo 0x1c>;
120 mtd-mac-address-increment = <2>;
121 reg = <0x9000 0 0 0 0>;
136 phy0: ethernet-phy@0 {
143 mtd-mac-address = <&hwinfo 0x1c>;
145 pll-data = <0x00110000 0x00001099 0x00991099>;
148 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>;