Add base DTBs from the mainline for tegra234-p3737

Add base file DTS from the kernel-oot.
The folder commit log is

kernel-oot/arch/arm64/boot/dts/nvidia$ git log --oneline .
6cc6b20262452 [UPSTREAM PENDING]: ARM64: DT: tegra234: bump uarti reg
1e221c7b8867e [UPSTREAM v6.2]: arm64: tegra: Add SBSA UART for Tegra234
ec69e7d624b94 [UPSTREAM PENDING]: arch: arm64: DT: nvidia: fix reg tuples
76732ca4fd00f [UPSTREAM PENDING]: arm64: tegra: Bump #address-cells and #size-cells
568e9d3723fea [UPSTREAM PENDING]: arm64: tegra: Enable XUSB host and device on Jetson AGX Orin
5ace59fa956a4 [UPSTREAM PENDING]: arm64: tegra: Add iommus property to pcie nodes
4525ffc4d5237 [UPSTREAM PENDING]: arm64: tegra: Add uphy lane number and intr in p2u nodes
8b9c57f5db5cf [UPSTREAM v6.1]: arm64: tegra: Fix Prefetchable aperture ranges of Tegra234 PCIe controllers
7314e1bce4e7b UPSTREAM: arm64: tegra: Add node for CBB 2.0 on Tegra234

Bug 3948596

Change-Id: Ic1fc6190a9a1f0e5aa00544f8fb9dfb84d9852f1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2846913
Reviewed-by: svcacv <svcacv@nvidia.com>
Tested-by: Prathamesh Shete <pshete@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-01-20 15:35:28 +00:00
parent ec3ad68589
commit e78eb6bffd
5 changed files with 5559 additions and 0 deletions

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
DTC_FLAGS += -@
old-dtb := $(dtb-y)
old-dtbo := $(dtbo-y)
dtb-y :=
dtbo-y :=
makefile-path := platform/t23x/concord/dts/generic-dts/base
dtb-y += tegra234-p3737-0000+p3701-0000.dtb
ifneq ($(dtb-y),)
dtb-y := $(addprefix $(makefile-path)/,$(dtb-y))
endif
ifneq ($(dtbo-y),)
dtbo-y := $(addprefix $(makefile-path)/,$(dtbo-y))
endif
dtb-y += $(old-dtb)
dtbo-y += $(old-dtbo)

120
tegra234-p3701-0000.dtsi Normal file
View File

@@ -0,0 +1,120 @@
// SPDX-License-Identifier: GPL-2.0
#include "tegra234.dtsi"
/ {
model = "NVIDIA Jetson AGX Orin";
compatible = "nvidia,p3701-0000", "nvidia,tegra234";
vdd_1v8_ls: regulator-vdd-1v8-ls {
compatible = "regulator-fixed";
regulator-name = "VDD_1V8_LS";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
vdd_1v8_ao: regulator-vdd-1v8-ao {
compatible = "regulator-fixed";
regulator-name = "VDD_1V8_AO";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
vdd_3v3_pcie: regulator-vdd-3v3-pcie {
compatible = "regulator-fixed";
regulator-name = "VDD_3V3_PCIE";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA234_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
regulator-boot-on;
enable-active-high;
};
vdd_12v_pcie: regulator-vdd-12v-pcie {
compatible = "regulator-fixed";
regulator-name = "VDD_12V_PCIE";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
gpio = <&gpio TEGRA234_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>;
regulator-boot-on;
enable-active-low;
};
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;
};
padctl@3520000 {
vclamp-usb-supply = <&vdd_ao_1v8>;
avdd-usb-supply = <&vdd_ao_3v3>;
ports {
usb2-0 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-1 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-2 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-3 {
vbus-supply = <&vdd_5v0_sys>;
};
};
};
rtc@c2a0000 {
status = "okay";
};
pmc@c360000 {
nvidia,invert-interrupt;
};
};
vdd_5v0_sys: regulator@0 {
compatible = "regulator-fixed";
regulator-name = "VIN_SYS_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_ao_1v8: regulator@1 {
compatible = "regulator-fixed";
regulator-name = "vdd-AO-1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
vdd_ao_3v3: regulator@2 {
compatible = "regulator-fixed";
regulator-name = "vdd-AO-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};

View File

File diff suppressed because it is too large Load Diff

5
tegra234-p3737-0000.dtsi Normal file
View File

@@ -0,0 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/ {
compatible = "nvidia,p3737-0000";
};

3341
tegra234.dtsi Normal file
View File

File diff suppressed because it is too large Load Diff