Skip to content

Commit d6e245a

Browse files
committed
Merge tag 'tegra-for-5.2-arm64-dt-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/late
arm64: tegra: Device tree fixes for v5.2-rc1 This contains one patch to disable the recently added XUSB support on Jetson TX2 which is reported to cause boot and CPU hotplug failures in some cases and doesn't allow the core power rail to be switched off. Furthermore there are some changes to enable IOMMU support on more devices. This is needed in order to prevent these devices from breaking with the policy change in the ARM SMMU driver to break insecure devices that is currently headed for v5.2. * tag 'tegra-for-5.2-arm64-dt-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: arm64: tegra: Disable XUSB support on Jetson TX2 arm64: tegra: Enable SMMU translation for PCI on Tegra186 arm64: tegra: Fix insecure SMMU users for Tegra186 Signed-off-by: Olof Johansson <[email protected]>
2 parents 3c7f51b + 7278358 commit d6e245a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
};
6060

6161
padctl@3520000 {
62-
status = "okay";
62+
status = "disabled";
6363

6464
avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
6565
avdd-usb-supply = <&vdd_3v3_sys>;
@@ -137,7 +137,7 @@
137137
};
138138

139139
usb@3530000 {
140-
status = "okay";
140+
status = "disabled";
141141

142142
phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
143143
<&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,

arch/arm64/boot/dts/nvidia/tegra186.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
clock-names = "master_bus", "slave_bus", "rx", "tx", "ptp_ref";
6161
resets = <&bpmp TEGRA186_RESET_EQOS>;
6262
reset-names = "eqos";
63+
iommus = <&smmu TEGRA186_SID_EQOS>;
6364
status = "disabled";
6465

6566
snps,write-requests = <1>;
@@ -338,6 +339,7 @@
338339
<&bpmp TEGRA186_RESET_HDA2CODEC_2X>;
339340
reset-names = "hda", "hda2hdmi", "hda2codec_2x";
340341
power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISP>;
342+
iommus = <&smmu TEGRA186_SID_HDA>;
341343
status = "disabled";
342344
};
343345

@@ -671,6 +673,10 @@
671673
<&bpmp TEGRA186_RESET_PCIEXCLK>;
672674
reset-names = "afi", "pex", "pcie_x";
673675

676+
iommus = <&smmu TEGRA186_SID_AFI>;
677+
iommu-map = <0x0 &smmu TEGRA186_SID_AFI 0x1000>;
678+
iommu-map-mask = <0x0>;
679+
674680
status = "disabled";
675681

676682
pci@1,0 {
@@ -1158,6 +1164,7 @@
11581164

11591165
bpmp: bpmp {
11601166
compatible = "nvidia,tegra186-bpmp";
1167+
iommus = <&smmu TEGRA186_SID_BPMP>;
11611168
mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
11621169
TEGRA_HSP_DB_MASTER_BPMP>;
11631170
shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;

0 commit comments

Comments
 (0)