0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/bus/fsl,spba-bus.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Shared Peripherals Bus Interface
0008
0009 maintainers:
0010 - Shawn Guo <shawnguo@kernel.org>
0011
0012 description: |
0013 A simple bus enabling access to shared peripherals.
0014
0015 The "spba-bus" follows the "simple-bus" set of properties, as
0016 specified in the Devicetree Specification. It is an extension of
0017 "simple-bus" because the SDMA controller uses this compatible flag to
0018 determine which peripherals are available to it and the range over which
0019 the SDMA can access. There are no special clocks for the bus, because
0020 the SDMA controller itself has its interrupt and clock assignments.
0021
0022 select:
0023 properties:
0024 compatible:
0025 contains:
0026 const: fsl,spba-bus
0027 required:
0028 - compatible
0029
0030 properties:
0031 $nodename:
0032 pattern: "^spba-bus(@[0-9a-f]+)?$"
0033
0034 compatible:
0035 items:
0036 - const: fsl,spba-bus
0037 - const: simple-bus
0038
0039 '#address-cells':
0040 enum: [ 1, 2 ]
0041
0042 '#size-cells':
0043 enum: [ 1, 2 ]
0044
0045 reg:
0046 maxItems: 1
0047
0048 ranges: true
0049
0050 required:
0051 - compatible
0052 - '#address-cells'
0053 - '#size-cells'
0054 - reg
0055 - ranges
0056
0057 additionalProperties:
0058 type: object
0059
0060 examples:
0061 - |
0062 spba-bus@30000000 {
0063 compatible = "fsl,spba-bus", "simple-bus";
0064 #address-cells = <1>;
0065 #size-cells = <1>;
0066 reg = <0x30000000 0x100000>;
0067 ranges;
0068 };