brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 4e0d391 Raw
67 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/spi/nuvoton,wpcm450-fiu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Nuvoton WPCM450 Flash Interface Unit (FIU)8 9maintainers:10  - Jonathan Neuschäfer <j.neuschaefer@gmx.net>11 12allOf:13  - $ref: /schemas/spi/spi-controller.yaml#14 15properties:16  compatible:17    const: nuvoton,wpcm450-fiu18 19  reg:20    items:21      - description: FIU registers22      - description: Memory-mapped flash contents23 24  reg-names:25    items:26      - const: control27      - const: memory28 29  interrupts:30    maxItems: 131 32  clocks:33    maxItems: 134 35  nuvoton,shm:36    $ref: /schemas/types.yaml#/definitions/phandle37    description: a phandle to the SHM block (see ../arm/nuvoton,shm.yaml)38 39required:40  - compatible41  - reg42  - clocks43 44unevaluatedProperties: false45 46examples:47  - |48    spi@c8000000 {49      compatible = "nuvoton,wpcm450-fiu";50      reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>;51      #address-cells = <1>;52      #size-cells = <0>;53      reg-names = "control", "memory";54      clocks = <&clk 0>;55      nuvoton,shm = <&shm>;56 57      flash@0 {58        compatible = "jedec,spi-nor";59        reg = <0>;60      };61    };62 63    shm: syscon@c8001000 {64      compatible = "nuvoton,wpcm450-shm", "syscon";65      reg = <0xc8001000 0x1000>;66    };67