linux-loongson/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
Rob Herring (Arm) b69cfaf884 dt-bindings: imx: fsl,aips-bus: Ensure all properties are defined
Device specific schemas should not allow undefined properties which is
what 'additionalProperties: true' allows. Add a reference to
simple-bus.yaml which has the additional properties used, and fix this
constraint.

Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250203213027.8284-1-robh@kernel.org
2025-02-13 14:32:30 -06:00

53 lines
948 B
YAML

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/imx/fsl,aips-bus.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: i.MX AHB to IP Bridge
maintainers:
- Peng Fan <peng.fan@nxp.com>
description: |
This particular peripheral is designed as the bridge between
AHB bus and peripherals with the lower bandwidth IP Slave (IPS)
buses.
select:
properties:
compatible:
contains:
const: fsl,aips-bus
required:
- compatible
allOf:
- $ref: /schemas/simple-bus.yaml#
properties:
compatible:
items:
- const: fsl,aips-bus
- const: simple-bus
reg:
maxItems: 1
required:
- compatible
- reg
unevaluatedProperties: false
examples:
- |
bus@30000000 {
compatible = "fsl,aips-bus", "simple-bus";
reg = <0x30000000 0x400000>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
};
...