]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: Enable XUSB pad controller on Jetson TK1
authorThierry Reding <treding@nvidia.com>
Wed, 10 Dec 2014 05:25:11 +0000 (22:25 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 18 Dec 2014 20:19:20 +0000 (13:19 -0700)
Add the PCIe and SATA lane configuration to the Jetson TK1 device tree,
so that the XUSB pad controller can be appropriately configured.

Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/dts/tegra124-jetson-tk1.dts

index f6fe9a050f511c05b963af7dc7217ff8b01e16f0..91b4c1d607aafc952a05ede324a84f16e981ac89 100644 (file)
                spi-max-frequency = <25000000>;
        };
 
+       padctl@7009f000 {
+               pinctrl-0 = <&padctl_default>;
+               pinctrl-names = "default";
+
+               padctl_default: pinmux {
+                       usb3 {
+                               nvidia,lanes = "pcie-0", "pcie-1";
+                               nvidia,function = "usb3";
+                               nvidia,iddq = <0>;
+                       };
+
+                       pcie {
+                               nvidia,lanes = "pcie-2", "pcie-3",
+                                              "pcie-4";
+                               nvidia,function = "pcie";
+                               nvidia,iddq = <0>;
+                       };
+
+                       sata {
+                               nvidia,lanes = "sata-0";
+                               nvidia,function = "sata";
+                               nvidia,iddq = <0>;
+                       };
+               };
+       };
+
        sdhci@700b0400 {
                status = "okay";
                cd-gpios = <&gpio 170 1>; /* gpio PV2 */