Patchwork [4/8] ARM: sti: Enable BCH NAND for STiH416 B2020-RevE

login
register
mail settings
Submitter Lee Jones
Date Aug. 18, 2014, 10:31 a.m.
Message ID <1408357919-19793-5-git-send-email-lee.jones@linaro.org>
Download mbox | patch
Permalink /patch/380955/
State New
Headers show

Comments

Lee Jones - Aug. 18, 2014, 10:31 a.m.
Also supply the platform specific clocks required by the NAND driver.

Reviewed-By: Pekon Gupta <pekon@pek-sem.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/boot/dts/stih416-b2020e.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch

diff --git a/arch/arm/boot/dts/stih416-b2020e.dts b/arch/arm/boot/dts/stih416-b2020e.dts
index ba0fa2c..f4b92d5 100644
--- a/arch/arm/boot/dts/stih416-b2020e.dts
+++ b/arch/arm/boot/dts/stih416-b2020e.dts
@@ -31,5 +31,13 @@ 
 		ethernet1: dwmac@fef08000 {
 			snps,reset-gpio = <&PIO0 7>;
 		};
+
+		nand@fe901000 {
+			clock-names = "emi", "bch";
+			clocks = <&clk_s_a0_ls CLK_EMISS>,
+				 <&clk_s_a1_ls CLK_NAND_CTRL>;
+
+			status = "okay";
+		};
 	};
 };