[U-Boot] [PATCH 1/4] Tegra: All Tamonten-derived boards use onboard NAND

Thierry Reding
2013-02-14T07:54:51Z

Move the nand-controller node to the tegra20-tamonten.dtsi so that it
can be shared between all derived boards.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
---
This depends on Tom's "Tegra: MMC: Add DT support for MMC to T20 boards"
patches.

board/avionic-design/dts/tegra20-tamonten.dtsi | 11 +++++++++++
board/avionic-design/dts/tegra20-tec.dts | 11 -----------
2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/board/avionic-design/dts/tegra20-tamonten.dtsi b/board/avionic-design/dts/tegra20-tamonten.dtsi
index 4766aba..0a95ac1 100644
--- a/board/avionic-design/dts/tegra20-tamonten.dtsi
+++ b/board/avionic-design/dts/tegra20-tamonten.dtsi
@@ -279,6 +279,17 @@
status = "okay";
};

+ nand-controller at 70008000 {
+ nvidia,wp-gpios = <&gpio 23 0>; /* PC7 */
+ nvidia,width = <8>;
+ nvidia,timing = <26 100 20 80 20 10 12 10 70>;
+
+ nand at 0 {
+ reg = <0>;
+ compatible = "hynix,hy27uf4g2b", "nand-flash";
+ };
+ };
+
i2c at 7000c000 {
clock-frequency = <400000>;
status = "okay";
diff --git a/board/avionic-design/dts/tegra20-tec.dts b/board/avionic-design/dts/tegra20-tec.dts
index 376d279..694682c 100644
--- a/board/avionic-design/dts/tegra20-tec.dts
+++ b/board/avionic-design/dts/tegra20-tec.dts
@@ -32,17 +32,6 @@
clock-frequency = <216000000>;
};

- nand-controller at 70008000 {
- nvidia,wp-gpios = <&gpio 23 0>; /* PC7 */
- nvidia,width = <8>;
- nvidia,timing = <26 100 20 80 20 10 12 10 70>;
-
- nand at 0 {
- reg = <0>;
- compatible = "hynix,hy27uf4g2b", "nand-flash";
- };
- };
-
i2c at 7000c000 {
status = "disabled";
};
--
1.8.1.2