arm64: tegra: Add Tegra210 XUSB controller
authorThierry Reding <treding@nvidia.com>
Thu, 12 Nov 2015 10:28:36 +0000 (11:28 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 14 Jul 2016 14:20:21 +0000 (16:20 +0200)
Add a device tree node for the Tegra XUSB controller. It contains a
phandle to the XUSB pad controller for control of the PHYs assigned
to the USB ports.

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

index 694228b..ac1fb88 100644 (file)
                status = "disabled";
        };
 
+       usb@70090000 {
+               compatible = "nvidia,tegra210-xusb";
+               reg = <0x0 0x70090000 0x0 0x8000>,
+                     <0x0 0x70098000 0x0 0x1000>,
+                     <0x0 0x70099000 0x0 0x1000>;
+               reg-names = "hcd", "fpci", "ipfs";
+
+               interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
+
+               clocks = <&tegra_car TEGRA210_CLK_XUSB_HOST>,
+                        <&tegra_car TEGRA210_CLK_XUSB_HOST_SRC>,
+                        <&tegra_car TEGRA210_CLK_XUSB_FALCON_SRC>,
+                        <&tegra_car TEGRA210_CLK_XUSB_SS>,
+                        <&tegra_car TEGRA210_CLK_XUSB_SS_DIV2>,
+                        <&tegra_car TEGRA210_CLK_XUSB_SS_SRC>,
+                        <&tegra_car TEGRA210_CLK_XUSB_HS_SRC>,
+                        <&tegra_car TEGRA210_CLK_XUSB_FS_SRC>,
+                        <&tegra_car TEGRA210_CLK_PLL_U_480M>,
+                        <&tegra_car TEGRA210_CLK_CLK_M>,
+                        <&tegra_car TEGRA210_CLK_PLL_E>;
+               clock-names = "xusb_host", "xusb_host_src",
+                             "xusb_falcon_src", "xusb_ss",
+                             "xusb_ss_div2", "xusb_ss_src",
+                             "xusb_hs_src", "xusb_fs_src",
+                             "pll_u_480m", "clk_m", "pll_e";
+               resets = <&tegra_car 89>, <&tegra_car 156>,
+                        <&tegra_car 143>;
+               reset-names = "xusb_host", "xusb_ss", "xusb_src";
+
+               nvidia,xusb-padctl = <&padctl>;
+
+               status = "disabled";
+       };
+
        padctl: padctl@7009f000 {
                compatible = "nvidia,tegra210-xusb-padctl";
                reg = <0x0 0x7009f000 0x0 0x1000>;