66 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mtd/samsung,s5pv210-onenand.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung S5Pv210 SoC OneNAND Controller8 9maintainers:10 - Krzysztof Kozlowski <krzk@kernel.org>11 12properties:13 compatible:14 enum:15 - samsung,s5pv210-onenand16 17 reg:18 items:19 - description: Control registers20 - description: OneNAND interface nCE[0]21 - description: OneNAND interface nCE[1]22 23 clocks:24 maxItems: 225 26 clock-names:27 items:28 - const: bus29 - const: onenand30 31 interrupts:32 maxItems: 133 34required:35 - compatible36 - reg37 - clocks38 - clock-names39 - interrupts40 41allOf:42 - $ref: nand-controller.yaml43 44unevaluatedProperties: false45 46examples:47 - |48 #include <dt-bindings/clock/s5pv210.h>49 50 nand-controller@b0600000 {51 compatible = "samsung,s5pv210-onenand";52 reg = <0xb0600000 0x2000>,53 <0xb0000000 0x20000>,54 <0xb0040000 0x20000>;55 clocks = <&clocks CLK_NANDXL>, <&clocks DOUT_FLASH>;56 clock-names = "bus", "onenand";57 interrupt-parent = <&vic1>;58 interrupts = <31>;59 #address-cells = <1>;60 #size-cells = <0>;61 62 nand@0 {63 reg = <0>;64 };65 };66