xref: /openbmc/u-boot/arch/arm/dts/ast2600-s6q.dts (revision 3ba98ed8)
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright 2022 Quanta Corp.
3/dts-v1/;
4
5#include "ast2600-u-boot.dtsi"
6
7/ {
8	model = "Quanta S6Q BMC";
9	compatible = "quanta,s6q-bmc", "aspeed,ast2600";
10
11	memory {
12		device_type = "memory";
13		reg = <0x80000000 0x40000000>;
14	};
15
16	chosen {
17		stdout-path = &uart5;
18	};
19
20	aliases {
21		spi0 = &fmc;
22		spi2 = &spi2;
23		ethernet0 = &mac2;
24		ethernet1 = &mac3;
25	};
26
27	cpus {
28		cpu@0 {
29			clock-frequency = <800000000>;
30		};
31		cpu@1 {
32			clock-frequency = <800000000>;
33		};
34	};
35};
36
37&uart5 {
38	u-boot,dm-pre-reloc;
39	status = "okay";
40};
41
42&sdrammc {
43	clock-frequency = <400000000>;
44};
45
46&wdt1 {
47	u-boot,dm-pre-reloc;
48	status = "okay";
49};
50
51&wdt2 {
52	u-boot,dm-pre-reloc;
53	status = "okay";
54};
55
56&wdt3 {
57	u-boot,dm-pre-reloc;
58	status = "okay";
59};
60
61&mdio {
62	status = "okay";
63	pinctrl-names = "default";
64	pinctrl-0 = <&pinctrl_mdio3_default>;
65	#address-cells = <1>;
66	#size-cells = <0>;
67
68	ethphy2: ethernet-phy@2 {
69		reg = <0>;
70	};
71};
72
73&mac2 {
74	status = "okay";
75	phy-mode = "rgmii";
76	phy-handle = <&ethphy2>;
77	pinctrl-names = "default";
78	pinctrl-0 = <&pinctrl_rgmii3_default>;
79};
80
81&mac3 {
82	status = "okay";
83	phy-mode = "rmii";
84	pinctrl-names = "default";
85	pinctrl-0 = <&pinctrl_rmii4_default>;
86};
87
88&fmc {
89	status = "okay";
90
91	pinctrl-names = "default";
92	pinctrl-0 = <&pinctrl_fmcquad_default>;
93
94	flash@0 {
95		status = "okay";
96		spi-max-frequency = <50000000>;
97		spi-tx-bus-width = <4>;
98		spi-rx-bus-width = <4>;
99	};
100};
101
102&spi2 {
103	status = "okay";
104
105	pinctrl-names = "default";
106	pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default
107			&pinctrl_spi2cs2_default &pinctrl_spi2quad_default>;
108
109	flash@0 {
110		status = "okay";
111		spi-max-frequency = <50000000>;
112		spi-tx-bus-width = <4>;
113		spi-rx-bus-width = <4>;
114	};
115};
116
117&i2c0 {
118	status = "okay";
119	pinctrl-names = "default";
120	pinctrl-0 = <&pinctrl_i2c1_default>;
121};
122
123&i2c1 {
124	status = "okay";
125	pinctrl-names = "default";
126	pinctrl-0 = <&pinctrl_i2c2_default>;
127};
128
129&i2c2 {
130	status = "okay";
131	pinctrl-names = "default";
132	pinctrl-0 = <&pinctrl_i2c3_default>;
133};
134
135&i2c3 {
136	status = "okay";
137	pinctrl-names = "default";
138	pinctrl-0 = <&pinctrl_i2c4_default>;
139};
140
141&i2c4 {
142	status = "okay";
143	pinctrl-names = "default";
144	pinctrl-0 = <&pinctrl_i2c5_default>;
145};
146
147&i2c5 {
148	status = "okay";
149	pinctrl-names = "default";
150	pinctrl-0 = <&pinctrl_i2c6_default>;
151};
152
153&i2c6 {
154	status = "okay";
155	pinctrl-names = "default";
156	pinctrl-0 = <&pinctrl_i2c7_default>;
157};
158
159&i2c7 {
160	status = "okay";
161	pinctrl-names = "default";
162	pinctrl-0 = <&pinctrl_i2c8_default>;
163};
164
165&i2c8 {
166	status = "okay";
167	pinctrl-names = "default";
168	pinctrl-0 = <&pinctrl_i2c9_default>;
169};
170
171&i2c9 {
172	status = "okay";
173	pinctrl-names = "default";
174	pinctrl-0 = <&pinctrl_i2c10_default>;
175};
176
177&i2c11 {
178	status = "okay";
179	pinctrl-names = "default";
180	pinctrl-0 = <&pinctrl_i2c12_default>;
181};
182
183&i2c14 {
184	status = "okay";
185	pinctrl-names = "default";
186	pinctrl-0 = <&pinctrl_i2c15_default>;
187};
188
189&i2c15 {
190	status = "okay";
191	pinctrl-names = "default";
192	pinctrl-0 = <&pinctrl_i2c16_default>;
193};
194
195&display_port {
196	status = "okay";
197};
198
199&scu {
200	mac2-clk-delay = <0x08 0x04
201			  0x08 0x04
202			  0x08 0x04>;
203	mac3-clk-delay = <0x08 0x04
204			  0x08 0x04
205			  0x08 0x04>;
206};
207
208&hace {
209	u-boot,dm-pre-reloc;
210	status = "okay";
211};
212
213&acry {
214	u-boot,dm-pre-reloc;
215	status = "okay";
216};
217