mpc85xx: fix some dtc warnings

Mostly missing/wrong addresses.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-30 14:15:11 -08:00 committed by Christian Lamparter
parent 34d2964554
commit 78d259e7d2
8 changed files with 23 additions and 25 deletions

View File

@ -43,9 +43,7 @@
reg = <0 0xffe05000 0 0x1000>;
ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
nor@0,0 {
#address-cells = <1>;
#size-cells = <1>;
nor@0 {
compatible = "cfi-flash";
reg = <0x0 0x0 0x4000000>;
bank-width = <2>;
@ -158,8 +156,6 @@
switch@10 {
compatible = "qca,qca8327";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x10>;
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;

View File

@ -194,7 +194,7 @@
0x1 0x0 0x0 0xff800000 0x00010000
0x3 0x0 0x0 0xffb00000 0x00000020>;
nand@1,0 {
nand@100000000 {
compatible = "fsl,ifc-nand";
reg = <0x1 0x0 0x10000>;

View File

@ -35,7 +35,7 @@
reg = <0 0xffe05000 0 0x1000>;
ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
nor@0,0 {
nor@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "cfi-flash";

View File

@ -31,7 +31,7 @@
0x2 0x0 0x0 0xffa00000 0x00020000
0x3 0x0 0x0 0xffb00000 0x00020000>;
nand@1,0 {
nand@100000000 {
compatible = "fsl,p1020-fcm-nand", "fsl,elbc-fcm-nand";
reg = <0x1 0x0 0x40000>;

View File

@ -122,7 +122,7 @@
0x1 0x0 0x0 0xff800000 0x00010000
0x3 0x0 0x0 0xffb00000 0x00000020>;
nand@1,0 {
nand@100000000 {
compatible = "fsl,ifc-nand";
reg = <0x1 0x0 0x10000>;
@ -165,19 +165,23 @@
read-only;
};
partition@300000 {
reg = <0x300000 0x800000>;
label = "kernel";
};
partition@b00000 {
reg = <0xb00000 0x7500000>;
label = "ubi";
};
oem-partition@300000 {
reg = <0x300000 0x1900000>;
label = "sophos-os1";
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x800000>;
label = "kernel";
};
partition@800000 {
reg = <0x800000 0x7500000>;
label = "ubi";
};
};
oem-partition@1c00000 {

View File

@ -125,10 +125,8 @@
reg = <4>;
};
switch@0 {
switch@10 {
compatible = "qca,qca8327";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x10>;
ports {

View File

@ -60,7 +60,7 @@
reg = <0 0xffe05000 0 0x1000>;
ranges = <0x0 0x0 0x0 0xee000000 0x2000000>;
nor@0,0 {
nor@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "cfi-flash";

View File

@ -152,7 +152,7 @@
0x1000000 0x0 0x0
0x0 0x100000>;
wifi@0,0,0 {
wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0 0 0 0 0>;
ieee80211-freq-limit = <2400000 2500000>;
@ -173,7 +173,7 @@
0x1000000 0x0 0x0
0x0 0x100000>;
wifi@0,0,0 {
wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;