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 {
70 mediatek,mtd-eeprom = <&radio 0x8000>;
72 nvmem-cells = <&macaddr_config_10008>;
73 nvmem-cell-names = "mac-address";
74 mac-address-increment = <2>;
78 nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008>;
79 nvmem-cell-names = "eeprom", "mac-address";
80 mac-address-increment = <1>;
84 nvmem-cells = <&macaddr_config_10008>;
85 nvmem-cell-names = "mac-address";