msm8916-openwrt/target/linux/ath79/dts/qca9533_qca_ap143-8m.dts
Rosen Penev 74f2df9dbc ath79: mtd-cal-data removals
Replacement can be done with nvmem.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-06-09 12:24:15 +02:00

83 lines
1.4 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "qca9533_qca_ap143.dtsi"
/ {
model = "Qualcomm Atheros AP143 (8M) reference board";
compatible = "qca,ap143-8m", "qca,qca9533";
virtual_flash {
compatible = "mtd-concat";
devices = <&fwconcat0 &fwconcat1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x0>;
label = "firmware";
compatible = "openwrt,uimage", "denx,uimage";
openwrt,ih-magic = <IH_MAGIC_OKLI>;
};
};
};
};
&partitions {
fwconcat0: partition@50000 {
label = "fwconcat0";
reg = <0x050000 0x630000>;
};
partition@680000 {
label = "loader";
reg = <0x680000 0x10000>;
};
fwconcat1: partition@690000 {
label = "fwconcat1";
reg = <0x690000 0x160000>;
};
partition@7f0000 {
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
cal_art_1000: calibration@1000 {
reg = <0x1000 0x440>;
};
};
};
};
&eth0 {
nvmem-cells = <&macaddr_art_0>;
nvmem-cell-names = "mac-address";
};
&eth1 {
nvmem-cells = <&macaddr_art_6>;
nvmem-cell-names = "mac-address";
};
&wmac {
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
};