MPC8568E-MDS: create localbus node
Subsystems (3)
PATCH v3 1/2 MPC8568E-MDS: create localbus node
This patch creates localbus node, moves bcsr into it, and adds localbus to the probe path.
Signed-off-by Anton Vorontsov <[email protected]>
--- arch/powerpc/boot/dts/mpc8568mds.dts | 14 +++++++++++--- arch/powerpc/platforms/85xx/mpc85xx_mds.c | 1 + 2 files changed, 12 insertions(+), 3 deletions(-)
arch/powerpc/boot/dts/mpc8568mds.dts +11 -3
@@ -42,9 +42,17 @@ reg = <00000000 10000000>; }; - bcsr@f8000000 { - device_type = "board-control"; - reg = <f8000000 8000>; + localbus@e0005000 { + #address-cells = <2>; + #size-cells = <1>; + compatible = "fsl,mpc8568-localbus"; + reg = <e0005000 d8>; + ranges = <1 0 f8000000 0008000>; + + bcsr@1,0 { + device_type = "board-control"; + reg = <1 0 8000>; + }; }; soc8568@e0000000 {
arch/powerpc/platforms/85xx/mpc85xx_mds.c +1 -0
@@ -139,6 +139,7 @@ static struct of_device_id mpc85xx_ids[] = { { .type = "soc", }, { .compatible = "soc", }, { .type = "qe", }, + { .compatible = "fsl,mpc8568-localbus", }, {}, };
Signature · 1 line
1.5.0.6
Quoted 4 lines · Anton Vorontsov
This patch creates localbus node, moves bcsr into it, and adds localbus to the probe path.
Signed-off-by Anton Vorontsov <[email protected]>
why two patches for lbus and flash to lbus?
- k