Skip to content

Commit cc85632

Browse files
committed
Merge branch 'linux-5.15-trunk/fpga/base_dt' into linux-5.15-mchp
2 parents 0b62e8a + e4bf7f6 commit cc85632

3 files changed

Lines changed: 352 additions & 97 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2+
/* Copyright (c) 2020-2021 Microchip Technology Inc */
3+
4+
/ {
5+
core_pwm0: pwm@41000000 {
6+
compatible = "microchip,corepwm-rtl-v4";
7+
reg = <0x0 0x41000000 0x0 0xF0>;
8+
microchip,sync-update-mask = /bits/ 32 <0>;
9+
#pwm-cells = <2>;
10+
clocks = <&clkcfg CLK_FIC3>;
11+
status = "disabled";
12+
};
13+
14+
i2c2: i2c@44000000 {
15+
compatible = "microchip,corei2c-rtl-v7";
16+
reg = <0x0 0x44000000 0x0 0x1000>;
17+
#address-cells = <1>;
18+
#size-cells = <0>;
19+
clocks = <&clkcfg CLK_FIC3>;
20+
interrupt-parent = <&plic>;
21+
interrupts = <122>;
22+
clock-frequency = <100000>;
23+
status = "disabled";
24+
};
25+
};
Lines changed: 98 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2-
/* Copyright (c) 2020 Microchip Technology Inc */
2+
/* Copyright (c) 2020-2021 Microchip Technology Inc */
33

44
/dts-v1/;
55

@@ -15,44 +15,57 @@
1515
compatible = "microchip,mpfs-icicle-kit", "microchip,mpfs";
1616

1717
aliases {
18-
ethernet0 = &emac1;
19-
serial0 = &serial0;
20-
serial1 = &serial1;
21-
serial2 = &serial2;
22-
serial3 = &serial3;
18+
ethernet0 = &mac1;
19+
serial0 = &mmuart0;
20+
serial1 = &mmuart1;
21+
serial2 = &mmuart2;
22+
serial3 = &mmuart3;
23+
serial4 = &mmuart4;
2324
};
2425

2526
chosen {
26-
stdout-path = "serial0:115200n8";
27+
stdout-path = "serial1:115200n8";
2728
};
2829

2930
cpus {
3031
timebase-frequency = <RTCCLK_FREQ>;
3132
};
3233

33-
memory@80000000 {
34+
ddrc_cache_lo: memory@80000000 {
3435
device_type = "memory";
35-
reg = <0x0 0x80000000 0x0 0x40000000>;
36-
clocks = <&clkcfg 26>;
36+
reg = <0x0 0x80000000 0x0 0x2e000000>;
37+
clocks = <&clkcfg CLK_DDRC>;
38+
status = "okay";
39+
};
40+
41+
ddrc_cache_hi: memory@1000000000 {
42+
device_type = "memory";
43+
reg = <0x10 0x0 0x0 0x40000000>;
44+
clocks = <&clkcfg CLK_DDRC>;
45+
status = "okay";
3746
};
3847

3948
soc {
4049
};
4150
};
4251

43-
&serial0 {
52+
&refclk {
53+
clock-frequency = <600000000>;
54+
};
55+
56+
&mmuart1 {
4457
status = "okay";
4558
};
4659

47-
&serial1 {
60+
&mmuart2 {
4861
status = "okay";
4962
};
5063

51-
&serial2 {
64+
&mmuart3 {
5265
status = "okay";
5366
};
5467

55-
&serial3 {
68+
&mmuart4 {
5669
status = "okay";
5770
};
5871

@@ -62,28 +75,92 @@
6275
bus-width = <4>;
6376
disable-wp;
6477
cap-sd-highspeed;
78+
cap-mmc-highspeed;
6579
card-detect-delay = <200>;
80+
mmc-ddr-1_8v;
81+
mmc-hs200-1_8v;
6682
sd-uhs-sdr12;
6783
sd-uhs-sdr25;
6884
sd-uhs-sdr50;
6985
sd-uhs-sdr104;
7086
};
7187

72-
&emac0 {
88+
&spi0 {
89+
status = "okay";
90+
};
91+
92+
&spi1 {
93+
status = "okay";
94+
};
95+
96+
&qspi {
97+
status = "okay";
98+
};
99+
100+
&i2c0 {
101+
status = "okay";
102+
};
103+
104+
&i2c1 {
105+
status = "okay";
106+
};
107+
108+
&i2c2 {
109+
status = "okay";
110+
};
111+
112+
&mac0 {
73113
phy-mode = "sgmii";
74114
phy-handle = <&phy0>;
75-
phy0: ethernet-phy@8 {
76-
reg = <8>;
77-
ti,fifo-depth = <0x01>;
78-
};
79115
};
80116

81-
&emac1 {
117+
&mac1 {
82118
status = "okay";
83119
phy-mode = "sgmii";
84120
phy-handle = <&phy1>;
85121
phy1: ethernet-phy@9 {
86122
reg = <9>;
87-
ti,fifo-depth = <0x01>;
123+
ti,fifo-depth = <0x1>;
124+
};
125+
phy0: ethernet-phy@8 {
126+
reg = <8>;
127+
ti,fifo-depth = <0x1>;
88128
};
89129
};
130+
131+
&gpio2 {
132+
interrupts = <53>, <53>, <53>, <53>,
133+
<53>, <53>, <53>, <53>,
134+
<53>, <53>, <53>, <53>,
135+
<53>, <53>, <53>, <53>,
136+
<53>, <53>, <53>, <53>,
137+
<53>, <53>, <53>, <53>,
138+
<53>, <53>, <53>, <53>,
139+
<53>, <53>, <53>, <53>;
140+
status = "okay";
141+
};
142+
143+
&rtc {
144+
status = "okay";
145+
};
146+
147+
&usb {
148+
status = "okay";
149+
dr_mode = "host";
150+
};
151+
152+
&mbox {
153+
status = "okay";
154+
};
155+
156+
&syscontroller {
157+
status = "okay";
158+
};
159+
160+
&pcie {
161+
status = "okay";
162+
};
163+
164+
&core_pwm0 {
165+
status = "okay";
166+
};

0 commit comments

Comments
 (0)