Subject: [Patch v3 5/5] ARM: tegra: enable NAND flash on Colibri T20

From: [email-masked] (Brian Norris)
Date: Tue, 21 Jul 2015 14:07:02 -0700

On Sun, May 10, 2015 at 08:30:02PM +0200, Lucas Stach wrote:
> This enables the on-module ONFI conformant NAND flash.
> 
> Signed-off-by: Lucas Stach <[email-masked]>
> ---
>  arch/arm/boot/dts/tegra20-colibri-512.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts/tegra20-colibri-512.dtsi
> index 8e0066a..540b3fd 100644
> --- a/arch/arm/boot/dts/tegra20-colibri-512.dtsi
> +++ b/arch/arm/boot/dts/tegra20-colibri-512.dtsi
> @@ -455,6 +455,13 @@
>  		};
>  	};
>  
> +	nand at 70008000 {
> +		status = "okay";
> +		nand-bus-width = <8>;
> +		nand-on-flash-bbt;
> +		nvidia,wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;

^^ Is write-protect support necessary, or just optional? b/c you didn't
implement support in the NAND driver yet.

> +	};
> +
>  	usb at c5004000 {
>  		status = "okay";
>  		nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)

Brian