Received: by 10.223.185.116 with SMTP id b49csp3430870wrg; Tue, 13 Feb 2018 02:18:14 -0800 (PST) X-Google-Smtp-Source: AH8x2259f49j4l/XkGaczHvL4Zh81hxDobaZEtAX0I6hnaKWb3z8AjIFzcGVrjy2kSgHRDi/ozwm X-Received: by 10.101.70.12 with SMTP id v12mr585657pgq.327.1518517094164; Tue, 13 Feb 2018 02:18:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518517094; cv=none; d=google.com; s=arc-20160816; b=tNht5m1T9cHCRfDlOJGWqbT3En7LdDSxOXG8vtcOw+mDZdxS12qVMm4Q6vT+MiPc6h ngkUHs9sG0Cd1sinJ9KonGRFRN660Ah/SbC2haqgaFxdfawn41r/ZT8CiLHAaElbNh1g 6z9HLaEvGHy3R3+faz+ypUQ9NHD+d+gdGkev5NOGbYm81p9ghTJwNRSIZUy7JAMXFio+ dWkzv40ZaQpuIdzOhEd2wURLrvRkkpM+T0UfAIrLVPT4JPj7c6yB2bI2ruDEoiAcvhPx C8U9/gsP4tvAOtBxQF1iWviuGRnWyQaN4G2Jvtdo40HxWX7KxQ5+H+fDn7TGca+oWnrj FQWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=WVCOpq1mVQH8//OH6CVZvlNmEDMfFRNKLaLpw4hjdVI=; b=iXRw9Rl5oUx2gSBPmhJKf658hjEHajQoF0zQHp7DzjSnTDVjeY489QF7bi4JwouG5/ DuXNlkaEJMSmxmIno93so0cZk8p0G6Gfn6+qpFD/6K27f9IhOnVY7gr7SbDh7r7b64Yg 4b4ydJ3paSucneIh+d8Jlymq8v5EkibM2y6dOrRSJ5U8h9n5wX7KddkrWOcdUsUM1kIi 7ZsybOGFqysvCzPNi3kS26Y9ynPxE48BZairq+iSig3edksDAid/yHeAUOohtXd9xjJ1 3IqvuLvIOJsK2VGDip9iqDJmCXegXMujZ5ULjCtA+Uy1U4kmhPMaF8qMaZW4EAcwATBo fRjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a62si4136840pgc.650.2018.02.13.02.17.59; Tue, 13 Feb 2018 02:18:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934029AbeBMKPt (ORCPT + 99 others); Tue, 13 Feb 2018 05:15:49 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:5644 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934102AbeBMKOi (ORCPT ); Tue, 13 Feb 2018 05:14:38 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 99EB59B6D4A42; Tue, 13 Feb 2018 18:14:24 +0800 (CST) Received: from vm107-89-192.huawei.com (100.107.89.192) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.361.1; Tue, 13 Feb 2018 18:14:17 +0800 From: Li Wei To: , , , , , , , , , , , , , , , , , , , , CC: , , , , , Subject: [PATCH v8 3/5] arm64: dts: add ufs dts node Date: Tue, 13 Feb 2018 18:14:10 +0800 Message-ID: <20180213101412.5717-4-liwei213@huawei.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180213101412.5717-1-liwei213@huawei.com> References: <20180213101412.5717-1-liwei213@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [100.107.89.192] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org arm64: dts: add ufs node for Hisilicon. Signed-off-by: Li Wei --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index ab0b95ba5ae5..d0dfa97fdad1 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -904,6 +904,25 @@ 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 = ; + clocks = <&crg_ctrl HI3660_CLK_GATE_UFSIO_REF>, + <&crg_ctrl HI3660_CLK_GATE_UFSPHY_CFG>; + clock-names = "ref_clk", "phy_clk"; + /* 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>; -- 2.15.0