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>;
65 compatible = "fixed-layout";
69 eeprom_factory_0: eeprom@0 {
73 macaddr_factory_4: macaddr@4 {
83 nvmem-cells = <&macaddr_factory_4>;
84 nvmem-cell-names = "mac-address";
86 mediatek,portmap = "llllw";
90 nvmem-cells = <&eeprom_factory_0>;
91 nvmem-cell-names = "eeprom";
96 groups = "pa", "ephy", "wled";