Skip to content

Commit dd59aed

Browse files
committed
Merge tag 'tegra-for-5.10-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/dt
arm64: tegra: Changes for v5.10-rc1 This set of changes fixes some minor issues in existing device trees and adds ID EEPROMs on the Jetson Xavier NX. All ID EEPROMs are now labelled to allow them to be detected by software. It also adds support for the Tegra234 VDK board, which is a pre-silicon platform for the upcoming Orin SoC. * tag 'tegra-for-5.10-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: arm64: tegra: Initial Tegra234 VDK support arm64: tegra: Populate EEPROMs for Jetson Xavier NX arm64: tegra: Add label properties for EEPROMs arm64: tegra: Add DT binding for AHUB components arm64: tegra: Enable ACONNECT, ADMA and AGIC on Jetson Nano arm64: tegra: Properly size register regions for GPU on Tegra194 arm64: tegra: Use valid PWM period for VDD_GPU on Tegra210 arm64: tegra: Describe display controller outputs for Tegra210 arm64: tegra: Disable SD card write-protection on Jetson Nano arm64: tegra: Add VBUS supply for micro USB port on Jetson Nano arm64: tegra: Wire up pinctrl states for all DPAUX controllers arm64: tegra: Add ID EEPROMs on Jetson AGX Xavier Link: https://lore.kernel.org/r/20200918150303.3938852-5-thierry.reding@gmail.com Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents 61d5d79 + 6394489 commit dd59aed

18 files changed

Lines changed: 961 additions & 12 deletions

‎arch/arm64/boot/dts/nvidia/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2894-0050-a08.dtb
99
dtb-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186-p2771-0000.dtb
1010
dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p2972-0000.dtb
1111
dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0000.dtb
12+
dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-sim-vdk.dtb

‎arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@
222222
compatible = "atmel,24c02";
223223
reg = <0x57>;
224224

225+
label = "system";
225226
vcc-supply = <&vdd_1v8>;
226227
address-width = <8>;
227228
pagesize = <8>;

‎arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
compatible = "atmel,24c02";
174174
reg = <0x50>;
175175

176+
label = "module";
176177
vcc-supply = <&vdd_1v8>;
177178
address-width = <8>;
178179
pagesize = <8>;

‎arch/arm64/boot/dts/nvidia/tegra186.dtsi‎

Lines changed: 216 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
ranges = <0x02900000 0x0 0x02900000 0x200000>;
8686
status = "disabled";
8787

