1*1001985bSJoel Stanley// SPDX-License-Identifier: GPL-2.0+
2*1001985bSJoel Stanley// Copyright 2022 IBM Corp.
3*1001985bSJoel Stanley/dts-v1/;
4*1001985bSJoel Stanley
5*1001985bSJoel Stanley#include "ast2500-u-boot.dtsi"
6*1001985bSJoel Stanley
7*1001985bSJoel Stanley/ {
8*1001985bSJoel Stanley	model = "Romulus BMC";
9*1001985bSJoel Stanley	compatible = "ibm,romulus-bmc", "aspeed,ast2500";
10*1001985bSJoel Stanley
11*1001985bSJoel Stanley	memory {
12*1001985bSJoel Stanley		device_type = "memory";
13*1001985bSJoel Stanley		reg = <0x80000000 0x20000000>;
14*1001985bSJoel Stanley	};
15*1001985bSJoel Stanley
16*1001985bSJoel Stanley	chosen {
17*1001985bSJoel Stanley		stdout-path = &uart5;
18*1001985bSJoel Stanley	};
19*1001985bSJoel Stanley
20*1001985bSJoel Stanley	aliases {
21*1001985bSJoel Stanley		spi0 = &fmc;
22*1001985bSJoel Stanley		spi1 = &spi1;
23*1001985bSJoel Stanley		ethernet0 = &mac0;
24*1001985bSJoel Stanley		ethernet1 = &mac1;
25*1001985bSJoel Stanley	};
26*1001985bSJoel Stanley};
27*1001985bSJoel Stanley
28*1001985bSJoel Stanley&uart5 {
29*1001985bSJoel Stanley	u-boot,dm-pre-reloc;
30*1001985bSJoel Stanley	status = "okay";
31*1001985bSJoel Stanley};
32*1001985bSJoel Stanley
33*1001985bSJoel Stanley&sdrammc {
34*1001985bSJoel Stanley	clock-frequency = <400000000>;
35*1001985bSJoel Stanley};
36*1001985bSJoel Stanley
37*1001985bSJoel Stanley&wdt1 {
38*1001985bSJoel Stanley	u-boot,dm-pre-reloc;
39*1001985bSJoel Stanley	status = "okay";
40*1001985bSJoel Stanley};
41*1001985bSJoel Stanley
42*1001985bSJoel Stanley&wdt2 {
43*1001985bSJoel Stanley	u-boot,dm-pre-reloc;
44*1001985bSJoel Stanley	status = "okay";
45*1001985bSJoel Stanley};
46*1001985bSJoel Stanley
47*1001985bSJoel Stanley&mac0 {
48*1001985bSJoel Stanley	status = "okay";
49*1001985bSJoel Stanley
50*1001985bSJoel Stanley	phy-mode = "NC-SI";
51*1001985bSJoel Stanley	use-ncsi;
52*1001985bSJoel Stanley	pinctrl-names = "default";
53*1001985bSJoel Stanley	pinctrl-0 = <&pinctrl_rmii1_default>;
54*1001985bSJoel Stanley};
55*1001985bSJoel Stanley
56*1001985bSJoel Stanley&fmc {
57*1001985bSJoel Stanley	status = "okay";
58*1001985bSJoel Stanley	flash@0 {
59*1001985bSJoel Stanley		status = "okay";
60*1001985bSJoel Stanley		spi-max-frequency = <50000000>;
61*1001985bSJoel Stanley		spi-tx-bus-width = <2>;
62*1001985bSJoel Stanley		spi-rx-bus-width = <2>;
63*1001985bSJoel Stanley	};
64*1001985bSJoel Stanley};
65*1001985bSJoel Stanley
66*1001985bSJoel Stanley&spi1 {
67*1001985bSJoel Stanley	status = "okay";
68*1001985bSJoel Stanley	flash@0 {
69*1001985bSJoel Stanley		pinctrl-names = "default";
70*1001985bSJoel Stanley		pinctrl-0 = <&pinctrl_spi1_default>;
71*1001985bSJoel Stanley		status = "okay";
72*1001985bSJoel Stanley		spi-max-frequency = <50000000>;
73*1001985bSJoel Stanley		spi-tx-bus-width = <2>;
74*1001985bSJoel Stanley		spi-rx-bus-width = <2>;
75*1001985bSJoel Stanley	};
76*1001985bSJoel Stanley};
77