blob: fc1e5869df1b9fc50593b9af9ea235a67e4a7885 [file] [log] [blame]
Atish Patra0fa61072021-03-03 12:02:51 -08001// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/* Copyright (c) 2020 Microchip Technology Inc */
3
4/dts-v1/;
5
6#include "microchip-mpfs.dtsi"
7
8/* Clock frequency (in Hz) of the rtcclk */
9#define RTCCLK_FREQ 1000000
10
11/ {
Atish Patra0fa61072021-03-03 12:02:51 -080012 model = "Microchip PolarFire-SoC Icicle Kit";
Krzysztof Kozlowskifd86dd22021-09-27 14:50:41 +020013 compatible = "microchip,mpfs-icicle-kit", "microchip,mpfs";
Atish Patra0fa61072021-03-03 12:02:51 -080014
Bin Meng417166d2021-08-04 20:30:15 +080015 aliases {
16 ethernet0 = &emac1;
Geert Uytterhoevencbba1782021-08-26 15:19:39 +020017 serial0 = &serial0;
18 serial1 = &serial1;
19 serial2 = &serial2;
20 serial3 = &serial3;
Bin Meng417166d2021-08-04 20:30:15 +080021 };
22
Atish Patra0fa61072021-03-03 12:02:51 -080023 chosen {
Geert Uytterhoevencbba1782021-08-26 15:19:39 +020024 stdout-path = "serial0:115200n8";
Atish Patra0fa61072021-03-03 12:02:51 -080025 };
26
27 cpus {
28 timebase-frequency = <RTCCLK_FREQ>;
29 };
30
31 memory@80000000 {
32 device_type = "memory";
33 reg = <0x0 0x80000000 0x0 0x40000000>;
34 clocks = <&clkcfg 26>;
35 };
Atish Patra0fa61072021-03-03 12:02:51 -080036};
37
38&serial0 {
39 status = "okay";
40};
41
42&serial1 {
43 status = "okay";
44};
45
46&serial2 {
47 status = "okay";
48};
49
50&serial3 {
51 status = "okay";
52};
53
Krzysztof Kozlowski42a57a42021-09-27 14:50:42 +020054&mmc {
Atish Patra0fa61072021-03-03 12:02:51 -080055 status = "okay";
Krzysztof Kozlowski42a57a42021-09-27 14:50:42 +020056
57 bus-width = <4>;
58 disable-wp;
59 cap-sd-highspeed;
60 card-detect-delay = <200>;
61 sd-uhs-sdr12;
62 sd-uhs-sdr25;
63 sd-uhs-sdr50;
64 sd-uhs-sdr104;
Atish Patra0fa61072021-03-03 12:02:51 -080065};
66
67&emac0 {
68 phy-mode = "sgmii";
69 phy-handle = <&phy0>;
70 phy0: ethernet-phy@8 {
71 reg = <8>;
72 ti,fifo-depth = <0x01>;
73 };
74};
75
76&emac1 {
77 status = "okay";
78 phy-mode = "sgmii";
79 phy-handle = <&phy1>;
80 phy1: ethernet-phy@9 {
81 reg = <9>;
82 ti,fifo-depth = <0x01>;
83 };
84};