diff mbox series

[v2,08/10] ARM: mstar: Add smp ctrl registers to infinity2m dtsi

Message ID 20201201134330.3037007-9-daniel@0x0f.com (mailing list archive)
State Accepted
Commit 570e471ce0540165aed5bc638e462de7c1110a28
Headers show
Series ARM: mstar: Add basic support for i2m and SMP | expand

Commit Message

Daniel Palmer Dec. 1, 2020, 1:43 p.m. UTC
Add the smpctrl registers to the infinity2m dtsi so that the
second CPU can be enabled on chips in this family.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
 arch/arm/boot/dts/mstar-infinity2m.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/mstar-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi
index 02adb9fe9d3c..6d4d1d224e96 100644
--- a/arch/arm/boot/dts/mstar-infinity2m.dtsi
+++ b/arch/arm/boot/dts/mstar-infinity2m.dtsi
@@ -13,3 +13,10 @@  cpu1: cpu@1 {
 		reg = <0x1>;
 	};
 };
+
+&riu {
+	smpctrl: smpctrl@204000 {
+		reg = <0x204000 0x200>;
+		status = "disabled";
+	};
+};