mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
Convert the OpenRISC PIC interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
39 lines
827 B
YAML
39 lines
827 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/interrupt-controller/opencores,or1k-pic.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: OpenRISC 1000 Programmable Interrupt Controller
|
|
|
|
maintainers:
|
|
- Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- opencores,or1k-pic-level
|
|
- opencores,or1k-pic-edge
|
|
- opencores,or1200-pic
|
|
- opencores,or1k-pic
|
|
|
|
interrupt-controller: true
|
|
|
|
'#interrupt-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- interrupt-controller
|
|
- '#interrupt-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
interrupt-controller {
|
|
compatible = "opencores,or1k-pic-level";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
};
|