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 7ce798be5e0190637afdb906ea923b34e9e92574..5d1543babf564072d0942689ec79ae6ea5b3af77 100644 (file)
@@ -29,5 +29,9 @@
                                st,pcie-tx-pol-inv;
                        };
                };
+
+               sata0: sata@fe380000{
+                       status = "okay";
+               };
        };
 };
index fa59224115bbcab30d71427a5a66ee92e7926b40..956fab8b8ffe6364dd041a817c45453a8717a530 100644 (file)
@@ -47,5 +47,9 @@
                                st,pcie-tx-pol-inv;
                        };
                };
+
+               sata0: sata@fe380000{
+                       status = "okay";
+               };
        };
 };
index a54f6832a9acbc8f7245fa0d0f3704b3674837f2..1137bdfcca1ce2d6cebdb0c608a304c6456d7ec2 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";
+               };
        };
 };