arm64: tegra: Add XUSB powergates on Tegra210
authorJon Hunter <jonathanh@nvidia.com>
Thu, 30 Jun 2016 10:56:27 +0000 (11:56 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 14 Jul 2016 14:20:26 +0000 (16:20 +0200)
The Tegra210 XUSB subsystem has 3 power partitions which are XUSBA
(super-speed logic), XUSBB (USB device logic) and XUSBC (USB host
logic). Populate the device-tree nodes for these XUSB partitions.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index 61ec48c4b5b7d3ae6a18a8e3e51786ab696c3cd0..443ecd58de984777761b2de225eea0577219f2f6 100644 (file)
                                resets = <&tegra_car 198>;
                                #power-domain-cells = <0>;
                        };
+
+                       pd_xusbss: xusba {
+                               clocks = <&tegra_car TEGRA210_CLK_XUSB_SS>;
+                               clock-names = "xusb-ss";
+                               resets = <&tegra_car TEGRA210_CLK_XUSB_SS>;
+                               reset-names = "xusb-ss";
+                               #power-domain-cells = <0>;
+                       };
+
+                       pd_xusbdev: xusbb {
+                               clocks = <&tegra_car TEGRA210_CLK_XUSB_DEV>;
+                               clock-names = "xusb-dev";
+                               resets = <&tegra_car 95>;
+                               reset-names = "xusb-dev";
+                               #power-domain-cells = <0>;
+                       };
+
+                       pd_xusbhost: xusbc {
+                               clocks = <&tegra_car TEGRA210_CLK_XUSB_HOST>;
+                               clock-names = "xusb-host";
+                               resets = <&tegra_car TEGRA210_CLK_XUSB_HOST>;
+                               reset-names = "xusb-host";
+                               #power-domain-cells = <0>;
+                       };
                };
        };