| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/bus/fsl,spba-bus.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Shared Peripherals Bus Interface |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Shawn Guo <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
A simple bus enabling access to shared peripherals. |
| 14 |
|
| 15 |
The "spba-bus" follows the "simple-bus" set of properties, as |
| 16 |
specified in the Devicetree Specification. It is an extension of |
| 17 |
"simple-bus" because the SDMA controller uses this compatible flag to |
| 18 |
determine which peripherals are available to it and the range over which |
| 19 |
the SDMA can access. There are no special clocks for the bus, because |
| 20 |
the SDMA controller itself has its interrupt and clock assignments. |
| 21 |
|
| 22 |
EMI (External Memory Interface) for legacy i.MX35. |
| 23 |
|
| 24 |
select: |
| 25 |
properties: |
| 26 |
compatible: |
| 27 |
contains: |
| 28 |
enum: |
| 29 |
- fsl,aips |
| 30 |
- fsl,emi |
| 31 |
- fsl,spba-bus |
| 32 |
required: |
| 33 |
- compatible |
| 34 |
|
| 35 |
properties: |
| 36 |
$nodename: |
| 37 |
pattern: "^((spba|emi)-bus|bus)(@[0-9a-f]+)?$" |
| 38 |
|
| 39 |
compatible: |
| 40 |
items: |
| 41 |
- enum: |
| 42 |
- fsl,aips |
| 43 |
- fsl,emi |
| 44 |
- fsl,spba-bus |
| 45 |
- const: simple-bus |
| 46 |
|
| 47 |
'#address-cells': |
| 48 |
enum: [ 1, 2 ] |
| 49 |
|
| 50 |
'#size-cells': |
| 51 |
enum: [ 1, 2 ] |
| 52 |
|
| 53 |
reg: |
| 54 |
maxItems: 1 |
| 55 |
|
| 56 |
ranges: true |
| 57 |
|
| 58 |
required: |
| 59 |
- compatible |
| 60 |
- '#address-cells' |
| 61 |
- '#size-cells' |
| 62 |
- reg |
| 63 |
- ranges |
| 64 |
|
| 65 |
additionalProperties: |
| 66 |
type: object |
| 67 |
|
| 68 |
examples: |
| 69 |
- | |
| 70 |
spba-bus@30000000 { |
| 71 |
compatible = "fsl,spba-bus", "simple-bus"; |
| 72 |
#address-cells = <1>; |
| 73 |
#size-cells = <1>; |
| 74 |
reg = <0x30000000 0x100000>; |
| 75 |
ranges; |
| 76 |
}; |