88-
dma-controller@2930000 {
88+
adma: dma-controller@2930000 {
8989
compatible = "nvidia,tegra186-adma";
9090
reg = <0x02930000 0x20000>;
9191
interrupt-parent = <&agic>;
@@ -140,6 +140,221 @@
140140
clock-names = "clk";
141141
status = "disabled";
142142
};
143+
144+
tegra_ahub: ahub@2900800 {
145+
compatible = "nvidia,tegra186-ahub";
146+
reg = <0x02900800 0x800>;
147+
clocks = <&bpmp TEGRA186_CLK_AHUB>;
148+
clock-names = "ahub";
149+
assigned-clocks = <&bpmp TEGRA186_CLK_AHUB>;
150+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
151+
#address-cells = <1>;
152+
#size-cells = <1>;
153+
ranges = <0x02900800 0x02900800 0x11800>;
154+
status = "disabled";
155+
156+
tegra_admaif: admaif@290f000 {
157+
compatible = "nvidia,tegra186-admaif";
158+
reg = <0x0290f000 0x1000>;
159+
dmas = <&adma 1>, <&adma 1>,
160+
<&adma 2>, <&adma 2>,
161+
<&adma 3>, <&adma 3>,
162+
<&adma 4>, <&adma 4>,
163+
<&adma 5>, <&adma 5>,
164+
<&adma 6>, <&adma 6>,
165+
<&adma 7>, <&adma 7>,
166+
<&adma 8>, <&adma 8>,
167+
<&adma 9>, <&adma 9>,
168+
<&adma 10>, <&adma 10>,
169+
<&adma 11>, <&adma 11>,
170+
<&adma 12>, <&adma 12>,
171+
<&adma 13>, <&adma 13>,
172+
<&adma 14>, <&adma 14>,
173+
<&adma 15>, <&adma 15>,
174+
<&adma 16>, <&adma 16>,
175+
<&adma 17>, <&adma 17>,
176+
<&adma 18>, <&adma 18>,
177+
<&adma 19>, <&adma 19>,
178+
<&adma 20>, <&adma 20>;
179+
dma-names = "rx1", "tx1",
180+
"rx2", "tx2",
181+
"rx3", "tx3",
182+
"rx4", "tx4",
183+
"rx5", "tx5",
184+
"rx6", "tx6",
185+
"rx7", "tx7",
186+
"rx8", "tx8",
187+
"rx9", "tx9",
188+
"rx10", "tx10",
189+
"rx11", "tx11",
190+
"rx12", "tx12",
191+
"rx13", "tx13",
192+
"rx14", "tx14",
193+
"rx15", "tx15",
194+
"rx16", "tx16",
195+
"rx17", "tx17",
196+
"rx18", "tx18",
197+
"rx19", "tx19",
198+
"rx20", "tx20";
199+
status = "disabled";
200+
};
201+
202+
tegra_i2s1: i2s@2901000 {
203+
compatible = "nvidia,tegra186-i2s",
204+
"nvidia,tegra210-i2s";
205+
reg = <0x2901000 0x100>;
206+
clocks = <&bpmp TEGRA186_CLK_I2S1>,
207+
<&bpmp TEGRA186_CLK_I2S1_SYNC_INPUT>;
208+
clock-names = "i2s", "sync_input";
209+
assigned-clocks = <&bpmp TEGRA186_CLK_I2S1>;
210+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
211+
assigned-clock-rates = <1536000>;
212+
sound-name-prefix = "I2S1";
213+
status = "disabled";
214+
};
215+
216+
tegra_i2s2: i2s@2901100 {
217+
compatible = "nvidia,tegra186-i2s",
218+
"nvidia,tegra210-i2s";
219+
reg = <0x2901100 0x100>;
220+
clocks = <&bpmp TEGRA186_CLK_I2S2>,
221+
<&bpmp TEGRA186_CLK_I2S2_SYNC_INPUT>;
222+
clock-names = "i2s", "sync_input";
223+
assigned-clocks = <&bpmp TEGRA186_CLK_I2S2>;
224+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
225+
assigned-clock-rates = <1536000>;
226+
sound-name-prefix = "I2S2";
227+
status = "disabled";
228+
};
229+
230+
tegra_i2s3: i2s@2901200 {
231+
compatible = "nvidia,tegra186-i2s",
232+
"nvidia,tegra210-i2s";
233+
reg = <0x2901200 0x100>;
234+
clocks = <&bpmp TEGRA186_CLK_I2S3>,
235+
<&bpmp TEGRA186_CLK_I2S3_SYNC_INPUT>;
236+
clock-names = "i2s", "sync_input";
237+
assigned-clocks = <&bpmp TEGRA186_CLK_I2S3>;
238+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
239+
assigned-clock-rates = <1536000>;
240+
sound-name-prefix = "I2S3";
241+
status = "disabled";
242+
};
243+
244+
tegra_i2s4: i2s@2901300 {
245+
compatible = "nvidia,tegra186-i2s",
246+
"nvidia,tegra210-i2s";
247+
reg = <0x2901300 0x100>;
248+
clocks = <&bpmp TEGRA186_CLK_I2S4>,
249+
<&bpmp TEGRA186_CLK_I2S4_SYNC_INPUT>;
250+
clock-names = "i2s", "sync_input";
251+
assigned-clocks = <&bpmp TEGRA186_CLK_I2S4>;
252+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
253+
assigned-clock-rates = <1536000>;
254+
sound-name-prefix = "I2S4";
255+
status = "disabled";
256+
};
257+
258+
tegra_i2s5: i2s@2901400 {
259+
compatible = "nvidia,tegra186-i2s",
260+
"nvidia,tegra210-i2s";
261+
reg = <0x2901400 0x100>;
262+
clocks = <&bpmp TEGRA186_CLK_I2S5>,
263+
<&bpmp TEGRA186_CLK_I2S5_SYNC_INPUT>;
264+
clock-names = "i2s", "sync_input";
265+
assigned-clocks = <&bpmp TEGRA186_CLK_I2S5>;
266+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
267+
assigned-clock-rates = <1536000>;
268+
sound-name-prefix = "I2S5";
269+
status = "disabled";
270+
};
271+
272+
tegra_i2s6: i2s@2901500 {
273+
compatible = "nvidia,tegra186-i2s",
274+
"nvidia,tegra210-i2s";
275+
reg = <0x2901500 0x100>;
276+
clocks = <&bpmp TEGRA186_CLK_I2S6>,
277+
<&bpmp TEGRA186_CLK_I2S6_SYNC_INPUT>;
278+
clock-names = "i2s", "sync_input";
279+
assigned-clocks = <&bpmp TEGRA186_CLK_I2S6>;
280+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
281+
assigned-clock-rates = <1536000>;
282+
sound-name-prefix = "I2S6";
283+
status = "disabled";
284+
};
285+
286+
tegra_dmic1: dmic@2904000 {
287+
compatible = "nvidia,tegra210-dmic";
288+
reg = <0x2904000 0x100>;
289+
clocks = <&bpmp TEGRA186_CLK_DMIC1>;
290+
clock-names = "dmic";
291+
assigned-clocks = <&bpmp TEGRA186_CLK_DMIC1>;
292+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
293+
assigned-clock-rates = <3072000>;
294+
sound-name-prefix = "DMIC1";
295+
status = "disabled";
296+
};
297+
298+
tegra_dmic2: dmic@2904100 {
299+
compatible = "nvidia,tegra210-dmic";
300+
reg = <0x2904100 0x100>;
301+
clocks = <&bpmp TEGRA186_CLK_DMIC2>;
302+
clock-names = "dmic";
303+
assigned-clocks = <&bpmp TEGRA186_CLK_DMIC2>;
304+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
305+
assigned-clock-rates = <3072000>;
306+
sound-name-prefix = "DMIC2";
307+
status = "disabled";
308+
};
309+
310+
tegra_dmic3: dmic@2904200 {
311+
compatible = "nvidia,tegra210-dmic";
312+
reg = <0x2904200 0x100>;
313+
clocks = <&bpmp TEGRA186_CLK_DMIC3>;
314+
clock-names = "dmic";
315+
assigned-clocks = <&bpmp TEGRA186_CLK_DMIC3>;
316+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
317+
assigned-clock-rates = <3072000>;
318+
sound-name-prefix = "DMIC3";
319+
status = "disabled";
320+
};
321+
322+
tegra_dmic4: dmic@2904300 {
323+
compatible = "nvidia,tegra210-dmic";
324+
reg = <0x2904300 0x100>;
325+
clocks = <&bpmp TEGRA186_CLK_DMIC4>;
326+
clock-names = "dmic";
327+
assigned-clocks = <&bpmp TEGRA186_CLK_DMIC4>;
328+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
329+
assigned-clock-rates = <3072000>;
330+
sound-name-prefix = "DMIC4";
331+
status = "disabled";
332+
};
333+
334+
tegra_dspk1: dspk@2905000 {
335+
compatible = "nvidia,tegra186-dspk";
336+
reg = <0x2905000 0x100>;
337+
clocks = <&bpmp TEGRA186_CLK_DSPK1>;
338+
clock-names = "dspk";
339+
assigned-clocks = <&bpmp TEGRA186_CLK_DSPK1>;
340+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
341+
assigned-clock-rates = <12288000>;
342+
sound-name-prefix = "DSPK1";
343+
status = "disabled";
344+
};
345+
346+
tegra_dspk2: dspk@2905100 {
347+
compatible = "nvidia,tegra186-dspk";
348+
reg = <0x2905100 0x100>;
349+
clocks = <&bpmp TEGRA186_CLK_DSPK2>;
350+
clock-names = "dspk";
351+
assigned-clocks = <&bpmp TEGRA186_CLK_DSPK2>;
352+
assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
353+
assigned-clock-rates = <12288000>;
354+
sound-name-prefix = "DSPK2";
355+
status = "disabled";
356+
};
357+
};
143358
};
144359

