blob: 1607ee14216fbc00c9a1d17a9173dd1137170c12 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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
Tom Rini6bb92fc2024-05-20 09:54:58 -06007#include "tegra234-p3767.dtsi"
Tom Rini53633a82024-02-29 12:33:36 -05008#include "tegra234-p3768-0000.dtsi"
9
10/ {
11 compatible = "nvidia,p3768-0000+p3767-0000", "nvidia,p3767-0000", "nvidia,tegra234";
12 model = "NVIDIA Jetson Orin NX Engineering Reference Developer Kit";
13
14 aliases {
15 serial1 = &uarta;
16 serial2 = &uarte;
17 };
18
19 bus@0 {
20 serial@3100000 {
21 compatible = "nvidia,tegra194-hsuart";
22 reset-names = "serial";
23 status = "okay";
24 };
25
26 serial@3140000 {
27 compatible = "nvidia,tegra194-hsuart";
28 reset-names = "serial";
29 status = "okay";
30 };
31
32 pwm@32a0000 {
33 assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>;
34 assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
35 status = "okay";
36 };
37
38 hda@3510000 {
39 nvidia,model = "NVIDIA Jetson Orin NX HDA";
Tom Rini53633a82024-02-29 12:33:36 -050040 };
41
42 padctl@3520000 {
43 status = "okay";
44 };
45 };
46
47 gpio-keys {
48 compatible = "gpio-keys";
49
50 key-force-recovery {
51 label = "Force Recovery";
52 gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
53 linux,input-type = <EV_KEY>;
54 linux,code = <BTN_1>;
55 };
56
57 key-power {
58 label = "Power";
59 gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
60 linux,input-type = <EV_KEY>;
61 linux,code = <KEY_POWER>;
62 wakeup-event-action = <EV_ACT_ASSERTED>;
63 wakeup-source;
64 };
65
66 key-suspend {
67 label = "Suspend";
68 gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
69 linux,input-type = <EV_KEY>;
70 linux,code = <KEY_SLEEP>;
71 };
72 };
73
74 pwm-fan {
75 cooling-levels = <0 88 187 255>;
76 };
77
78 vdd_3v3_pcie: regulator-vdd-3v3-pcie {
79 compatible = "regulator-fixed";
80 regulator-name = "VDD_3V3_PCIE";
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
83 gpio = <&gpio_aon TEGRA234_AON_GPIO(AA, 5) GPIO_ACTIVE_HIGH>;
84 enable-active-high;
85 };
86
Tom Rini6bb92fc2024-05-20 09:54:58 -060087 sound {
88 label = "NVIDIA Jetson Orin NX APE";
89 };
90
Tom Rini53633a82024-02-29 12:33:36 -050091 thermal-zones {
92 tj-thermal {
93 cooling-maps {
94 map-active-0 {
95 cooling-device = <&fan 0 1>;
96 trip = <&tj_trip_active0>;
97 };
98
99 map-active-1 {
100 cooling-device = <&fan 1 2>;
101 trip = <&tj_trip_active1>;
102 };
103
104 map-active-2 {
105 cooling-device = <&fan 2 3>;
106 trip = <&tj_trip_active2>;
107 };
108 };
109 };
110 };
111};