1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "ALFA Network AP121F";
11 compatible = "alfa-network,ap121f", "qca,ar9331";
14 label-mac-device = &wmac;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-leds";
41 label = "ap121f:green:lan";
42 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
46 label = "ap121f:green:vpn";
47 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
51 label = "ap121f:green:wlan";
52 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
53 linux,default-trigger = "phy0tpt";
60 mtd-mac-address = <&art 0x0>;
64 switch-phy-addr-swap = <0>;
65 switch-phy-swap = <0>;
71 compatible = "syscon", "simple-mfd";
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
88 compatible = "fixed-partitions";
94 reg = <0x000000 0x030000>;
100 reg = <0x030000 0x010000>;
103 art: partition@40000 {
105 reg = <0x040000 0x010000>;
110 compatible = "denx,uimage";
112 reg = <0x050000 0xfb0000>;
133 mtd-cal-data = <&art 0x1000>;