blob: 48fc2bf06ad043684364dbf78ba856878fc48ef6 [file] [log] [blame]
Padmarao Begarib56e2fd2021-11-17 18:21:17 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
Padmarao Begaric66a3b22022-10-27 11:31:59 +05303 * Copyright (C) 2021-2022 Microchip Technology Inc.
Padmarao Begarib56e2fd2021-11-17 18:21:17 +05304 * Padmarao Begari <padmarao.begari@microchip.com>
5 */
Padmarao Begari5854c3d2021-01-15 08:20:39 +05306
7/dts-v1/;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +05308
9#include "microchip-mpfs.dtsi"
Padmarao Begari5854c3d2021-01-15 08:20:39 +053010
11/* Clock frequency (in Hz) of the rtcclk */
12#define RTCCLK_FREQ 1000000
13
14/ {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053015 model = "Microchip PolarFire-SoC Icicle Kit";
Padmarao Begaric66a3b22022-10-27 11:31:59 +053016 compatible = "microchip,mpfs-icicle-reference-rtlv2210",
17 "microchip,mpfs-icicle-kit", "microchip,mpfs";
Padmarao Begari5854c3d2021-01-15 08:20:39 +053018
19 aliases {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053020 serial1 = &uart1;
21 ethernet0 = &mac1;
Padmarao Begari5854c3d2021-01-15 08:20:39 +053022 };
23
24 chosen {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053025 stdout-path = "serial1";
Padmarao Begari5854c3d2021-01-15 08:20:39 +053026 };
27
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053028 cpus {
Padmarao Begari5854c3d2021-01-15 08:20:39 +053029 timebase-frequency = <RTCCLK_FREQ>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053030 };
31
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053032 ddrc_cache_lo: memory@80000000 {
Padmarao Begari5854c3d2021-01-15 08:20:39 +053033 device_type = "memory";
Padmarao Begaric66a3b22022-10-27 11:31:59 +053034 reg = <0x0 0x80000000 0x0 0x40000000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053035 status = "okay";
Padmarao Begari5854c3d2021-01-15 08:20:39 +053036 };
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053037
Padmarao Begaric66a3b22022-10-27 11:31:59 +053038 ddrc_cache_hi: memory@1040000000 {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053039 device_type = "memory";
Padmarao Begaric66a3b22022-10-27 11:31:59 +053040 reg = <0x10 0x40000000 0x0 0x40000000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053041 status = "okay";
42 };
Padmarao Begaric66a3b22022-10-27 11:31:59 +053043
44 reserved-memory {
45 #address-cells = <2>;
46 #size-cells = <2>;
47 ranges;
48
49 hss_payload: region@BFC00000 {
50 reg = <0x0 0xBFC00000 0x0 0x400000>;
51 no-map;
52 };
53 };
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053054};
55
56&uart1 {
57 status = "okay";
58};
59
60&mmc {
61 status = "okay";
62
63 bus-width = <4>;
64 disable-wp;
65 cap-mmc-highspeed;
66 cap-sd-highspeed;
67 card-detect-delay = <200>;
68 mmc-ddr-1_8v;
69 mmc-hs200-1_8v;
70 sd-uhs-sdr12;
71 sd-uhs-sdr25;
72 sd-uhs-sdr50;
73 sd-uhs-sdr104;
74};
75
76&i2c1 {
77 status = "okay";
78 clock-frequency = <100000>;
79
80 pac193x: pac193x@10 {
81 compatible = "microchip,pac1934";
82 reg = <0x10>;
83 samp-rate = <64>;
84 status = "okay";
85 ch1: channel0 {
86 uohms-shunt-res = <10000>;
87 rail-name = "VDDREG";
88 channel_enabled;
Padmarao Begari5854c3d2021-01-15 08:20:39 +053089 };
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053090 ch2: channel1 {
91 uohms-shunt-res = <10000>;
92 rail-name = "VDDA25";
93 channel_enabled;
Padmarao Begari5854c3d2021-01-15 08:20:39 +053094 };
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053095 ch3: channel2 {
96 uohms-shunt-res = <10000>;
97 rail-name = "VDD25";
98 channel_enabled;
Padmarao Begari5854c3d2021-01-15 08:20:39 +053099 };
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530100 ch4: channel3 {
101 uohms-shunt-res = <10000>;
102 rail-name = "VDDA_REG";
103 channel_enabled;
Padmarao Begari5854c3d2021-01-15 08:20:39 +0530104 };
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530105 };
106};
Padmarao Begari5854c3d2021-01-15 08:20:39 +0530107
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530108&mac1 {
109 status = "okay";
110 phy-mode = "sgmii";
111 phy-handle = <&phy1>;
112 phy1: ethernet-phy@9 {
113 reg = <9>;
114 ti,fifo-depth = <0x1>;
Padmarao Begari5854c3d2021-01-15 08:20:39 +0530115 };
116};