HPE GXP spi controller flash interface

Schema identifier ($id): "http://devicetree.org/schemas/spi/hpe,gxp-spifi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nick Hawkins <nick.hawkins@hpe.com>", "Jean-Marie Verdun <verdun@hpe.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): spi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "hpe,gxp-spifi"

reg — required here #

Array item rules (items) #

Item 1

cfg registers

Item 2

data registers

Item 3

mapped memory

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (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";
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page