OSDN Git Service

ARM: dts: aspeed: Add Romulus BMC platform
authorJoel Stanley <joel@jms.id.au>
Wed, 4 Jan 2017 06:01:28 +0000 (17:01 +1100)
committerJoel Stanley <joel@jms.id.au>
Tue, 10 Jan 2017 10:55:46 +0000 (21:55 +1100)
Romulus is an OpenPower machine with an ast2500 BMC. It has NCSI
networking and 512MB of RAM.

Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts [new file with mode: 0644]

index cccdbcb..4549e18 100644 (file)
@@ -981,6 +981,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
        mt8135-evbp1.dtb
 dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb
 dtb-$(CONFIG_ARCH_ASPEED) += aspeed-bmc-opp-palmetto.dtb \
+       aspeed-bmc-opp-romulus.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 (file)
index 0000000..7a3b2b5
--- /dev/null
@@ -0,0 +1,45 @@
+/dts-v1/;
+
+#include "aspeed-g5.dtsi"
+
+/ {
+       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>;
+       };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               vga_memory: framebuffer@bf000000 {
+                       no-map;
+                       reg = <0xbf000000 0x01000000>; /* 16M */
+               };
+       };
+};
+
+&uart5 {
+       status = "okay";
+};
+
+&mac0 {
+       status = "okay";
+
+       use-ncsi;
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rmii1_default>;
+};