xref: /freebsd-src/sys/contrib/device-tree/src/riscv/microchip/microchip-mpfs-icicle-kit.dts (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1*2eb4d8dcSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*2eb4d8dcSEmmanuel Vadot/* Copyright (c) 2020 Microchip Technology Inc */
3*2eb4d8dcSEmmanuel Vadot
4*2eb4d8dcSEmmanuel Vadot/dts-v1/;
5*2eb4d8dcSEmmanuel Vadot
6*2eb4d8dcSEmmanuel Vadot#include "microchip-mpfs.dtsi"
7*2eb4d8dcSEmmanuel Vadot
8*2eb4d8dcSEmmanuel Vadot/* Clock frequency (in Hz) of the rtcclk */
9*2eb4d8dcSEmmanuel Vadot#define RTCCLK_FREQ		1000000
10*2eb4d8dcSEmmanuel Vadot
11*2eb4d8dcSEmmanuel Vadot/ {
12*2eb4d8dcSEmmanuel Vadot	#address-cells = <2>;
13*2eb4d8dcSEmmanuel Vadot	#size-cells = <2>;
14*2eb4d8dcSEmmanuel Vadot	model = "Microchip PolarFire-SoC Icicle Kit";
15*2eb4d8dcSEmmanuel Vadot	compatible = "microchip,mpfs-icicle-kit";
16*2eb4d8dcSEmmanuel Vadot
17*2eb4d8dcSEmmanuel Vadot	chosen {
18*2eb4d8dcSEmmanuel Vadot		stdout-path = &serial0;
19*2eb4d8dcSEmmanuel Vadot	};
20*2eb4d8dcSEmmanuel Vadot
21*2eb4d8dcSEmmanuel Vadot	cpus {
22*2eb4d8dcSEmmanuel Vadot		timebase-frequency = <RTCCLK_FREQ>;
23*2eb4d8dcSEmmanuel Vadot	};
24*2eb4d8dcSEmmanuel Vadot
25*2eb4d8dcSEmmanuel Vadot	memory@80000000 {
26*2eb4d8dcSEmmanuel Vadot		device_type = "memory";
27*2eb4d8dcSEmmanuel Vadot		reg = <0x0 0x80000000 0x0 0x40000000>;
28*2eb4d8dcSEmmanuel Vadot		clocks = <&clkcfg 26>;
29*2eb4d8dcSEmmanuel Vadot	};
30*2eb4d8dcSEmmanuel Vadot
31*2eb4d8dcSEmmanuel Vadot	soc {
32*2eb4d8dcSEmmanuel Vadot	};
33*2eb4d8dcSEmmanuel Vadot};
34*2eb4d8dcSEmmanuel Vadot
35*2eb4d8dcSEmmanuel Vadot&serial0 {
36*2eb4d8dcSEmmanuel Vadot	status = "okay";
37*2eb4d8dcSEmmanuel Vadot};
38*2eb4d8dcSEmmanuel Vadot
39*2eb4d8dcSEmmanuel Vadot&serial1 {
40*2eb4d8dcSEmmanuel Vadot	status = "okay";
41*2eb4d8dcSEmmanuel Vadot};
42*2eb4d8dcSEmmanuel Vadot
43*2eb4d8dcSEmmanuel Vadot&serial2 {
44*2eb4d8dcSEmmanuel Vadot	status = "okay";
45*2eb4d8dcSEmmanuel Vadot};
46*2eb4d8dcSEmmanuel Vadot
47*2eb4d8dcSEmmanuel Vadot&serial3 {
48*2eb4d8dcSEmmanuel Vadot	status = "okay";
49*2eb4d8dcSEmmanuel Vadot};
50*2eb4d8dcSEmmanuel Vadot
51*2eb4d8dcSEmmanuel Vadot&sdcard {
52*2eb4d8dcSEmmanuel Vadot	status = "okay";
53*2eb4d8dcSEmmanuel Vadot};
54*2eb4d8dcSEmmanuel Vadot
55*2eb4d8dcSEmmanuel Vadot&emac0 {
56*2eb4d8dcSEmmanuel Vadot	phy-mode = "sgmii";
57*2eb4d8dcSEmmanuel Vadot	phy-handle = <&phy0>;
58*2eb4d8dcSEmmanuel Vadot	phy0: ethernet-phy@8 {
59*2eb4d8dcSEmmanuel Vadot		reg = <8>;
60*2eb4d8dcSEmmanuel Vadot		ti,fifo-depth = <0x01>;
61*2eb4d8dcSEmmanuel Vadot	};
62*2eb4d8dcSEmmanuel Vadot};
63*2eb4d8dcSEmmanuel Vadot
64*2eb4d8dcSEmmanuel Vadot&emac1 {
65*2eb4d8dcSEmmanuel Vadot	status = "okay";
66*2eb4d8dcSEmmanuel Vadot	phy-mode = "sgmii";
67*2eb4d8dcSEmmanuel Vadot	phy-handle = <&phy1>;
68*2eb4d8dcSEmmanuel Vadot	phy1: ethernet-phy@9 {
69*2eb4d8dcSEmmanuel Vadot		reg = <9>;
70*2eb4d8dcSEmmanuel Vadot		ti,fifo-depth = <0x01>;
71*2eb4d8dcSEmmanuel Vadot	};
72*2eb4d8dcSEmmanuel Vadot};
73