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

login
register
mail settings
Submitter Lee Jones
Date Aug. 27, 2014, 12:42 p.m.
Message ID <1409143344-22458-5-git-send-email-lee.jones@linaro.org>
Download mbox | patch
Permalink /patch/383445/
State Superseded
Headers show

Comments

Lee Jones - Aug. 27, 2014, 12:42 p.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";
+		};
 	};
 };