Skip to content

Commit 8c014e9

Browse files
tao-renshenki
authored andcommitted
ARM: dts: aspeed: yamp: Use common dtsi
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>
1 parent 2bd4c3d commit 8c014e9

1 file changed

Lines changed: 5 additions & 57 deletions

File tree

arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts

Lines changed: 5 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Copyright (c) 2018 Facebook Inc.
33
/dts-v1/;
44

5-
#include "aspeed-g5.dtsi"
5+
#include "ast2500-facebook-netbmc-common.dtsi"
66

77
/ {
88
model = "Facebook YAMP 100 BMC";
@@ -23,47 +23,6 @@
2323
stdout-path = &uart5;
2424
bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
2525
};
26-
27-
memory@80000000 {
28-
reg = <0x80000000 0x20000000>;
29-
};
30-
};
31-
32-
&pinctrl {
33-
aspeed,external-nodes = <&gfx &lhc>;
34-
};
35-
36-
/*
37-
* Update reset type to "system" (full chip) to fix warm reboot hang issue
38-
* when reset type is set to default ("soc", gated by reset mask registers).
39-
*/
40-
&wdt1 {
41-
status = "okay";
42-
aspeed,reset-type = "system";
43-
};
44-
45-
/*
46-
* wdt2 is not used by Yamp.
47-
*/
48-
&wdt2 {
49-
status = "disabled";
50-
};
51-
52-
&fmc {
53-
status = "okay";
54-
flash@0 {
55-
status = "okay";
56-
m25p,fast-read;
57-
label = "bmc";
58-
#include "facebook-bmc-flash-layout.dtsi"
59-
};
60-
};
61-
62-
&uart1 {
63-
status = "okay";
64-
pinctrl-names = "default";
65-
pinctrl-0 = <&pinctrl_txd1_default
66-
&pinctrl_rxd1_default>;
6726
};
6827

6928
&uart2 {
@@ -73,17 +32,6 @@
7332
&pinctrl_rxd2_default>;
7433
};
7534

76-
&uart3 {
77-
status = "okay";
78-
pinctrl-names = "default";
79-
pinctrl-0 = <&pinctrl_txd3_default
80-
&pinctrl_rxd3_default>;
81-
};
82-
83-
&uart5 {
84-
status = "okay";
85-
};
86-
8735
&mac0 {
8836
status = "okay";
8937
use-ncsi;
@@ -95,6 +43,10 @@
9543
clock-names = "MACCLK", "RCLK";
9644
};
9745

46+
&mac1 {
47+
status = "disabled";
48+
};
49+
9850
&i2c0 {
9951
status = "okay";
10052
};
@@ -157,7 +109,3 @@
157109
&i2c13 {
158110
status = "okay";
159111
};
160-
161-
&vhub {
162-
status = "okay";
163-
};

0 commit comments

Comments
 (0)