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>;
35 config: partition@600000 {
37 reg = <0x600000 0x50000>;
41 compatible = "fixed-layout";
45 macaddr_config_10008: macaddr@10008 {
52 The flash space between 0x650000 and 0x7f0000 is blank in the
53 stock firmware so it is left out as well.
56 radio: partition@7f0000 {
58 reg = <0x7f0000 0x10000>;
62 compatible = "fixed-layout";
66 eeprom_radio_0: eeprom@0 {
70 eeprom_radio_8000: eeprom@8000 {
80 nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008>;
81 nvmem-cell-names = "eeprom", "mac-address";
82 mac-address-increment = <2>;
86 nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008>;
87 nvmem-cell-names = "eeprom", "mac-address";
88 mac-address-increment = <1>;
92 nvmem-cells = <&macaddr_config_10008>;
93 nvmem-cell-names = "mac-address";