[U-Boot] [PATCH v2 5/7] tegra: fdt: Add NAND definitions to fdt
Simon Glass
sjg at chromium.org
Fri Apr 13 20:29:35 CEST 2012
Add a flash node to handle the NAND, including memory timings and
page / block size information.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Update NAND binding to add "nvidia," prefix
board/nvidia/dts/tegra2-seaboard.dts | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/board/nvidia/dts/tegra2-seaboard.dts b/board/nvidia/dts/tegra2-seaboard.dts
index 08ada8c..a11bceb 100644
--- a/board/nvidia/dts/tegra2-seaboard.dts
+++ b/board/nvidia/dts/tegra2-seaboard.dts
@@ -126,4 +126,19 @@
0x00000000 0x00000000 0x00000000 0x00000000 >;
};
};
+
+ nand-controller at 0x70008000 {
+ wp-gpios = <&gpio 59 0>; /* PH3 */
+ nvidia,width = <8>;
+ nvidia,timing = <26 100 20 80 20 10 12 10 70>;
+ nand at 0 {
+ compatible = "hynix,hy27uf4g2b", "nand-flash";
+ nvidia,page-data-bytes = <2048>;
+ nvidia,tag-ecc-bytes = <4>;
+ nvidia,tag-bytes = <20>;
+ nvidia,data-ecc-bytes = <36>;
+ nvidia,skipped-spare-bytes = <4>;
+ nvidia,page-spare-bytes = <64>;
+ };
+ };
};
--
1.7.7.3
More information about the U-Boot
mailing list