@@ -37,5 +37,9 @@
st,pcie-tx-pol-inv;
st,sata-gen = <3>;
};
+
+ sata0: sata@fe380000{
+ status = "okay";
+ };
};
};
@@ -18,5 +18,9 @@
st,pcie_tx_pol_inv = <1>;
st,sata_gen = "gen3";
};
+
+ sata0: sata@fe380000{
+ status = "okay";
+ };
};
};
@@ -153,5 +153,21 @@
#phy-cells = <2>;
st,syscfg = <&syscfg_rear>;
};
+
+ sata0: sata@fe380000 {
+ compatible = "st,ahci";
+ reg = <0xfe380000 0x1000>;
+ interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>;
+ interrupt-names = "hostc";
+ phys = <&miphy365x_phy MIPHY_PORT_0 MIPHY_TYPE_SATA>;
+ phy-names = "ahci_phy";
+ resets = <&powerdown STIH416_SATA0_POWERDOWN>,
+ <&softreset STIH416_SATA0_SOFTRESET>;
+ reset-names = "pwr-dwn", "sw-rst";
+ clock-names = "ahci_clk";
+ clocks = <&CLK_S_ICN_REG_0>;
+
+ status = "disabled";
+ };
};
};
Cc: devicetree@vger.kernel.org Cc: Srinivas Kandagatla <srinivas.kandagatla@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- arch/arm/boot/dts/stih416-b2020-revE.dts | 4 ++++ arch/arm/boot/dts/stih416-b2020.dts | 4 ++++ arch/arm/boot/dts/stih416.dtsi | 16 ++++++++++++++++ 3 files changed, 24 insertions(+)