1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/mtd/renesas 4 $id: http://devicetree.org/schemas/mtd/renesas-nandc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Renesas R-Car Gen3 & RZ/N1x NAND flash 7 title: Renesas R-Car Gen3 & RZ/N1x NAND flash controller 8 8 9 maintainers: 9 maintainers: 10 - Miquel Raynal <miquel.raynal@bootlin.com> 10 - Miquel Raynal <miquel.raynal@bootlin.com> 11 11 12 allOf: 12 allOf: 13 - $ref: nand-controller.yaml 13 - $ref: nand-controller.yaml 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 oneOf: 17 oneOf: 18 - items: 18 - items: 19 - enum: 19 - enum: 20 - renesas,r9a06g032-nandc 20 - renesas,r9a06g032-nandc 21 - const: renesas,rzn1-nandc 21 - const: renesas,rzn1-nandc 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 interrupts: 26 interrupts: 27 maxItems: 1 27 maxItems: 1 28 28 29 clocks: 29 clocks: 30 items: 30 items: 31 - description: APB host controller clock 31 - description: APB host controller clock 32 - description: External NAND bus clock 32 - description: External NAND bus clock 33 33 34 clock-names: 34 clock-names: 35 items: 35 items: 36 - const: hclk 36 - const: hclk 37 - const: eclk 37 - const: eclk 38 38 39 power-domains: 39 power-domains: 40 maxItems: 1 40 maxItems: 1 41 41 42 required: 42 required: 43 - compatible 43 - compatible 44 - reg 44 - reg 45 - clocks 45 - clocks 46 - clock-names 46 - clock-names 47 - power-domains 47 - power-domains 48 - interrupts 48 - interrupts 49 49 50 unevaluatedProperties: false 50 unevaluatedProperties: false 51 51 52 examples: 52 examples: 53 - | 53 - | 54 #include <dt-bindings/interrupt-controller 54 #include <dt-bindings/interrupt-controller/arm-gic.h> 55 #include <dt-bindings/clock/r9a06g032-sysc 55 #include <dt-bindings/clock/r9a06g032-sysctrl.h> 56 56 57 nand-controller@40102000 { 57 nand-controller@40102000 { 58 compatible = "renesas,r9a06g032-nandc" 58 compatible = "renesas,r9a06g032-nandc", "renesas,rzn1-nandc"; 59 reg = <0x40102000 0x2000>; 59 reg = <0x40102000 0x2000>; 60 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVE 60 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; 61 clocks = <&sysctrl R9A06G032_HCLK_NAND 61 clocks = <&sysctrl R9A06G032_HCLK_NAND>, <&sysctrl R9A06G032_CLK_NAND>; 62 clock-names = "hclk", "eclk"; 62 clock-names = "hclk", "eclk"; 63 power-domains = <&sysctrl>; 63 power-domains = <&sysctrl>; 64 #address-cells = <1>; 64 #address-cells = <1>; 65 #size-cells = <0>; 65 #size-cells = <0>; 66 }; 66 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.