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>
11 bootargs = "console=ttyS0,57600";
15 compatible = "gpio-keys";
19 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
25 compatible = "gpio-leds";
28 label = "ap7621-001:orange:wlan1";
29 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
33 label = "ap7621-001:orange:wlan0";
34 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
47 compatible = "jedec,spi-nor";
49 spi-max-frequency = <40000000>;
52 compatible = "fixed-partitions";
64 reg = <0x30000 0x2000>;
69 reg = <0x32000 0x4000>;
74 reg = <0x36000 0x2000>;
79 reg = <0x38000 0x8000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
90 reg = <0x50000 0xfa0000>;
91 compatible = "denx,uimage";
96 reg = <0xff0000 0x10000>;
108 mtd-mac-address = <&factory 0xe000>;
109 mediatek,portmap = "llllw";
113 state_default: pinctrl0 {
115 ralink,group = "wdt", "jtag";
116 ralink,function = "gpio";