Lines Matching +full:elm +full:- +full:id
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mtd/ti,gpmc-nand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tony Lindgren <tony@atomide.com>
11 - Roger Quadros <rogerq@kernel.org>
20 - enum:
21 - ti,am64-nand
22 - ti,omap2-nand
29 - description: Interrupt for fifoevent
30 - description: Interrupt for termcount
32 "#address-cells": true
34 "#size-cells": true
36 ti,nand-ecc-opt:
41 ti,nand-xfer-type:
44 enum: [prefetch-polled, polled, prefetch-dma, prefetch-irq]
45 default: prefetch-polled
47 ti,elm-id:
49 phandle to the ELM (Error Location Module).
52 nand-bus-width:
59 rb-gpios:
65 "@[0-9a-f]+$":
69 - $ref: /schemas/memory-controllers/ti,gpmc-child.yaml
72 - compatible
73 - reg
74 - ti,nand-ecc-opt
79 - |
80 #include <dt-bindings/interrupt-controller/arm-gic.h>
81 #include <dt-bindings/gpio/gpio.h>
83 gpmc: memory-controller@50000000 {
84 compatible = "ti,am3352-gpmc";
86 dma-names = "rxtx";
88 clock-names = "fck";
91 gpmc,num-cs = <7>;
92 gpmc,num-waitpins = <2>;
93 #address-cells = <2>;
94 #size-cells = <1>;
95 interrupt-controller;
96 #interrupt-cells = <2>;
97 gpio-controller;
98 #gpio-cells = <2>;
102 compatible = "ti,omap2-nand";
104 interrupt-parent = <&gpmc>;
107 ti,nand-xfer-type = "prefetch-dma";
108 ti,nand-ecc-opt = "bch16";
109 ti,elm-id = <&elm>;
110 #address-cells = <1>;
111 #size-cells = <1>;
114 nand-bus-width = <8>;
115 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
118 gpmc,device-width = <1>;