Documentation / devicetree / bindings / spi / hpe,gxp-spifi.yaml


Based on kernel version 6.10. Page generated on 2024-07-16 09:00 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/hpe,gxp-spifi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: HPE GXP spi controller flash interface

maintainers:
  - Nick Hawkins <nick.hawkins@hpe.com>
  - Jean-Marie Verdun <verdun@hpe.com>

allOf:
  - $ref: spi-controller.yaml#

properties:
  compatible:
    const: hpe,gxp-spifi

  reg:
    items:
      - description: cfg registers
      - description: data registers
      - description: mapped memory

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

unevaluatedProperties: false

examples:
  - |

    spi@200 {
      compatible = "hpe,gxp-spifi";
      reg = <0x200 0x80>, <0xc000 0x100>, <0x38000000 0x800000>;
      interrupts = <20>;
      interrupt-parent = <&vic0>;
      #address-cells = <1>;
      #size-cells = <0>;
 
      flash@0 {
        reg = <0>;
        compatible = "jedec,spi-nor";
      };
 
      flash@1 {
        reg = <1>;
        compatible = "jedec,spi-nor";
      };
    };