Commit a47f88ef authored by Zhangfei Gao's avatar Zhangfei Gao Committed by Wei Xu

ARM: dts: hix5hd2: add sata node

Signed-off-by: default avatarJiancheng Xue <xuejiancheng@huawei.com>
Signed-off-by: default avatarZhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent d1a3a0d6
...@@ -79,3 +79,8 @@ phy1: ethernet-phy@1 { ...@@ -79,3 +79,8 @@ phy1: ethernet-phy@1 {
reg = <1>; reg = <1>;
}; };
}; };
&ahci {
phys = <&sata_phy>;
phy-names = "sata-phy";
};
...@@ -215,5 +215,25 @@ usb1: ohci@1880000 { ...@@ -215,5 +215,25 @@ usb1: ohci@1880000 {
interrupts = <0 67 4>; interrupts = <0 67 4>;
clocks = <&clock HIX5HD2_USB_CLK>; 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>;
};
}; };
}; };
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