1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include <dt-bindings/input/linux-event-codes.h>
5#include <dt-bindings/input/gpio-keys.h>
6#include "tegra234-p3701-0008.dtsi"
7#include "tegra234-p3740-0002.dtsi"
8
9/ {
10	model = "NVIDIA IGX Orin Development Kit";
11	compatible = "nvidia,p3740-0002+p3701-0008", "nvidia,p3701-0008", "nvidia,tegra234";
12
13	aliases {
14		serial0 = &tcu;
15	};
16
17	chosen {
18		stdout-path = "serial0:115200n8";
19	};
20
21	bus@0 {
22		host1x@13e00000 {
23			nvdec@15480000 {
24				status = "okay";
25			};
26		};
27
28		pcie@140e0000 {
29			status = "okay";
30			vddio-pex-ctl-supply = <&vdd_1v8_ls>;
31			phys = <&p2u_gbe_4>, <&p2u_gbe_5>;
32			phy-names = "p2u-0", "p2u-1";
33		};
34
35		pcie@14100000 {
36			status = "okay";
37			vddio-pex-ctl-supply = <&vdd_1v8_ao>;
38			phys = <&p2u_hsio_3>;
39			phy-names = "p2u-0";
40		};
41
42		pcie@14160000 {
43			status = "okay";
44			vddio-pex-ctl-supply = <&vdd_1v8_ao>;
45			phys = <&p2u_hsio_7>, <&p2u_hsio_6>, <&p2u_hsio_5>,
46			       <&p2u_hsio_4>;
47			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
48		};
49
50		pcie@141a0000 {
51			status = "okay";
52			vddio-pex-ctl-supply = <&vdd_1v8_ls>;
53			phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
54				<&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
55				<&p2u_nvhs_6>, <&p2u_nvhs_7>;
56			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
57				    "p2u-5", "p2u-6", "p2u-7";
58		};
59
60		pcie@141e0000 {
61			status = "okay";
62			vddio-pex-ctl-supply = <&vdd_1v8_ls>;
63			phys = <&p2u_gbe_0>, <&p2u_gbe_1>;
64			phy-names = "p2u-0", "p2u-1";
65		};
66
67		aconnect@2900000 {
68			status = "okay";
69		};
70
71		serial@3100000 {
72			compatible = "nvidia,tegra194-hsuart";
73			status = "okay";
74		};
75
76		i2c@3160000 {
77			status = "okay";
78		};
79
80		i2c@3180000 {
81			status = "okay";
82		};
83
84		i2c@3190000 {
85			status = "okay";
86		};
87
88		i2c@31b0000 {
89			status = "okay";
90		};
91
92		i2c@31c0000 {
93			status = "okay";
94
95		};
96
97		i2c@31e0000 {
98			status = "okay";
99		};
100
101		spi@3270000 {
102			status = "okay";
103		};
104
105		hda@3510000 {
106			nvidia,model = "NVIDIA IGX HDA";
107			status = "okay";
108		};
109
110		fuse@3810000 {
111			status = "okay";
112		};
113
114		i2c@c240000 {
115			status = "okay";
116		};
117
118		i2c@c250000 {
119			status = "okay";
120		};
121	};
122
123	gpio-keys {
124		compatible = "gpio-keys";
125		status = "okay";
126
127		key-force-recovery {
128			label = "Force Recovery";
129			gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
130			linux,input-type = <EV_KEY>;
131			linux,code = <BTN_1>;
132		};
133
134		key-power {
135			label = "Power";
136			gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
137			linux,input-type = <EV_KEY>;
138			linux,code = <KEY_POWER>;
139			wakeup-event-action = <EV_ACT_ASSERTED>;
140			wakeup-source;
141		};
142
143		key-suspend {
144			label = "Suspend";
145			gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
146			linux,input-type = <EV_KEY>;
147			linux,code = <KEY_SLEEP>;
148		};
149	};
150
151	serial {
152		status = "okay";
153	};
154};
155