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>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&jtag_disable_pins>;
80 line-name = "hiveap-121:ext:lna0";
87 line-name = "hiveap-121:ext:lna1";
94 line-name = "hiveap-121:power:usb";
110 compatible = "pci168c,0030";
111 reg = <0x0000 0 0 0 0>;
113 mtd-mac-address = <&hw_info 0x0>;
114 mtd-mac-address-increment = <2>;
122 compatible = "jedec,spi-nor";
124 spi-max-frequency = <25000000>;
127 compatible = "fixed-partitions";
128 #address-cells = <1>;
133 reg = <0x000000 0x80000>;
138 label = "u-boot-env";
139 reg = <0x80000 0x10000>;
143 hw_info: partition@90000 {
145 reg = <0x90000 0x10000>;
151 reg = <0xa0000 0x10000>;
156 label = "boot-sinfo";
157 reg = <0xb0000 0x10000>;
167 mtd-mac-address = <&hw_info 0x0>;
168 mtd-mac-address-increment = <1>;
175 compatible = "fixed-partitions";
176 #address-cells = <1>;
181 reg = <0x0 0x400000>;
186 label = "u-boot-env1";
187 reg = <0x400000 0x400000>;
193 reg = <0x800000 0x500000>;
198 reg = <0xd00000 0x6f00000>;
203 reg = <0x7c00000 0x400000>;
212 phy0: ethernet-phy@0 {
220 pll-data = <0x06000000 0x00000101 0x00001313>;
222 mtd-mac-address = <&hw_info 0x0>;
224 phy-mode = "rgmii-id";
225 phy-handle = <&phy0>;