1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = ðernet;
22 compatible = "jedec,spi-nor";
24 spi-max-frequency = <40000000>;
27 compatible = "fixed-partitions";
32 compatible = "nvmem-cells";
39 eeprom_uboot_1f400: eeprom@1f400 {
40 reg = <0x1f400 0x200>;
43 macaddr_uboot_1fc20: macaddr@1fc20 {
50 reg = <0x20000 0x10000>;
54 firmware: partition@30000 {
55 compatible = "denx,uimage";
63 nvmem-cells = <&macaddr_uboot_1fc20>;
64 nvmem-cell-names = "mac-address";
81 compatible = "mediatek,mt76";
82 reg = <0x0000 0 0 0 0>;
83 mediatek,mtd-eeprom = <&uboot 0x1f800>;
84 ieee80211-freq-limit = <5000000 6000000>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&wled_pins>;
96 nvmem-cells = <&eeprom_uboot_1f400>;
97 nvmem-cell-names = "eeprom";