Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/spi/hpe,gxp-spifi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: HPE GXP spi controller flash interface
0008 
0009 maintainers:
0010   - Nick Hawkins <nick.hawkins@hpe.com>
0011   - Jean-Marie Verdun <verdun@hpe.com>
0012 
0013 allOf:
0014   - $ref: spi-controller.yaml#
0015 
0016 properties:
0017   compatible:
0018     const: hpe,gxp-spifi
0019 
0020   reg:
0021     items:
0022       - description: cfg registers
0023       - description: data registers
0024       - description: mapped memory
0025 
0026   interrupts:
0027     maxItems: 1
0028 
0029 required:
0030   - compatible
0031   - reg
0032   - interrupts
0033 
0034 unevaluatedProperties: false
0035 
0036 examples:
0037   - |
0038 
0039     spi@200 {
0040       compatible = "hpe,gxp-spifi";
0041       reg = <0x200 0x80>, <0xc000 0x100>, <0x38000000 0x800000>;
0042       interrupts = <20>;
0043       interrupt-parent = <&vic0>;
0044       #address-cells = <1>;
0045       #size-cells = <0>;
0046 
0047       flash@0 {
0048         reg = <0>;
0049         compatible = "jedec,spi-nor";
0050       };
0051 
0052       flash@1 {
0053         reg = <1>;
0054         compatible = "jedec,spi-nor";
0055       };
0056     };