1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "aerohive,hiveap-121", "qca,ar9344";
10 model = "Aerohive HiveAP 121";
13 led-boot = &led_power_white;
14 led-failsafe = &led_power_orange;
15 led-running = &led_power_white;
16 led-upgrade = &led_power_orange;
17 label-mac-device = ð0;
21 bootargs = "console=ttyS0,9600";
25 compatible = "gpio-keys";
28 label = "Reset button";
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
36 compatible = "gpio-leds";
38 led_power_orange: power_orange {
39 label = "orange:power";
40 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43 led_power_white: power_white {
44 label = "white:power";
45 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
50 compatible = "i2c-gpio";
51 gpios = <&gpio 13 GPIO_ACTIVE_HIGH /* sda */
52 &gpio 12 GPIO_ACTIVE_HIGH /* scl */
58 compatible = "atmel,at97sc3204t";
65 clock-frequency = <40000000>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&jtag_disable_pins>;
76 line-name = "hiveap-121:ext:lna0";
83 line-name = "hiveap-121:ext:lna1";
90 line-name = "hiveap-121:power:usb";
106 compatible = "pci168c,0030";
107 reg = <0x0000 0 0 0 0>;
109 nvmem-cells = <&macaddr_hw_info_0>;
110 nvmem-cell-names = "mac-address";
111 mac-address-increment = <2>;
119 compatible = "jedec,spi-nor";
121 spi-max-frequency = <25000000>;
124 compatible = "fixed-partitions";
125 #address-cells = <1>;
130 reg = <0x000000 0x80000>;
135 label = "u-boot-env";
136 reg = <0x80000 0x10000>;
140 hw_info: partition@90000 {
142 reg = <0x90000 0x10000>;
148 reg = <0xa0000 0x10000>;
153 label = "boot-sinfo";
154 reg = <0xb0000 0x10000>;
164 nvmem-cells = <&macaddr_hw_info_0>;
165 nvmem-cell-names = "mac-address";
166 mac-address-increment = <1>;
173 compatible = "fixed-partitions";
174 #address-cells = <1>;
179 reg = <0x0 0x400000>;
184 label = "u-boot-env1";
185 reg = <0x400000 0x400000>;
191 reg = <0x800000 0x500000>;
196 reg = <0xd00000 0x6f00000>;
201 reg = <0x7c00000 0x400000>;
210 phy0: ethernet-phy@0 {
218 pll-data = <0x06000000 0x00000101 0x00001313>;
220 nvmem-cells = <&macaddr_hw_info_0>;
221 nvmem-cell-names = "mac-address";
223 phy-mode = "rgmii-id";
224 phy-handle = <&phy0>;
235 compatible = "nvmem-cells";
236 #address-cells = <1>;
239 macaddr_hw_info_0: macaddr@0 {