1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 bootargs = "console=ttyS0,115200";
14 label-mac-device = ðernet;
22 compatible = "jedec,spi-nor";
24 spi-max-frequency = <10000000>;
27 compatible = "fixed-partitions";
32 label = "factory-uboot";
39 reg = <0x30000 0x20000>;
44 compatible = "tplink,firmware";
46 reg = <0x50000 0x770000>;
51 reg = <0x7c0000 0x10000>;
55 rom: partition@7d0000 {
57 reg = <0x7d0000 0x10000>;
63 reg = <0x7e0000 0x10000>;
66 radio: partition@7f0000 {
68 reg = <0x7f0000 0x10000>;
78 mediatek,mtd-eeprom = <&radio 0x0>;
80 nvmem-cells = <&macaddr_rom_f100>;
81 nvmem-cell-names = "mac-address";
85 nvmem-cells = <&macaddr_rom_f100>;
86 nvmem-cell-names = "mac-address";
90 mediatek,portmap = <0x3e>;
94 compatible = "nvmem-cells";
98 macaddr_rom_f100: macaddr@f100 {