1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "asiarf,ap7621-001", "mediatek,mt7621-soc";
11 model = "AsiaRF AP7621-001";
14 bootargs = "console=ttyS0,57600";
18 compatible = "gpio-keys";
22 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 compatible = "gpio-leds";
31 label = "ap7621-001:orange:wlan1";
32 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
36 label = "ap7621-001:orange:wlan0";
37 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <40000000>;
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x2000>;
72 reg = <0x32000 0x4000>;
77 reg = <0x36000 0x2000>;
82 reg = <0x38000 0x8000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
93 reg = <0x50000 0xfa0000>;
94 compatible = "denx,uimage";
99 reg = <0xff0000 0x10000>;
111 mtd-mac-address = <&factory 0xe000>;
112 mediatek,portmap = "llllw";
116 state_default: pinctrl0 {
118 ralink,group = "wdt", "jtag";
119 ralink,function = "gpio";