ImgTec Powerdown Controller (PDC) Interrupt Controller

Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/img,pdc-intc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "James Hogan <jhogan@kernel.org>"

ImgTec Powerdown Controller (PDC) Interrupt Controller has a number of input interrupt lines which can wake the system, and are passed on through output interrupt lines.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "img,pdc-intc"

reg — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

<1st-cell>: The interrupt-number that identifies the interrupt source.
  0-7:  Peripheral interrupts
  8-15: SysWake interrupts
<2nd-cell>: The level-sense information, encoded using the Linux interrupt
  flags as follows (only 4 valid for peripheral interrupts):
  0 = none (decided by software)
  1 = low-to-high edge triggered
  2 = high-to-low edge triggered
  3 = both edge triggered
  4 = active-high level-sensitive (required for perip irqs)
  8 = active-low level-sensitive

Exact value (const): 2

num-perips — required here #

Number of waking peripherals

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 8

num-syswakes — required here #

Number of SysWake inputs

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 8

interrupts — required here #

First entry is syswake IRQ. Subsequent entries are 1 per peripheral.

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 9

Required in this object (required): "compatible", "reg", "interrupt-controller", "#interrupt-cells", "num-perips", "num-syswakes", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

interrupt-controller@2006000 {
    compatible = "img,pdc-intc";
    reg = <0x02006000 0x1000>;
    interrupts = <18 4>, <30 4>, <29 4>, <31 4>;
    interrupt-controller;
    #interrupt-cells = <2>;
    num-perips = <3>;
    num-syswakes = <4>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page