1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/mtd/nxp,lpc1773-spifi.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: NXP SPI Flash Interface (SPIFI) 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotdescription: 10*833e5d42SEmmanuel Vadot NXP SPIFI is a specialized SPI interface for serial Flash devices. 11*833e5d42SEmmanuel Vadot It supports one Flash device with 1-, 2- and 4-bits width in SPI 12*833e5d42SEmmanuel Vadot mode 0 or 3. The controller operates in either command or memory 13*833e5d42SEmmanuel Vadot mode. In memory mode the Flash is accessible from the CPU as 14*833e5d42SEmmanuel Vadot normal memory. 15*833e5d42SEmmanuel Vadot 16*833e5d42SEmmanuel Vadotmaintainers: 17*833e5d42SEmmanuel Vadot - Frank Li <Frank.Li@nxp.com> 18*833e5d42SEmmanuel Vadot 19*833e5d42SEmmanuel Vadotproperties: 20*833e5d42SEmmanuel Vadot compatible: 21*833e5d42SEmmanuel Vadot const: nxp,lpc1773-spifi 22*833e5d42SEmmanuel Vadot 23*833e5d42SEmmanuel Vadot reg: 24*833e5d42SEmmanuel Vadot maxItems: 2 25*833e5d42SEmmanuel Vadot 26*833e5d42SEmmanuel Vadot reg-names: 27*833e5d42SEmmanuel Vadot items: 28*833e5d42SEmmanuel Vadot - const: spifi 29*833e5d42SEmmanuel Vadot - const: flash 30*833e5d42SEmmanuel Vadot 31*833e5d42SEmmanuel Vadot interrupts: 32*833e5d42SEmmanuel Vadot maxItems: 1 33*833e5d42SEmmanuel Vadot 34*833e5d42SEmmanuel Vadot clocks: 35*833e5d42SEmmanuel Vadot maxItems: 2 36*833e5d42SEmmanuel Vadot 37*833e5d42SEmmanuel Vadot clock-names: 38*833e5d42SEmmanuel Vadot items: 39*833e5d42SEmmanuel Vadot - const: spifi 40*833e5d42SEmmanuel Vadot - const: reg 41*833e5d42SEmmanuel Vadot 42*833e5d42SEmmanuel Vadot resets: 43*833e5d42SEmmanuel Vadot maxItems: 1 44*833e5d42SEmmanuel Vadot 45*833e5d42SEmmanuel Vadot spi-cpol: 46*833e5d42SEmmanuel Vadot enum: [0, 3] 47*833e5d42SEmmanuel Vadot 48*833e5d42SEmmanuel Vadotrequired: 49*833e5d42SEmmanuel Vadot - compatible 50*833e5d42SEmmanuel Vadot - reg 51*833e5d42SEmmanuel Vadot - reg-names 52*833e5d42SEmmanuel Vadot - interrupts 53*833e5d42SEmmanuel Vadot - clocks 54*833e5d42SEmmanuel Vadot - clock-names 55*833e5d42SEmmanuel Vadot 56*833e5d42SEmmanuel VadotallOf: 57*833e5d42SEmmanuel Vadot - $ref: /schemas/spi/spi-controller.yaml# 58*833e5d42SEmmanuel Vadot 59*833e5d42SEmmanuel VadotunevaluatedProperties: false 60*833e5d42SEmmanuel Vadot 61*833e5d42SEmmanuel Vadotexamples: 62*833e5d42SEmmanuel Vadot - | 63*833e5d42SEmmanuel Vadot #include <dt-bindings/clock/lpc18xx-ccu.h> 64*833e5d42SEmmanuel Vadot 65*833e5d42SEmmanuel Vadot spi@40003000 { 66*833e5d42SEmmanuel Vadot compatible = "nxp,lpc1773-spifi"; 67*833e5d42SEmmanuel Vadot reg = <0x40003000 0x1000>, <0x14000000 0x4000000>; 68*833e5d42SEmmanuel Vadot reg-names = "spifi", "flash"; 69*833e5d42SEmmanuel Vadot interrupts = <30>; 70*833e5d42SEmmanuel Vadot clocks = <&ccu1 CLK_SPIFI>, <&ccu1 CLK_CPU_SPIFI>; 71*833e5d42SEmmanuel Vadot clock-names = "spifi", "reg"; 72*833e5d42SEmmanuel Vadot resets = <&rgu 53>; 73*833e5d42SEmmanuel Vadot }; 74*833e5d42SEmmanuel Vadot 75