qualcommax: convert to nvmem-layout

nvmem-cells is deprecated

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-13 12:20:51 -08:00 committed by Christian Marangi
parent 10b7e2d0df
commit eadf2ead4e
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
3 changed files with 68 additions and 63 deletions

View File

@ -151,28 +151,30 @@
reg = <0x800000 0x80000>;
read-only;
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_dp2: macaddr@6 {
reg = <0x6 0x6>;
};
macaddr_dp2: macaddr@6 {
reg = <0x6 0x6>;
};
macaddr_dp3: macaddr@c {
reg = <0xc 0x6>;
};
macaddr_dp3: macaddr@c {
reg = <0xc 0x6>;
};
macaddr_dp4: macaddr@12 {
reg = <0x12 0x6>;
};
macaddr_dp4: macaddr@12 {
reg = <0x12 0x6>;
};
macaddr_dp5: macaddr@18 {
reg = <0x18 0x6>;
};
macaddr_dp5: macaddr@18 {
reg = <0x18 0x6>;
};
caldata_qca9889: caldata@4d000 {
reg = <0x33000 0x844>;
caldata_qca9889: caldata@4d000 {
reg = <0x33000 0x844>;
};
};
};

View File

@ -280,32 +280,34 @@
reg = <0xf80000 0x80000>;
read-only;
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_dp1: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_dp1: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_dp2: macaddr@6 {
reg = <0x6 0x6>;
};
macaddr_dp2: macaddr@6 {
reg = <0x6 0x6>;
};
macaddr_dp3: macaddr@c {
reg = <0xc 0x6>;
};
macaddr_dp3: macaddr@c {
reg = <0xc 0x6>;
};
macaddr_dp4: macaddr@12 {
reg = <0x12 0x6>;
};
macaddr_dp4: macaddr@12 {
reg = <0x12 0x6>;
};
macaddr_dp5: macaddr@18 {
reg = <0x18 0x6>;
};
macaddr_dp5: macaddr@18 {
reg = <0x18 0x6>;
};
caldata_qca9889: caldata@4d000 {
reg = <0x4d000 0x844>;
caldata_qca9889: caldata@4d000 {
reg = <0x4d000 0x844>;
};
};
};

View File

@ -441,34 +441,35 @@
reg = <0x1180000 0x0100000>;
read-only;
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_dp1: macaddr@0 {
reg = <0x0 0x6>;
macaddr_dp1: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_dp2: macaddr@1 {
reg = <0x6 0x6>;
};
macaddr_dp3: macaddr@2 {
reg = <0xc 0x6>;
};
macaddr_dp4: macaddr@3 {
reg = <0x12 0x6>;
};
macaddr_dp5: macaddr@4 {
reg = <0x18 0x6>;
};
macaddr_dp6_syn: macaddr@5 {
reg = <0x1e 0x6>;
};
};
macaddr_dp2: macaddr@1 {
reg = <0x6 0x6>;
};
macaddr_dp3: macaddr@2 {
reg = <0xc 0x6>;
};
macaddr_dp4: macaddr@3 {
reg = <0x12 0x6>;
};
macaddr_dp5: macaddr@4 {
reg = <0x18 0x6>;
};
macaddr_dp6_syn: macaddr@5 {
reg = <0x1e 0x6>;
};
};
partition@1280000 {