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-175", "qca,ar7161";
11 model = "Aruba AP-175";
14 bootargs = "console=ttyS0,115200";
18 led-boot = &led_power_amber;
19 led-failsafe = &led_power_amber;
20 led-upgrade = &led_power_amber;
21 label-mac-device = ð0;
25 compatible = "gpio-leds";
27 /* These internal LEDs cannot be seen when case is closed */
29 label = "green:internal_2g";
30 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
34 label = "green:internal_5g";
35 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
38 /* These external LEDs are visible from the bottom panel */
40 led_power_amber: power_amber {
41 function = LED_FUNCTION_POWER;
42 color = <LED_COLOR_ID_AMBER>;
43 gpios = <&gpio_ext 5 GPIO_ACTIVE_HIGH>;
48 label = "blue:r1_act";
49 gpios = <&gpio_ext 0 GPIO_ACTIVE_HIGH>;
50 linux,default-trigger = "phy1tpt";
54 label = "blue:r1_rssi1";
55 gpios = <&gpio_ext 1 GPIO_ACTIVE_HIGH>;
59 label = "blue:r1_rssi2";
60 gpios = <&gpio_ext 2 GPIO_ACTIVE_HIGH>;
64 label = "blue:r1_rssi3";
65 gpios = <&gpio_ext 3 GPIO_ACTIVE_HIGH>;
69 label = "blue:r1_rssi4";
70 gpios = <&gpio_ext 4 GPIO_ACTIVE_HIGH>;
74 label = "amber:r0_act";
75 gpios = <&gpio_ext 8 GPIO_ACTIVE_HIGH>;
76 linux,default-trigger = "phy0tpt";
80 label = "amber:r0_rssi1";
81 gpios = <&gpio_ext 9 GPIO_ACTIVE_HIGH>;
85 label = "amber:r0_rssi2";
86 gpios = <&gpio_ext 10 GPIO_ACTIVE_HIGH>;
90 label = "amber:r0_rssi3";
91 gpios = <&gpio_ext 11 GPIO_ACTIVE_HIGH>;
95 label = "amber:r0_rssi4";
96 gpios = <&gpio_ext 12 GPIO_ACTIVE_HIGH>;
101 compatible = "gpio-keys";
105 linux,code = <KEY_RESTART>;
106 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
111 compatible = "i2c-gpio";
112 i2c-gpio,delay-us = <10>;
113 i2c-gpio,timeout-ms = <1>;
114 sda-gpios = <&gpio 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
115 scl-gpios = <&gpio 2 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
117 #address-cells = <1>;
126 compatible = "pci168c,0029";
127 nvmem-cells = <&macaddr_hwinfo_1c 1>;
128 nvmem-cell-names = "mac-address";
129 reg = <0x8800 0 0 0 0>;
135 compatible = "pci168c,0029";
136 nvmem-cells = <&macaddr_hwinfo_1c 2>;
137 nvmem-cell-names = "mac-address";
138 reg = <0x9000 0 0 0 0>;
147 phy1: ethernet-phy@1 {
154 nvmem-cells = <&macaddr_hwinfo_1c 0>;
155 nvmem-cell-names = "mac-address";
158 phy-handle = <&phy1>;
165 compatible = "jedec,spi-nor";
167 spi-max-frequency = <25000000>;
170 compatible = "fixed-partitions";
171 #address-cells = <1>;
176 reg = <0x000000 0x40000>;
182 reg = <0x40000 0xfa0000>;
183 compatible = "denx,uimage";
186 hwinfo: partition@fe0000 {
188 reg = <0xfe0000 0x10000>;
192 compatible = "fixed-layout";
193 #address-cells = <1>;
196 macaddr_hwinfo_1c: macaddr@1c {
197 compatible = "mac-base";
199 #nvmem-cell-cells = <1>;
205 label = "u-boot-env";
206 reg = <0xff0000 0x10000>;
217 compatible = "ti,tca6416";
220 #address-cells = <1>;
228 compatible = "national,lm75";
232 eeprom@50 { /* 24lc2561 */
233 compatible = "atmel,24c256","at24";
234 #address-cells = <1>;
243 compatible = "dallas,ds1374";