mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
As part of the process to transitioning to a full featured
base dtb, we need the ability to include various files without
completely rewriting them. This will be an incremental step.
Eventually these preprocessor commands will be removed and
the indentation fixed.
This change is not intended to change any behavior. It is merely
adding the infrastructure for future patches. It will be possible
for a base dts file to define REMOVE_FRAGMENT_SYNTAX and directly
include these files.
Bug 4290389
Change-Id: I778bc25dcd7e4fa96f003882e34e38fe5aaf40e7
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992336
(cherry picked from commit a011a22ad5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002425
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
241 lines
6.3 KiB
Devicetree
241 lines
6.3 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-only
|
|
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#include "tegra234-soc-audio-dai-links.dtsi"
|
|
|
|
/ {
|
|
#ifndef REMOVE_FRAGMENT_SYNTAX
|
|
fragment-t234-p3740-0002@0 {
|
|
target-path = "/";
|
|
__overlay__ {
|
|
#endif
|
|
bus@0 {
|
|
i2c@31c0000 {
|
|
typec: stusb1600@28 {
|
|
status = "okay";
|
|
compatible = "st,stusb1600";
|
|
reg = <0x28>;
|
|
vdd-supply = <&p3740_vdd_5v_sys>;
|
|
vsys-supply = <&vdd_3v3_sys>;
|
|
interrupt-parent = <&gpio>;
|
|
interrupts = <TEGRA234_MAIN_GPIO(K, 6) IRQ_TYPE_LEVEL_LOW>;
|
|
typec_con: connector {
|
|
compatible = "usb-c-connector";
|
|
label = "USB-C";
|
|
data-role = "dual";
|
|
power-role = "dual";
|
|
typec-power-opmode = "default";
|
|
|
|
port {
|
|
typec_con_ep: endpoint {
|
|
remote-endpoint = <&usb_role_switch0>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
i2c@c250000 {
|
|
f75308@4d {
|
|
compatible = "fintek,f75308";
|
|
reg = <0x4d>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
fan@0 {
|
|
reg = <0x0>;
|
|
type = "pwm";
|
|
duty = "manual_duty";
|
|
5seg = <100 80 60 40 20>;
|
|
};
|
|
|
|
fan@1 {
|
|
reg = <0x1>;
|
|
type = "pwm";
|
|
duty = "manual_duty";
|
|
5seg = <100 80 60 40 20>;
|
|
};
|
|
|
|
fan@2 {
|
|
reg = <0x2>;
|
|
type = "pwm";
|
|
duty = "manual_duty";
|
|
5seg = <100 80 60 40 20>;
|
|
};
|
|
|
|
fan@3 {
|
|
reg = <0x3>;
|
|
type = "pwm";
|
|
duty = "manual_duty";
|
|
5seg = <100 80 60 40 20>;
|
|
};
|
|
};
|
|
};
|
|
|
|
padctl@3520000 {
|
|
ports {
|
|
usb2-0 {
|
|
port {
|
|
usb_role_switch0: endpoint {
|
|
remote-endpoint = <&typec_con_ep>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
sound {
|
|
compatible = "nvidia,tegra186-audio-graph-card",
|
|
"nvidia,tegra186-ape";
|
|
clocks = <&bpmp TEGRA234_CLK_PLLA>,
|
|
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
|
|
<&bpmp TEGRA234_CLK_AUD_MCLK>;
|
|
clock-names = "pll_a", "plla_out0", "extern1";
|
|
assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
|
|
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
|
|
|
|
nvidia-audio-card,name = "NVIDIA Jetson IGX Orin APE";
|
|
|
|
nvidia-audio-card,mclk-fs = <256>;
|
|
|
|
nvidia-audio-card,widgets =
|
|
"Headphone", "CVB-RT Headphone Jack",
|
|
"Microphone", "CVB-RT Mic Jack",
|
|
"Speaker", "CVB-RT Int Spk",
|
|
"Microphone", "CVB-RT Int Mic";
|
|
|
|
nvidia-audio-card,routing =
|
|
"CVB-RT Headphone Jack", "CVB-RT HPOL",
|
|
"CVB-RT Headphone Jack", "CVB-RT HPOR",
|
|
"CVB-RT IN1P", "CVB-RT Mic Jack",
|
|
"CVB-RT IN2P", "CVB-RT Mic Jack",
|
|
"CVB-RT IN2N", "CVB-RT Mic Jack",
|
|
"CVB-RT IN3P", "CVB-RT Mic Jack",
|
|
"CVB-RT Int Spk", "CVB-RT SPOLP",
|
|
"CVB-RT Int Spk", "CVB-RT SPORP",
|
|
"CVB-RT Int Spk", "CVB-RT LOUTL",
|
|
"CVB-RT Int Spk", "CVB-RT LOUTR",
|
|
"CVB-RT DMIC1", "CVB-RT Int Mic",
|
|
"CVB-RT DMIC2", "CVB-RT Int Mic";
|
|
|
|
/* I2S4 dai node */
|
|
nvidia-audio-card,dai-link@79 {
|
|
link-name = "rt5640-playback";
|
|
codec {
|
|
sound-dai = <&rt5640 0>;
|
|
prefix = "CVB-RT";
|
|
};
|
|
};
|
|
|
|
/* I2S6 dai node */
|
|
nvidia-audio-card,dai-link@81 {
|
|
bitclock-master;
|
|
frame-master;
|
|
};
|
|
};
|
|
|
|
eeprom-manager {
|
|
bus@0 {
|
|
i2c-bus = <&dp_aux_ch2_i2c>;
|
|
eeprom@1 {
|
|
slave-address = <0x55>;
|
|
label = "cvb";
|
|
};
|
|
};
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
linux,cma { /* Needed for nvgpu comptags */
|
|
compatible = "shared-dma-pool";
|
|
reusable;
|
|
size = <0x0 0x20000000>; /* 512MB */
|
|
alignment = <0x0 0x10000>;
|
|
linux,cma-default;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
p3740_vdd_0v95_AO: regulator-vdd-0v95-AO {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-0v95-AO";
|
|
regulator-min-microvolt = <950000>;
|
|
regulator-max-microvolt = <950000>;
|
|
};
|
|
p3740_vdd_12v_sys: regulator-vdd-12v-sys {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-12v-sys";
|
|
regulator-min-microvolt = <12000000>;
|
|
regulator-max-microvolt = <12000000>;
|
|
};
|
|
p3740_vdd_1v05_AO: regulator-vdd-1v05-AO {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-1v05-AO";
|
|
regulator-min-microvolt = <1050000>;
|
|
regulator-max-microvolt = <1050000>;
|
|
};
|
|
p3740_vdd_1v0_sys: regulator-vdd-1v0-sys {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-1v0-sys";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
};
|
|
p3740_vdd_1v1_sys: regulator-vdd-1v1-sys {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-1v1-sys";
|
|
regulator-min-microvolt = <1100000>;
|
|
regulator-max-microvolt = <1100000>;
|
|
};
|
|
p3740_vdd_1v8_AO: regulator-vdd-1v8-AO {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-1v8-AO";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
p3740_vdd_1v8_sys: regulator-vdd-1v8-sys {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-1v8-sys";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
p3740_vdd_2v5_sys: regulator-vdd-2v5-sys {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-2v5-sys";
|
|
regulator-min-microvolt = <2500000>;
|
|
regulator-max-microvolt = <2500000>;
|
|
};
|
|
p3740_vdd_2v8_sys: regulator-vdd-2v8-sys {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-2v8-sys";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
};
|
|
p3740_vdd_3v3_AO: regulator-vdd-3v3-AO {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-3v3-AO";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
};
|
|
p3740_vdd_3v7_AO: regulator-vdd-3v7-AO {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-3v7-AO";
|
|
regulator-min-microvolt = <3700000>;
|
|
regulator-max-microvolt = <3700000>;
|
|
};
|
|
p3740_vdd_5v_sys: regulator-vdd-5v-sys {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd-5v-sys";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
};
|
|
#ifndef REMOVE_FRAGMENT_SYNTAX
|
|
};
|
|
};
|
|
#endif
|
|
};
|