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 label-mac-device = ðernet;
14 compatible = "gpio-keys";
18 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
24 compatible = "mtd-concat";
26 devices = <&fwconcat0 &fwconcat1 &fwconcat2>;
29 compatible = "fixed-partitions";
34 compatible = "openwrt,okli";
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <50000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
88 reg = <0x50000 0x10000>;
92 fwconcat1: partition@60000 {
94 reg = <0x60000 0x170000>;
99 reg = <0x1d0000 0x10000>;
102 fwconcat2: partition@1e0000 {
104 reg = <0x1e0000 0x20000>;
107 fwconcat0: partition@200000 {
109 reg = <0x200000 0x600000>;
124 mtd-mac-address = <&factory 0x28>;
128 ralink,mtd-eeprom = <&factory 0x0>;
133 groups = "wled", "ephy";