diff options
author | Zhangfei Gao <zhangfei.gao@linaro.org> | 2014-08-20 03:14:39 -0400 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2014-11-07 06:29:32 -0500 |
commit | a47f88efa1503599fb052e81d03d51c61f96c9ec (patch) | |
tree | 9b5b3887502b1222cfbc5db5f8691f213a64c81a | |
parent | d1a3a0d6ad10eda4c8a8877a08cde92d855c4d94 (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.dts | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/hisi-x5hd2.dtsi | 20 |
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..721b09238f58 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 4f9e8a3da294..d5b3a8fd7226 100644 --- a/arch/arm/boot/dts/hisi-x5hd2.dtsi +++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi | |||
@@ -215,5 +215,25 @@ | |||
215 | interrupts = <0 67 4>; | 215 | interrupts = <0 67 4>; |
216 | clocks = <&clock HIX5HD2_USB_CLK>; | 216 | clocks = <&clock HIX5HD2_USB_CLK>; |
217 | }; | 217 | }; |
218 | |||
219 | peripheral_ctrl: syscon@a20000 { | ||
220 | compatible = "syscon"; | ||
221 | reg = <0xa20000 0x1000>; | ||
222 | }; | ||
223 | |||
224 | sata_phy: phy@1900000 { | ||
225 | compatible = "hisilicon,hix5hd2-sata-phy"; | ||
226 | reg = <0x1900000 0x10000>; | ||
227 | #phy-cells = <0>; | ||
228 | hisilicon,peripheral-syscon = <&peripheral_ctrl>; | ||
229 | hisilicon,power-reg = <0x8 10>; | ||
230 | }; | ||
231 | |||
232 | ahci: sata@1900000 { | ||
233 | compatible = "hisilicon,hisi-ahci"; | ||
234 | reg = <0x1900000 0x10000>; | ||
235 | interrupts = <0 70 4>; | ||
236 | clocks = <&clock HIX5HD2_SATA_CLK>; | ||
237 | }; | ||
218 | }; | 238 | }; |
219 | }; | 239 | }; |