[RFC PATCH v2 08/10] arm64: dts: rockchip: add nandc node for rk3308

From: Johan Jonker
Date: Fri Jan 24 2020 - 11:30:27 EST


From: Dingqiang Lin <jon.lin@xxxxxxxxxxxxxx>

Add nandc node for rk3308.

Signed-off-by: Dingqiang Lin <jon.lin@xxxxxxxxxxxxxx>
Signed-off-by: Johan Jonker <jbx6244@xxxxxxxxx>
---
arch/arm64/boot/dts/rockchip/rk3308.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
index 8bdc66c62..a6c98edfb 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
@@ -627,6 +627,15 @@
status = "disabled";
};

+ nandc: nand-controller@ff4b0000 {
+ compatible = "rockchip,rk3308-nand-controller";
+ reg = <0x0 0xff4b0000 0x0 0x4000>;
+ interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
+ clock-names = "hclk_nandc", "clk_nandc";
+ status = "disabled";
+ };
+
cru: clock-controller@ff500000 {
compatible = "rockchip,rk3308-cru";
reg = <0x0 0xff500000 0x0 0x1000>;
--
2.11.0