arm64: tegra: Add SATA node for Tegra210
authorPreetham Ramchandra <pchandru@nvidia.com>
Mon, 12 Mar 2018 11:40:31 +0000 (17:10 +0530)
committerThierry Reding <treding@nvidia.com>
Wed, 14 Mar 2018 16:34:39 +0000 (17:34 +0100)
Populate the SATA node for Tegra210.

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

index 9c2402108772f411be9a8369538cef84e42a2450..3be920efee823a2913f7695bbd09a4ca10f03eb8 100644 (file)
                #iommu-cells = <1>;
        };
 
+       sata@70020000 {
+               compatible = "nvidia,tegra210-ahci";
+               reg = <0x0 0x70027000 0x0 0x2000>, /* AHCI */
+                     <0x0 0x70020000 0x0 0x7000>, /* SATA */
+                     <0x0 0x70001100 0x0 0x1000>; /* SATA AUX */
+               interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&tegra_car TEGRA210_CLK_SATA>,
+                        <&tegra_car TEGRA210_CLK_SATA_OOB>;
+               clock-names = "sata", "sata-oob";
+               resets = <&tegra_car 124>,
+                        <&tegra_car 123>,
+                        <&tegra_car 129>;
+               reset-names = "sata", "sata-oob", "sata-cold";
+               status = "disabled";
+       };
+
        hda@70030000 {
                compatible = "nvidia,tegra210-hda", "nvidia,tegra30-hda";
                reg = <0x0 0x70030000 0x0 0x10000>;