1// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2018 Facebook Inc.
3/dts-v1/;
4
5#include "aspeed-g4.dtsi"
6
7/ {
8	model = "Facebook Wedge 100 BMC";
9	compatible = "facebook,wedge100-bmc", "aspeed,ast2400";
10
11	aliases {
12		/*
13		 * Override the default uart aliases to avoid breaking
14		 * the legacy applications.
15		 */
16		serial0 = &uart5;
17		serial1 = &uart1;
18		serial2 = &uart3;
19		serial3 = &uart4;
20	};
21
22	chosen {
23		stdout-path = &uart3;
24		bootargs = "console=ttyS2,9600n8 root=/dev/ram rw";
25	};
26
27	memory@40000000 {
28		reg = <0x40000000 0x20000000>;
29	};
30};
31
32&wdt1 {
33	status = "okay";
34	aspeed,reset-type = "system";
35};
36
37&wdt2 {
38	status = "okay";
39	aspeed,reset-type = "system";
40};
41
42&fmc {
43	status = "okay";
44	flash@0 {
45		status = "okay";
46		m25p,fast-read;
47		label = "fmc0";
48#include "facebook-bmc-flash-layout.dtsi"
49	};
50};
51
52&uart1 {
53	status = "okay";
54	pinctrl-names = "default";
55	pinctrl-0 = <&pinctrl_txd1_default
56		     &pinctrl_rxd1_default>;
57};
58
59&uart3 {
60	status = "okay";
61	pinctrl-names = "default";
62	pinctrl-0 = <&pinctrl_txd3_default
63		     &pinctrl_rxd3_default>;
64};
65
66&uart4 {
67	status = "okay";
68	pinctrl-names = "default";
69	pinctrl-0 = <&pinctrl_txd4_default
70		     &pinctrl_rxd4_default>;
71};
72
73&uart5 {
74	status = "okay";
75};
76
77&mac1 {
78	status = "okay";
79	no-hw-checksum;
80	pinctrl-names = "default";
81	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
82};
83
84&i2c0 {
85	status = "okay";
86};
87
88&i2c1 {
89	status = "okay";
90};
91
92&i2c2 {
93	status = "okay";
94};
95
96&i2c3 {
97	status = "okay";
98};
99
100&i2c4 {
101	status = "okay";
102};
103
104&i2c5 {
105	status = "okay";
106};
107
108&i2c6 {
109	status = "okay";
110};
111
112&i2c7 {
113	status = "okay";
114
115	i2c-switch@70 {
116		compatible = "nxp,pca9548";
117		#address-cells = <1>;
118		#size-cells = <0>;
119		reg = <0x70>;
120	};
121};
122
123&i2c8 {
124	status = "okay";
125};
126
127&i2c9 {
128	status = "okay";
129};
130
131&i2c10 {
132	status = "okay";
133};
134
135&i2c11 {
136	status = "okay";
137};
138
139&i2c12 {
140	status = "okay";
141};
142
143&i2c13 {
144	status = "okay";
145};
146
147&vhub {
148	status = "okay";
149};
150