1c95711d7SShubhi Garg// SPDX-License-Identifier: GPL-2.0
2c95711d7SShubhi Garg/dts-v1/;
3c95711d7SShubhi Garg
4c95711d7SShubhi Garg#include <dt-bindings/input/linux-event-codes.h>
5c95711d7SShubhi Garg#include <dt-bindings/input/gpio-keys.h>
6c95711d7SShubhi Garg#include "tegra234-p3701-0008.dtsi"
7c95711d7SShubhi Garg#include "tegra234-p3740-0002.dtsi"
8c95711d7SShubhi Garg
9c95711d7SShubhi Garg/ {
10c95711d7SShubhi Garg	model = "NVIDIA IGX Orin Development Kit";
11c95711d7SShubhi Garg	compatible = "nvidia,p3740-0002+p3701-0008", "nvidia,p3701-0008", "nvidia,tegra234";
12c95711d7SShubhi Garg
13c95711d7SShubhi Garg	aliases {
14c95711d7SShubhi Garg		serial0 = &tcu;
15d97966dfSJon Hunter		serial1 = &uarta;
16c95711d7SShubhi Garg	};
17c95711d7SShubhi Garg
18c95711d7SShubhi Garg	chosen {
19c95711d7SShubhi Garg		stdout-path = "serial0:115200n8";
20c95711d7SShubhi Garg	};
21c95711d7SShubhi Garg
22c95711d7SShubhi Garg	bus@0 {
23c95711d7SShubhi Garg		serial@3100000 {
24c95711d7SShubhi Garg			compatible = "nvidia,tegra194-hsuart";
25677e0e3aSThierry Reding			reset-names = "serial";
26c95711d7SShubhi Garg			status = "okay";
27c95711d7SShubhi Garg		};
28c95711d7SShubhi Garg
29c95711d7SShubhi Garg		i2c@3160000 {
30c95711d7SShubhi Garg			status = "okay";
31c95711d7SShubhi Garg		};
32c95711d7SShubhi Garg
33c95711d7SShubhi Garg		i2c@3180000 {
34c95711d7SShubhi Garg			status = "okay";
35c95711d7SShubhi Garg		};
36c95711d7SShubhi Garg
37c95711d7SShubhi Garg		i2c@3190000 {
38c95711d7SShubhi Garg			status = "okay";
39c95711d7SShubhi Garg		};
40c95711d7SShubhi Garg
41c95711d7SShubhi Garg		i2c@31b0000 {
42c95711d7SShubhi Garg			status = "okay";
43c95711d7SShubhi Garg		};
44c95711d7SShubhi Garg
45c95711d7SShubhi Garg		i2c@31c0000 {
46c95711d7SShubhi Garg			status = "okay";
47c95711d7SShubhi Garg
48c95711d7SShubhi Garg		};
49c95711d7SShubhi Garg
50c95711d7SShubhi Garg		i2c@31e0000 {
51c95711d7SShubhi Garg			status = "okay";
52c95711d7SShubhi Garg		};
53c95711d7SShubhi Garg
54c95711d7SShubhi Garg		spi@3270000 {
55c95711d7SShubhi Garg			status = "okay";
56c95711d7SShubhi Garg		};
57c95711d7SShubhi Garg
58c95711d7SShubhi Garg		hda@3510000 {
595862ae43SMohan Kumar			nvidia,model = "NVIDIA IGX Orin HDA";
60c95711d7SShubhi Garg			status = "okay";
61c95711d7SShubhi Garg		};
62c95711d7SShubhi Garg
63c95711d7SShubhi Garg		fuse@3810000 {
64c95711d7SShubhi Garg			status = "okay";
65c95711d7SShubhi Garg		};
66c95711d7SShubhi Garg
67c95711d7SShubhi Garg		i2c@c240000 {
68c95711d7SShubhi Garg			status = "okay";
69c95711d7SShubhi Garg		};
70c95711d7SShubhi Garg
71c95711d7SShubhi Garg		i2c@c250000 {
72c95711d7SShubhi Garg			status = "okay";
73c95711d7SShubhi Garg		};
741b9a7515SThierry Reding
751b9a7515SThierry Reding		host1x@13e00000 {
761b9a7515SThierry Reding			nvdec@15480000 {
771b9a7515SThierry Reding				status = "okay";
781b9a7515SThierry Reding			};
791b9a7515SThierry Reding		};
801b9a7515SThierry Reding
811b9a7515SThierry Reding		pcie@140e0000 {
821b9a7515SThierry Reding			status = "okay";
831b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ls>;
841b9a7515SThierry Reding			phys = <&p2u_gbe_4>, <&p2u_gbe_5>;
851b9a7515SThierry Reding			phy-names = "p2u-0", "p2u-1";
861b9a7515SThierry Reding		};
871b9a7515SThierry Reding
881b9a7515SThierry Reding		pcie@14100000 {
891b9a7515SThierry Reding			status = "okay";
901b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ao>;
91*e78ad903SShubhi Garg			vpcie3v3-supply = <&vdd_3v3_wifi>;
921b9a7515SThierry Reding			phys = <&p2u_hsio_3>;
931b9a7515SThierry Reding			phy-names = "p2u-0";
941b9a7515SThierry Reding		};
951b9a7515SThierry Reding
961b9a7515SThierry Reding		pcie@14160000 {
971b9a7515SThierry Reding			status = "okay";
981b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ao>;
991b9a7515SThierry Reding			phys = <&p2u_hsio_7>, <&p2u_hsio_6>, <&p2u_hsio_5>,
1001b9a7515SThierry Reding			       <&p2u_hsio_4>;
1011b9a7515SThierry Reding			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
1021b9a7515SThierry Reding		};
1031b9a7515SThierry Reding
1041b9a7515SThierry Reding		pcie@141a0000 {
1051b9a7515SThierry Reding			status = "okay";
1061b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ls>;
1071b9a7515SThierry Reding			phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
1081b9a7515SThierry Reding				<&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
1091b9a7515SThierry Reding				<&p2u_nvhs_6>, <&p2u_nvhs_7>;
1101b9a7515SThierry Reding			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
1111b9a7515SThierry Reding				    "p2u-5", "p2u-6", "p2u-7";
1121b9a7515SThierry Reding		};
1131b9a7515SThierry Reding
1141b9a7515SThierry Reding		pcie@141e0000 {
1151b9a7515SThierry Reding			status = "okay";
1161b9a7515SThierry Reding			vddio-pex-ctl-supply = <&vdd_1v8_ls>;
1171b9a7515SThierry Reding			phys = <&p2u_gbe_0>, <&p2u_gbe_1>;
1181b9a7515SThierry Reding			phy-names = "p2u-0", "p2u-1";
1191b9a7515SThierry Reding		};
120c95711d7SShubhi Garg	};
121c95711d7SShubhi Garg
122c95711d7SShubhi Garg	gpio-keys {
123c95711d7SShubhi Garg		compatible = "gpio-keys";
124c95711d7SShubhi Garg		status = "okay";
125c95711d7SShubhi Garg
126c95711d7SShubhi Garg		key-force-recovery {
127c95711d7SShubhi Garg			label = "Force Recovery";
128c95711d7SShubhi Garg			gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
129c95711d7SShubhi Garg			linux,input-type = <EV_KEY>;
130c95711d7SShubhi Garg			linux,code = <BTN_1>;
131c95711d7SShubhi Garg		};
132c95711d7SShubhi Garg
133c95711d7SShubhi Garg		key-power {
134c95711d7SShubhi Garg			label = "Power";
135c95711d7SShubhi Garg			gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
136c95711d7SShubhi Garg			linux,input-type = <EV_KEY>;
137c95711d7SShubhi Garg			linux,code = <KEY_POWER>;
138c95711d7SShubhi Garg			wakeup-event-action = <EV_ACT_ASSERTED>;
139c95711d7SShubhi Garg			wakeup-source;
140c95711d7SShubhi Garg		};
141c95711d7SShubhi Garg
142c95711d7SShubhi Garg		key-suspend {
143c95711d7SShubhi Garg			label = "Suspend";
144c95711d7SShubhi Garg			gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
145c95711d7SShubhi Garg			linux,input-type = <EV_KEY>;
146c95711d7SShubhi Garg			linux,code = <KEY_SLEEP>;
147c95711d7SShubhi Garg		};
148c95711d7SShubhi Garg	};
149c95711d7SShubhi Garg
150c95711d7SShubhi Garg	serial {
151c95711d7SShubhi Garg		status = "okay";
152c95711d7SShubhi Garg	};
1535862ae43SMohan Kumar
1545862ae43SMohan Kumar	sound {
1555862ae43SMohan Kumar		status = "okay";
1565862ae43SMohan Kumar
1575862ae43SMohan Kumar		compatible = "nvidia,tegra186-audio-graph-card";
1585862ae43SMohan Kumar
1595862ae43SMohan Kumar		dais = /* ADMAIF (FE) Ports */
1605862ae43SMohan Kumar		       <&admaif0_port>, <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,
1615862ae43SMohan Kumar		       <&admaif4_port>, <&admaif5_port>, <&admaif6_port>, <&admaif7_port>,
1625862ae43SMohan Kumar		       <&admaif8_port>, <&admaif9_port>, <&admaif10_port>, <&admaif11_port>,
1635862ae43SMohan Kumar		       <&admaif12_port>, <&admaif13_port>, <&admaif14_port>, <&admaif15_port>,
1645862ae43SMohan Kumar		       <&admaif16_port>, <&admaif17_port>, <&admaif18_port>, <&admaif19_port>,
1655862ae43SMohan Kumar		       /* XBAR Ports */
1665862ae43SMohan Kumar		       <&xbar_i2s1_port>, <&xbar_i2s2_port>, <&xbar_i2s4_port>,
1675862ae43SMohan Kumar		       <&xbar_i2s6_port>, <&xbar_dmic3_port>,
1685862ae43SMohan Kumar		       <&xbar_sfc1_in_port>, <&xbar_sfc2_in_port>,
1695862ae43SMohan Kumar		       <&xbar_sfc3_in_port>, <&xbar_sfc4_in_port>,
1705862ae43SMohan Kumar		       <&xbar_mvc1_in_port>, <&xbar_mvc2_in_port>,
1715862ae43SMohan Kumar		       <&xbar_amx1_in1_port>, <&xbar_amx1_in2_port>,
1725862ae43SMohan Kumar		       <&xbar_amx1_in3_port>, <&xbar_amx1_in4_port>,
1735862ae43SMohan Kumar		       <&xbar_amx2_in1_port>, <&xbar_amx2_in2_port>,
1745862ae43SMohan Kumar		       <&xbar_amx2_in3_port>, <&xbar_amx2_in4_port>,
1755862ae43SMohan Kumar		       <&xbar_amx3_in1_port>, <&xbar_amx3_in2_port>,
1765862ae43SMohan Kumar		       <&xbar_amx3_in3_port>, <&xbar_amx3_in4_port>,
1775862ae43SMohan Kumar		       <&xbar_amx4_in1_port>, <&xbar_amx4_in2_port>,
1785862ae43SMohan Kumar		       <&xbar_amx4_in3_port>, <&xbar_amx4_in4_port>,
1795862ae43SMohan Kumar		       <&xbar_adx1_in_port>, <&xbar_adx2_in_port>,
1805862ae43SMohan Kumar		       <&xbar_adx3_in_port>, <&xbar_adx4_in_port>,
1815862ae43SMohan Kumar		       <&xbar_mix_in1_port>, <&xbar_mix_in2_port>,
1825862ae43SMohan Kumar		       <&xbar_mix_in3_port>, <&xbar_mix_in4_port>,
1835862ae43SMohan Kumar		       <&xbar_mix_in5_port>, <&xbar_mix_in6_port>,
1845862ae43SMohan Kumar		       <&xbar_mix_in7_port>, <&xbar_mix_in8_port>,
1855862ae43SMohan Kumar		       <&xbar_mix_in9_port>, <&xbar_mix_in10_port>,
1865862ae43SMohan Kumar		       <&xbar_asrc_in1_port>, <&xbar_asrc_in2_port>,
1875862ae43SMohan Kumar		       <&xbar_asrc_in3_port>, <&xbar_asrc_in4_port>,
1885862ae43SMohan Kumar		       <&xbar_asrc_in5_port>, <&xbar_asrc_in6_port>,
1895862ae43SMohan Kumar		       <&xbar_asrc_in7_port>,
1905862ae43SMohan Kumar		       <&xbar_ope1_in_port>,
1915862ae43SMohan Kumar		       /* HW accelerators */
1925862ae43SMohan Kumar		       <&sfc1_out_port>, <&sfc2_out_port>,
1935862ae43SMohan Kumar		       <&sfc3_out_port>, <&sfc4_out_port>,
1945862ae43SMohan Kumar		       <&mvc1_out_port>, <&mvc2_out_port>,
1955862ae43SMohan Kumar		       <&amx1_out_port>, <&amx2_out_port>,
1965862ae43SMohan Kumar		       <&amx3_out_port>, <&amx4_out_port>,
1975862ae43SMohan Kumar		       <&adx1_out1_port>, <&adx1_out2_port>,
1985862ae43SMohan Kumar		       <&adx1_out3_port>, <&adx1_out4_port>,
1995862ae43SMohan Kumar		       <&adx2_out1_port>, <&adx2_out2_port>,
2005862ae43SMohan Kumar		       <&adx2_out3_port>, <&adx2_out4_port>,
2015862ae43SMohan Kumar		       <&adx3_out1_port>, <&adx3_out2_port>,
2025862ae43SMohan Kumar		       <&adx3_out3_port>, <&adx3_out4_port>,
2035862ae43SMohan Kumar		       <&adx4_out1_port>, <&adx4_out2_port>,
2045862ae43SMohan Kumar		       <&adx4_out3_port>, <&adx4_out4_port>,
2055862ae43SMohan Kumar		       <&mix_out1_port>, <&mix_out2_port>, <&mix_out3_port>,
2065862ae43SMohan Kumar		       <&mix_out4_port>, <&mix_out5_port>,
2075862ae43SMohan Kumar		       <&asrc_out1_port>, <&asrc_out2_port>, <&asrc_out3_port>,
2085862ae43SMohan Kumar		       <&asrc_out4_port>, <&asrc_out5_port>, <&asrc_out6_port>,
2095862ae43SMohan Kumar		       <&ope1_out_port>,
2105862ae43SMohan Kumar		       /* BE I/O Ports */
2115862ae43SMohan Kumar		       <&i2s1_port>, <&i2s2_port>, <&i2s4_port>, <&i2s6_port>,
2125862ae43SMohan Kumar		       <&dmic3_port>;
2135862ae43SMohan Kumar
2145862ae43SMohan Kumar		label = "NVIDIA IGX Orin APE";
2155862ae43SMohan Kumar
2165862ae43SMohan Kumar		widgets = "Microphone",	"CVB-RT MIC Jack",
2175862ae43SMohan Kumar			  "Microphone",	"CVB-RT MIC",
2185862ae43SMohan Kumar			  "Headphone",	"CVB-RT HP Jack",
2195862ae43SMohan Kumar			  "Speaker",	"CVB-RT SPK";
2205862ae43SMohan Kumar
2215862ae43SMohan Kumar		routing = /* I2S4 <-> RT5640 */
2225862ae43SMohan Kumar			  "CVB-RT AIF1 Playback",	"I2S4 DAP-Playback",
2235862ae43SMohan Kumar			  "I2S4 DAP-Capture",		"CVB-RT AIF1 Capture",
2245862ae43SMohan Kumar			  /* RT5640 codec controls */
2255862ae43SMohan Kumar			  "CVB-RT HP Jack",		"CVB-RT HPOL",
2265862ae43SMohan Kumar			  "CVB-RT HP Jack",		"CVB-RT HPOR",
2275862ae43SMohan Kumar			  "CVB-RT IN1P",		"CVB-RT MIC Jack",
2285862ae43SMohan Kumar			  "CVB-RT IN2P",		"CVB-RT MIC Jack",
2295862ae43SMohan Kumar			  "CVB-RT IN2N",		"CVB-RT MIC Jack",
2305862ae43SMohan Kumar			  "CVB-RT IN3P",		"CVB-RT MIC Jack",
2315862ae43SMohan Kumar			  "CVB-RT SPK",			"CVB-RT SPOLP",
2325862ae43SMohan Kumar			  "CVB-RT SPK",			"CVB-RT SPORP",
2335862ae43SMohan Kumar			  "CVB-RT SPK",			"CVB-RT LOUTL",
2345862ae43SMohan Kumar			  "CVB-RT SPK",			"CVB-RT LOUTR",
2355862ae43SMohan Kumar			  "CVB-RT DMIC1",		"CVB-RT MIC",
2365862ae43SMohan Kumar			  "CVB-RT DMIC2",		"CVB-RT MIC";
2375862ae43SMohan Kumar	};
238c95711d7SShubhi Garg};
239