forked from rrcarlosr/Jetpack
290 lines
6.9 KiB
Plaintext
290 lines
6.9 KiB
Plaintext
/*
|
|
* Top level DTS file for AGX102.
|
|
*/
|
|
#include "common/tegra194-agx-cti-base.dtsi"
|
|
|
|
/{
|
|
nvidia,dtsfilename = "tegra194-agx-cti-AGX102.dts";
|
|
nvidia,dtbbuildtime = __DATE__, __TIME__;
|
|
|
|
fixed-regulators {
|
|
p2822_vdd_1v8_sd: regulator@104 {
|
|
/delete-property/ gpio;
|
|
/delete-property/ enable-active-high;
|
|
};
|
|
|
|
p2822_vdd_sdmmc1_sw: regulator@106 {
|
|
/delete-property/ gpio;
|
|
/delete-property/ enable-active-high;
|
|
};
|
|
|
|
p2822_vdd_hdmi_5v0: regulator@112 {
|
|
/delete-property/ gpio;
|
|
/delete-property/ enable-active-high;
|
|
};
|
|
|
|
p2822_vdd_sys_en: regulator@113 {
|
|
/delete-property/ gpio;
|
|
/delete-property/ enable-active-high;
|
|
};
|
|
};
|
|
|
|
|
|
#if TEGRA_XUSB_PADCONTROL_VERSION >= DT_VERSION_2
|
|
xusb_padctl: xusb_padctl@3520000 {
|
|
status = "okay";
|
|
|
|
pads {
|
|
usb2 {
|
|
lanes {
|
|
usb2-0 {
|
|
status = "okay";
|
|
};
|
|
usb2-1 {
|
|
status = "okay";
|
|
};
|
|
usb2-2 {
|
|
status = "okay";
|
|
};
|
|
usb2-3 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
usb3 {
|
|
lanes {
|
|
usb3-0 {
|
|
status = "okay";
|
|
};
|
|
usb3-1 {
|
|
status = "disabled";
|
|
};
|
|
usb3-2 {
|
|
status = "okay";
|
|
};
|
|
usb3-3 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
ports {
|
|
usb2-0 {
|
|
status = "okay";
|
|
mode = "otg";
|
|
};
|
|
usb2-1 {
|
|
status = "okay";
|
|
};
|
|
usb2-2 {
|
|
status = "okay";
|
|
};
|
|
usb2-3 {
|
|
status = "okay";
|
|
};
|
|
usb3-0 {
|
|
nvidia,usb2-companion = <2>;
|
|
// nvidia,usb3-gen1-only= <1>;
|
|
status = "okay";
|
|
};
|
|
usb3-1{
|
|
// nvidia,usb2-companion = <1>;
|
|
// nvidia,usb3-gen1-only= <1>;
|
|
status = "disabled";
|
|
};
|
|
usb3-2 {
|
|
nvidia,usb2-companion = <1>;
|
|
// nvidia,usb3-gen1-only= <1>;
|
|
status = "okay";
|
|
};
|
|
usb3-3 {
|
|
nvidia,usb2-companion = <0>;
|
|
// nvidia,usb3-gen1-only= <1>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
#endif
|
|
|
|
//remove unused phys from here
|
|
tegra_xhci: xhci@3610000 {
|
|
|
|
extcon-cable-names = "id";
|
|
extcon-cables = <&extcon_cti 1>;
|
|
#extcon-cells = <1>;
|
|
|
|
#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-2}>,
|
|
<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-3}>;
|
|
phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3",
|
|
"usb3-0", "usb3-2", "usb3-3";
|
|
nvidia,xusb-padctl = <&xusb_padctl>;
|
|
#endif
|
|
};
|
|
|
|
extcon_cti: extcon_cti {
|
|
#extcon-cells = <1>;
|
|
compatible = "extcon-gpio-states";
|
|
extcon-gpio,name = "VBUS_ID";
|
|
gpios = <&tegra_aon_gpio TEGRA194_AON_GPIO(BB, 2) 0
|
|
&tegra_main_gpio TEGRA194_MAIN_GPIO(Q, 0) 0>;
|
|
extcon-gpio,cable-states = <0x0 EXTCON_USB_HOST
|
|
0x1 EXTCON_USB_HOST
|
|
0x2 EXTCON_NONE
|
|
0x3 EXTCON_USB>;
|
|
extcon-gpio,wait-for-gpio-scan = <0>;
|
|
extcon-gpio,out-cable-names = <EXTCON_USB EXTCON_USB_HOST EXTCON_NONE>;
|
|
};
|
|
|
|
xudc@3550000 {
|
|
phys = <&{/xusb_padctl@3520000/pads/usb2/lanes/usb2-0}>,
|
|
<&{/xusb_padctl@3520000/pads/usb3/lanes/usb3-3}>;
|
|
phy-names = "usb2", "usb3";
|
|
#extcon-cells = <1>;
|
|
nvidia,xusb-padctl = <&xusb_padctl>;
|
|
extcon-cable-names = "vbus";
|
|
extcon-cables = <&extcon_cti 0>;
|
|
status = "okay";
|
|
};
|
|
|
|
pcie@14160000 {
|
|
status = "disabled";
|
|
|
|
phys = <&p2u_8>;
|
|
phy-names = "pcie-p2u-0";
|
|
|
|
};
|
|
|
|
pcie@14100000 {
|
|
status = "okay";
|
|
|
|
|
|
phys = <&p2u_0>;
|
|
phy-names = "pcie-p2u-0";
|
|
};
|
|
|
|
pcie@14140000 {
|
|
status = "okay";
|
|
|
|
phys = <&p2u_7>;
|
|
phy-names = "pcie-p2u-0";
|
|
};
|
|
|
|
pcie@14180000 {
|
|
status = "okay";
|
|
};
|
|
|
|
|
|
pcie@141a0000 {
|
|
status = "okay";
|
|
|
|
phys = <&p2u_12>,
|
|
<&p2u_13>,
|
|
<&p2u_14>,
|
|
<&p2u_15>;
|
|
|
|
phy-names = "pcie-p2u-0", "pcie-p2u-1", "pcie-p2u-2", "pcie-p2u-3";
|
|
};
|
|
|
|
pcie_ep@141a0000 {
|
|
status = "disabled";
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
ahci-sata@3507000 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
ether_qos@2490000 {
|
|
mdio {
|
|
ethernet-phy@0 {
|
|
/delete-property/ marvell,copper-mode;
|
|
};
|
|
};
|
|
|
|
};
|
|
host1x{
|
|
|
|
sor {
|
|
status = "okay";
|
|
nvidia,active-panel = <&sor0_hdmi_display>;
|
|
|
|
hdmi-display {
|
|
status = "okay";
|
|
};
|
|
dp-display {
|
|
status = "disabled";
|
|
};
|
|
|
|
};
|
|
|
|
sor1 {
|
|
status = "okay";
|
|
nvidia,active-panel = <&sor1_hdmi_display>;
|
|
|
|
hdmi-display {
|
|
status = "okay";
|
|
};
|
|
dp-display {
|
|
status = "disabled";
|
|
};
|
|
|
|
};
|
|
|
|
sor2 {
|
|
status = "disabled";
|
|
|
|
hdmi-display {
|
|
status = "disabled";
|
|
};
|
|
dp-display {
|
|
status = "disabled";
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
gpio@2200000 {
|
|
|
|
wlan-on-gpio{
|
|
gpio-hog;
|
|
output-high;
|
|
gpios = <TEGRA194_MAIN_GPIO(G, 3) GPIO_ACTIVE_HIGH>;
|
|
label = "wlan-on-gpio";
|
|
status = "okay";
|
|
};
|
|
|
|
bt-on-gpio{
|
|
gpio-hog;
|
|
output-high;
|
|
gpios = <TEGRA194_MAIN_GPIO(M, 7) GPIO_ACTIVE_HIGH>;
|
|
label = "bt-on-gpio";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
serial@3140000{
|
|
status = "okay";
|
|
};
|
|
|
|
|
|
};
|