aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Wei <liwei213@huawei.com>2018-01-06 17:51:15 +0800
committerRiku Voipio <riku.voipio@linaro.org>2018-02-12 12:54:19 +0200
commit82e799de14ee7c9bd61418b35fc3703fd5122cea (patch)
tree7474aa8882c87eee92f6c012d9ef443176ad6212
parentb09688d991b4743c252e14b696bcc208a1d538b2 (diff)
download96b-common-82e799de14ee7c9bd61418b35fc3703fd5122cea.tar.gz
arm64: dts: add ufs dts node
arm64: dts: add ufs node for Hisilicon. Signed-off-by: Li Wei <liwei213@huawei.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi3660.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index 63d4f9dca77f..c694a340bb5f 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -916,6 +916,26 @@
reset-gpios = <&gpio11 1 0 >;
};
+ /* UFS */
+ ufs: ufs@ff3b0000 {
+ compatible = "hisilicon,hi3660-ufs", "jedec,ufs-1.1";
+ /* 0: HCI standard */
+ /* 1: UFS SYS CTRL */
+ reg = <0x0 0xff3b0000 0x0 0x1000>,
+ <0x0 0xff3b1000 0x0 0x1000>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&crg_ctrl HI3660_CLK_GATE_UFSIO_REF>,
+ <&crg_ctrl HI3660_CLK_GATE_UFSPHY_CFG>;
+ clock-names = "ref_clk", "phy_clk";
+ freq-table-hz = <0 0>, <0 0>;
+ /* offset: 0x84; bit: 12 */
+ /* offset: 0x84; bit: 7 */
+ resets = <&crg_rst 0x84 12>,
+ <&crg_rst 0x84 7>;
+ reset-names = "rst", "assert";
+ };
+
/* SD */
dwmmc1: dwmmc1@ff37f000 {
#address-cells = <1>;