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 device_type = "memory";
15 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
19 bootargs = "console=ttyS0,57600";
23 compatible = "gpio-keys";
27 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 label = "ap7621-001:orange:wlan1";
37 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
41 label = "ap7621-001:orange:wlan0";
42 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <40000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x2000>;
77 reg = <0x32000 0x4000>;
82 reg = <0x36000 0x2000>;
87 reg = <0x38000 0x8000>;
90 factory: partition@40000 {
92 reg = <0x40000 0x10000>;
98 reg = <0x50000 0xfa0000>;
99 compatible = "denx,uimage";
104 reg = <0xff0000 0x10000>;
116 mtd-mac-address = <&factory 0xe000>;
117 mediatek,portmap = "llllw";
121 state_default: pinctrl0 {
123 ralink,group = "wdt", "jtag";
124 ralink,function = "gpio";