arm64: dts: rockchip: Add NFC node for RK3308 SoC
authorYifeng Zhao <yifeng.zhao@rock-chips.com>
Thu, 10 Dec 2020 00:21:34 +0000 (08:21 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 18 Jan 2021 12:33:42 +0000 (13:33 +0100)
Add NAND FLASH Controller(NFC) node for RK3308 SoC.

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Link: https://lore.kernel.org/r/20201210002134.5686-5-yifeng.zhao@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3308.dtsi

index 2560b98..7211fab 100644 (file)
                status = "disabled";
        };
 
+       nfc: nand-controller@ff4b0000 {
+               compatible = "rockchip,rk3308-nfc",
+                            "rockchip,rv1108-nfc";
+               reg = <0x0 0xff4b0000 0x0 0x4000>;
+               interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
+               clock-names = "ahb", "nfc";
+               assigned-clocks = <&cru SCLK_NANDC>;
+               assigned-clock-rates = <150000000>;
+               pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
+                            &flash_rdn &flash_rdy &flash_wrn>;
+               pinctrl-names = "default";
+               status = "disabled";
+       };
+
        cru: clock-controller@ff500000 {
                compatible = "rockchip,rk3308-cru";
                reg = <0x0 0xff500000 0x0 0x1000>;