Files
linux-nv-oot/arch/arm64/boot/dts/nvidia/tegra234-p3710-0020-a01-linux-native.dts
Bitan Biswas c10dad7d43 ARM64: DT: nvidia: add t234 p3710 dts
Reuse concord DT to add minimal boot
DT nodes for T234 firespray OOT build and boot
 - quickboot needs memory DT node before
   kernel boot can start
 - create initial firespray dts for below:
       tegra234-p3710-0010-a01-linux-native.dts
       tegra234-p3710-0010-a04-linux-native.dts
       tegra234-p3710-0020-a01-linux-native.dts

Bug 3523182

Change-Id: Id8ea6f2b3afa56345a7e1c3a41bee7390247e487
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2732635
GVS: Gerrit_Virtual_Submit
2022-07-31 01:10:39 -07:00

88 lines
1.5 KiB
Devicetree

// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/;
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/input/gpio-keys.h>
#include "tegra234-soc-base.dtsi"
/ {
compatible = "nvidia,tegra234";
bus@0 {
spi@3270000 {
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <102000000>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
};
};
mmc@3460000 {
status = "okay";
bus-width = <8>;
non-removable;
};
rtc@c2a0000 {
status = "okay";
};
pmc@c360000 {
nvidia,invert-interrupt;
};
};
};
/ {
model = "p3710-0010";
compatible = "nvidia,tegra234";
aliases {
mmc0 = "/bus@0/mmc@3460000";
serial0 = &tcu;
};
chosen {
bootargs = "console=ttyS0,115200n8";
stdout-path = "serial0:115200n8";
};
gpio-keys {
compatible = "gpio-keys";
status = "okay";
force-recovery {
label = "Force Recovery";
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;
linux,code = <BTN_1>;
};
power-key {
label = "Power";
gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;
linux,code = <KEY_POWER>;
wakeup-event-action = <EV_ACT_ASSERTED>;
wakeup-source;
};
suspend {
label = "Suspend";
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
linux,input-type = <EV_KEY>;
linux,code = <KEY_SLEEP>;
};
};
serial {
status = "okay";
};
};