Update the 83xx/85xx/86xx boards device tree
Subsystems (2)
PATCH 5/6 Update the 83xx/85xx/86xx boards device tree
From: Roy Zang <[email protected]>
Update the 83xx/85xx/86xx boards device tree.
Indentify pci, pcie host by compatible property
"fsl,mpc83xx-pci","83xx"
"fsl,mpc85xx-pci","85xx"
"fsl,mpc86xx-pci","86xx"
and
"fsl, mpc85xx-pciex","85xx"
"fsl, mpc86xx-pciex","86xx"
--- arch/powerpc/boot/dts/mpc8313erdb.dts | 2 +- arch/powerpc/boot/dts/mpc832x_mds.dts | 2 +- arch/powerpc/boot/dts/mpc832x_rdb.dts | 2 +- arch/powerpc/boot/dts/mpc8349emitx.dts | 4 ++-- arch/powerpc/boot/dts/mpc8349emitxgp.dts | 2 +- arch/powerpc/boot/dts/mpc834x_mds.dts | 4 ++-- arch/powerpc/boot/dts/mpc836x_mds.dts | 2 +- arch/powerpc/boot/dts/mpc8540ads.dts | 2 +- arch/powerpc/boot/dts/mpc8541cds.dts | 4 ++-- arch/powerpc/boot/dts/mpc8555cds.dts | 4 ++-- arch/powerpc/boot/dts/mpc8560ads.dts | 2 +- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 4 ++-- 12 files changed, 17 insertions(+), 17 deletions(-)
arch/powerpc/boot/dts/mpc8313erdb.dts +1 -1
@@ -178,7 +178,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8500 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc832x_mds.dts +1 -1
@@ -154,7 +154,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8500 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc832x_rdb.dts +1 -1
@@ -123,7 +123,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8500 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc8349emitx.dts +2 -2
@@ -197,7 +197,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8500 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
@@ -222,7 +222,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8600 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc8349emitxgp.dts +1 -1
@@ -154,7 +154,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8600 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc834x_mds.dts +2 -2
@@ -241,7 +241,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8500 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
@@ -301,7 +301,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8600 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc836x_mds.dts +1 -1
@@ -169,7 +169,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8500 100>; - compatible = "83xx"; + compatible = "fsl,mpc83xx-pci","83xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc8540ads.dts +1 -1
@@ -258,7 +258,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8000 1000>; - compatible = "85xx"; + compatible = "fsl,mpc85xx-pci","85xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc8541cds.dts +2 -2
@@ -193,7 +193,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8000 1000>; - compatible = "85xx"; + compatible = "fsl,mpc85xx-pci","85xx"; device_type = "pci"; i8259@19000 {
@@ -230,7 +230,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <9000 1000>; - compatible = "85xx"; + compatible = "fsl,mpc85xx-pci","85xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc8555cds.dts +2 -2
@@ -193,7 +193,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <8000 1000>; - compatible = "85xx"; + compatible = "fsl,mpc85xx-pci","85xx"; device_type = "pci"; i8259@19000 {
@@ -230,7 +230,7 @@ #size-cells = <2>; #address-cells = <3>; reg = <9000 1000>; - compatible = "85xx"; + compatible = "fsl,mpc85xx-pci","85xx"; device_type = "pci"; };
arch/powerpc/boot/dts/mpc8560ads.dts +1 -1
@@ -136,7 +136,7 @@ #interrupt-cells = <1>; #size-cells = <2>; #address-cells = <3>; - compatible = "85xx"; + compatible = "fsl,mpc85xx-pci","85xx"; device_type = "pci"; reg = <8000 1000>; clock-frequency = <3f940aa>;
arch/powerpc/boot/dts/mpc8641_hpcn.dts +2 -2
@@ -208,7 +208,7 @@ }; pci@8000 { - compatible = "86xx"; + compatible = "fsl,mpc86xx-pciex","86xx"; device_type = "pci"; #interrupt-cells = <1>; #size-cells = <2>;
@@ -396,7 +396,7 @@ }; pci@9000 { - compatible = "86xx"; + compatible = "fsl,mpc86xx-pciex","86xx"; device_type = "pci"; #interrupt-cells = <1>; #size-cells = <2>;
Signature · 1 line
1.5.1
Quoted 7 lines
Indentify pci, pcie host by compatible property
"fsl,mpc83xx-pci","83xx"
"fsl,mpc85xx-pci","85xx"
"fsl,mpc86xx-pci","86xx"
and
"fsl, mpc85xx-pciex","85xx"
"fsl, mpc86xx-pciex","86xx"
This can't ever work -- if you see "compatible" = "85xx", what is it? PCI or PCIe? Or something else perhaps, maybe a CPU or an I2C controller or who-knows-what?
Segher
Quoted 9 lines · Segher Boessenkool
Quoted 7 lines
Indentify pci, pcie host by compatible property
"fsl,mpc83xx-pci","83xx"
"fsl,mpc85xx-pci","85xx"
"fsl,mpc86xx-pci","86xx"
and
"fsl, mpc85xx-pciex","85xx"
"fsl, mpc86xx-pciex","86xx"This can't ever work --
It works!
Quoted 2 lines
if you see "compatible" = "85xx",
what is it?
That's why I remove the original compatible "85xx".
Quoted 2 lines
PCI or PCIe? Or something else perhaps, maybe
a CPU or an I2C controller or who-knows-what?
I just think the compatible field
"fsl,mpc83xx-pci","83xx"
has some redundant information.
Kumar don't want to break anything using the old
information.
We can remove it in the future:-).
Roy
Quoted 10 lines
Quoted 9 lines
Quoted 7 lines
Indentify pci, pcie host by compatible property
"fsl,mpc83xx-pci","83xx"
"fsl,mpc85xx-pci","85xx"
"fsl,mpc86xx-pci","86xx"
and
"fsl, mpc85xx-pciex","85xx"
"fsl, mpc86xx-pciex","86xx"This can't ever work --
It works!
How can any driver match for "85xx" if two completely different devices use it as device name?
Quoted 3 lines
Quoted 2 lines
if you see "compatible" = "85xx",
what is it?That's why I remove the original compatible "85xx".
All entries in "compatible" are independent of each other. So there still is a "85xx" in there.
Quoted 7 lines
Quoted 2 lines
PCI or PCIe? Or something else perhaps, maybe
a CPU or an I2C controller or who-knows-what?I just think the compatible field
"fsl,mpc83xx-pci","83xx"
has some redundant information.
Kumar don't want to break anything using the old
information.
Yes, you can keep the existing "compatible" for, ahem, compatibility reasons -- but that doesn't mean you should add "85xx" to new (incompatible!) nodes.
Quoted 1 line
We can remove it in the future:-).
I hope so :-)
Segher