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 mtd-mac-address = <&hwinfo 0x1c>;
107 mtd-mac-address-increment = <1>;
108 reg = <0x8800 0 0 0 0>;
113 ath9k1: wifi@0,12 { /* 5 GHz */
114 compatible = "pci168c,0029";
115 mtd-mac-address = <&hwinfo 0x1c>;
116 mtd-mac-address-increment = <2>;
117 reg = <0x9000 0 0 0 0>;
132 phy0: ethernet-phy@0 {
139 mtd-mac-address = <&hwinfo 0x1c>;
141 pll-data = <0x00110000 0x00001099 0x00991099>;
144 phy-handle = <&phy0>;
151 compatible = "jedec,spi-nor";
153 spi-max-frequency = <25000000>;
156 compatible = "fixed-partitions";
157 #address-cells = <1>;
162 reg = <0x000000 0x40000>;
168 reg = <0x40000 0xfa0000>;
169 compatible = "denx,uimage";
172 hwinfo: partition@fe0000 {
174 reg = <0xfe0000 0x10000>;
179 label = "u-boot-env";
180 reg = <0xff0000 0x10000>;