Skip to content

Commit

Permalink
ARM: dts: hix5hd2: add sata node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhangfei Gao authored and Wei Xu committed Sep 16, 2014
1 parent f16c7fb commit 420a2d5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/hisi-x5hd2-dkb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,8 @@
reg = <1>;
};
};

&ahci {
phys = <&sata_phy>;
phy-names = "sata-phy";
};
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/hisi-x5hd2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,25 @@
interrupts = <0 67 4>;
clocks = <&clock HIX5HD2_USB_CLK>;
};

peripheral_ctrl: syscon@a20000 {
compatible = "syscon";
reg = <0xa20000 0x1000>;
};

sata_phy: phy@1900000 {
compatible = "hisilicon,hix5hd2-sata-phy";
reg = <0x1900000 0x10000>;
#phy-cells = <0>;
hisilicon,peripheral-syscon = <&peripheral_ctrl>;
hisilicon,power-reg = <0x8 10>;
};

ahci: sata@1900000 {
compatible = "hisilicon,hisi-ahci";
reg = <0x1900000 0x10000>;
interrupts = <0 70 4>;
clocks = <&clock HIX5HD2_SATA_CLK>;
};
};
};

0 comments on commit 420a2d5

Please sign in to comment.