1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an_tplink_re305.dtsi"
6 compatible = "tplink,re305-v1", "mediatek,mt7628an-soc";
7 model = "TP-Link RE305 v1";
14 compatible = "jedec,spi-nor";
16 spi-max-frequency = <50000000>;
19 compatible = "fixed-partitions";
30 compatible = "tplink,firmware";
32 reg = <0x20000 0x5e0000>;
37 reg = <0x600000 0x50000>;
41 compatible = "fixed-layout";
45 macaddr_config_10008: macaddr@10008 {
46 compatible = "mac-base";
48 #nvmem-cell-cells = <1>;
54 The flash space between 0x650000 and 0x7f0000 is blank in the
55 stock firmware so it is left out as well.
60 reg = <0x7f0000 0x10000>;
64 compatible = "fixed-layout";
68 eeprom_radio_0: eeprom@0 {
72 eeprom_radio_8000: eeprom@8000 {
82 nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008 2>;
83 nvmem-cell-names = "eeprom", "mac-address";
87 nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008 1>;
88 nvmem-cell-names = "eeprom", "mac-address";
92 nvmem-cells = <&macaddr_config_10008 0>;
93 nvmem-cell-names = "mac-address";