Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3248027imm; Fri, 25 May 2018 02:18:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqji3lSgPivZI6iQqdCCP/v3qPICt9MJw/0lgr8FjEsWdR3AYFZmXUHbyjiYszVCTiE7QXc X-Received: by 2002:a63:4281:: with SMTP id p123-v6mr1372791pga.144.1527239889256; Fri, 25 May 2018 02:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527239889; cv=none; d=google.com; s=arc-20160816; b=WF9bwKSGCwR0yBSCjtlnqxYM/lSSt/CXTlx8ZnXMozf8Hzyu7ZY5xVdEvqjz3OtWfs mK0+RNyBMHODTWLXrIwFUZKbkIkhGJKWDT5kQCPJ23FhQ3ezaO5AKeVcl76r3xcvGaz0 XKPy2cSgj+4kfdxON8hHWZz0SKDjULUOPuK/fP5iJvO94YTOE1dR5cEw6/c8+Xj9ftfr UUzXaVDu0AVmcjnwn2lrN+ykq8mBGLmx2mX/r+5qi5wh6hUOSjg0SQTl7dNm/b+6xXPU 5T04Na6hjG7XXW8z205ICDlckYDFn0zULRpHAC0gJF9+F4S91Wyv3+TbYWjRZVVeQRcZ Aplg== 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=cA+14LU9T1hUNyratXxMfPKRIw4wQMvTG/m6UKcYGWA=; b=xr6HtYIyGnbfLeTZ85g+L5mz/0GoFq1oJ0f8YvS7fGFQqNyP+dWjwMnDhQLWbqaaFd giYyGdYz6wXVEIG6H/GStLh8RS/q0YtmmrTl2YcuFMt++M2KiVXVTg6bHHclRQ/ryiGd DdM5uX2tewYwmHSFCRlwdfz8ze1Vd017PKkUXSv+RiI3XwLG7AsPJtE5a8dNKmYon4wJ ahVIMiumlqZc1sxzQ5xm0fQj74MpTVQyO2PsXmyjHqkgk1rR0FbiItifK5F7auGho+yA H9MhlgoB2hoZ/y91u/EZBgaAyPqe9FXNSZsFj0GCpJy/hcEQ8Eo83z6nbCT+jchIpZ7M YkBw== 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 a11-v6si4331075plt.39.2018.05.25.02.17.54; Fri, 25 May 2018 02:18:09 -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 S965491AbeEYJRl (ORCPT + 99 others); Fri, 25 May 2018 05:17:41 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8137 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965350AbeEYJRf (ORCPT ); Fri, 25 May 2018 05:17:35 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id B9A66A0E896E9; Fri, 25 May 2018 17:17:22 +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.382.0; Fri, 25 May 2018 17:17:16 +0800 From: Li Wei To: , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH v10 3/5] arm64: dts: add ufs dts node Date: Fri, 25 May 2018 17:17:10 +0800 Message-ID: <20180525091712.37227-4-liwei213@huawei.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180525091712.37227-1-liwei213@huawei.com> References: <20180525091712.37227-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 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index ec3eb8e33a3a..04438621c6c3 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -892,6 +892,24 @@ 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 */ + resets = <&crg_rst 0x84 12>; + reset-names = "rst"; + }; + /* SD */ dwmmc1: dwmmc1@ff37f000 { #address-cells = <1>; -- 2.15.0