aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2014-08-20 03:14:39 -0400
committerWei Xu <xuwei5@hisilicon.com>2014-09-15 23:00:35 -0400
commit420a2d55f0464a4b4762411ca7047979d9ad17eb (patch)
treeed698a2d4efad30e7a5cc5a79e966e7204553f90
parentf16c7fb2f3ff258322850ac6f558d3b61ceb5a2b (diff)
ARM: dts: hix5hd2: add sata node
Signed-off-by: Jiancheng Xue <xuejiancheng@huawei.com> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
-rw-r--r--arch/arm/boot/dts/hisi-x5hd2-dkb.dts5
-rw-r--r--arch/arm/boot/dts/hisi-x5hd2.dtsi20
2 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts
index 0da3f3b6721e..375a10c6e88b 100644
--- a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts
+++ b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts
@@ -79,3 +79,8 @@
79 reg = <1>; 79 reg = <1>;
80 }; 80 };
81}; 81};
82
83&ahci {
84 phys = <&sata_phy>;
85 phy-names = "sata-phy";
86};
diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi
index 92522644c82b..18f52f0b5f8d 100644
--- a/arch/arm/boot/dts/hisi-x5hd2.dtsi
+++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi
@@ -213,5 +213,25 @@
213 interrupts = <0 67 4>; 213 interrupts = <0 67 4>;
214 clocks = <&clock HIX5HD2_USB_CLK>; 214 clocks = <&clock HIX5HD2_USB_CLK>;
215 }; 215 };
216
217 peripheral_ctrl: syscon@a20000 {
218 compatible = "syscon";
219 reg = <0xa20000 0x1000>;
220 };
221
222 sata_phy: phy@1900000 {
223 compatible = "hisilicon,hix5hd2-sata-phy";
224 reg = <0x1900000 0x10000>;
225 #phy-cells = <0>;
226 hisilicon,peripheral-syscon = <&peripheral_ctrl>;
227 hisilicon,power-reg = <0x8 10>;
228 };
229
230 ahci: sata@1900000 {
231 compatible = "hisilicon,hisi-ahci";
232 reg = <0x1900000 0x10000>;
233 interrupts = <0 70 4>;
234 clocks = <&clock HIX5HD2_SATA_CLK>;
235 };
216 }; 236 };
217}; 237};