Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1093519imm; Thu, 31 May 2018 15:19:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL4et3JQhTDIPrWC0LgddVlDQGG/o5Z9bLUUETXkjAc0y9+mvqcAEBdkn3Q8lxS7N/eb/t9 X-Received: by 2002:a63:66c3:: with SMTP id a186-v6mr6762472pgc.408.1527805165674; Thu, 31 May 2018 15:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527805165; cv=none; d=google.com; s=arc-20160816; b=rgeR5WiBpMygGgnDxdKqJdrFU69heWRo6t1b3KU12Ud6GnvL6xH20AHZvmuFYTsXpr hRIER80prpU6B/GW2zYEwa2fqQ23qNJFxKnnFPYbAuQRzVcUlXHXz9LLelgL/Dcm0flc /esdjzMcqZ6HiS7FufyoCA31zDk0NqVwzvawrikW0ZbPe72UtwI4mguy/j7qkqxpEN7a gsCZVJSw54oZZ66Rgkgd+ElQn3stk0KFXIsayOcB/NLyOD+EdHoJUVcyp+Q9UuuHti6y FUx46RXNgY2Vwvyw0ldUnS0q9G1HFyDqrgUT0BDHzbMmcNeOa8BkoPTbMaQxO8vLcnjg aMqw== 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=I08DjD6t758bWXL27nwF7tWj9NBTlcQ6X7BlXY5MrFw=; b=y3ll+fDg4l/k9HBrvIV0bhsu+atJmhCMfzIHJgj7YT1+EJ3ihcJ9WRhq6uV8aJmNUJ bWNTGN/g2nkSr1ZmPenfl+FLlF55/3mbFtPEeaohThkDa4GmIiC0aYWY/BZYUWsghHd2 uZogHXL/rqrYlfYoV8negW1AgRimFHhNIF33m5IfoEopN8JXRj/o2GLxnI1EA6V7ph1w jAnQfyS3+WQY33DufxLyXnK+l6cZHcyDh1shpfQ56bbHMT4CCarEQmprgOSESKv1hTRU La6lOmHIvUa8rnQuXjxMTKFi+yvt4avL9umvlOeyAaxXaHQi7BYdKovu3qNJ89hbXTMc 0+tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=pSjxdBZl; 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 z124-v6si29811407pgb.241.2018.05.31.15.19.11; Thu, 31 May 2018 15:19:25 -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=pSjxdBZl; 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 S1751230AbeEaWRE (ORCPT + 99 others); Thu, 31 May 2018 18:17:04 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:37578 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750941AbeEaWQm (ORCPT ); Thu, 31 May 2018 18:16:42 -0400 Received: from trochilidae.toradex.int (unknown [37.17.239.3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id E05CA5C1EFB; Fri, 1 Jun 2018 00:16:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1527805001; 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=I08DjD6t758bWXL27nwF7tWj9NBTlcQ6X7BlXY5MrFw=; b=pSjxdBZleuRpCeWqmS8K1Ygpng11gG7Zka8EQhpXnkzM0pnF3vMjvbVDiMrI+OELIuTgSr orjxcxsbzgMvGUhEaC5ZSK6hlnIwJc3r+yyv+ql9kdNPHR3MbbcrmmiraD65HoR+mzALRF S+m81F+LX4h25yk7Yxw5Nz45eQ2JY7o= 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, stefan@agner.ch, linux-mtd@lists.infradead.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20 Date: Fri, 1 Jun 2018 00:16:37 +0200 Message-Id: <20180531221637.6017-7-stefan@agner.ch> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180531221637.6017-1-stefan@agner.ch> References: <20180531221637.6017-1-stefan@agner.ch> X-Spamd-Result: default: False [-2.10 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWELVE(0.00)[23]; BAYES_HAM(-3.00)[100.00%]; RCVD_TLS_ALL(0.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)[]; RCVD_COUNT_ZERO(0.00)[0]; MID_CONTAINS_FROM(1.00)[]; ASN(0.00)[asn:13030, ipnet:37.17.238.0/23, country:CH]; TO_DN_NONE(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 From: Lucas Stach 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 5c202b3e3bb1..5a80ee4557db 100644 --- a/arch/arm/boot/dts/tegra20-colibri-512.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri-512.dtsi @@ -462,6 +462,22 @@ }; }; + nand@70008000 { + status = "okay"; + + nand-chip@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.0