Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3211019imm; Sun, 24 Jun 2018 14:30:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJQrPSx7r4svsSm4IaBPjY8Az4+wIVGwIWhHHyWO58IaGssj6JG9+muZlu4OKPv1sPItwDh X-Received: by 2002:a17:902:7d82:: with SMTP id a2-v6mr8120172plm.202.1529875838817; Sun, 24 Jun 2018 14:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529875838; cv=none; d=google.com; s=arc-20160816; b=IqUOKcHzNl0xWoER7RQ+92YtUtaj+L26kv5n4zePRImkC6IgV/ocDuH8f+f9c7GL8u 8p05LEfBGLBni550LaqtT45MCUd6mOA0iR6E8emaaIOHZpNBdagMWgv0tHLRglEZ3dTz TeOIHppx7uyPNVoNfJjnlWLW/83Sv5rFjFZ4VPu56vloDdlDabfN6gpGs9aX37LoNbGG HOZ68QxDk6UUKUk02WWbYwwVH79tHlJsA20axrtU3LNgoX1mKMTAEairUJ5KwqkB8tSx ANIyzuKQSZD2l61wJlAUEoL3qBM+6shysdaieVsTmbCnLJ0BL3wg6XbXezVtJo9uHuw5 s0Vw== 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:arc-authentication-results; bh=fP18QCZoINCD0+5QTOIHOngHEWl6S2FfQsiBdaa4euE=; b=Xt2VVyaE7QqF8rBi4/6Fn19cNFj2BbA2CIYuCbUX//pDeEpFar2ocHGDAcOkAUlMDL c7D+kqKXb1BNGtu7GOSLa6ST3uoADDU8n9q2f5cm5OSI6dy9w6X26/FDVhZQRjaDjJUj WZnYG28tMSceB0ZfDuwFHZ2qznzH7w4PnVZOyyXxpAYXiAI+/FqKh0eBA897tOdwLLOf ou8F0yFiZFk5wfgiqqEsUuZdvPRTwtDnlo3w7WOx7B597HM0yLC6RXOF0b5Mv81aXpPO ld5yrbk7oxeQ64zH2xsIso+I2o5qTVvAuSD/4OaHvvAeCaY5HsfoCJ/8Jq7REus7Ml4p QWfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=wA1MrG75; 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 z19-v6si12722198pff.100.2018.06.24.14.30.24; Sun, 24 Jun 2018 14:30:38 -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=@agner.ch header.s=dkim header.b=wA1MrG75; 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 S1752376AbeFXV2l (ORCPT + 99 others); Sun, 24 Jun 2018 17:28:41 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:37264 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751858AbeFXV1c (ORCPT ); Sun, 24 Jun 2018 17:27:32 -0400 Received: from trochilidae.lan (unknown [IPv6:2a02:169:34d6:10::3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 552CB5C1C2B; Sun, 24 Jun 2018 23:27:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1529875650; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fP18QCZoINCD0+5QTOIHOngHEWl6S2FfQsiBdaa4euE=; b=wA1MrG75jqOPe2idxmW8ZQ9HLmhlx0khWtZC4LYhNu4b0lJQQS3mfx4otOi+1ZC18b33N1 zspsc4HHlBhJt9hyTu+cLs3hcYLEfQQPiCnVo77VaNSEH/+hc8KhQi09gpLo8hpYJw+fnG LECOlbt39y2pJCBmYN+pAk2XqyFdAzM= From: Stefan Agner To: boris.brezillon@bootlin.com, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, thierry.reding@gmail.com Cc: dev@lynxeye.de, miquel.raynal@bootlin.com, richard@nod.at, marcel@ziswiler.com, krzk@kernel.org, digetx@gmail.com, benjamin.lindqvist@endian.se, jonathanh@nvidia.com, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, mirza.krak@gmail.com, gaireg@gaireg.de, linux-mtd@lists.infradead.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH v8 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20 Date: Sun, 24 Jun 2018 23:27:27 +0200 Message-Id: <20180624212727.21672-7-stefan@agner.ch> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180624212727.21672-1-stefan@agner.ch> References: <20180624212727.21672-1-stefan@agner.ch> X-Spamd-Result: default: False [-2.10 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWELVE(0.00)[24]; BAYES_HAM(-3.00)[100.00%]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MID_CONTAINS_FROM(1.00)[]; ASN(0.00)[asn:13030, ipnet:2a02:169::/32, country:CH]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts/tegra20-colibri-512.dtsi index 5c202b3e3bb1d..0c283fb772148 100644 --- a/arch/arm/boot/dts/tegra20-colibri-512.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri-512.dtsi @@ -462,6 +462,22 @@ }; }; + nand-controller@70008000 { + status = "okay"; + + nand@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + nand-bus-width = <8>; + nand-on-flash-bbt; + nand-ecc-algo = "bch"; + nand-is-boot-medium; + nand-ecc-maximize; + wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>; + }; + }; + usb@c5004000 { status = "okay"; nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) -- 2.17.1