1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "aerohive,hiveap-121", "qca,ar9344";
11 model = "Aerohive HiveAP 121";
14 led-boot = &led_power_white;
15 led-failsafe = &led_power_orange;
16 led-running = &led_power_white;
17 led-upgrade = &led_power_orange;
18 label-mac-device = ð0;
22 bootargs = "console=ttyS0,9600";
26 compatible = "gpio-keys";
29 label = "Reset button";
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 compatible = "gpio-leds";
39 led_power_orange: power_orange {
40 label = "hiveap-121:orange:power";
41 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
44 led_power_white: power_white {
45 label = "hiveap-121:white:power";
46 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
51 compatible = "i2c-gpio";
52 gpios = <&gpio 13 GPIO_ACTIVE_HIGH /* sda */
53 &gpio 12 GPIO_ACTIVE_HIGH /* scl */
59 compatible = "atmel,at97sc3204t";
66 clock-frequency = <40000000>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&jtag_disable_pins>;
83 line-name = "hiveap-121:ext:lna0";
90 line-name = "hiveap-121:ext:lna1";
97 line-name = "hiveap-121:power:usb";
113 compatible = "pci168c,0030";
114 reg = <0x0000 0 0 0 0>;
116 mtd-mac-address = <&hw_info 0x0>;
117 mtd-mac-address-increment = <2>;
127 compatible = "jedec,spi-nor";
129 spi-max-frequency = <25000000>;
132 compatible = "fixed-partitions";
133 #address-cells = <1>;
138 reg = <0x000000 0x80000>;
143 label = "u-boot-env";
144 reg = <0x80000 0x10000>;
148 hw_info: partition@90000 {
150 reg = <0x90000 0x10000>;
156 reg = <0xa0000 0x10000>;
161 label = "boot-sinfo";
162 reg = <0xb0000 0x10000>;
172 mtd-mac-address = <&hw_info 0x0>;
173 mtd-mac-address-increment = <1>;
180 compatible = "fixed-partitions";
181 #address-cells = <1>;
186 reg = <0x0 0x400000>;
191 label = "u-boot-env1";
192 reg = <0x400000 0x400000>;
198 reg = <0x800000 0x500000>;
203 reg = <0xd00000 0x6f00000>;
208 reg = <0x7c00000 0x400000>;
217 phy0: ethernet-phy@0 {
225 pll-data = <0x06000000 0x00000101 0x00001313>;
227 mtd-mac-address = <&hw_info 0x0>;
229 phy-mode = "rgmii-id";
230 phy-handle = <&phy0>;