Commit 2bd4c3d3 authored by Tao Ren's avatar Tao Ren Committed by Joel Stanley

ARM: dts: aspeed: minipack: Use common dtsi

Simplify the Minipack device tree by using the common dtsi.

In addition this enables the enabling the second firmware flash, and
updates it's size from 32MB to 64MB. It also enables the eMMC device in
slot #1.
Signed-off-by: default avatarTao Ren <taoren@fb.com>
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 7e4dd1ed
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Copyright (c) 2018 Facebook Inc. // Copyright (c) 2018 Facebook Inc.
/dts-v1/; /dts-v1/;
#include "aspeed-g5.dtsi" #include "ast2500-facebook-netbmc-common.dtsi"
/ { / {
model = "Facebook Minipack 100 BMC"; model = "Facebook Minipack 100 BMC";
...@@ -76,35 +76,36 @@ chosen { ...@@ -76,35 +76,36 @@ chosen {
stdout-path = &uart1; stdout-path = &uart1;
bootargs = "debug console=ttyS1,9600n8 root=/dev/ram rw"; bootargs = "debug console=ttyS1,9600n8 root=/dev/ram rw";
}; };
memory@80000000 {
reg = <0x80000000 0x20000000>;
};
}; };
&wdt1 { &wdt2 {
status = "okay"; status = "okay";
aspeed,reset-type = "system"; aspeed,reset-type = "system";
}; };
&wdt2 { /*
status = "okay"; * Both firmware flashes are 64MB on Minipack BMC.
aspeed,reset-type = "system"; */
&fmc_flash0 {
partitions {
data0@1c00000 {
reg = <0x1c00000 0x2400000>;
};
flash0@0 {
reg = <0x0 0x4000000>;
};
};
}; };
&fmc { &fmc_flash1 {
status = "okay"; partitions {
flash@0 { flash1@0 {
status = "okay"; reg = <0x0 0x4000000>;
m25p,fast-read; };
label = "bmc";
#include "facebook-bmc-flash-layout.dtsi"
}; };
}; };
&uart1 { &uart1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_txd1_default pinctrl-0 = <&pinctrl_txd1_default
&pinctrl_rxd1_default &pinctrl_rxd1_default
&pinctrl_ncts1_default &pinctrl_ncts1_default
...@@ -120,13 +121,6 @@ &uart2 { ...@@ -120,13 +121,6 @@ &uart2 {
&pinctrl_rxd2_default>; &pinctrl_rxd2_default>;
}; };
&uart3 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_txd3_default
&pinctrl_rxd3_default>;
};
&uart4 { &uart4 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -134,17 +128,6 @@ &uart4 { ...@@ -134,17 +128,6 @@ &uart4 {
&pinctrl_rxd4_default>; &pinctrl_rxd4_default>;
}; };
&uart5 {
status = "okay";
};
&mac1 {
status = "okay";
no-hw-checksum;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
};
&i2c0 { &i2c0 {
status = "okay"; status = "okay";
bus-frequency = <400000>; bus-frequency = <400000>;
...@@ -423,7 +406,3 @@ &i2c12 { ...@@ -423,7 +406,3 @@ &i2c12 {
&i2c13 { &i2c13 {
status = "okay"; status = "okay";
}; };
&vhub {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment