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
7#include "tegra234-p3701-0000.dtsi"
8#include "tegra234-p3737-0000.dtsi"
9
10/ {
11	model = "NVIDIA Jetson AGX Orin Developer Kit";
12	compatible = "nvidia,p3737-0000+p3701-0000", "nvidia,p3701-0000", "nvidia,tegra234";
13
14	aliases {
15		mmc3 = "/bus@0/mmc@3460000";
16		serial0 = &tcu;
17	};
18
19	chosen {
20		bootargs = "console=ttyS0,115200n8";
21		stdout-path = "serial0:115200n8";
22	};
23
24	gpio-keys {
25		compatible = "gpio-keys";
26		status = "okay";
27
28		force-recovery {
29			label = "Force Recovery";
30			gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
31			linux,input-type = <EV_KEY>;
32			linux,code = <BTN_1>;
33		};
34
35		power-key {
36			label = "Power";
37			gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
38			linux,input-type = <EV_KEY>;
39			linux,code = <KEY_POWER>;
40			wakeup-event-action = <EV_ACT_ASSERTED>;
41			wakeup-source;
42		};
43
44		suspend {
45			label = "Suspend";
46			gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
47			linux,input-type = <EV_KEY>;
48			linux,code = <KEY_SLEEP>;
49		};
50	};
51
52	serial {
53		status = "okay";
54	};
55};
56