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 {
56 compatible = "nvmem-cells";
58 reg = <0x7d0000 0x10000>;
63 macaddr_rom_f100: macaddr@f100 {
70 reg = <0x7e0000 0x10000>;
73 radio: partition@7f0000 {
74 compatible = "nvmem-cells";
76 reg = <0x7f0000 0x10000>;
81 eeprom_radio_0: eeprom@0 {
92 nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100>;
93 nvmem-cell-names = "eeprom", "mac-address";
97 nvmem-cells = <&macaddr_rom_f100>;
98 nvmem-cell-names = "mac-address";
102 mediatek,portmap = <0x3e>;