aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2019-05-16 13:55:23 -0400
committerOlof Johansson <olof@lixom.net>2019-05-16 13:55:23 -0400
commitd6e245acc900feeeae021c96d6b33a1c71598373 (patch)
treecb5df1cf99b95febd854a51e01e42e75122b6b79
parent3c7f51bfad49d22ebb5c2993d715358e5df2d7c1 (diff)
parent7278358407be770130b6b72567c1b5831c6eef28 (diff)
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 <olof@lixom.net>
-rw-r--r--arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts4
-rw-r--r--arch/arm64/boot/dts/nvidia/tegra186.dtsi7
2 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
index 75ee6cf1e1b4..14d7fea82daf 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
@@ -59,7 +59,7 @@
59 }; 59 };
60 60
61 padctl@3520000 { 61 padctl@3520000 {
62 status = "okay"; 62 status = "disabled";
63 63
64 avdd-pll-erefeut-supply = <&vdd_1v8_pll>; 64 avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
65 avdd-usb-supply = <&vdd_3v3_sys>; 65 avdd-usb-supply = <&vdd_3v3_sys>;
@@ -137,7 +137,7 @@
137 }; 137 };
138 138
139 usb@3530000 { 139 usb@3530000 {
140 status = "okay"; 140 status = "disabled";
141 141
142 phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>, 142 phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
143 <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>, 143 <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
index f0bb6ced4976..426ac0bdf6a6 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@ -60,6 +60,7 @@
60 clock-names = "master_bus", "slave_bus", "rx", "tx", "ptp_ref"; 60 clock-names = "master_bus", "slave_bus", "rx", "tx", "ptp_ref";
61 resets = <&bpmp TEGRA186_RESET_EQOS>; 61 resets = <&bpmp TEGRA186_RESET_EQOS>;
62 reset-names = "eqos"; 62 reset-names = "eqos";
63 iommus = <&smmu TEGRA186_SID_EQOS>;
63 status = "disabled"; 64 status = "disabled";
64 65
65 snps,write-requests = <1>; 66 snps,write-requests = <1>;
@@ -338,6 +339,7 @@
338 <&bpmp TEGRA186_RESET_HDA2CODEC_2X>; 339 <&bpmp TEGRA186_RESET_HDA2CODEC_2X>;
339 reset-names = "hda", "hda2hdmi", "hda2codec_2x"; 340 reset-names = "hda", "hda2hdmi", "hda2codec_2x";
340 power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISP>; 341 power-domains = <&bpmp TEGRA186_POWER_DOMAIN_DISP>;
342 iommus = <&smmu TEGRA186_SID_HDA>;
341 status = "disabled"; 343 status = "disabled";
342 }; 344 };
343 345
@@ -671,6 +673,10 @@
671 <&bpmp TEGRA186_RESET_PCIEXCLK>; 673 <&bpmp TEGRA186_RESET_PCIEXCLK>;
672 reset-names = "afi", "pex", "pcie_x"; 674 reset-names = "afi", "pex", "pcie_x";
673 675
676 iommus = <&smmu TEGRA186_SID_AFI>;
677 iommu-map = <0x0 &smmu TEGRA186_SID_AFI 0x1000>;
678 iommu-map-mask = <0x0>;
679
674 status = "disabled"; 680 status = "disabled";
675 681
676 pci@1,0 { 682 pci@1,0 {
@@ -1158,6 +1164,7 @@
1158 1164
1159 bpmp: bpmp { 1165 bpmp: bpmp {
1160 compatible = "nvidia,tegra186-bpmp"; 1166 compatible = "nvidia,tegra186-bpmp";
1167 iommus = <&smmu TEGRA186_SID_BPMP>;
1161 mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB 1168 mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
1162 TEGRA_HSP_DB_MASTER_BPMP>; 1169 TEGRA_HSP_DB_MASTER_BPMP>;
1163 shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>; 1170 shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;