Skip to contentSkip to conversation

arm: dts: Add Romulus BMC machine

PATCH In review Joel Stanley 2 participants 2 messages Oct 27, 2016 – Oct 30, 2016

Subsystems (3)
lore
Share & tools
lore

Joel Stanley

author maintainer
#0 lore raw

PATCH 1/1 arm: dts: Add Romulus BMC machine

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

---
 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
arch/arm/boot/dts/Makefile +1 -0
index b9541c68afc8..ff647a08fe41 100644
@@ -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
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts new file +156 -0

156 lines not on this page · raw message

Signature · 1 line
2.9.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 57 lines · Joel Stanley

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

---
 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

arch/arm/boot/dts/Makefile +1 -0
index b9541c68afc8..ff647a08fe41 100644
@@ -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

arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts new file +29 -0
new file mode 100644
index 000000000000..e1be7b0c5484
@@ -0,0 +1,156 @@
+/dts-v1/;
+
+#include "aspeed-g5.dtsi"
+#include 
+
+/ {
+	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@0 {
+		status = "okay";
+#include "aspeed-bmc-opp-flash-layout.dtsi"
+	};

arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts line 39

Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts new file +10 -0
+	flash@1 {
+		status = "okay";
+		label = "alt";
+	};
+};
+
+&spi1 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_spi1debug_default>;

It's definitely strapped this way?

Other than that, looks good to me.

Andrew

Quoted 117 lines
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts new file +117 -0
+
+	flash@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@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";
+};