Commit e629335f authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Kumar Gala

ARM: dts: qcom: apq8064 - Add SATA controller support

This patch adds AHCI based SATA controller support to APQ8064.
Tested on IFC6410 board.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarKumar Gala <galak@codeaurora.org>
parent ea986611
...@@ -116,6 +116,15 @@ serial@16640000 { ...@@ -116,6 +116,15 @@ serial@16640000 {
}; };
}; };
sata_phy0: phy@1b400000 {
status = "okay";
};
sata0: sata@29000000 {
status = "okay";
target-supply = <&pm8921_s4>;
};
/* OTG */ /* OTG */
usb1_phy: phy@12500000 { usb1_phy: phy@12500000 {
status = "okay"; status = "okay";
......
...@@ -379,6 +379,41 @@ usb4: usb@12530000 { ...@@ -379,6 +379,41 @@ usb4: usb@12530000 {
usb-phy = <&usb4_phy>; usb-phy = <&usb4_phy>;
}; };
sata_phy0: phy@1b400000 {
compatible = "qcom,apq8064-sata-phy";
status = "disabled";
reg = <0x1b400000 0x200>;
reg-names = "phy_mem";
clocks = <&gcc SATA_PHY_CFG_CLK>;
clock-names = "cfg";
#phy-cells = <0>;
};
sata0: sata@29000000 {
compatible = "generic-ahci";
status = "disabled";
reg = <0x29000000 0x180>;
interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
clocks = <&gcc SFAB_SATA_S_H_CLK>,
<&gcc SATA_H_CLK>,
<&gcc SATA_A_CLK>,
<&gcc SATA_RXOOB_CLK>,
<&gcc SATA_PMALIVE_CLK>;
clock-names = "slave_iface",
"iface",
"bus",
"rxoob",
"core_pmalive";
assigned-clocks = <&gcc SATA_RXOOB_CLK>,
<&gcc SATA_PMALIVE_CLK>;
assigned-clock-rates = <100000000>, <100000000>;
phys = <&sata_phy0>;
phy-names = "sata-phy";
};
/* Temporary fixed regulator */ /* Temporary fixed regulator */
vsdcc_fixed: vsdcc-regulator { vsdcc_fixed: vsdcc-regulator {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment