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>;
42 The flash space between 0x650000 and 0x7f0000 is blank in the
43 stock firmware so it is left out as well.
46 radio: partition@7f0000 {
48 reg = <0x7f0000 0x10000>;
56 mediatek,mtd-eeprom = <&radio 0x8000>;
58 nvmem-cells = <&macaddr_config_10008>;
59 nvmem-cell-names = "mac-address";
60 mac-address-increment = <2>;
64 mediatek,mtd-eeprom = <&radio 0x0>;
66 nvmem-cells = <&macaddr_config_10008>;
67 nvmem-cell-names = "mac-address";
68 mac-address-increment = <1>;
72 nvmem-cells = <&macaddr_config_10008>;
73 nvmem-cell-names = "mac-address";
77 compatible = "nvmem-cells";
81 macaddr_config_10008: macaddr@10008 {