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-175", "qca,ar7161";
10 model = "Aruba AP-175";
13 bootargs = "console=ttyS0,115200";
17 led-boot = &led_power_amber;
18 led-failsafe = &led_power_amber;
19 led-upgrade = &led_power_amber;
20 label-mac-device = ð0;
24 compatible = "gpio-leds";
26 /* These internal LEDs cannot be seen when case is closed */
28 label = "green:internal_2g";
29 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
33 label = "green:internal_5g";
34 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
37 /* These external LEDs are visible from the bottom panel */
39 led_power_amber: power_amber {
40 label = "amber:power";
41 gpios = <&gpio_ext 5 GPIO_ACTIVE_HIGH>;
46 label = "blue:r1_act";
47 gpios = <&gpio_ext 0 GPIO_ACTIVE_HIGH>;
48 linux,default-trigger = "phy1tpt";
52 label = "blue:r1_rssi1";
53 gpios = <&gpio_ext 1 GPIO_ACTIVE_HIGH>;
57 label = "blue:r1_rssi2";
58 gpios = <&gpio_ext 2 GPIO_ACTIVE_HIGH>;
62 label = "blue:r1_rssi3";
63 gpios = <&gpio_ext 3 GPIO_ACTIVE_HIGH>;
67 label = "blue:r1_rssi4";
68 gpios = <&gpio_ext 4 GPIO_ACTIVE_HIGH>;
72 label = "amber:r0_act";
73 gpios = <&gpio_ext 8 GPIO_ACTIVE_HIGH>;
74 linux,default-trigger = "phy0tpt";
78 label = "amber:r0_rssi1";
79 gpios = <&gpio_ext 9 GPIO_ACTIVE_HIGH>;
83 label = "amber:r0_rssi2";
84 gpios = <&gpio_ext 10 GPIO_ACTIVE_HIGH>;
88 label = "amber:r0_rssi3";
89 gpios = <&gpio_ext 11 GPIO_ACTIVE_HIGH>;
93 label = "amber:r0_rssi4";
94 gpios = <&gpio_ext 12 GPIO_ACTIVE_HIGH>;
99 compatible = "gpio-keys";
103 linux,code = <KEY_RESTART>;
104 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
109 compatible = "i2c-gpio";
110 i2c-gpio,delay-us = <10>;
111 i2c-gpio,timeout-ms = <1>;
112 sda-gpios = <&gpio 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
113 scl-gpios = <&gpio 2 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
115 #address-cells = <1>;
124 compatible = "pci168c,0029";
125 nvmem-cells = <&macaddr_hwinfo_1c>;
126 nvmem-cell-names = "mac-address";
127 mac-address-increment = <1>;
128 reg = <0x8800 0 0 0 0>;
134 compatible = "pci168c,0029";
135 nvmem-cells = <&macaddr_hwinfo_1c>;
136 nvmem-cell-names = "mac-address";
137 mac-address-increment = <2>;
138 reg = <0x9000 0 0 0 0>;
147 phy1: ethernet-phy@1 {
154 nvmem-cells = <&macaddr_hwinfo_1c>;
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>;
193 label = "u-boot-env";
194 reg = <0xff0000 0x10000>;
202 compatible = "nvmem-cells";
203 #address-cells = <1>;
206 macaddr_hwinfo_1c: macaddr@1c {
215 compatible = "ti,tca6416";
218 #address-cells = <1>;
226 compatible = "national,lm75";
230 eeprom@50 { /* 24lc2561 */
231 compatible = "atmel,24c256","at24";
232 #address-cells = <1>;
241 compatible = "dallas,ds1374";