145360
mc: memory-controller@2c00000 {

‎arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,22 @@
5757
status = "okay";
5858
};
5959

60+
i2c@3160000 {
61+
status = "okay";
62+
63+
eeprom@50 {
64+
compatible = "atmel,24c02";
65+
reg = <0x50>;
66+
67+
label = "module";
68+
vcc-supply = <&vdd_1v8ls>;
69+
address-width = <8>;
70+
pagesize = <8>;
71+
size = <256>;
72+
read-only;
73+
};
74+
};
75+
6076
/* SDMMC1 (SD/MMC) */
6177
mmc@3400000 {
6278
cd-gpios = <&gpio TEGRA194_MAIN_GPIO(A, 0) GPIO_ACTIVE_LOW>;

‎arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@
2323
};
2424
};
2525

26+
i2c@3160000 {
27+
eeprom@56 {
28+
compatible = "atmel,24c02";
29+
reg = <0x56>;
30+
31+
label = "system";
32+
vcc-supply = <&vdd_1v8ls>;
33+
address-width = <8>;
34+
pagesize = <8>;
35+
size = <256>;
36+
read-only;
37+
};
38+
};
39+
2640
ddc: i2c@31c0000 {
2741
status = "okay";
2842
};

‎arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@
2727
status = "okay";
2828
};
2929

30+
i2c@3160000 {
31+
eeprom@57 {
32+
compatible = "atmel,24c02";
33+
reg = <0x57>;
34+
35+
label = "system";
36+
vcc-supply = <&vdd_1v8>;
37+
address-width = <8>;
38+
pagesize = <8>;
39+
size = <256>;
40+
read-only;
41+
};
42+
};
43+
3044
hda@3510000 {
3145
nvidia,model = "jetson-xavier-nx-hda";
3246
status = "okay";

‎arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@
5858
status = "okay";
5959
};
6060

61+
i2c@3160000 {
62+
status = "okay";
63+
64+
eeprom@50 {
65+
compatible = "atmel,24c02";
66+
reg = <0x50>;
67+
68+
label = "module";
69+
vcc-supply = <&vdd_1v8ls>;
70+
address-width = <8>;
71+
pagesize = <8>;
72+
size = <256>;
73+
read-only;
74+
};
75+
};
76+
6177
/* SDMMC1 (SD/MMC) */
6278
mmc@3400000 {
6379
status = "okay";

0 commit comments

Comments
 (0)