Received: by 10.192.165.156 with SMTP id m28csp101444imm; Tue, 17 Apr 2018 07:11:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx48R07DeIMA7L44e+RiHXrqZaQ3/ziD4hvayvdxcSz2c+gbL+nqXV44WTb5AzOQEUn9Ua0us X-Received: by 10.99.109.203 with SMTP id i194mr1870387pgc.402.1523974319521; Tue, 17 Apr 2018 07:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523974319; cv=none; d=google.com; s=arc-20160816; b=Q3T/jA6syVn6iGn/++TZsqjwyBo1eiZW2MQUnlnX47PO9QfJo4cRil81BVkZ1yXtcK cp8oSs190tom7IvwUjdr3ztYV6QmqjCRs54wq1p/Ynitpt00MAyXXJ3daCo7rSULGn3f qnMDbI1ZflvKDCzya1CQO25I0kyxyfeK8mxNgGTk4rLTDhDUQsHM1//7ljquZOnwUwYX 1pXL5mV6ZSDfLcR207xInMUVBfEcExlDI4EerIvhrwZJNk76dDVI/eXwJhuPlfHt88Km WbiUo6PBNWXr0z3Ej/2+Qoud6OoaIoMMBslO50MFSc9RJG6FGKG0iGxBsk5IaiiPI7dr FULg== 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=3S7xih1JLCZyhp5sm22JHrbcDYHHcyaLGJV5xQBWCds=; b=quUZ09jYLofmZklnuQ2oGkV9q1MNKXZEUhoa0tnILp3hH/SEVjCy7Um4eTn13lerp6 gGo1CRfgCm0qgyjw7rA+8yxPcUjw3FuIAP5LBnt5+Qy+sAoQ0XCNC1d5eAlh5PiKwCPb zxXmJMVe0/+zSI8ksU8SpQyCMGatb6SonCPkmKRmA7gIB5maInDeq0qSagAvL/J5I00S +OXFSoMrueWjq3qStdrMWZJw+1CZa7IlmdUScIS5Se+6gnbsPAVaImibv/viNO/0fc9Z 449Djt98lThuIoVv0Wr/4GQ9xXcTSnm7vbcfqPl2Zx/rjFRcY3we+inkLlNOuGn4ojbQ uaWw== 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 g13si3867526pgq.69.2018.04.17.07.11.45; Tue, 17 Apr 2018 07:11:59 -0700 (PDT) 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 S1753210AbeDQOI5 (ORCPT + 99 others); Tue, 17 Apr 2018 10:08:57 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:56092 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752712AbeDQOIa (ORCPT ); Tue, 17 Apr 2018 10:08:30 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id A18C2DFE801C5; Tue, 17 Apr 2018 22:08:24 +0800 (CST) Received: from vm107-89-192.huawei.com (100.107.89.192) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.361.1; Tue, 17 Apr 2018 22:08:18 +0800 From: Li Wei To: , , , , , , , , , , , , , , , , , , CC: , , Subject: [PATCH v9 3/5] arm64: dts: add ufs dts node Date: Tue, 17 Apr 2018 22:08:12 +0800 Message-ID: <20180417140814.38098-4-liwei213@huawei.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180417140814.38098-1-liwei213@huawei.com> References: <20180417140814.38098-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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index ec3eb8e33a3a..e9013d40a613 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -892,6 +892,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 = ; + 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", "arst"; + }; + /* SD */ dwmmc1: dwmmc1@ff37f000 { #address-cells = <1>; -- 2.15.0