ARM: DT: STi: STiH416: Add DT node for ST's SATA device
authorLee Jones <lee.jones@linaro.org>
Tue, 22 Jul 2014 09:28:00 +0000 (11:28 +0200)
committerMaxime Coquelin <maxime.coquelin@st.com>
Fri, 31 Oct 2014 08:59:07 +0000 (09:59 +0100)
ARM: DT: STi: STiH416: Add DT node for ST's SATA device

Cc: devicetree@vger.kernel.org
Acked-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
arch/arm/boot/dts/stih416-b2020.dts
arch/arm/boot/dts/stih416-b2020e.dts
arch/arm/boot/dts/stih416.dtsi

index 7ce798b..5d1543b 100644 (file)
@@ -29,5 +29,9 @@
                                st,pcie-tx-pol-inv;
                        };
                };
+
+               sata0: sata@fe380000{
+                       status = "okay";
+               };
        };
 };
index fa59224..956fab8 100644 (file)
@@ -47,5 +47,9 @@
                                st,pcie-tx-pol-inv;
                        };
                };
+
+               sata0: sata@fe380000{
+                       status = "okay";
+               };
        };
 };
index a54f683..1137bdf 100644 (file)
                                reg-names = "sata", "pcie", "syscfg";
                        };
                };
+
+               sata0: sata@fe380000 {
+                       compatible      = "st,sti-ahci";
+                       reg             = <0xfe380000 0x1000>;
+                       interrupts      = <GIC_SPI 157 IRQ_TYPE_NONE>;
+                       interrupt-names = "hostc";
+                       phys            = <&phy_port0 MIPHY_TYPE_SATA>;
+                       phy-names       = "sata-phy";
+                       resets          = <&powerdown STIH416_SATA0_POWERDOWN>,
+                                         <&softreset STIH416_SATA0_SOFTRESET>;
+                       reset-names     = "pwr-dwn", "sw-rst";
+                       clock-names     = "ahci_clk";
+                       clocks          = <&clk_s_a0_ls CLK_ICN_REG>;
+
+                       status          = "disabled";
+               };
        };
 };