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 {
36 compatible = "nvmem-cells";
38 reg = <0x600000 0x50000>;
43 macaddr_config_10008: macaddr@10008 {
49 The flash space between 0x650000 and 0x7f0000 is blank in the
50 stock firmware so it is left out as well.
53 radio: partition@7f0000 {
54 compatible = "nvmem-cells";
56 reg = <0x7f0000 0x10000>;
61 eeprom_radio_0: eeprom@0 {
65 eeprom_radio_8000: eeprom@8000 {
74 nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008>;
75 nvmem-cell-names = "eeprom", "mac-address";
76 mac-address-increment = <2>;
80 nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008>;
81 nvmem-cell-names = "eeprom", "mac-address";
82 mac-address-increment = <1>;
86 nvmem-cells = <&macaddr_config_10008>;
87 nvmem-cell-names = "mac-address";