1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*8bab661aSEmmanuel Vadot%YAML 1.2 3*8bab661aSEmmanuel Vadot--- 4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/spi/nuvoton,wpcm450-fiu.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Nuvoton WPCM450 Flash Interface Unit (FIU) 8*8bab661aSEmmanuel Vadot 9*8bab661aSEmmanuel Vadotmaintainers: 10*8bab661aSEmmanuel Vadot - Jonathan Neuschäfer <j.neuschaefer@gmx.net> 11*8bab661aSEmmanuel Vadot 12*8bab661aSEmmanuel VadotallOf: 13*8bab661aSEmmanuel Vadot - $ref: /schemas/spi/spi-controller.yaml# 14*8bab661aSEmmanuel Vadot 15*8bab661aSEmmanuel Vadotproperties: 16*8bab661aSEmmanuel Vadot compatible: 17*8bab661aSEmmanuel Vadot const: nuvoton,wpcm450-fiu 18*8bab661aSEmmanuel Vadot 19*8bab661aSEmmanuel Vadot reg: 20*8bab661aSEmmanuel Vadot items: 21*8bab661aSEmmanuel Vadot - description: FIU registers 22*8bab661aSEmmanuel Vadot - description: Memory-mapped flash contents 23*8bab661aSEmmanuel Vadot 24*8bab661aSEmmanuel Vadot reg-names: 25*8bab661aSEmmanuel Vadot items: 26*8bab661aSEmmanuel Vadot - const: control 27*8bab661aSEmmanuel Vadot - const: memory 28*8bab661aSEmmanuel Vadot 29*8bab661aSEmmanuel Vadot interrupts: 30*8bab661aSEmmanuel Vadot maxItems: 1 31*8bab661aSEmmanuel Vadot 32*8bab661aSEmmanuel Vadot clocks: 33*8bab661aSEmmanuel Vadot maxItems: 1 34*8bab661aSEmmanuel Vadot 35*8bab661aSEmmanuel Vadot nuvoton,shm: 36*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 37*8bab661aSEmmanuel Vadot description: a phandle to the SHM block (see ../arm/nuvoton,shm.yaml) 38*8bab661aSEmmanuel Vadot 39*8bab661aSEmmanuel Vadotrequired: 40*8bab661aSEmmanuel Vadot - compatible 41*8bab661aSEmmanuel Vadot - reg 42*8bab661aSEmmanuel Vadot - clocks 43*8bab661aSEmmanuel Vadot 44*8bab661aSEmmanuel VadotunevaluatedProperties: false 45*8bab661aSEmmanuel Vadot 46*8bab661aSEmmanuel Vadotexamples: 47*8bab661aSEmmanuel Vadot - | 48*8bab661aSEmmanuel Vadot spi@c8000000 { 49*8bab661aSEmmanuel Vadot compatible = "nuvoton,wpcm450-fiu"; 50*8bab661aSEmmanuel Vadot reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>; 51*8bab661aSEmmanuel Vadot #address-cells = <1>; 52*8bab661aSEmmanuel Vadot #size-cells = <0>; 53*8bab661aSEmmanuel Vadot reg-names = "control", "memory"; 54*8bab661aSEmmanuel Vadot clocks = <&clk 0>; 55*8bab661aSEmmanuel Vadot nuvoton,shm = <&shm>; 56*8bab661aSEmmanuel Vadot 57*8bab661aSEmmanuel Vadot flash@0 { 58*8bab661aSEmmanuel Vadot compatible = "jedec,spi-nor"; 59*8bab661aSEmmanuel Vadot reg = <0>; 60*8bab661aSEmmanuel Vadot }; 61*8bab661aSEmmanuel Vadot }; 62*8bab661aSEmmanuel Vadot 63*8bab661aSEmmanuel Vadot shm: syscon@c8001000 { 64*8bab661aSEmmanuel Vadot compatible = "nuvoton,wpcm450-shm", "syscon"; 65*8bab661aSEmmanuel Vadot reg = <0xc8001000 0x1000>; 66*8bab661aSEmmanuel Vadot }; 67