forked from rrcarlosr/Jetpack
583 lines
13 KiB
Plaintext
583 lines
13 KiB
Plaintext
|
|
/*Common dts for cti boards.
|
|
|
|
INCLUDE DO NOT COPY
|
|
|
|
merged in tegra194-p2888-0000-a00.dtsi tegra194-p2822-0000-a00.dtsi
|
|
removed plugins
|
|
*/
|
|
#include <dt-bindings/pwm/pwm.h>
|
|
#include "dt-bindings/extcon-ids.h"
|
|
#include "dt-bindings/gpio/tegra194-gpio.h"
|
|
#include "dt-bindings/input/input.h"
|
|
#include <t19x-common-modules/tegra194-cvm-p2888-0000-a00.dtsi>
|
|
//#include <t19x-common-modules/tegra194-cvb-p2822-0000-a00.dtsi>
|
|
#include <t19x-common-platforms/tegra194-platforms-eqos.dtsi>
|
|
//#include <t19x-common-platforms/tegra194-no-pll-aon-clock.dtsi>
|
|
|
|
#include "tegra194-eeprom-manager-p2888-0000.dtsi"
|
|
#include "tegra194-powermon-p2888.dtsi"
|
|
#include "tegra194-p2822-disp.dtsi"
|
|
|
|
#include "tegra194-agx-cti-power-tree.dtsi"
|
|
#include "tegra194-thermal-p2888.dtsi"
|
|
#include "tegra194-p2888-0006-p2822-common.dtsi"
|
|
|
|
/ {
|
|
nvidia,dtsfilename = "tegra194-agx-8gb-cti-base.dtsi";
|
|
nvidia,dtbbuildtime = __DATE__, __TIME__;
|
|
nvidia,fastboot-usb-vid = <0x0955>;
|
|
nvidia,fastboot-usb-pid = <0xee1e>;
|
|
|
|
model = "jetson-xavier";
|
|
compatible = "nvidia,jetson-xavier-8gb", "nvidia,tegra194";
|
|
|
|
chosen {
|
|
bootargs ="console=ttyTCU0,115200";
|
|
board-has-eeprom;
|
|
};
|
|
|
|
firmware {
|
|
android {
|
|
compatible = "android,firmware";
|
|
hardware = "jetson-xavier";
|
|
fstab {
|
|
compatible = "android,fstab";
|
|
vendor {
|
|
compatible = "android,vendor";
|
|
dev = "/dev/block/platform/3460000.sdhci/by-name/vendor";
|
|
type = "ext4";
|
|
mnt_flags = "ro";
|
|
fsmgr_flags = "wait";
|
|
};
|
|
odm {
|
|
compatible = "android,odm";
|
|
dev = "/dev/block/platform/3460000.sdhci/by-name/odm";
|
|
type = "ext4";
|
|
mnt_flags = "ro";
|
|
fsmgr_flags = "wait";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
arm64_ras {
|
|
status = "okay";
|
|
};
|
|
|
|
carmel_ras {
|
|
status = "okay";
|
|
};
|
|
|
|
spi@3270000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
spi@3300000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
pmc@c370000 {
|
|
nvidia,invert-interrupt;
|
|
};
|
|
|
|
|
|
#if TEGRA_XUSB_PADCONTROL_VERSION >= DT_VERSION_2
|
|
//enabled needed ports here
|
|
xusb_padctl: xusb_padctl@3520000 {
|
|
status = "okay";
|
|
|
|
pads {
|
|
usb2 {
|
|
lanes {
|
|
usb2-0 {
|
|
nvidia,function = "xusb";
|
|
status = "disabled";
|
|
};
|
|
usb2-1 {
|
|
nvidia,function = "xusb";
|
|
status = "disabled";
|
|
};
|
|
usb2-2 {
|
|
nvidia,function = "xusb";
|
|
status = "disabled";
|
|
};
|
|
usb2-3 {
|
|
nvidia,function = "xusb";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
usb3 {
|
|
lanes {
|
|
usb3-0 {
|
|
nvidia,function = "xusb";
|
|
status = "disabled";
|
|
};
|
|
usb3-1 {
|
|
nvidia,function = "xusb";
|
|
status = "disabled";
|
|
};
|
|
usb3-2 {
|
|
nvidia,function = "xusb";
|
|
status = "disabled";
|
|
};
|
|
usb3-3 {
|
|
nvidia,function = "xusb";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
ports {
|
|
usb2-0 {
|
|
mode = "host";
|
|
status = "disabled";
|
|
};
|
|
usb2-1 {
|
|
mode = "host";
|
|
status = "disabled";
|
|
};
|
|
usb2-2 {
|
|
mode = "host";
|
|
status = "disabled";
|
|
};
|
|
usb2-3 {
|
|
mode = "host";
|
|
status = "disabled";
|
|
};
|
|
usb3-0 {
|
|
status = "disabled";
|
|
};
|
|
usb3-1{
|
|
status = "disabled";
|
|
};
|
|
usb3-2 {
|
|
status = "disabled";
|
|
};
|
|
usb3-3 {
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
#endif
|
|
|
|
tegra_xudc: xudc@3550000 {
|
|
#if TEGRA_XUSB_PADCONTROL_VERSION >= DT_VERSION_2
|
|
/delete-property/ phys;
|
|
phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>,
|
|
<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-2}>;
|
|
|
|
/delete-property/ phy-names;
|
|
phy-names = "usb2", "usb3";
|
|
nvidia,xusb-padctl = <&xusb_padctl>;
|
|
#endif
|
|
status = "disabled";
|
|
};
|
|
|
|
tegra_xhci: xhci@3610000 {
|
|
#if TEGRA_XUSB_PADCONTROL_VERSION >= DT_VERSION_2
|
|
phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>,
|
|
<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-1}>,
|
|
<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-2}>,
|
|
<&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-3}>,
|
|
<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-0}>,
|
|
<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-1}>,
|
|
<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-2}>,
|
|
<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-3}>;
|
|
phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3",
|
|
"usb3-0", "usb3-1", "usb3-2", "usb3-3";
|
|
nvidia,xusb-padctl = <&xusb_padctl>;
|
|
#endif
|
|
status = "okay";
|
|
};
|
|
|
|
arm-pmu {
|
|
status = "okay";
|
|
};
|
|
|
|
power-domain {
|
|
status = "disabled";
|
|
};
|
|
|
|
interrupt-controller {
|
|
status = "disabled";
|
|
};
|
|
|
|
mods-simple-bus {
|
|
status = "disabled";
|
|
};
|
|
|
|
eeprom-manager {
|
|
status = "disabled";
|
|
};
|
|
|
|
cpuidle {
|
|
compatible = "nvidia,tegra19x-cpuidle";
|
|
status = "okay";
|
|
};
|
|
|
|
thermal-zones {
|
|
status = "disabled";
|
|
};
|
|
|
|
reserved-memory {
|
|
ramoops_carveout {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
mttcan@c310000 {
|
|
status = "okay";
|
|
pll_source = "pllaon";
|
|
clocks = <&bpmp_clks TEGRA194_CLK_CAN1_CORE>,
|
|
<&bpmp_clks TEGRA194_CLK_CAN1_HOST>,
|
|
<&bpmp_clks TEGRA194_CLK_CAN1>,
|
|
<&bpmp_clks TEGRA194_CLK_OSC>,
|
|
<&bpmp_clks TEGRA194_CLK_PLLAON>;
|
|
clock-names = "can_core", "can_host","can", "osc", "pllaon";
|
|
};
|
|
|
|
mttcan@c320000 {
|
|
status = "okay";
|
|
pll_source = "pllaon";
|
|
clocks = <&bpmp_clks TEGRA194_CLK_CAN2_CORE>,
|
|
<&bpmp_clks TEGRA194_CLK_CAN2_HOST>,
|
|
<&bpmp_clks TEGRA194_CLK_CAN2>,
|
|
<&bpmp_clks TEGRA194_CLK_OSC>,
|
|
<&bpmp_clks TEGRA194_CLK_PLLAON>;
|
|
clock-names = "can_core", "can_host","can", "osc", "pllaon";
|
|
};
|
|
|
|
clocks-init {
|
|
compatible = "nvidia,clocks-config";
|
|
status = "okay";
|
|
disable {
|
|
clocks = <&bpmp_clks TEGRA194_CLK_CAN1>,
|
|
<&bpmp_clks TEGRA194_CLK_CAN2>;
|
|
};
|
|
};
|
|
|
|
serial@3110000 {
|
|
status = "okay";
|
|
};
|
|
|
|
pwm@32c0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
pwm@32f0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@c240000 {
|
|
multi-master;
|
|
};
|
|
|
|
watchdog@30c0000{
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
soft_wdt:soft_watchdog {
|
|
compatible = "softdog-platform";
|
|
status = "okay";
|
|
};
|
|
|
|
host1x {
|
|
dpaux@155F0000 {
|
|
status = "okay";
|
|
compatible = "nvidia,tegra194-dpaux3-padctl";
|
|
/delete-property/ power-domains;
|
|
dpaux_default: pinmux@0 {
|
|
dpaux3_pins {
|
|
pins = "dpaux3-3";
|
|
function = "i2c";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
hardwood {
|
|
compatible = "nvidia,denver-hardwood";
|
|
interrupts = <0 24 0x4>;
|
|
};
|
|
|
|
ufshci@2450000 {
|
|
nvidia,enable-hs-mode;
|
|
};
|
|
|
|
serial@3100000 {
|
|
compatible = "nvidia,tegra186-hsuart";
|
|
status = "okay";
|
|
};
|
|
|
|
serial@3140000 {
|
|
compatible = "nvidia,tegra186-hsuart";
|
|
status = "okay";
|
|
};
|
|
|
|
combined-uart {
|
|
console-port;
|
|
combined-uart;
|
|
status = "okay";
|
|
};
|
|
|
|
pwm@c340000 {
|
|
status = "okay";
|
|
};
|
|
|
|
tachometer@39c0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
sdhci@3460000 {
|
|
uhs-mask = <0x0>;
|
|
nvidia,enable-hwcq;
|
|
status = "okay";
|
|
};
|
|
|
|
sdhci@3400000 {
|
|
mmc-ocr-mask = <0x0>;
|
|
cd-gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(G, 7) 0>;
|
|
nvidia,cd-wakeup-capable;
|
|
status = "okay";
|
|
};
|
|
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
gpio-keys,name = "gpio-keys";
|
|
|
|
forcerecovery {
|
|
label = "force-recovery";
|
|
gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
|
|
linux,code = <BTN_1>;
|
|
};
|
|
|
|
power_key {
|
|
label = "power-key";
|
|
gpios = <&tegra_aon_gpio TEGRA194_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_POWER>;
|
|
gpio-key,wakeup;
|
|
};
|
|
};
|
|
|
|
|
|
mipical@3990000 {
|
|
status = "okay";
|
|
};
|
|
|
|
tegra-hsp@b950000 {
|
|
status = "okay";
|
|
};
|
|
rtcpu@bc00000 {
|
|
status = "okay";
|
|
nvidia,cmd-timeout = <2000>;
|
|
};
|
|
|
|
gpio@c2f0000 {
|
|
pex-refclk-sel-low {
|
|
gpio-hog;
|
|
output-low;
|
|
gpios = <TEGRA194_AON_GPIO(AA, 5) 0>;
|
|
label = "pex_refclk_sel_low";
|
|
status = "disabled";
|
|
};
|
|
|
|
pex-refclk-sel-high {
|
|
gpio-hog;
|
|
output-high;
|
|
gpios = <TEGRA194_AON_GPIO(AA, 5) 0>;
|
|
label = "pex_refclk_sel_high";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
gpio@2200000 {
|
|
pcie-reg-enable {
|
|
gpio-hog;
|
|
gpios = <TEGRA194_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH
|
|
TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>;
|
|
label = "pcie-3v3-reg", "pcie-12v-reg";
|
|
output-high;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
pcie@14180000 {
|
|
status = "disabled";
|
|
|
|
vddio-pex-ctl-supply = <&p2888_spmic_sd3>;
|
|
nvidia,disable-aspm-states = <0xf>;
|
|
nvidia,enable-power-down;
|
|
|
|
/*Copied from tegra194-p2888-0006-p2822-0000.dts*/
|
|
nvidia,max-speed = <3>;
|
|
|
|
phys = <&p2u_2>,
|
|
<&p2u_3>,
|
|
<&p2u_4>,
|
|
<&p2u_5>;
|
|
phy-names = "pcie-p2u-0", "pcie-p2u-1", "pcie-p2u-2", "pcie-p2u-3";
|
|
};
|
|
|
|
pcie@14100000 {
|
|
status = "disabled";
|
|
|
|
vddio-pex-ctl-supply = <&p2888_spmic_sd3>;
|
|
nvidia,disable-aspm-states = <0xf>;
|
|
nvidia,enable-power-down;
|
|
|
|
nvidia,max-speed = <1>;
|
|
|
|
phys = <&p2u_0>;
|
|
phy-names = "pcie-p2u-0";
|
|
};
|
|
|
|
pcie@14160000 {
|
|
status = "disabled";
|
|
|
|
vddio-pex-ctl-supply = <&p2888_spmic_sd3>;
|
|
nvidia,disable-aspm-states = <0xf>;
|
|
nvidia,enable-power-down;
|
|
|
|
};
|
|
pcie@14140000 {
|
|
status = "disabled";
|
|
|
|
nvidia,pex-wake = <&tegra_main_gpio TEGRA194_MAIN_GPIO(L, 2)
|
|
GPIO_ACTIVE_HIGH>;
|
|
vddio-pex-ctl-supply = <&p2888_spmic_sd3>;
|
|
nvidia,disable-aspm-states = <0xf>;
|
|
nvidia,enable-power-down;
|
|
|
|
/*Copied from tegra194-p2888-0006-p2822-0000.dts*/
|
|
nvidia,max-speed = <3>;
|
|
|
|
phys = <&p2u_7>;
|
|
phy-names = "pcie-p2u-0";
|
|
};
|
|
pcie@141a0000 {
|
|
status = "disabled";
|
|
|
|
vddio-pex-ctl-supply = <&p2888_spmic_sd3>;
|
|
nvidia,disable-aspm-states = <0xf>;
|
|
nvidia,enable-power-down;
|
|
|
|
/*Copied from tegra194-p2888-0006-p2822-0000.dts*/
|
|
nvidia,max-speed = <3>;
|
|
|
|
phys = <&p2u_12>,
|
|
<&p2u_13>,
|
|
<&p2u_14>,
|
|
<&p2u_15>,
|
|
<&p2u_16>,
|
|
<&p2u_17>,
|
|
<&p2u_18>,
|
|
<&p2u_19>;
|
|
|
|
phy-names = "pcie-p2u-0", "pcie-p2u-1", "pcie-p2u-2", "pcie-p2u-3",
|
|
"pcie-p2u-4", "pcie-p2u-5", "pcie-p2u-6", "pcie-p2u-7";
|
|
};
|
|
|
|
pcie_ep@141a0000 {
|
|
status = "disabled";
|
|
|
|
nvidia,disable-aspm-states = <0xf>;
|
|
|
|
/*Copied from tegra194-p2888-0006-p2822-0000.dts*/
|
|
nvidia,max-speed = <3>;
|
|
|
|
vddio-pex-ctl-supply = <&p2888_spmic_sd3>;
|
|
|
|
phys = <&p2u_12>, <&p2u_13>, <&p2u_14>, <&p2u_15>,
|
|
<&p2u_16>, <&p2u_17>, <&p2u_18>, <&p2u_19>;
|
|
phy-names = "pcie-p2u-0", "pcie-p2u-1", "pcie-p2u-2", "pcie-p2u-3",
|
|
"pcie-p2u-4", "pcie-p2u-5", "pcie-p2u-6", "pcie-p2u-7";
|
|
|
|
nvidia,pex-rst-gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(GG, 1)
|
|
GPIO_ACTIVE_LOW>;
|
|
};
|
|
//PWM FAN
|
|
pfsd {
|
|
pwm_polarity = <PWM_POLARITY_NORMAL>;
|
|
suspend_state = <0>;
|
|
};
|
|
|
|
host1x{
|
|
nvdisplay@15200000 {
|
|
vdd_hdmi_5v0-supply = <&battery_reg>;
|
|
};
|
|
nvdisplay@15210000 {
|
|
vdd_hdmi_5v0-supply = <&battery_reg>;
|
|
};
|
|
|
|
nvdisplay@15220000 {
|
|
vdd_hdmi_5v0-supply = <&battery_reg>;
|
|
};
|
|
|
|
nvdisplay@15230000 {
|
|
vdd_hdmi_5v0-supply = <&battery_reg>;
|
|
};
|
|
|
|
sor {
|
|
status = "disabled";
|
|
|
|
nvidia,active-panel = <&sor0_hdmi_display>;
|
|
|
|
hdmi-display {
|
|
status = "disabled";
|
|
|
|
disp-default-out {
|
|
nvidia,out-flags = <TEGRA_DC_OUT_HOTPLUG_LOW>;
|
|
};
|
|
};
|
|
dp-display {
|
|
status = "disabled";
|
|
};
|
|
|
|
};
|
|
|
|
sor1 {
|
|
status = "disabled";
|
|
|
|
nvidia,active-panel = <&sor1_hdmi_display>;
|
|
hdmi-display {
|
|
status = "disabled";
|
|
disp-default-out {
|
|
nvidia,out-flags = <TEGRA_DC_OUT_HOTPLUG_LOW>;
|
|
};
|
|
};
|
|
dp-display {
|
|
status = "disabled";
|
|
};
|
|
|
|
};
|
|
|
|
sor2 {
|
|
status = "disabled";
|
|
nvidia,active-panel = <&sor2_hdmi_display>;
|
|
hdmi-display {
|
|
status = "disabled";
|
|
disp-default-out {
|
|
nvidia,out-flags = <TEGRA_DC_OUT_HOTPLUG_LOW>;
|
|
};
|
|
};
|
|
dp-display {
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
|
|
ether_qos@2490000 {
|
|
nvidia,pause_frames = <1>; //1=disabled
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#if LINUX_VERSION >= 414
|
|
#include <tegra194-linux-4.14.dtsi>
|
|
#endif
|