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 model = "ALFA Network AP121F";
10 compatible = "alfa-network,ap121f", "qca,ar9331";
13 label-mac-device = &wmac;
15 led-failsafe = &led_vpn;
16 led-upgrade = &led_vpn;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-leds";
40 label = "ap121f:green:lan";
41 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
45 label = "ap121f:green:vpn";
46 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
50 label = "ap121f:green:wlan";
51 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
52 linux,default-trigger = "phy0tpt";
60 mtd-mac-address = <&art 0x0>;
64 switch-phy-addr-swap = <0>;
65 switch-phy-swap = <0>;
72 compatible = "syscon", "simple-mfd";
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <50000000>;
87 compatible = "fixed-partitions";
93 reg = <0x000000 0x030000>;
99 reg = <0x030000 0x010000>;
102 art: partition@40000 {
104 reg = <0x040000 0x010000>;
109 compatible = "denx,uimage";
111 reg = <0x050000 0xfb0000>;
133 mtd-cal-data = <&art 0x1000>;