From patchwork Wed Aug 9 16:43:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 109738 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1126062qge; Wed, 9 Aug 2017 09:45:36 -0700 (PDT) X-Received: by 10.99.119.76 with SMTP id s73mr8326333pgc.374.1502297135971; Wed, 09 Aug 2017 09:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502297135; cv=none; d=google.com; s=arc-20160816; b=dNV6UDSvVdmpcmulSKxmiy6AcX5kSIESm2G01zytR0hkdGxD57CigClJPSLtIycg9l 8rjqg8QBnCkbFEW2Un71XFFVP9e9c21EDWreRV0lHEWpAtWWlydgvi8POxKpnJEMtVhy shi+aLMlLaJTp6gQ6RXKG50vxVMLePtJJULzSAQES2yV2Nhoqmv2ghb6Gd8PrAPC+XM/ a4EMuYLcKtMbDyMLKNSJeTBqACFhdOZ9OC04wWzZGnykf928vZ3OG8hC0/yR+JlaQ/8R tTiwD80x6eY3kn6qitXVN12oWOXB2VDD6ts9SXavzfbaoC5OfO7N6N+BlU9jvWh9qQv+ XHOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=u9P7NMB4fPAofrrT1Ue3vS9JdqaKr6rbb9M7+AJVSD4=; b=FaURQ1iKyVL8n7n25fBaHkxj856nbxcX07ydJMy5jGtEQyKCAscpoT+4JgG3L6cYq5 XM9N0DIb1SWyIJmOXfwHXaP6DRL1ovrXViblbyzWzE6dT6Sn3c5AnKzTyYdvEnYJo8D/ gdeTHiKl1HjiOhvBpM1UQ+dhkrgkllVTyFOHLJ5RS27lvV2vc7r26eSuCWK/cEN5ORQr XvL6k3fLp0N468veK/vMQhyvm9o4kOdvV/cyvFBkOo0DlUfoatRm5hwQGVTzpqhV6+Vl jhN3urvpINonKrKKg3h5gBBk/re2BrVbcYdJYH9RsW2JQqYhMAeZ/0cGxG7Hlt4+4Cn2 dcrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=M1hjG6JX; 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 205si2768908pfy.264.2017.08.09.09.45.35; Wed, 09 Aug 2017 09:45:35 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=M1hjG6JX; 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 S1754366AbdHIQpc (ORCPT + 25 others); Wed, 9 Aug 2017 12:45:32 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:60780 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754236AbdHIQoq (ORCPT ); Wed, 9 Aug 2017 12:44:46 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-07.nifty.com with ESMTP id v79Ghj8x020252; Thu, 10 Aug 2017 01:43:47 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v79Ghj8x020252 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1502297028; bh=u9P7NMB4fPAofrrT1Ue3vS9JdqaKr6rbb9M7+AJVSD4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M1hjG6JXI4yQBuptZrVV1hAr19YcglPh+HskZ77mCMa9hQedZqRCbgRDCz7AVgu07 Iibta7dI3Ppizz1PvNFOoFajV1M9E6LnmhO+FROfTHBU8WiOL3RP6mejyY++SdIXu3 k+kY31MoJkmSzpAGsAepS5apVhIaQQgKYSA+nfxtDj2o3wQCB7NoB6Pgwj8GRoDPVr nP+4Y3Lnn5jrCNYTRTlcckb/Mbl7v0WYeKHJPu+zMYjFWbO8R01qFxrdm7qCnHsJcW ro4ZtPlrxk5OugIwJAVuR2OH1lbnK6LE6c1tDS1/K1COKrCkgBwosaGaEfhTA/Csxh mjKHNUrrqPWSw== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH 6/6] arm64: dts: uniphier: add Denali NAND controller nodes Date: Thu, 10 Aug 2017 01:43:31 +0900 Message-Id: <1502297011-30201-6-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502297011-30201-1-git-send-email-yamada.masahiro@socionext.com> References: <1502297011-30201-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add NAND controller node to LD11 and LD20. Neither of them supports the CS1 line, so pinctrl is set up for a single CS line. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts | 4 ++++ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 11 +++++++++++ arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts | 4 ++++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 11 +++++++++++ 4 files changed, 30 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts index ffb473ad2e0f..d80d4c999157 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts @@ -62,3 +62,7 @@ &usb2 { status = "okay"; }; + +&nand { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi index e420268295d9..d85f058b55d1 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi @@ -368,6 +368,17 @@ #reset-cells = <1>; }; }; + + nand: nand@68000000 { + compatible = "socionext,uniphier-denali-nand-v5b"; + status = "disabled"; + reg-names = "nand_data", "denali_reg"; + reg = <0x68000000 0x20>, <0x68100000 0x1000>; + interrupts = <0 65 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_nand>; + clocks = <&sys_clk 2>; + }; }; }; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts index 1ca0c8620dc5..fd6d2cae3b3e 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts @@ -50,3 +50,7 @@ &i2c0 { status = "okay"; }; + +&nand { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index 5cdd7a9db412..0c4bcdcac0db 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -389,6 +389,17 @@ #reset-cells = <1>; }; }; + + nand: nand@68000000 { + compatible = "socionext,uniphier-denali-nand-v5b"; + status = "disabled"; + reg-names = "nand_data", "denali_reg"; + reg = <0x68000000 0x20>, <0x68100000 0x1000>; + interrupts = <0 65 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_nand>; + clocks = <&sys_clk 2>; + }; }; };