xref: /linux/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1533337d5SMikko Perttunen// SPDX-License-Identifier: GPL-2.0
2533337d5SMikko Perttunen/dts-v1/;
3533337d5SMikko Perttunen
4699349e0SThierry Reding#include <dt-bindings/input/linux-event-codes.h>
5699349e0SThierry Reding#include <dt-bindings/input/gpio-keys.h>
67a3f6cb1SDara Stotland#include <dt-bindings/sound/rt5640.h>
7699349e0SThierry Reding
8533337d5SMikko Perttunen#include "tegra234-p3701-0000.dtsi"
9533337d5SMikko Perttunen
10533337d5SMikko Perttunen/ {
11533337d5SMikko Perttunen	model = "NVIDIA Jetson AGX Orin Developer Kit";
12533337d5SMikko Perttunen	compatible = "nvidia,p3737-0000+p3701-0000", "nvidia,p3701-0000", "nvidia,tegra234";
13533337d5SMikko Perttunen
14533337d5SMikko Perttunen	aliases {
15533337d5SMikko Perttunen		serial0 = &tcu;
16ff578db7Skartik		serial1 = &uarta;
17533337d5SMikko Perttunen	};
18533337d5SMikko Perttunen
1979ed18d9SThierry Reding	chosen {
2079ed18d9SThierry Reding		bootargs = "console=ttyTCU0,115200n8";
2179ed18d9SThierry Reding		stdout-path = "serial0:115200n8";
2279ed18d9SThierry Reding	};
2379ed18d9SThierry Reding
2409614acdSSameer Pujar	bus@0 {
257a3f6cb1SDara Stotland		aconnect@2900000 {
267a3f6cb1SDara Stotland			ahub@2900800 {
277a3f6cb1SDara Stotland				i2s@2901000 {
287a3f6cb1SDara Stotland					ports {
297a3f6cb1SDara Stotland						port@1 {
307a3f6cb1SDara Stotland							endpoint {
317a3f6cb1SDara Stotland								dai-format = "i2s";
327a3f6cb1SDara Stotland								remote-endpoint = <&rt5640_ep>;
337a3f6cb1SDara Stotland							};
347a3f6cb1SDara Stotland						};
357a3f6cb1SDara Stotland					};
367a3f6cb1SDara Stotland				};
377a3f6cb1SDara Stotland			};
387a3f6cb1SDara Stotland		};
397a3f6cb1SDara Stotland
40ff578db7Skartik		serial@3100000 {
41ff578db7Skartik			compatible = "nvidia,tegra194-hsuart";
42861dbb2bSJon Hunter			reset-names = "serial";
43ff578db7Skartik			status = "okay";
44ff578db7Skartik		};
45ff578db7Skartik
467a3f6cb1SDara Stotland		i2c@3160000 {
477a3f6cb1SDara Stotland			status = "okay";
487a3f6cb1SDara Stotland
497a3f6cb1SDara Stotland			eeprom@56 {
507a3f6cb1SDara Stotland				compatible = "atmel,24c02";
517a3f6cb1SDara Stotland				reg = <0x56>;
527a3f6cb1SDara Stotland
537a3f6cb1SDara Stotland				label = "system";
547a3f6cb1SDara Stotland				vcc-supply = <&vdd_1v8_sys>;
557a3f6cb1SDara Stotland				address-width = <8>;
567a3f6cb1SDara Stotland				pagesize = <8>;
577a3f6cb1SDara Stotland				size = <256>;
587a3f6cb1SDara Stotland				read-only;
597a3f6cb1SDara Stotland			};
607a3f6cb1SDara Stotland		};
617a3f6cb1SDara Stotland
621bbba854SJon Hunter		serial@31d0000 {
63f7a9a7d9SThierry Reding			current-speed = <115200>;
641bbba854SJon Hunter			status = "okay";
651bbba854SJon Hunter		};
661bbba854SJon Hunter
677a3f6cb1SDara Stotland		i2c@31e0000 {
687a3f6cb1SDara Stotland			status = "okay";
697a3f6cb1SDara Stotland
707a3f6cb1SDara Stotland			audio-codec@1c {
717a3f6cb1SDara Stotland				compatible = "realtek,rt5640";
727a3f6cb1SDara Stotland				reg = <0x1c>;
737a3f6cb1SDara Stotland				interrupt-parent = <&gpio>;
747a3f6cb1SDara Stotland				interrupts = <TEGRA234_MAIN_GPIO(AC, 5) GPIO_ACTIVE_HIGH>;
757a3f6cb1SDara Stotland				clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
767a3f6cb1SDara Stotland				clock-names = "mclk";
777a3f6cb1SDara Stotland				realtek,dmic1-data-pin = <RT5640_DMIC1_DATA_PIN_NONE>;
787a3f6cb1SDara Stotland				realtek,dmic2-data-pin = <RT5640_DMIC2_DATA_PIN_NONE>;
797a3f6cb1SDara Stotland				realtek,jack-detect-source = <RT5640_JD_SRC_HDA_HEADER>;
807a3f6cb1SDara Stotland				sound-name-prefix = "CVB-RT";
817a3f6cb1SDara Stotland
827a3f6cb1SDara Stotland				port {
837a3f6cb1SDara Stotland					rt5640_ep: endpoint {
847a3f6cb1SDara Stotland						remote-endpoint = <&i2s1_dap>;
857a3f6cb1SDara Stotland						mclk-fs = <256>;
867a3f6cb1SDara Stotland					};
877a3f6cb1SDara Stotland				};
887a3f6cb1SDara Stotland			};
897a3f6cb1SDara Stotland		};
907a3f6cb1SDara Stotland
917a3f6cb1SDara Stotland		pwm@3280000 {
927a3f6cb1SDara Stotland			status = "okay";
937a3f6cb1SDara Stotland		};
947a3f6cb1SDara Stotland
957a2c613bSJon Hunter		pwm@32a0000 {
967a2c613bSJon Hunter			assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>;
977a2c613bSJon Hunter			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
987a2c613bSJon Hunter			status = "okay";
997a2c613bSJon Hunter		};
1007a2c613bSJon Hunter
1017a3f6cb1SDara Stotland		pwm@32c0000 {
1027a3f6cb1SDara Stotland			status = "okay";
1037a3f6cb1SDara Stotland		};
1047a3f6cb1SDara Stotland
1057a3f6cb1SDara Stotland		pwm@32f0000 {
1067a3f6cb1SDara Stotland			status = "okay";
1077a3f6cb1SDara Stotland		};
1087a3f6cb1SDara Stotland
109*d075995cSDara Stotland		mmc@3400000 {
110*d075995cSDara Stotland			status = "okay";
111*d075995cSDara Stotland			bus-width = <4>;
112*d075995cSDara Stotland			cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
113*d075995cSDara Stotland			disable-wp;
114*d075995cSDara Stotland		};
115*d075995cSDara Stotland
116621e12a1SMohan Kumar		hda@3510000 {
117621e12a1SMohan Kumar			nvidia,model = "NVIDIA Jetson AGX Orin HDA";
1180a4fa250SMohan Kumar			status = "okay";
119621e12a1SMohan Kumar		};
12009614acdSSameer Pujar
1216e505dd6SWayne Chang		padctl@3520000 {
1226e505dd6SWayne Chang			status = "okay";
1236e505dd6SWayne Chang
1246e505dd6SWayne Chang			pads {
1256e505dd6SWayne Chang				usb2 {
1266e505dd6SWayne Chang					lanes {
1276e505dd6SWayne Chang						usb2-0 {
1286e505dd6SWayne Chang							status = "okay";
1296e505dd6SWayne Chang						};
1306e505dd6SWayne Chang
1316e505dd6SWayne Chang						usb2-1 {
1326e505dd6SWayne Chang							status = "okay";
1336e505dd6SWayne Chang						};
1346e505dd6SWayne Chang
1356e505dd6SWayne Chang						usb2-2 {
1366e505dd6SWayne Chang							status = "okay";
1376e505dd6SWayne Chang						};
1386e505dd6SWayne Chang
1396e505dd6SWayne Chang						usb2-3 {
1406e505dd6SWayne Chang							status = "okay";
1416e505dd6SWayne Chang						};
1426e505dd6SWayne Chang					};
1436e505dd6SWayne Chang				};
1446e505dd6SWayne Chang
1456e505dd6SWayne Chang				usb3 {
1466e505dd6SWayne Chang					lanes {
1476e505dd6SWayne Chang						usb3-0 {
1486e505dd6SWayne Chang							status = "okay";
1496e505dd6SWayne Chang						};
1506e505dd6SWayne Chang
1516e505dd6SWayne Chang						usb3-1 {
1526e505dd6SWayne Chang							status = "okay";
1536e505dd6SWayne Chang						};
1546e505dd6SWayne Chang
1556e505dd6SWayne Chang						usb3-2 {
1566e505dd6SWayne Chang							status = "okay";
1576e505dd6SWayne Chang						};
1586e505dd6SWayne Chang					};
1596e505dd6SWayne Chang				};
1606e505dd6SWayne Chang			};
1616e505dd6SWayne Chang
1626e505dd6SWayne Chang			ports {
1636e505dd6SWayne Chang				usb2-0 {
16462040585SJon Hunter					mode = "otg";
16562040585SJon Hunter					usb-role-switch;
1666e505dd6SWayne Chang					status = "okay";
167d7fb6468SThierry Reding
16816744314SJon Hunter					port {
16916744314SJon Hunter						hs_typec_p1: endpoint {
17016744314SJon Hunter							remote-endpoint = <&hs_ucsi_ccg_p1>;
17116744314SJon Hunter						};
17216744314SJon Hunter					};
1736e505dd6SWayne Chang				};
1746e505dd6SWayne Chang
1756e505dd6SWayne Chang				usb2-1 {
1766e505dd6SWayne Chang					mode = "host";
1776e505dd6SWayne Chang					status = "okay";
178d7fb6468SThierry Reding
17916744314SJon Hunter					port {
18016744314SJon Hunter						hs_typec_p0: endpoint {
18116744314SJon Hunter							remote-endpoint = <&hs_ucsi_ccg_p0>;
18216744314SJon Hunter						};
18316744314SJon Hunter					};
1846e505dd6SWayne Chang				};
1856e505dd6SWayne Chang
1866e505dd6SWayne Chang				usb2-2 {
1876e505dd6SWayne Chang					mode = "host";
1886e505dd6SWayne Chang					status = "okay";
1896e505dd6SWayne Chang				};
1906e505dd6SWayne Chang
1916e505dd6SWayne Chang				usb2-3 {
1926e505dd6SWayne Chang					mode = "host";
1936e505dd6SWayne Chang					status = "okay";
1946e505dd6SWayne Chang				};
1956e505dd6SWayne Chang
1966e505dd6SWayne Chang				usb3-0 {
1976e505dd6SWayne Chang					nvidia,usb2-companion = <1>;
1986e505dd6SWayne Chang					status = "okay";
199d7fb6468SThierry Reding
20016744314SJon Hunter					port {
20116744314SJon Hunter						ss_typec_p0: endpoint {
20216744314SJon Hunter							remote-endpoint = <&ss_ucsi_ccg_p0>;
20316744314SJon Hunter						};
20416744314SJon Hunter					};
2056e505dd6SWayne Chang				};
2066e505dd6SWayne Chang
2076e505dd6SWayne Chang				usb3-1 {
2086e505dd6SWayne Chang					nvidia,usb2-companion = <0>;
2096e505dd6SWayne Chang					status = "okay";
210d7fb6468SThierry Reding
21116744314SJon Hunter					port {
21216744314SJon Hunter						ss_typec_p1: endpoint {
21316744314SJon Hunter							remote-endpoint = <&ss_ucsi_ccg_p1>;
21416744314SJon Hunter						};
21516744314SJon Hunter					};
2166e505dd6SWayne Chang				};
2176e505dd6SWayne Chang
2186e505dd6SWayne Chang				usb3-2 {
2196e505dd6SWayne Chang					nvidia,usb2-companion = <3>;
2206e505dd6SWayne Chang					status = "okay";
2216e505dd6SWayne Chang				};
2226e505dd6SWayne Chang			};
2236e505dd6SWayne Chang		};
2246e505dd6SWayne Chang
22562040585SJon Hunter		usb@3550000 {
22662040585SJon Hunter			status = "okay";
22762040585SJon Hunter
22862040585SJon Hunter			phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
22962040585SJon Hunter			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
23062040585SJon Hunter			phy-names = "usb2-0", "usb3-0";
23162040585SJon Hunter		};
23262040585SJon Hunter
2336e505dd6SWayne Chang		usb@3610000 {
2346e505dd6SWayne Chang			status = "okay";
2356e505dd6SWayne Chang
2366e505dd6SWayne Chang			phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
2376e505dd6SWayne Chang			       <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>,
2386e505dd6SWayne Chang			       <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>,
2396e505dd6SWayne Chang			       <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>,
2406e505dd6SWayne Chang			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
2416e505dd6SWayne Chang			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>,
2426e505dd6SWayne Chang			       <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
2436e505dd6SWayne Chang			phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3",
2446e505dd6SWayne Chang				    "usb3-0", "usb3-1", "usb3-2";
2456e505dd6SWayne Chang		};
2466e505dd6SWayne Chang
2478aec2c17SThierry Reding		ethernet@6800000 {
2488aec2c17SThierry Reding			status = "okay";
2498aec2c17SThierry Reding
2508aec2c17SThierry Reding			phy-handle = <&mgbe0_phy>;
2514c892121SThierry Reding			phy-mode = "10gbase-r";
2528aec2c17SThierry Reding
2538aec2c17SThierry Reding			mdio {
2548aec2c17SThierry Reding				#address-cells = <1>;
2558aec2c17SThierry Reding				#size-cells = <0>;
2568aec2c17SThierry Reding
2578aec2c17SThierry Reding				mgbe0_phy: phy@0 {
2588aec2c17SThierry Reding					compatible = "ethernet-phy-ieee802.3-c45";
2598aec2c17SThierry Reding					reg = <0x0>;
2608aec2c17SThierry Reding
2618aec2c17SThierry Reding					#phy-cells = <0>;
2628aec2c17SThierry Reding				};
2638aec2c17SThierry Reding			};
2648aec2c17SThierry Reding		};
2652838cfddSThierry Reding
26616744314SJon Hunter		i2c@c240000 {
26716744314SJon Hunter			status = "okay";
268bd9681c0SThierry Reding
26916744314SJon Hunter			typec@8 {
27016744314SJon Hunter				compatible = "cypress,cypd4226";
27116744314SJon Hunter				reg = <0x08>;
27216744314SJon Hunter				interrupt-parent = <&gpio>;
27316744314SJon Hunter				interrupts = <TEGRA234_MAIN_GPIO(Y, 4) IRQ_TYPE_LEVEL_LOW>;
27416744314SJon Hunter				firmware-name = "nvidia,jetson-agx-xavier";
27516744314SJon Hunter				status = "okay";
276bd9681c0SThierry Reding
27716744314SJon Hunter				#address-cells = <1>;
27816744314SJon Hunter				#size-cells = <0>;
279bd9681c0SThierry Reding
28016744314SJon Hunter				ccg_typec_con0: connector@0 {
28116744314SJon Hunter					compatible = "usb-c-connector";
28216744314SJon Hunter					reg = <0>;
28316744314SJon Hunter					label = "USB-C";
28416744314SJon Hunter					data-role = "host";
285bd9681c0SThierry Reding
28616744314SJon Hunter					ports {
28716744314SJon Hunter						#address-cells = <1>;
28816744314SJon Hunter						#size-cells = <0>;
289bd9681c0SThierry Reding
29016744314SJon Hunter						port@0 {
29116744314SJon Hunter							reg = <0>;
292d7fb6468SThierry Reding
29316744314SJon Hunter							hs_ucsi_ccg_p0: endpoint {
29416744314SJon Hunter								remote-endpoint = <&hs_typec_p0>;
29516744314SJon Hunter							};
29616744314SJon Hunter						};
297bd9681c0SThierry Reding
29816744314SJon Hunter						port@1 {
29916744314SJon Hunter							reg = <1>;
300d7fb6468SThierry Reding
30116744314SJon Hunter							ss_ucsi_ccg_p0: endpoint {
30216744314SJon Hunter								remote-endpoint = <&ss_typec_p0>;
30316744314SJon Hunter							};
30416744314SJon Hunter						};
30516744314SJon Hunter					};
30616744314SJon Hunter				};
307bd9681c0SThierry Reding
30816744314SJon Hunter				ccg_typec_con1: connector@1 {
30916744314SJon Hunter					compatible = "usb-c-connector";
31016744314SJon Hunter					reg = <1>;
31116744314SJon Hunter					label = "USB-C";
31216744314SJon Hunter					data-role = "dual";
313bd9681c0SThierry Reding
31416744314SJon Hunter					ports {
31516744314SJon Hunter						#address-cells = <1>;
31616744314SJon Hunter						#size-cells = <0>;
317bd9681c0SThierry Reding
31816744314SJon Hunter						port@0 {
31916744314SJon Hunter							reg = <0>;
320d7fb6468SThierry Reding
32116744314SJon Hunter							hs_ucsi_ccg_p1: endpoint {
32216744314SJon Hunter								remote-endpoint = <&hs_typec_p1>;
32316744314SJon Hunter							};
32416744314SJon Hunter						};
325bd9681c0SThierry Reding
32616744314SJon Hunter						port@1 {
32716744314SJon Hunter							reg = <1>;
328d7fb6468SThierry Reding
32916744314SJon Hunter							ss_ucsi_ccg_p1: endpoint {
33016744314SJon Hunter								remote-endpoint = <&ss_typec_p1>;
33116744314SJon Hunter							};
33216744314SJon Hunter						};
33316744314SJon Hunter					};
33416744314SJon Hunter				};
33516744314SJon Hunter			};
33616744314SJon Hunter		};
3371b9a7515SThierry Reding
3381b9a7515SThierry Reding		pcie@14100000 {
3391b9a7515SThierry Reding			status = "okay";
3401b9a7515SThierry Reding
3411b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ao>;
3421b9a7515SThierry Reding
3431b9a7515SThierry Reding			phys = <&p2u_hsio_3>;
3441b9a7515SThierry Reding			phy-names = "p2u-0";
3451b9a7515SThierry Reding		};
3461b9a7515SThierry Reding
3471b9a7515SThierry Reding		pcie@14160000 {
3481b9a7515SThierry Reding			status = "okay";
3491b9a7515SThierry Reding
3501b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ao>;
3511b9a7515SThierry Reding
3521b9a7515SThierry Reding			phys = <&p2u_hsio_4>, <&p2u_hsio_5>, <&p2u_hsio_6>,
3531b9a7515SThierry Reding			       <&p2u_hsio_7>;
3541b9a7515SThierry Reding			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
3551b9a7515SThierry Reding		};
3561b9a7515SThierry Reding
3571b9a7515SThierry Reding		pcie@141a0000 {
3581b9a7515SThierry Reding			status = "okay";
3591b9a7515SThierry Reding
3601b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ls>;
3611b9a7515SThierry Reding			vpcie3v3-supply = <&vdd_3v3_pcie>;
3621b9a7515SThierry Reding			vpcie12v-supply = <&vdd_12v_pcie>;
3631b9a7515SThierry Reding
3641b9a7515SThierry Reding			phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
3651b9a7515SThierry Reding			       <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
3661b9a7515SThierry Reding			       <&p2u_nvhs_6>, <&p2u_nvhs_7>;
3671b9a7515SThierry Reding			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
3681b9a7515SThierry Reding				    "p2u-5", "p2u-6", "p2u-7";
3691b9a7515SThierry Reding		};
3701b9a7515SThierry Reding
3711b9a7515SThierry Reding		pcie-ep@141a0000 {
3721b9a7515SThierry Reding			status = "disabled";
3731b9a7515SThierry Reding
3741b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ls>;
3751b9a7515SThierry Reding
3761b9a7515SThierry Reding			reset-gpios = <&gpio TEGRA234_MAIN_GPIO(AF, 1) GPIO_ACTIVE_LOW>;
3771b9a7515SThierry Reding
3781b9a7515SThierry Reding			nvidia,refclk-select-gpios = <&gpio_aon
3791b9a7515SThierry Reding						      TEGRA234_AON_GPIO(AA, 4)
3801b9a7515SThierry Reding						      GPIO_ACTIVE_HIGH>;
3811b9a7515SThierry Reding
3821b9a7515SThierry Reding			phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
3831b9a7515SThierry Reding			       <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
3841b9a7515SThierry Reding			       <&p2u_nvhs_6>, <&p2u_nvhs_7>;
3851b9a7515SThierry Reding			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
3861b9a7515SThierry Reding				    "p2u-5", "p2u-6", "p2u-7";
3871b9a7515SThierry Reding		};
3888aec2c17SThierry Reding	};
3898aec2c17SThierry Reding
390699349e0SThierry Reding	gpio-keys {
391699349e0SThierry Reding		compatible = "gpio-keys";
392699349e0SThierry Reding		status = "okay";
393699349e0SThierry Reding
394012877d0SKrzysztof Kozlowski		key-force-recovery {
395699349e0SThierry Reding			label = "Force Recovery";
396699349e0SThierry Reding			gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
397699349e0SThierry Reding			linux,input-type = <EV_KEY>;
398699349e0SThierry Reding			linux,code = <BTN_1>;
399699349e0SThierry Reding		};
400699349e0SThierry Reding
401012877d0SKrzysztof Kozlowski		key-power {
402699349e0SThierry Reding			label = "Power";
403699349e0SThierry Reding			gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
404699349e0SThierry Reding			linux,input-type = <EV_KEY>;
405699349e0SThierry Reding			linux,code = <KEY_POWER>;
406699349e0SThierry Reding			wakeup-event-action = <EV_ACT_ASSERTED>;
407699349e0SThierry Reding			wakeup-source;
408699349e0SThierry Reding		};
409699349e0SThierry Reding
410012877d0SKrzysztof Kozlowski		key-suspend {
411699349e0SThierry Reding			label = "Suspend";
412699349e0SThierry Reding			gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
413699349e0SThierry Reding			linux,input-type = <EV_KEY>;
414699349e0SThierry Reding			linux,code = <KEY_SLEEP>;
415699349e0SThierry Reding		};
416699349e0SThierry Reding	};
417699349e0SThierry Reding
4187a3f6cb1SDara Stotland	fan: pwm-fan {
4197a3f6cb1SDara Stotland		compatible = "pwm-fan";
4201d3fbd3dSThierry Reding		cooling-levels = <66 215 255>;
4217a3f6cb1SDara Stotland		pwms = <&pwm3 0 45334>;
4227a3f6cb1SDara Stotland		#cooling-cells = <2>;
42379ed18d9SThierry Reding	};
42479ed18d9SThierry Reding
425533337d5SMikko Perttunen	serial {
426533337d5SMikko Perttunen		status = "okay";
427533337d5SMikko Perttunen	};
42809614acdSSameer Pujar
42909614acdSSameer Pujar	sound {
43009614acdSSameer Pujar		compatible = "nvidia,tegra186-audio-graph-card";
431679899fbSThierry Reding		status = "okay";
43209614acdSSameer Pujar
43309614acdSSameer Pujar		dais = /* ADMAIF (FE) Ports */
43409614acdSSameer Pujar		       <&admaif0_port>, <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,
43509614acdSSameer Pujar		       <&admaif4_port>, <&admaif5_port>, <&admaif6_port>, <&admaif7_port>,
43609614acdSSameer Pujar		       <&admaif8_port>, <&admaif9_port>, <&admaif10_port>, <&admaif11_port>,
43709614acdSSameer Pujar		       <&admaif12_port>, <&admaif13_port>, <&admaif14_port>, <&admaif15_port>,
43809614acdSSameer Pujar		       <&admaif16_port>, <&admaif17_port>, <&admaif18_port>, <&admaif19_port>,
43909614acdSSameer Pujar		       /* XBAR Ports */
44009614acdSSameer Pujar		       <&xbar_i2s1_port>, <&xbar_i2s2_port>, <&xbar_i2s4_port>,
44109614acdSSameer Pujar		       <&xbar_i2s6_port>, <&xbar_dmic3_port>,
44209614acdSSameer Pujar		       <&xbar_sfc1_in_port>, <&xbar_sfc2_in_port>,
44309614acdSSameer Pujar		       <&xbar_sfc3_in_port>, <&xbar_sfc4_in_port>,
44409614acdSSameer Pujar		       <&xbar_mvc1_in_port>, <&xbar_mvc2_in_port>,
44509614acdSSameer Pujar		       <&xbar_amx1_in1_port>, <&xbar_amx1_in2_port>,
44609614acdSSameer Pujar		       <&xbar_amx1_in3_port>, <&xbar_amx1_in4_port>,
44709614acdSSameer Pujar		       <&xbar_amx2_in1_port>, <&xbar_amx2_in2_port>,
44809614acdSSameer Pujar		       <&xbar_amx2_in3_port>, <&xbar_amx2_in4_port>,
44909614acdSSameer Pujar		       <&xbar_amx3_in1_port>, <&xbar_amx3_in2_port>,
45009614acdSSameer Pujar		       <&xbar_amx3_in3_port>, <&xbar_amx3_in4_port>,
45109614acdSSameer Pujar		       <&xbar_amx4_in1_port>, <&xbar_amx4_in2_port>,
45209614acdSSameer Pujar		       <&xbar_amx4_in3_port>, <&xbar_amx4_in4_port>,
45309614acdSSameer Pujar		       <&xbar_adx1_in_port>, <&xbar_adx2_in_port>,
45409614acdSSameer Pujar		       <&xbar_adx3_in_port>, <&xbar_adx4_in_port>,
45509614acdSSameer Pujar		       <&xbar_mix_in1_port>, <&xbar_mix_in2_port>,
45609614acdSSameer Pujar		       <&xbar_mix_in3_port>, <&xbar_mix_in4_port>,
45709614acdSSameer Pujar		       <&xbar_mix_in5_port>, <&xbar_mix_in6_port>,
45809614acdSSameer Pujar		       <&xbar_mix_in7_port>, <&xbar_mix_in8_port>,
45909614acdSSameer Pujar		       <&xbar_mix_in9_port>, <&xbar_mix_in10_port>,
460261a46a9SSameer Pujar		       <&xbar_asrc_in1_port>, <&xbar_asrc_in2_port>,
461261a46a9SSameer Pujar		       <&xbar_asrc_in3_port>, <&xbar_asrc_in4_port>,
462261a46a9SSameer Pujar		       <&xbar_asrc_in5_port>, <&xbar_asrc_in6_port>,
463261a46a9SSameer Pujar		       <&xbar_asrc_in7_port>,
464afcb41e3SSameer Pujar		       <&xbar_ope1_in_port>,
46509614acdSSameer Pujar		       /* HW accelerators */
46609614acdSSameer Pujar		       <&sfc1_out_port>, <&sfc2_out_port>,
46709614acdSSameer Pujar		       <&sfc3_out_port>, <&sfc4_out_port>,
46809614acdSSameer Pujar		       <&mvc1_out_port>, <&mvc2_out_port>,
46909614acdSSameer Pujar		       <&amx1_out_port>, <&amx2_out_port>,
47009614acdSSameer Pujar		       <&amx3_out_port>, <&amx4_out_port>,
47109614acdSSameer Pujar		       <&adx1_out1_port>, <&adx1_out2_port>,
47209614acdSSameer Pujar		       <&adx1_out3_port>, <&adx1_out4_port>,
47309614acdSSameer Pujar		       <&adx2_out1_port>, <&adx2_out2_port>,
47409614acdSSameer Pujar		       <&adx2_out3_port>, <&adx2_out4_port>,
47509614acdSSameer Pujar		       <&adx3_out1_port>, <&adx3_out2_port>,
47609614acdSSameer Pujar		       <&adx3_out3_port>, <&adx3_out4_port>,
47709614acdSSameer Pujar		       <&adx4_out1_port>, <&adx4_out2_port>,
47809614acdSSameer Pujar		       <&adx4_out3_port>, <&adx4_out4_port>,
47909614acdSSameer Pujar		       <&mix_out1_port>, <&mix_out2_port>, <&mix_out3_port>,
48009614acdSSameer Pujar		       <&mix_out4_port>, <&mix_out5_port>,
481261a46a9SSameer Pujar		       <&asrc_out1_port>, <&asrc_out2_port>, <&asrc_out3_port>,
482261a46a9SSameer Pujar		       <&asrc_out4_port>, <&asrc_out5_port>, <&asrc_out6_port>,
483afcb41e3SSameer Pujar		       <&ope1_out_port>,
48409614acdSSameer Pujar		       /* BE I/O Ports */
48509614acdSSameer Pujar		       <&i2s1_port>, <&i2s2_port>, <&i2s4_port>, <&i2s6_port>,
48609614acdSSameer Pujar		       <&dmic3_port>;
48709614acdSSameer Pujar
48809614acdSSameer Pujar		label = "NVIDIA Jetson AGX Orin APE";
489b903a6c5SSameer Pujar
490b903a6c5SSameer Pujar		widgets = "Microphone",	"CVB-RT MIC Jack",
491b903a6c5SSameer Pujar			  "Microphone",	"CVB-RT MIC",
492b903a6c5SSameer Pujar			  "Headphone",	"CVB-RT HP Jack",
493b903a6c5SSameer Pujar			  "Speaker",	"CVB-RT SPK";
494b903a6c5SSameer Pujar
495b903a6c5SSameer Pujar		routing = /* I2S1 <-> RT5640 */
496b903a6c5SSameer Pujar			  "CVB-RT AIF1 Playback",	"I2S1 DAP-Playback",
497b903a6c5SSameer Pujar			  "I2S1 DAP-Capture",		"CVB-RT AIF1 Capture",
498b903a6c5SSameer Pujar			  /* RT5640 codec controls */
499b903a6c5SSameer Pujar			  "CVB-RT HP Jack",		"CVB-RT HPOL",
500b903a6c5SSameer Pujar			  "CVB-RT HP Jack",		"CVB-RT HPOR",
501b903a6c5SSameer Pujar			  "CVB-RT IN1P",		"CVB-RT MIC Jack",
502b903a6c5SSameer Pujar			  "CVB-RT IN2P",		"CVB-RT MIC Jack",
503b903a6c5SSameer Pujar			  "CVB-RT SPK",			"CVB-RT SPOLP",
504b903a6c5SSameer Pujar			  "CVB-RT SPK",			"CVB-RT SPORP",
505b903a6c5SSameer Pujar			  "CVB-RT DMIC1",		"CVB-RT MIC",
506b903a6c5SSameer Pujar			  "CVB-RT DMIC2",		"CVB-RT MIC";
50709614acdSSameer Pujar	};
5081d3fbd3dSThierry Reding
5091d3fbd3dSThierry Reding	thermal-zones {
5101d3fbd3dSThierry Reding		tj-thermal {
5111d3fbd3dSThierry Reding			cooling-maps {
5121d3fbd3dSThierry Reding				map-active-0 {
5131d3fbd3dSThierry Reding					cooling-device = <&fan 0 1>;
5141d3fbd3dSThierry Reding					trip = <&tj_trip_active0>;
5151d3fbd3dSThierry Reding				};
5161d3fbd3dSThierry Reding
5171d3fbd3dSThierry Reding				map-active-1 {
5181d3fbd3dSThierry Reding					cooling-device = <&fan 1 2>;
5191d3fbd3dSThierry Reding					trip = <&tj_trip_active1>;
5201d3fbd3dSThierry Reding				};
5211d3fbd3dSThierry Reding			};
5221d3fbd3dSThierry Reding		};
5231d3fbd3dSThierry Reding	};
5247a3f6cb1SDara Stotland
5257a3f6cb1SDara Stotland	vdd_1v8_sys: regulator-vdd-1v8-sys {
5267a3f6cb1SDara Stotland		compatible = "regulator-fixed";
5277a3f6cb1SDara Stotland		regulator-name = "VDD_1V8_SYS";
5287a3f6cb1SDara Stotland		regulator-min-microvolt = <1800000>;
5297a3f6cb1SDara Stotland		regulator-max-microvolt = <1800000>;
5307a3f6cb1SDara Stotland		regulator-always-on;
5317a3f6cb1SDara Stotland	};
532*d075995cSDara Stotland
533*d075995cSDara Stotland	vdd_3v3_pcie: regulator-vdd-3v3-pcie {
534*d075995cSDara Stotland		compatible = "regulator-fixed";
535*d075995cSDara Stotland		regulator-name = "VDD_3V3_PCIE";
536*d075995cSDara Stotland		regulator-min-microvolt = <3300000>;
537*d075995cSDara Stotland		regulator-max-microvolt = <3300000>;
538*d075995cSDara Stotland		gpio = <&gpio TEGRA234_MAIN_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
539*d075995cSDara Stotland		regulator-boot-on;
540*d075995cSDara Stotland		enable-active-high;
541*d075995cSDara Stotland	};
542*d075995cSDara Stotland
543*d075995cSDara Stotland	vdd_12v_pcie: regulator-vdd-12v-pcie {
544*d075995cSDara Stotland		compatible = "regulator-fixed";
545*d075995cSDara Stotland		regulator-name = "VDD_12V_PCIE";
546*d075995cSDara Stotland		regulator-min-microvolt = <12000000>;
547*d075995cSDara Stotland		regulator-max-microvolt = <12000000>;
548*d075995cSDara Stotland		gpio = <&gpio TEGRA234_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>;
549*d075995cSDara Stotland		regulator-boot-on;
550*d075995cSDara Stotland	};
551533337d5SMikko Perttunen};
552