| 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 |
|
| 7 |
title: HPE GXP spi controller flash interface |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Nick Hawkins <[email protected]> |
| 11 |
- Jean-Marie Verdun <[email protected]> |
| 12 |
|
| 13 |
allOf: |
| 14 |
- $ref: spi-controller.yaml# |
| 15 |
|
| 16 |
properties: |
| 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 |
|
| 29 |
required: |
| 30 |
- compatible |
| 31 |
- reg |
| 32 |
- interrupts |
| 33 |
|
| 34 |
unevaluatedProperties: false |
| 35 |
|
| 36 |
examples: |
| 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 |
}; |