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
This commit is contained in:
Bitan Biswas
2022-07-14 16:17:32 +00:00
committed by mobile promotions
parent 3d227e1933
commit c10dad7d43
5 changed files with 1571 additions and 0 deletions

View File

@@ -1,4 +1,15 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# DT overlays
dtbo-y += tegra194-carveouts.dtbo
dtbo-y += tegra194-p3509-0000+p3668-0001-overlay.dtbo
dtbo-y += tegra234-p3737-0000+p3701-0000-overlay.dtbo
# Nvidia internal DT platforms
# firespray DT
dtb-y += tegra234-p3710-0010-a01-linux-native.dtb
dtb-y += tegra234-p3710-0010-a04-linux-native.dtb
dtb-y += tegra234-p3710-0020-a01-linux-native.dtb

View File

@@ -0,0 +1,87 @@
// 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";
};
};

View File

@@ -0,0 +1,87 @@
// 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";
};
};

View File

@@ -0,0 +1,87 @@
// 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";
};
};

View File

File diff suppressed because it is too large Load Diff