diff options
author | Stefan Agner <stefan@agner.ch> | 2018-06-24 23:27:27 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-07-09 18:51:01 +0200 |
commit | 5def854e370ff5c52172fb185932fdbffbf15692 (patch) | |
tree | dbbd7387af5909e048b4ca6fab59d1558ac8afcf /arch/arm/boot/dts/tegra20-colibri.dtsi | |
parent | ARM: dts: tegra: add Tegra20 NAND flash controller node (diff) | |
download | linux-5def854e370ff5c52172fb185932fdbffbf15692.tar.xz linux-5def854e370ff5c52172fb185932fdbffbf15692.zip |
ARM: dts: tegra: enable NAND flash on Colibri T20
This enables the on-module ONFI conformant NAND flash.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-colibri.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra20-colibri.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index dc06b23183e1..e7b9ab09908a 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -218,6 +218,22 @@ GPIO_ACTIVE_HIGH>; }; + 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>; + }; + }; + /* * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier * board) |