From patchwork Mon Mar 26 21:28:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 10308781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DA01960353 for ; Mon, 26 Mar 2018 21:28:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1169298BC for ; Mon, 26 Mar 2018 21:28:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5A8B298BF; Mon, 26 Mar 2018 21:28:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3CFC2298BC for ; Mon, 26 Mar 2018 21:28:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=NUXg0jxa4JKXl5cVKSHMSXdphZUFVNiy5AxEvj7EWbU=; b=IyGw4HZtgrOsr0iGE/f+Ws1eBD 8sXEyxTLgydgwKvxG+lVCC2PMFh5pjBU6jr0o2pm73GfckrqaZvNYSuPDcLvYaSEz1uG28E+uGSxD pLWVqFm1hgAfDfPgwhb9upTKS5NegkwrE23kvBpuF5Yrrahv2CrJhzo98Y58oP6316D9HA8FuBoHF kKFmlISaut64wNYkWPKi7EIZ22XgX/bfe839FXL4LNhJTXAoXBswV8nVVC9dHYlMf+8ZZI2spLFfv R+f/Zz4ilI9ybis8a7yukY/zMdDuSbZkVbhyseXyK4MbW9HucOMvAesXDdzUXbL1ZIueBu2r67q5L 2wXKrktA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0Zfc-0000fG-Eb; Mon, 26 Mar 2018 21:28:48 +0000 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0ZfZ-0000e1-3U for linux-arm-kernel@lists.infradead.org; Mon, 26 Mar 2018 21:28:46 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id C5D9F2055C; Mon, 26 Mar 2018 23:28:32 +0200 (CEST) Received: from xps13.event.rightround.com (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id 36C9320884; Mon, 26 Mar 2018 23:28:22 +0200 (CEST) From: Miquel Raynal To: Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 1/2] arm: dts: sun8i: a23/a33: declare NAND pins Date: Mon, 26 Mar 2018 23:28:19 +0200 Message-Id: <20180326212820.20637-2-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180326212820.20637-1-miquel.raynal@bootlin.com> References: <20180326212820.20637-1-miquel.raynal@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180326_142845_312194_270238E3 X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris Brezillon , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , Miquel Raynal MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Declare NAND pins (bus, chip select and ready/busy) for a23/a33 SoCs. Signed-off-by: Miquel Raynal --- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi index 971f9be699a7..0308e8b21ea5 100644 --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi @@ -315,6 +315,33 @@ bias-pull-up; }; + nand_pins: nand-pins { + pins = "PC0", "PC1", "PC2", "PC5", + "PC8", "PC9", "PC10", "PC11", + "PC12", "PC13", "PC14", "PC15"; + function = "nand0"; + }; + + nand_pins_cs0: nand-pins-cs0 { + pins = "PC4"; + function = "nand0"; + }; + + nand_pins_cs1: nand-pins-cs1 { + pins = "PC3"; + function = "nand0"; + }; + + nand_pins_rb0: nand-pins-rb0 { + pins = "PC6"; + function = "nand0"; + }; + + nand_pins_rb1: nand-pins-rb1 { + pins = "PC7"; + function = "nand0"; + }; + pwm0_pins: pwm0 { pins = "PH0"; function = "pwm0";