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>
10 bootargs = "console=ttyS0,57600";
14 compatible = "gpio-keys";
18 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
24 compatible = "gpio-leds";
27 label = "ap7621-001:orange:wlan1";
28 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
32 label = "ap7621-001:orange:wlan0";
33 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
46 compatible = "jedec,spi-nor";
48 spi-max-frequency = <40000000>;
51 compatible = "fixed-partitions";
63 reg = <0x30000 0x2000>;
68 reg = <0x32000 0x4000>;
73 reg = <0x36000 0x2000>;
78 reg = <0x38000 0x8000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
89 reg = <0x50000 0xfa0000>;
90 compatible = "denx,uimage";
95 reg = <0xff0000 0x10000>;
107 mtd-mac-address = <&factory 0xe000>;
108 mediatek,portmap = "llllw";
113 ralink,group = "wdt", "jtag";
114 ralink,function = "gpio";