xref: /freebsd/sys/contrib/device-tree/Bindings/spi/hpe,gxp-spifi.yaml (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/hpe,gxp-spifi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: HPE GXP spi controller flash interface
8
9maintainers:
10  - Nick Hawkins <nick.hawkins@hpe.com>
11  - Jean-Marie Verdun <verdun@hpe.com>
12
13allOf:
14  - $ref: spi-controller.yaml#
15
16properties:
17  compatible:
18    const: hpe,gxp-spifi
19
20  reg:
21    items:
22      - description: cfg registers
23      - description: data registers
24      - description: mapped memory
25
26  interrupts:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32  - interrupts
33
34unevaluatedProperties: false
35
36examples:
37  - |
38
39    spi@200 {
40      compatible = "hpe,gxp-spifi";
41      reg = <0x200 0x80>, <0xc000 0x100>, <0x38000000 0x800000>;
42      interrupts = <20>;
43      interrupt-parent = <&vic0>;
44      #address-cells = <1>;
45      #size-cells = <0>;
46
47      flash@0 {
48        reg = <0>;
49        compatible = "jedec,spi-nor";
50      };
51
52      flash@1 {
53        reg = <1>;
54        compatible = "jedec,spi-nor";
55      };
56    };
57