mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
Convert the IOP3xx and IXP4xx XScale bindings to DT schema. This conversion also adds the interrupts property, as it is used by the driver and existing DTS files but was not documented in the original binding. Signed-off-by: Shi Hao <i.shihao.999@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20260330054439.9545-1-i.shihao.999@gmail.com
42 lines
787 B
YAML
42 lines
787 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/i2c/intel,ixp4xx-i2c.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: I2c Controller on XScale platforms such as IOP3xx and IXP4xx
|
|
|
|
maintainers:
|
|
- Andi Shyti <andi.shyti@kernel.org>
|
|
|
|
allOf:
|
|
- $ref: /schemas/i2c/i2c-controller.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- intel,iop3xx-i2c
|
|
- intel,ixp4xx-i2c
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
i2c@c8011000 {
|
|
compatible = "intel,ixp4xx-i2c";
|
|
reg = <0xc8011000 0x18>;
|
|
interrupts = <33 IRQ_TYPE_LEVEL_LOW>;
|
|
};
|