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