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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "aruba,ap-105", "qca,ar7161";
11 model = "Aruba AP-105";
14 bootargs = "console=ttyS0,9600";
18 led-boot = &led_power_green;
19 led-failsafe = &led_power_red;
20 led-running = &led_power_green;
21 led-upgrade = &led_power_green;
22 label-mac-device = ð0;
26 compatible = "gpio-leds";
28 led_power_green: power_green {
29 function = LED_FUNCTION_POWER;
30 color = <LED_COLOR_ID_GREEN>;
31 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
34 led_power_red: power_red {
35 function = LED_FUNCTION_POWER;
36 color = <LED_COLOR_ID_RED>;
37 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-leds";
56 label = "green:wlan2g";
57 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
62 label = "green:wlan5g";
63 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
64 linux,default-trigger = "phy1tpt";
69 compatible = "gpio-keys";
73 linux,code = <KEY_RESTART>;
74 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
79 compatible = "i2c-gpio";
81 sda-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
82 scl-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
88 compatible = "atmel,at97sc3203s";
91 /* triggering it, will also kill system */
92 reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
100 ath9k0: wifi@11,0 { /* 2.4 GHz */
101 compatible = "pci168c,0029";
102 nvmem-cells = <&macaddr_hwinfo_1c 1>;
103 nvmem-cell-names = "mac-address";
104 reg = <0x8800 0 0 0 0>;
109 ath9k1: wifi@12,0 { /* 5 GHz */
110 compatible = "pci168c,0029";
111 nvmem-cells = <&macaddr_hwinfo_1c 2>;
112 nvmem-cell-names = "mac-address";
113 reg = <0x9000 0 0 0 0>;
122 phy0: ethernet-phy@0 {
129 nvmem-cells = <&macaddr_hwinfo_1c 0>;
130 nvmem-cell-names = "mac-address";
132 pll-data = <0x00110000 0x00001099 0x00991099>;
135 phy-handle = <&phy0>;
142 compatible = "jedec,spi-nor";
144 spi-max-frequency = <25000000>;
147 compatible = "fixed-partitions";
148 #address-cells = <1>;
153 reg = <0x000000 0x40000>;
159 reg = <0x40000 0xfa0000>;
160 compatible = "denx,uimage";
163 hwinfo: partition@fe0000 {
164 reg = <0xfe0000 0x10000>;
169 compatible = "fixed-layout";
170 #address-cells = <1>;
173 macaddr_hwinfo_1c: mac-address@1c {
174 compatible = "mac-base";
176 #nvmem-cell-cells = <1>;
182 label = "u-boot-env";
183 reg = <0xff0000 0x10000>;