[linux dev-4.7 PATCH] arm: dts: Add Romulus BMC machine

Joel Stanley joel at jms.id.au
Thu Oct 27 17:19:35 AEDT 2016


Romulus is a dual socket OpenPower Power9 system produced by IBM with
an Aspeed ast2500 BMC.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 arch/arm/boot/dts/Makefile                   |   1 +
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 156 +++++++++++++++++++++++++++
 2 files changed, 157 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b9541c68afc8..ff647a08fe41 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -896,6 +896,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += aspeed-bmc-opp-palmetto.dtb \
 	aspeed-bmc-opp-garrison.dtb \
 	aspeed-bmc-opp-witherspoon.dtb \
 	aspeed-bmc-opp-zaius.dtb \
+	aspeed-bmc-opp-romulus.dtb \
 	aspeed-bmc-facebook-cmm.dtb \
 	aspeed-ast2500-evb.dtb
 endif
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
new file mode 100644
index 000000000000..e1be7b0c5484
--- /dev/null
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -0,0 +1,156 @@
+/dts-v1/;
+
+#include "aspeed-g5.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
+/ {
+	model = "Romulus BMC";
+	compatible = "ibm,romulus-bmc", "aspeed,ast2500";
+
+	aliases {
+		serial4 = &uart5;
+	};
+
+	chosen {
+		stdout-path = &uart5;
+		bootargs = "console=ttyS4,115200 earlyprintk";
+	};
+
+	memory {
+		reg = <0x80000000 0x40000000>;
+	};
+};
+
+&fmc {
+	status = "okay";
+	flash at 0 {
+		status = "okay";
+#include "aspeed-bmc-opp-flash-layout.dtsi"
+	};
+	flash at 1 {
+		status = "okay";
+		label = "alt";
+	};
+};
+
+&spi1 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_spi1debug_default>;
+
+	flash at 0 {
+		status = "okay";
+	};
+};
+
+&uart5 {
+	status = "okay";
+};
+
+&mac0 {
+	status = "okay";
+
+	use-ncsi;
+
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rmii1_default>;
+};
+
+&i2c0 {
+	status = "disabled";
+};
+
+&i2c1 {
+	status = "enabled";
+
+	/* CPU1 */
+};
+
+&i2c2 {
+	/* FSI Mux */
+
+	status = "okay";
+};
+
+&i2c3 {
+	status = "okay";
+
+	/* Clock chip */
+};
+
+&i2c4 {
+	status = "okay";
+
+	/* Voltage regulators:
+	 *  CPU0 VDD/VCS
+	 *  CPU0 VDN/VIO
+	 *  CPU0 VDDR A
+	 *  CPU0 VDDR B
+	 */
+};
+
+&i2c5 {
+	status = "okay";
+
+	/* Voltage regulators:
+	 *  CPU1 VDD/VCS
+	 *  CPU1 VDN/VIO
+	 *  CPU1 VDDR A
+	 *  CPU1 VDDR B
+	 */
+};
+
+&i2c6 {
+	/* PCIe slot 1 (x8) */
+	status = "enabled";
+};
+
+&i2c7 {
+	/* PCIe slot 2 (x16) */
+	status = "enabled";
+};
+
+&i2c8 {
+	/* PCIe slot 3 (x16) */
+	status = "enabled";
+};
+
+&i2c9 {
+	/* PCIe slot 4 (x16) */
+	status = "enabled";
+};
+
+&i2c10 {
+	/* PCIe slot 5 (x8) */
+	status = "enabled";
+};
+
+&i2c11 {
+	status = "okay";
+
+	rtc at 32 {
+		compatible = "epson,rx8900";
+		reg = <0x32>;
+	};
+
+	/* TPM */
+};
+
+&i2c12 {
+	status = "okay";
+
+	/* CPLD */
+	/* Fan Controller 0xa4/a5 */
+	/* Power Supply */
+	/* Temp Sensor */
+	/* Temp Sensor */
+
+};
+
+&i2c13 {
+	status = "disabled";
+};
+
+&vuart {
+	status = "okay";
+};
-- 
2.9.3



More information about the openbmc mailing list