diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2019-01-05 12:58:58 +0530 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2019-04-15 16:01:34 +0100 |
commit | ddd0dc915647f12b5cbfa0a5e7d65389dcd71771 (patch) | |
tree | 63cffac4f4b4b71e52e8acbe28ed2289b8ddc526 /arch/arm64/boot | |
parent | 6d09e003db3dd71587705eb5ac6ad0a5578705f8 (diff) | |
download | linux-stable-ddd0dc915647f12b5cbfa0a5e7d65389dcd71771.tar.gz linux-stable-ddd0dc915647f12b5cbfa0a5e7d65389dcd71771.tar.bz2 linux-stable-ddd0dc915647f12b5cbfa0a5e7d65389dcd71771.zip |
arm64: dts: hisilicon: hi3670: Add UFS controller support
Add UFS controller support for HiSilicon HI3670 SoC.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi index 30177543cc8f..2dcffa3ed218 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi @@ -655,6 +655,24 @@ clock-names = "apb_pclk"; }; + /* UFS */ + ufs: ufs@ff3c0000 { + compatible = "hisilicon,hi3670-ufs", "jedec,ufs-2.1"; + /* 0: HCI standard */ + /* 1: UFS SYS CTRL */ + reg = <0x0 0xff3c0000 0x0 0x1000>, + <0x0 0xff3e0000 0x0 0x1000>; + interrupt-parent = <&gic>; + interrupts = <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&crg_ctrl HI3670_CLK_GATE_UFSIO_REF>, + <&crg_ctrl HI3670_CLK_GATE_UFS_SUBSYS>; + clock-names = "ref_clk", "phy_clk"; + freq-table-hz = <0 0>, <0 0>; + /* offset: 0x84; bit: 12 */ + resets = <&crg_rst 0x84 12>; + reset-names = "rst"; + }; + /* SD */ dwmmc1: dwmmc1@ff37f000 { compatible = "hisilicon,hi3670-dw-mshc", |