1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 compatible = "gpio-keys";
14 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
15 linux,code = <KEY_RESTART>;
32 compatible = "jedec,spi-nor";
34 spi-max-frequency = <30000000>;
37 compatible = "fixed-partitions";
48 compatible = "denx,uimage";
50 reg = <0x20000 0x3c0000>;
55 reg = <0x3e0000 0x10000>;
59 factory: partition@3f0000 {
61 reg = <0x3f0000 0x10000>;
69 mtd-mac-address = <&factory 0x4>;
71 mediatek,portmap = "llllw";
75 ralink,mtd-eeprom = <&factory 0x0>;
80 groups = "pa", "ephy", "wled";