summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2021-06-18 13:45:11 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-21 21:15:26 +1000
commit0d0f9e5f2fa7aacf22892078a1065fa5d0ce941b (patch)
tree9ce310987921b60999ce4bf6d1ffd8b880bf15d0 /arch/powerpc/boot
parent151b88e8482167f6eb3117d82e4905efb5e72662 (diff)
downloadlinux-0d0f9e5f2fa7aacf22892078a1065fa5d0ce941b.tar.bz2
powerpc/microwatt: Populate platform bus from device-tree
Just like any other embedded platform. Add an empty soc node. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/YMwWx98+PMibZq/G@thinks.paulus.ozlabs.org
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r--arch/powerpc/boot/dts/microwatt.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/microwatt.dts b/arch/powerpc/boot/dts/microwatt.dts
index ac264ad3faaf..9b6140c90370 100644
--- a/arch/powerpc/boot/dts/microwatt.dts
+++ b/arch/powerpc/boot/dts/microwatt.dts
@@ -95,4 +95,11 @@
00 00 00 00 00 00 00 00 40 00 40];
};
+ soc@c0000000 {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ ranges = <0 0 0xc0000000 0x40000000>;
+ };
};