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>;
61 compatible = "fixed-layout";
65 macaddr_rom_f100: macaddr@f100 {
66 compatible = "mac-base";
68 #nvmem-cell-cells = <1>;
75 reg = <0x7e0000 0x10000>;
78 radio: partition@7f0000 {
80 reg = <0x7f0000 0x10000>;
84 compatible = "fixed-layout";
88 eeprom_radio_0: eeprom@0 {
92 eeprom_radio_8000: eeprom@8000 {
104 nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100 0>;
105 nvmem-cell-names = "eeprom", "mac-address";
109 nvmem-cells = <&macaddr_rom_f100 0>;
110 nvmem-cell-names = "mac-address";
114 mediatek,portmap = <0x3e>;