brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 07bc7e3 Raw
91 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/mtd/intel,lgm-ebunand.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Intel LGM SoC NAND Controller8 9allOf:10  - $ref: nand-controller.yaml11 12maintainers:13  - Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>14 15properties:16  compatible:17    const: intel,lgm-ebunand18 19  reg:20    maxItems: 621 22  reg-names:23    items:24      - const: ebunand25      - const: hsnand26      - const: nand_cs027      - const: nand_cs128      - const: addr_sel029      - const: addr_sel130 31  clocks:32    maxItems: 133 34  dmas:35    maxItems: 236 37  dma-names:38    items:39      - const: tx40      - const: rx41 42patternProperties:43  "^nand@[a-f0-9]$":44    type: object45    $ref: raw-nand-chip.yaml46    properties:47      reg:48        minimum: 049        maximum: 150 51      nand-ecc-algo:52        const: hw53 54    unevaluatedProperties: false55 56required:57  - compatible58  - reg59  - reg-names60  - clocks61  - dmas62  - dma-names63 64unevaluatedProperties: false65 66examples:67  - |68    nand-controller@e0f00000 {69        compatible = "intel,lgm-ebunand";70        reg = <0xe0f00000 0x100>,71              <0xe1000000 0x300>,72              <0xe1400000 0x8000>,73              <0xe1c00000 0x1000>,74              <0x17400000 0x4>,75              <0x17c00000 0x4>;76        reg-names = "ebunand", "hsnand", "nand_cs0", "nand_cs1",77                    "addr_sel0", "addr_sel1";78        clocks = <&cgu0 125>;79        dmas = <&dma0 8>, <&dma0 9>;80        dma-names = "tx", "rx";81        #address-cells = <1>;82        #size-cells = <0>;83 84        nand@0 {85            reg = <0>;86            nand-ecc-mode = "hw";87        };88    };89 90...91