1*2846c905SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*2846c905SEmmanuel Vadot%YAML 1.2 3*2846c905SEmmanuel Vadot--- 4*2846c905SEmmanuel Vadot$id: http://devicetree.org/schemas/mtd/cdns,hp-nfc.yaml# 5*2846c905SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*2846c905SEmmanuel Vadot 7*2846c905SEmmanuel Vadottitle: Cadence NAND controller 8*2846c905SEmmanuel Vadot 9*2846c905SEmmanuel Vadotmaintainers: 10*2846c905SEmmanuel Vadot - Niravkumar L Rabara <niravkumar.l.rabara@intel.com> 11*2846c905SEmmanuel Vadot 12*2846c905SEmmanuel VadotallOf: 13*2846c905SEmmanuel Vadot - $ref: nand-controller.yaml 14*2846c905SEmmanuel Vadot 15*2846c905SEmmanuel Vadotproperties: 16*2846c905SEmmanuel Vadot compatible: 17*2846c905SEmmanuel Vadot items: 18*2846c905SEmmanuel Vadot - const: cdns,hp-nfc 19*2846c905SEmmanuel Vadot 20*2846c905SEmmanuel Vadot reg: 21*2846c905SEmmanuel Vadot items: 22*2846c905SEmmanuel Vadot - description: Controller register set 23*2846c905SEmmanuel Vadot - description: Slave DMA data port register set 24*2846c905SEmmanuel Vadot 25*2846c905SEmmanuel Vadot reg-names: 26*2846c905SEmmanuel Vadot items: 27*2846c905SEmmanuel Vadot - const: reg 28*2846c905SEmmanuel Vadot - const: sdma 29*2846c905SEmmanuel Vadot 30*2846c905SEmmanuel Vadot interrupts: 31*2846c905SEmmanuel Vadot maxItems: 1 32*2846c905SEmmanuel Vadot 33*2846c905SEmmanuel Vadot clocks: 34*2846c905SEmmanuel Vadot maxItems: 1 35*2846c905SEmmanuel Vadot 36*2846c905SEmmanuel Vadot clock-names: 37*2846c905SEmmanuel Vadot items: 38*2846c905SEmmanuel Vadot - const: nf_clk 39*2846c905SEmmanuel Vadot 40*2846c905SEmmanuel Vadot dmas: 41*2846c905SEmmanuel Vadot maxItems: 1 42*2846c905SEmmanuel Vadot 43*2846c905SEmmanuel Vadot cdns,board-delay-ps: 44*2846c905SEmmanuel Vadot description: | 45*2846c905SEmmanuel Vadot Estimated Board delay. The value includes the total round trip 46*2846c905SEmmanuel Vadot delay for the signals and is used for deciding on values associated 47*2846c905SEmmanuel Vadot with data read capture. The example formula for SDR mode is the 48*2846c905SEmmanuel Vadot following. 49*2846c905SEmmanuel Vadot board delay = RE#PAD delay + PCB trace to device + PCB trace from device 50*2846c905SEmmanuel Vadot + DQ PAD delay 51*2846c905SEmmanuel Vadot 52*2846c905SEmmanuel Vadotrequired: 53*2846c905SEmmanuel Vadot - compatible 54*2846c905SEmmanuel Vadot - reg 55*2846c905SEmmanuel Vadot - reg-names 56*2846c905SEmmanuel Vadot - interrupts 57*2846c905SEmmanuel Vadot - clocks 58*2846c905SEmmanuel Vadot - clock-names 59*2846c905SEmmanuel Vadot 60*2846c905SEmmanuel VadotunevaluatedProperties: false 61*2846c905SEmmanuel Vadot 62*2846c905SEmmanuel Vadotexamples: 63*2846c905SEmmanuel Vadot - | 64*2846c905SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 65*2846c905SEmmanuel Vadot 66*2846c905SEmmanuel Vadot nand-controller@10b80000 { 67*2846c905SEmmanuel Vadot compatible = "cdns,hp-nfc"; 68*2846c905SEmmanuel Vadot reg = <0x10b80000 0x10000>, 69*2846c905SEmmanuel Vadot <0x10840000 0x10000>; 70*2846c905SEmmanuel Vadot reg-names = "reg", "sdma"; 71*2846c905SEmmanuel Vadot #address-cells = <1>; 72*2846c905SEmmanuel Vadot #size-cells = <0>; 73*2846c905SEmmanuel Vadot interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 74*2846c905SEmmanuel Vadot clocks = <&clk>; 75*2846c905SEmmanuel Vadot clock-names = "nf_clk"; 76*2846c905SEmmanuel Vadot cdns,board-delay-ps = <4830>; 77*2846c905SEmmanuel Vadot 78*2846c905SEmmanuel Vadot nand@0 { 79*2846c905SEmmanuel Vadot reg = <0>; 80*2846c905SEmmanuel Vadot }; 81*2846c905SEmmanuel Vadot }; 82