xref: /openbmc/linux/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts (revision f890e67f292db46c9bd5b5c004ba0f98761d1a33)
1da305fa8SConor Dooley// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2da305fa8SConor Dooley/* Copyright (c) 2020-2021 Microchip Technology Inc */
3da305fa8SConor Dooley
4da305fa8SConor Dooley/dts-v1/;
5da305fa8SConor Dooley
6da305fa8SConor Dooley#include "mpfs.dtsi"
71277b195SConor Dooley#include "mpfs-icicle-kit-fabric.dtsi"
8da305fa8SConor Dooley
9da305fa8SConor Dooley/* Clock frequency (in Hz) of the rtcclk */
10da305fa8SConor Dooley#define RTCCLK_FREQ		1000000
11da305fa8SConor Dooley
12da305fa8SConor Dooley/ {
13da305fa8SConor Dooley	model = "Microchip PolarFire-SoC Icicle Kit";
14*f890e67fSConor Dooley	compatible = "microchip,mpfs-icicle-reference-rtlv2210", "microchip,mpfs-icicle-kit",
15*f890e67fSConor Dooley		     "microchip,mpfs";
16da305fa8SConor Dooley
17da305fa8SConor Dooley	aliases {
18da305fa8SConor Dooley		ethernet0 = &mac1;
19da305fa8SConor Dooley		serial0 = &mmuart0;
20da305fa8SConor Dooley		serial1 = &mmuart1;
21da305fa8SConor Dooley		serial2 = &mmuart2;
22da305fa8SConor Dooley		serial3 = &mmuart3;
23da305fa8SConor Dooley		serial4 = &mmuart4;
24da305fa8SConor Dooley	};
25da305fa8SConor Dooley
26da305fa8SConor Dooley	chosen {
27da305fa8SConor Dooley		stdout-path = "serial1:115200n8";
28da305fa8SConor Dooley	};
29da305fa8SConor Dooley
30da305fa8SConor Dooley	cpus {
31da305fa8SConor Dooley		timebase-frequency = <RTCCLK_FREQ>;
32da305fa8SConor Dooley	};
33da305fa8SConor Dooley
34da305fa8SConor Dooley	ddrc_cache_lo: memory@80000000 {
35da305fa8SConor Dooley		device_type = "memory";
36da305fa8SConor Dooley		reg = <0x0 0x80000000 0x0 0x2e000000>;
37da305fa8SConor Dooley		status = "okay";
38da305fa8SConor Dooley	};
39da305fa8SConor Dooley
40da305fa8SConor Dooley	ddrc_cache_hi: memory@1000000000 {
41da305fa8SConor Dooley		device_type = "memory";
42da305fa8SConor Dooley		reg = <0x10 0x0 0x0 0x40000000>;
43da305fa8SConor Dooley		status = "okay";
44da305fa8SConor Dooley	};
45da305fa8SConor Dooley};
46da305fa8SConor Dooley
47df403b7cSConor Dooley&core_pwm0 {
48da305fa8SConor Dooley	status = "okay";
49da305fa8SConor Dooley};
50da305fa8SConor Dooley
51df403b7cSConor Dooley&gpio2 {
52df403b7cSConor Dooley	interrupts = <53>, <53>, <53>, <53>,
53df403b7cSConor Dooley		     <53>, <53>, <53>, <53>,
54df403b7cSConor Dooley		     <53>, <53>, <53>, <53>,
55df403b7cSConor Dooley		     <53>, <53>, <53>, <53>,
56df403b7cSConor Dooley		     <53>, <53>, <53>, <53>,
57df403b7cSConor Dooley		     <53>, <53>, <53>, <53>,
58df403b7cSConor Dooley		     <53>, <53>, <53>, <53>,
59df403b7cSConor Dooley		     <53>, <53>, <53>, <53>;
60da305fa8SConor Dooley	status = "okay";
61da305fa8SConor Dooley};
62da305fa8SConor Dooley
63da305fa8SConor Dooley&i2c0 {
64da305fa8SConor Dooley	status = "okay";
65da305fa8SConor Dooley};
66da305fa8SConor Dooley
67da305fa8SConor Dooley&i2c1 {
68da305fa8SConor Dooley	status = "okay";
69da305fa8SConor Dooley};
70da305fa8SConor Dooley
71da305fa8SConor Dooley&i2c2 {
72da305fa8SConor Dooley	status = "okay";
73da305fa8SConor Dooley};
74da305fa8SConor Dooley
75da305fa8SConor Dooley&mac0 {
76da305fa8SConor Dooley	phy-mode = "sgmii";
77da305fa8SConor Dooley	phy-handle = <&phy0>;
781bcea030SConor Dooley	status = "okay";
79da305fa8SConor Dooley};
80da305fa8SConor Dooley
81da305fa8SConor Dooley&mac1 {
82da305fa8SConor Dooley	phy-mode = "sgmii";
83da305fa8SConor Dooley	phy-handle = <&phy1>;
841bcea030SConor Dooley	status = "okay";
851bcea030SConor Dooley
86da305fa8SConor Dooley	phy1: ethernet-phy@9 {
87da305fa8SConor Dooley		reg = <9>;
88da305fa8SConor Dooley		ti,fifo-depth = <0x1>;
89da305fa8SConor Dooley	};
901bcea030SConor Dooley
91da305fa8SConor Dooley	phy0: ethernet-phy@8 {
92da305fa8SConor Dooley		reg = <8>;
93da305fa8SConor Dooley		ti,fifo-depth = <0x1>;
94da305fa8SConor Dooley	};
95da305fa8SConor Dooley};
96da305fa8SConor Dooley
97da305fa8SConor Dooley&mbox {
98da305fa8SConor Dooley	status = "okay";
99da305fa8SConor Dooley};
100da305fa8SConor Dooley
101df403b7cSConor Dooley&mmc {
102df403b7cSConor Dooley	bus-width = <4>;
103df403b7cSConor Dooley	disable-wp;
104df403b7cSConor Dooley	cap-sd-highspeed;
105df403b7cSConor Dooley	cap-mmc-highspeed;
106df403b7cSConor Dooley	card-detect-delay = <200>;
107df403b7cSConor Dooley	mmc-ddr-1_8v;
108df403b7cSConor Dooley	mmc-hs200-1_8v;
109df403b7cSConor Dooley	sd-uhs-sdr12;
110df403b7cSConor Dooley	sd-uhs-sdr25;
111df403b7cSConor Dooley	sd-uhs-sdr50;
112df403b7cSConor Dooley	sd-uhs-sdr104;
113df403b7cSConor Dooley	status = "okay";
114df403b7cSConor Dooley};
115df403b7cSConor Dooley
116df403b7cSConor Dooley&mmuart1 {
117df403b7cSConor Dooley	status = "okay";
118df403b7cSConor Dooley};
119df403b7cSConor Dooley
120df403b7cSConor Dooley&mmuart2 {
121df403b7cSConor Dooley	status = "okay";
122df403b7cSConor Dooley};
123df403b7cSConor Dooley
124df403b7cSConor Dooley&mmuart3 {
125df403b7cSConor Dooley	status = "okay";
126df403b7cSConor Dooley};
127df403b7cSConor Dooley
128df403b7cSConor Dooley&mmuart4 {
129da305fa8SConor Dooley	status = "okay";
130da305fa8SConor Dooley};
131da305fa8SConor Dooley
132da305fa8SConor Dooley&pcie {
133da305fa8SConor Dooley	status = "okay";
134da305fa8SConor Dooley};
135da305fa8SConor Dooley
136df403b7cSConor Dooley&qspi {
137da305fa8SConor Dooley	status = "okay";
138da305fa8SConor Dooley};
139df403b7cSConor Dooley
140df403b7cSConor Dooley&refclk {
141df403b7cSConor Dooley	clock-frequency = <125000000>;
142df403b7cSConor Dooley};
143df403b7cSConor Dooley
144df403b7cSConor Dooley&rtc {
145df403b7cSConor Dooley	status = "okay";
146df403b7cSConor Dooley};
147df403b7cSConor Dooley
148df403b7cSConor Dooley&spi0 {
149df403b7cSConor Dooley	status = "okay";
150df403b7cSConor Dooley};
151df403b7cSConor Dooley
152df403b7cSConor Dooley&spi1 {
153df403b7cSConor Dooley	status = "okay";
154df403b7cSConor Dooley};
155df403b7cSConor Dooley
156df403b7cSConor Dooley&syscontroller {
157df403b7cSConor Dooley	status = "okay";
158df403b7cSConor Dooley};
159df403b7cSConor Dooley
160df403b7cSConor Dooley&usb {
161df403b7cSConor Dooley	status = "okay";
162df403b7cSConor Dooley	dr_mode = "host";
163df403b7cSConor Dooley};
164