ARM: dts: aspeed: yamp: Use common dtsi
authorTao Ren <taoren@fb.com>
Mon, 21 Oct 2019 19:48:20 +0000 (12:48 -0700)
committerJoel Stanley <joel@jms.id.au>
Fri, 1 Nov 2019 10:24:47 +0000 (20:54 +1030)
Simplify the Yamp device tree by using the common dtsi.

In addition this enables the following the second firmware flash and the
eMMC device in slot #1.

Signed-off-by: Tao Ren <taoren@fb.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts

index ee175dd..5293359 100644 (file)
@@ -2,7 +2,7 @@
 // Copyright (c) 2018 Facebook Inc.
 /dts-v1/;
 
-#include "aspeed-g5.dtsi"
+#include "ast2500-facebook-netbmc-common.dtsi"
 
 / {
        model = "Facebook YAMP 100 BMC";
                stdout-path = &uart5;
                bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
        };
-
-       memory@80000000 {
-               reg = <0x80000000 0x20000000>;
-       };
-};
-
-&pinctrl {
-       aspeed,external-nodes = <&gfx &lhc>;
-};
-
-/*
- * Update reset type to "system" (full chip) to fix warm reboot hang issue
- * when reset type is set to default ("soc", gated by reset mask registers).
- */
-&wdt1 {
-       status = "okay";
-       aspeed,reset-type = "system";
-};
-
-/*
- * wdt2 is not used by Yamp.
- */
-&wdt2 {
-       status = "disabled";
-};
-
-&fmc {
-       status = "okay";
-       flash@0 {
-               status = "okay";
-               m25p,fast-read;
-               label = "bmc";
-#include "facebook-bmc-flash-layout.dtsi"
-       };
-};
-
-&uart1 {
-       status = "okay";
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_txd1_default
-                    &pinctrl_rxd1_default>;
 };
 
 &uart2 {
                     &pinctrl_rxd2_default>;
 };
 
-&uart3 {
-       status = "okay";
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_txd3_default
-                    &pinctrl_rxd3_default>;
-};
-
-&uart5 {
-       status = "okay";
-};
-
 &mac0 {
        status = "okay";
        use-ncsi;
        clock-names = "MACCLK", "RCLK";
 };
 
+&mac1 {
+       status = "disabled";
+};
+
 &i2c0 {
        status = "okay";
 };
 &i2c13 {
        status = "okay";
 };
-
-&vhub {
-       status = "okay";
-};