1// SPDX-License-Identifier: GPL-2.0
2
3#include <dt-bindings/input/input.h>
4#include <dt-bindings/input/gpio-keys.h>
5#include "tegra210.dtsi"
6
7/ {
8	aliases {
9		serial0 = &uarta;
10	};
11
12	chosen {
13		bootargs = "earlycon";
14		stdout-path = "serial0:115200n8";
15	};
16
17	memory {
18		device_type = "memory";
19		reg = <0x0 0x80000000 0x0 0xc0000000>;
20	};
21
22	serial@70006000 {
23		status = "okay";
24	};
25
26	pmc@7000e400 {
27		nvidia,invert-interrupt;
28		nvidia,suspend-mode = <0>;
29		nvidia,cpu-pwr-good-time = <0>;
30		nvidia,cpu-pwr-off-time = <0>;
31		nvidia,core-pwr-good-time = <4587 3876>;
32		nvidia,core-pwr-off-time = <39065>;
33		nvidia,core-power-req-active-high;
34		nvidia,sys-clock-req-active-high;
35		status = "okay";
36	};
37
38	sdhci@700b0600 {
39		bus-width = <8>;
40		non-removable;
41		status = "okay";
42	};
43
44	clocks {
45		compatible = "simple-bus";
46		#address-cells = <1>;
47		#size-cells = <0>;
48
49		clk32k_in: clock@0 {
50			compatible = "fixed-clock";
51			reg = <0>;
52			#clock-cells = <0>;
53			clock-frequency = <32768>;
54		};
55	};
56
57	gpio-keys {
58		compatible = "gpio-keys";
59		status = "okay";
60
61		power {
62			debounce-interval = <30>;
63			gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
64			label = "Power";
65			linux,code = <KEY_POWER>;
66			wakeup-event-action = <EV_ACT_ASSERTED>;
67			wakeup-source;
68		};
69	};
70
71	cpus {
72		cpu@0 {
73			enable-method = "psci";
74		};
75
76		cpu@1 {
77			enable-method = "psci";
78		};
79
80		cpu@2 {
81			enable-method = "psci";
82		};
83
84		cpu@3 {
85			enable-method = "psci";
86		};
87	};
88
89	psci {
90		compatible = "arm,psci-1.0";
91		method = "smc";
92	};
93};
94