OSDN Git Service

ARM: dts: r9a06g032: Describe the NAND controller
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 17 Dec 2021 14:20:33 +0000 (15:20 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 24 Jan 2022 09:09:13 +0000 (10:09 +0100)
Describe the NAND controller embedded in r9a06g032 SoCs.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20211217142033.353599-5-miquel.raynal@bootlin.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/r9a06g032.dtsi

index c47896e..db65722 100644 (file)
                        status = "okay";
                };
 
+               nand_controller: nand-controller@40102000 {
+                       compatible = "renesas,r9a06g032-nandc", "renesas,rzn1-nandc";
+                       reg = <0x40102000 0x2000>;
+                       interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&sysctrl R9A06G032_HCLK_NAND>, <&sysctrl R9A06G032_CLK_NAND>;
+                       clock-names = "hclk", "eclk";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                gic: interrupt-controller@44101000 {
                        compatible = "arm,gic-400", "arm,cortex-a7-gic";
                        interrupt-controller;