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