Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Misc bindings

Single-page view · as markdown

Aspeed Coprocessor Vectored Interrupt Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/aspeed,ast2400-cvic.yaml#"

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

Maintainers (maintainers): "Andrew Jeffery <andrew@codeconstruct.com.au>"

The Aspeed AST2400 and AST2500 SoCs have a controller that provides interrupts to the ColdFire coprocessor. It's not a normal interrupt controller and it would be rather inconvenient to create an interrupt tree for it, as it somewhat shares some of the same sources as the main ARM interrupt controller but with different numbers. The AST2500 also supports a software generated interrupt.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "aspeed,ast2400-cvic", "aspeed,ast2500-cvic"

Item 2

Exact value (const): "aspeed,cvic"

reg — required here #

Maximum number of items (maxItems): 1

valid-sources — required here #

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

Maximum number of items (maxItems): 1

A bitmap of supported sources for the implementation.

copro-sw-interrupts — not listed as required here #

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

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

A list of interrupt numbers that can be used as software interrupts from the ARM to the coprocessor.

Required in this object (required): "compatible", "reg", "valid-sources"

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

false

Not allowed by this rule.

Examples (examples) #

interrupt-controller@1e6c2000 {
    compatible = "aspeed,ast2500-cvic", "aspeed,cvic";
    reg = <0x1e6c2000 0x80>;
    valid-sources = <0xffffffff>;
    copro-sw-interrupts = <1>;
};

Source notes #

Annotations retained from the schema source

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

DPAA2 console support

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/fsl,dpaa2-console.yaml#"

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

Maintainers (maintainers): "Laurentiu Tudor <laurentiu.tudor@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,dpaa2-console"

reg — required here #

Maximum number of items (maxItems): 1

A standard property. Specifies the region where the MCFBA (MC firmware base address) register can be found.

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2020 NXP

Freescale Management Complex

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/fsl,qoriq-mc.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

The Freescale Management Complex (fsl-mc) is a hardware resource manager that manages specialized hardware objects used in network-oriented packet processing applications. After the fsl-mc block is enabled, pools of hardware resources are available, such as queues, buffer pools, I/O interfaces. These resources are building blocks that can be used to create functional hardware objects/devices such as network interfaces, crypto accelerator instances, L2 switches, etc.

For an overview of the DPAA2 architecture and fsl-mc bus see: Documentation/networking/device_drivers/ethernet/freescale/dpaa2/overview.rst

As described in the above overview, all DPAA2 objects in a DPRC share the same hardware "isolation context" and a 10-bit value called an ICID (isolation context id) is expressed by the hardware to identify the requester.

The generic 'iommus' property is insufficient to describe the relationship between ICIDs and IOMMUs, so an iommu-map property is used to define the set of possible ICIDs under a root DPRC and how they map to an IOMMU.

For generic IOMMU bindings, see Documentation/devicetree/bindings/iommu/iommu.txt.

For arm-smmu binding, see: Documentation/devicetree/bindings/iommu/arm,smmu.yaml.

The MSI writes are accompanied by sideband data which is derived from the ICID. The msi-map property is used to associate the devices with both the ITS controller and the sideband data which accompanies the writes.

For generic MSI bindings, see Documentation/devicetree/bindings/interrupt-controller/msi.txt.

For GICv3 and GIC ITS bindings, see: Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,qoriq-mc"

Must be "fsl,qoriq-mc". A Freescale Management Complex compatible with this binding must have Block Revision Registers BRR1 and BRR2 at offset 0x0BF8 and 0x0BFC in the MC control register region.

reg — required here #

Array item rules (items) #

Item 1

the first region is the command portal for the this machine and must always be present

Item 2

the second region is the MC control registers. This region may not be present in some scenarios, such as in the device tree presented to a virtual machine.

ranges — required here #

A standard property. Defines the mapping between the child MC address space and the parent system address space.

The MC address space is defined by 3 components:
  <region type> <offset hi> <offset lo>
Valid values for region type are
  0x0 - MC portals
  0x1 - QBMAN portals

#address-cells — required here #

Exact value (const): 3

#size-cells — required here #

Exact value (const): 1

iommu-map — not listed as required here #

Maps an ICID to an IOMMU and associated iommu-specifier data.

The property is an arbitrary number of tuples of (icid-base,iommu,iommu-base,length).

Any ICID i in the interval [icid-base, icid-base + length) is associated with the listed IOMMU, with the iommu-specifier (i - icid-base + iommu-base).

msi-map — not listed as required here #

Maps an ICID to a GIC ITS and associated msi-specifier data.

The property is an arbitrary number of tuples of (icid-base,gic-its,msi-base,length).

Any ICID in the interval [icid-base, icid-base + length) is associated with the listed GIC ITS, with the msi-specifier (i - icid-base + msi-base).

msi-parent — not listed as required here #

Deprecated (deprecated): true

Maximum number of items (maxItems): 1

Describes the MSI controller node handling message interrupts for the MC. When there is no translation between the ICID and deviceID this property can be used to describe the MSI controller used by the devices on the mc-bus. The use of this property for mc-bus is deprecated. Please use msi-map.

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

dpmacs — not listed as required here #

Value type (type): "object"

The fsl-mc node may optionally have dpmac sub-nodes that describe the relationship between the Ethernet MACs which belong to the MC and the Ethernet PHYs on the system board.

Properties and child nodes (properties) #

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^ethernet@[a-f0-9]+$ — name matches this regular expression

Shared schema rule ($ref): /schemas/net/fsl,qoriq-mc-dpmac.yaml

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "ranges", "#address-cells", "#size-cells"

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

false

Not allowed by this rule.

Examples (examples) #

fsl-mc@80c000000 {
    compatible = "fsl,qoriq-mc";
    reg = <0x0c000000 0x40>,    /* MC portal base */
          <0x08340000 0x40000>; /* MC control reg */
    /*
     * Region type 0x0 - MC portals
     * Region type 0x1 - QBMAN portals
     */
    ranges = <0x0 0x0 0x8 0x0c000000 0x4000000
             0x1 0x0 0x8 0x18000000 0x8000000>;
    
    /* define map for ICIDs 23-64 */
    iommu-map = <23 &smmu 23 41>;
    /* define msi map for ICIDs 23-64 */
    msi-map = <23 &its 23 41>;
    #address-cells = <3>;
    #size-cells = <1>;

    dpmacs {
        #address-cells = <1>;
        #size-cells = <0>;

        ethernet@1 {
            compatible = "fsl,qoriq-mc-dpmac";
            reg = <1>;
            phy-handle = <&mdio0_phy0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

GE Healthcare USB Management Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/ge-achc.yaml#"

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

A device which handles data acquisition from compatible USB based peripherals. SPI is used for device management.

Note: This device does not expose the peripherals as USB devices.

Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "ge,achc"

Item 2

Exact value (const): "nxp,kinetis-k20"

clocks — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

Digital power supply regulator on VDD pin

vdda-supply — not listed as required here #

Analog power supply regulator on VDDA pin

reg — required here #

Array item rules (items) #

Item 1

Control interface

Item 2

Firmware programming interface

reset-gpios — required here #

GPIO used for hardware reset.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "reg", "reset-gpios"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;

    spi@1 {
        compatible = "ge,achc", "nxp,kinetis-k20";
        reg = <1>, <0>;
        clocks = <&achc_24M>;
        reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2021 GE Inc.

Line 3: Copyright (C) 2021 Collabora Ltd.

Android Goldfish QEMU Pipe

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/google,android-pipe.yaml#"

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

Maintainers (maintainers): "Kuan-Wei Chiu <visitorckw@gmail.com>"

Android QEMU pipe virtual device generated by Android emulator.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "google,android-pipe"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

pipe@ff018000 {
    compatible = "google,android-pipe";
    reg = <0xff018000 0x2000>;
    interrupts = <18>;
};

Source notes #

Annotations retained from the schema source

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

EEPROM / CSR SMBus-slave interface of IDT 89HPESx devices

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/idt,89hpesx.yaml#"

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

Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

String pattern (pattern): "^idt,89hpes"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

String pattern (pattern): "^idt,89hpes(8nt2|12nt3|12n3a?|24n3a?|(12|24)t3g2|4t4g2|10t4g2|[56]t5|8t5a?)$"

Rule 2

String pattern (pattern): "^idt,89hpes(6t6g2|16t7|(24t6|32t8|48t12|16t4a?)(g2)?)$"

Rule 3

String pattern (pattern): "^idt,89hpes(24nt6a|32nt8[ab]|12nt12|16nt16|24nt24|32nt24[ab])g2$"

Rule 4

String pattern (pattern): "^idt,89hpes((32h8|48h12a?|22h16|34h16|64h16a?)(g2)?|16h16)$"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^eeprom@ — name matches this regular expression #

Shared schema rule ($ref): /schemas/eeprom/at24.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Only a subset of devices are supported

String pattern (pattern): ",24c(32|64|128|256|512)$"

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    idt@74 {
        compatible = "idt,89hpes32nt8ag2";
        reg = <0x74>;
        #address-cells = <1>;
        #size-cells = <0>;

        eeprom@50 {
            compatible = "atmel,24c64";
            reg = <0x50>;
            read-only;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Intel IXP4xx AHB Queue Manager

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/intel,ixp4xx-ahb-queue-manager.yaml#"

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

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

The IXP4xx AHB Queue Manager maintains queues as circular buffers in an 8KB embedded SRAM along with hardware pointers. It is used by both the XScale processor and the NPEs (Network Processing Units) in the IXP4xx for accelerating queues, especially for networking. Clients pick queues from the queue manager with foo-queue = <&qmgr N> where the &qmgr is a phandle to the queue manager and N is the queue resource number. The queue resources available and their specific purpose on a certain IXP4xx system will vary.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "intel,ixp4xx-ahb-queue-manager"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Interrupt for queues 0-31

Item 2

Interrupt for queues 32-63

Required in this object (required): "compatible", "reg", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

qmgr: queue-manager@60000000 {
    compatible = "intel,ixp4xx-ahb-queue-manager";
    reg = <0x60000000 0x4000>;
    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>, <4 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2019 Linaro Ltd.

Liebherr's BK4 external SPI controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/lwn,bk4-spi.yaml#"

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

Maintainers (maintainers): "Lukasz Majewski <lukma@denx.de>"

Liebherr's BK4 external SPI controller is a device which handles data acquisition from compatible industrial peripherals. The SPI is used for data and management purposes in both master and slave modes.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "lwn,bk4-spi"

reg — not listed as required here #

Maximum number of items (maxItems): 1

spi-max-frequency — required here #

Maximum value (maximum): 30000000

fsl,spi-cs-sck-delay — not listed as required here #

true — No constraints added by this property rule.

fsl,spi-sck-cs-delay — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "spi-max-frequency"

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

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    spidev@0 {
        compatible = "lwn,bk4-spi";
        reg = <0>;
        spi-max-frequency = <30000000>;
        fsl,spi-cs-sck-delay = <200>;
        fsl,spi-sck-cs-delay = <400>;
    };
};

Source notes #

Annotations retained from the schema source

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

NVIDIA Tegra186 (and later) MISC register block

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/nvidia,tegra186-misc.yaml#"

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

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"

The MISC register block found on Tegra186 and later SoCs contains registers that can be used to identify a given chip and various strapping options.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nvidia,tegra186-misc", "nvidia,tegra194-misc", "nvidia,tegra234-misc", "nvidia,tegra264-misc"

reg — required here #

Array item rules (items) #

Item 1

physical address and length of the registers which contain revision and debug features

Item 2

physical address and length of the registers which indicate strapping options

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

misc@100000 {
    compatible = "nvidia,tegra186-misc";
    reg = <0x00100000 0xf000>,
          <0x0010f000 0x1000>;
};

Source notes #

Annotations retained from the schema source

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

NVIDIA Tegra APBMISC block

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/nvidia,tegra20-apbmisc.yaml#"

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

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "nvidia,tegra210-apbmisc", "nvidia,tegra124-apbmisc", "nvidia,tegra114-apbmisc", "nvidia,tegra30-apbmisc"

Item 2

Exact value (const): "nvidia,tegra20-apbmisc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra20-apbmisc"

reg — required here #

Array item rules (items) #

Item 1

physical address and length of the registers which contain revision and debug features

Item 2

physical address and length of the registers which indicate strapping options

nvidia,long-ram-code — not listed as required here #

If present, the RAM code is long (4 bit). If not, short (2 bit).

Value type (type): "boolean"

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

apbmisc@70000800 {
    compatible = "nvidia,tegra20-apbmisc";
    reg = <0x70000800 0x64>, /* Chip revision */
          <0x70000008 0x04>; /* Strapping options */
};

Source notes #

Annotations retained from the schema source

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

OLPC XO-1.75 Embedded Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml#"

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

This binding describes the Embedded Controller acting as a SPI bus master on a OLPC XO-1.75 laptop computer.

The embedded controller requires the SPI controller driver to signal readiness to receive a transfer (that is, when TX FIFO contains the response data) by strobing the ACK pin with the ready signal. See the "ready-gpios" property of the SSP binding as documented in: <Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml>.

Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "olpc,xo1.75-ec"

cmd-gpios — required here #

GPIO uspecifier of the CMD pin

Maximum number of items (maxItems): 1

spi-cpha — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "cmd-gpios"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
  spi-slave;
  #address-cells = <0>;
  #size-cells = <0>;
  ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;

  slave {
    compatible = "olpc,xo1.75-ec";
    spi-cpha;
    cmd-gpios = <&gpio 155 GPIO_ACTIVE_HIGH>;
  };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2019,2020 Lubomir Rintel <lkundrak@v3.sk>

RaspberryPi RP1 MFD PCI device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/pci1de4,1.yaml#"

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

Maintainers (maintainers): "A. della Porta <andrea.porta@suse.com>"

The RaspberryPi RP1 is a PCI multi function device containing peripherals ranging from Ethernet to USB controller, I2C, SPI and others. The peripherals are accessed by addressing the PCI BAR1 region.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/pci/pci-ep-bus.yaml

Properties and child nodes (properties) #

compatible — required here #

Array items beyond the listed positions (additionalItems) #

true

Allowed by this rule.

Maximum number of items (maxItems): 3

Array item rules (items) #

Item 1

Exact value (const): "pci1de4,1"

reg — required here #

Maximum number of items (maxItems): 1

The PCI Bus-Device-Function address.

#interrupt-cells — required here #

Exact value (const): 2

Specifies respectively the interrupt number and flags as defined
in include/dt-bindings/interrupt-controller/irq.h.
Since all interrupts are active high, only IRQ_TYPE_LEVEL_HIGH
and IRQ_TYPE_EDGE_RISING can be specified as type flags.
The supported values for the interrupt number are:
  - IO BANK0: 0
  - IO BANK1: 1
  - IO BANK2: 2
  - AUDIO IN: 3
  - AUDIO OUT: 4
  - PWM0: 5
  - ETH: 6
  - I2C0: 7
  - I2C1: 8
  - I2C2: 9
  - I2C3: 10
  - I2C4: 11
  - I2C5: 12
  - I2C6: 13
  - I2S0: 14
  - I2S1: 15
  - I2S2: 16
  - SDIO0: 17
  - SDIO1: 18
  - SPI0: 19
  - SPI1: 20
  - SPI2: 21
  - SPI3: 22
  - SPI4: 23
  - SPI5: 24
  - UART0: 25
  - TIMER0: 26
  - TIMER1: 27
  - TIMER2: 28
  - TIMER3: 29
  - USB HOST0: 30
  - USB HOST0-0: 31
  - USB HOST0-1: 32
  - USB HOST0-2: 33
  - USB HOST0-3: 34
  - USB HOST1: 35
  - USB HOST1-0: 36
  - USB HOST1-1: 37
  - USB HOST1-2: 38
  - USB HOST1-3: 39
  - DMA: 40
  - PWM1: 41
  - UART1: 42
  - UART2: 43
  - UART3: 44
  - UART4: 45
  - UART5: 46
  - MIPI0: 47
  - MIPI1: 48
  - VIDEO OUT: 49
  - PIO0: 50
  - PIO1: 51
  - ADC FIFO: 52
  - PCIE OUT: 53
  - SPI6: 54
  - SPI7: 55
  - SPI8: 56
  - PROC MISC: 57
  - SYSCFG: 58
  - CLOCKS DEFAULT: 59
  - VBUSCTRL: 60

interrupt-controller — required here #

true — No constraints added by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#interrupt-cells", "interrupt-controller", "pci-ep-bus@1"

Examples (examples) #

pci {
    #address-cells = <3>;
    #size-cells = <2>;

    dev@0,0 {
        compatible = "pci1de4,1";
        reg = <0x10000 0x0 0x0 0x0 0x0>;
        ranges = <0x01 0x00 0x00000000  0x82010000 0x00 0x00  0x00 0x400000>;
        #address-cells = <3>;
        #size-cells = <2>;
        interrupt-controller;
        #interrupt-cells = <2>;

        pci_ep_bus: pci-ep-bus@1 {
            compatible = "simple-bus";
            ranges = <0x00 0x40000000  0x01 0x00 0x00000000  0x00 0x00400000>;
            dma-ranges = <0x10 0x00000000  0x43000000 0x10 0x00000000  0x10 0x00000000>;
            #address-cells = <2>;
            #size-cells = <2>;

            rp1_clocks: clocks@40018000 {
                compatible = "raspberrypi,rp1-clocks";
                reg = <0x00 0x40018000 0x0 0x10038>;
                #clock-cells = <1>;
                clocks = <&clk_rp1_xosc>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm FastRPC Driver

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/qcom,fastrpc.yaml#"

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

Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

The FastRPC implements an IPC (Inter-Processor Communication) mechanism that allows for clients to transparently make remote method invocations across DSP and APPS boundaries. This enables developers to offload tasks to the DSP and free up the application processor for other tasks.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-fastrpc", "qcom,fastrpc"

label — required here #

Allowed values (enum): "adsp", "mdsp", "sdsp", "cdsp", "cdsp1", "gdsp0", "gdsp1"

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Phandle to a node describing memory to be used for remote heap CMA.

qcom,glink-channels — not listed as required here #

A list of channels tied to this function, used for matching the function to a set of virtual channels.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array

Array item rules (items) #

Item 1

Exact value (const): "fastrpcglink-apps-dsp"

qcom,non-secure-domain — not listed as required here #

Used to mark the current domain as non-secure.

Value type (type): "boolean"

qcom,smd-channels — not listed as required here #

Channel name used for the RPM communication

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array

Array item rules (items) #

Item 1

Exact value (const): "fastrpcsmd-apps-dsp"

qcom,vmids — not listed as required here #

Virtual machine IDs for remote processor.

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

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

(compute-)?cb@[0-9]*$ — name matches this regular expression #

Value type (type): "object"

Each subnode of the Fastrpc represents compute context banks available on the dsp.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "qcom,fastrpc-compute-cb"

reg — required here

Maximum number of items (maxItems): 1

dma-coherent — not listed as required here

true — No constraints added by this property rule.

iommus — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

qcom,nsessions — not listed as required here

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

Default value (default): 1

A value indicating how many sessions can share this context bank.

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "label", "#address-cells", "#size-cells"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>

glink-edge {
    interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
                                 IPCC_MPROC_SIGNAL_GLINK_QMP
                                 IRQ_TYPE_EDGE_RISING>;
    mboxes = <&ipcc IPCC_CLIENT_LPASS
                    IPCC_MPROC_SIGNAL_GLINK_QMP>;
    label = "lpass";
    qcom,remote-pid = <2>;

    fastrpc {
        compatible = "qcom,fastrpc";
        qcom,glink-channels = "fastrpcglink-apps-dsp";
        label = "sdsp";
        qcom,non-secure-domain;
        #address-cells = <1>;
        #size-cells = <0>;

        compute-cb@1 {
            compatible = "qcom,fastrpc-compute-cb";
            reg = <1>;
            iommus = <&apps_smmu 0x0541 0x0>;
        };

        compute-cb@2 {
            compatible = "qcom,fastrpc-compute-cb";
            reg = <2>;
            iommus = <&apps_smmu 0x0542 0x0>;
        };

        compute-cb@3 {
            compatible = "qcom,fastrpc-compute-cb";
            reg = <3>;
            iommus = <&apps_smmu 0x0543 0x0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

VCPU stall detector

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml#"

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

This binding describes a CPU stall detector mechanism for virtual CPUs which is accessed through MMIO.

Maintainers (maintainers): "Sebastian Ene <sebastianene@google.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qemu,vcpu-stall-detector"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

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

The internal clock of the stall detector peripheral measure in Hz used to decrement its internal counter register on each tick. Defaults to 10 if unset.

Default value (default): 10

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

timeout-sec — not listed as required here #

The stall detector expiration timeout measured in seconds. Defaults to 8 if unset. Please note that it also takes into account the time spent while the VCPU is not running.

Default value (default): 8

Required in this object (required): "compatible"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

vmwdt@9030000 {
  compatible = "qemu,vcpu-stall-detector";
  reg = <0x9030000 0x10000>;
  clock-frequency = <10>;
  timeout-sec = <8>;
  interrupts = <GIC_PPI 15 IRQ_TYPE_EDGE_RISING>;
};

Source notes #

Annotations retained from the schema source

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

TI FPC202 dual port controller with expanded IOs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/ti,fpc202.yaml#"

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

Maintainers (maintainers): "Romain Gantois <romain.gantois@bootlin.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/i2c/i2c-atr.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,fpc202"

reg — required here #

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

enable-gpios — not listed as required here #

Specifier for the GPIO connected to the EN pin.

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^i2c@[0-1]$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/i2c/i2c-controller.yaml#

Downstream device ports 0 and 1

Properties and child nodes (properties) #

reg — required here

Maximum number of items (maxItems): 1

Downstream port ID

Required in this object (required): "#address-cells", "#size-cells", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "#address-cells", "#size-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    i2c-atr@f {
        compatible = "ti,fpc202";
        reg = <0xf>;
        #address-cells = <1>;
        #size-cells = <0>;

        gpio-controller;
        #gpio-cells = <2>;

        i2c@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;
        };

        i2c@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Texas Instruments K3 ESM

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/ti,j721e-esm.yaml#"

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

Maintainers (maintainers): "Neha Malcom Francis <n-francis@ti.com>"

The ESM (Error Signaling Module) is an IP block on TI K3 devices that allows handling of safety events somewhat similar to what interrupt controller would do. The safety signals have their separate paths within the SoC, and they are handled by the ESM, which routes them to the proper destination, which can be system reset, interrupt controller, etc. In the simplest configuration the signals are just routed to reset the SoC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,j721e-esm"

reg — required here #

Maximum number of items (maxItems): 1

ti,esm-pins — required here #

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

integer array of ESM interrupt pins to route to external event pin which can be used to reset the SoC.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 255

Required in this object (required): "compatible", "reg", "ti,esm-pins"

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

false

Not allowed by this rule.

Examples (examples) #

bus {
    #address-cells = <2>;
    #size-cells = <2>;
    esm@700000 {
        compatible = "ti,j721e-esm";
        reg = <0x0 0x700000 0x0 0x1000>;
        ti,esm-pins = <344>, <345>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2022 Texas Instruments Incorporated

Xilinx SDFEC(16nm) IP

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/xlnx,sd-fec.yaml#"

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

Maintainers (maintainers): "Cvetic, Dragan <dragan.cvetic@amd.com>", "Erim, Salih <salih.erim@amd.com>"

The Soft Decision Forward Error Correction (SDFEC) Engine is a Hard IP block which provides high-throughput LDPC and Turbo Code implementations. The LDPC decode & encode functionality is capable of covering a range of customer specified Quasi-cyclic (QC) codes. The Turbo decode functionality principally covers codes used by LTE. The FEC Engine offers significant power and area savings versus implementations done in the FPGA fabric.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "xlnx,sd-fec-1.1"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 8

Array items beyond the listed positions (additionalItems) #

true

Allowed by this rule.

Array item rules (items) #

Item 1

Main processing clock for processing core

Item 2

AXI4-Lite memory-mapped slave interface clock

Item 3

Control input AXI4-Stream Slave interface clock

Item 4

DIN AXI4-Stream Slave interface clock

Item 5

Status output AXI4-Stream Master interface clock

Item 6

DOUT AXI4-Stream Master interface clock

Item 7

DIN_WORDS AXI4-Stream Slave interface clock

Item 8

DOUT_WORDS AXI4-Stream Master interface clock

clock-names — required here #

All of these rules must match (allOf) #

Rule 1

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 8

Array items beyond the listed positions (additionalItems)

true

Allowed by this rule.

Array item rules (items)

Item 1

Exact value (const): "core_clk"

Item 2

Exact value (const): "s_axi_aclk"

Rule 2

Array item rules (items)

Allowed values (enum): "core_clk", "s_axi_aclk", "s_axis_ctrl_aclk", "s_axis_din_aclk", "m_axis_status_aclk", "m_axis_dout_aclk", "s_axis_din_words_aclk", "m_axis_dout_words_aclk"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

xlnx,sdfec-code — required here #

The SD-FEC integrated block supports Low Density Parity Check (LDPC) decoding and encoding and Turbo code decoding. The LDPC codes used are highly configurable, and the specific code used can be specified on a codeword-by-codeword basis. The Turbo code decoding is required by LTE standard.

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

Array item rules (items) #

Allowed values (enum): "ldpc", "turbo"

xlnx,sdfec-din-width — required here #

Configures the DIN AXI stream where a value of 1 configures a width of "1x128b", 2 a width of "2x128b" and 4 configures a width of "4x128b".

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

Allowed values (enum): 1, 2, 4

xlnx,sdfec-din-words — required here #

A value 0 indicates that the DIN_WORDS interface is driven with a fixed value and is not present on the device, a value of 1 configures the DIN_WORDS to be block based, while a value of 2 configures the DIN_WORDS input to be supplied for each AXI transaction.

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

Allowed values (enum): 0, 1, 2

xlnx,sdfec-dout-width — required here #

Configures the DOUT AXI stream where a value of 1 configures a width of "1x128b", 2 a width of "2x128b" and 4 configures a width of "4x128b".

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

Allowed values (enum): 1, 2, 4

xlnx,sdfec-dout-words — required here #

A value 0 indicates that the DOUT_WORDS interface is driven with a fixed value and is not present on the device, a value of 1 configures the DOUT_WORDS to be block based, while a value of 2 configures the DOUT_WORDS input to be supplied for each AXI transaction.

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

Allowed values (enum): 0, 1, 2

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "xlnx,sdfec-code", "xlnx,sdfec-din-width", "xlnx,sdfec-din-words", "xlnx,sdfec-dout-width", "xlnx,sdfec-dout-words"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

sd-fec@a0040000 {
    compatible = "xlnx,sd-fec-1.1";
    reg = <0xa0040000 0x40000>;
    clocks = <&misc_clk_2>, <&misc_clk_0>, <&misc_clk_1>, <&misc_clk_1>,
             <&misc_clk_1>, <&misc_clk_1>;
    clock-names = "core_clk", "s_axi_aclk", "s_axis_ctrl_aclk",
                  "s_axis_din_aclk", "m_axis_status_aclk",
                  "m_axis_dout_aclk";
    interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
    xlnx,sdfec-code = "ldpc";
    xlnx,sdfec-din-width = <2>;
    xlnx,sdfec-din-words = <0>;
    xlnx,sdfec-dout-width = <1>;
    xlnx,sdfec-dout-words = <0>;
};

Source notes #

Annotations retained from the schema source

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

Xilinx Triple Modular Redundancy(TMR) Inject IP

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/xlnx,tmr-inject.yaml#"

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

Maintainers (maintainers): "Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>"

The Triple Modular Redundancy(TMR) Inject core provides functional fault injection by changing selected MicroBlaze instructions, which provides the possibility to verify that the TMR subsystem error detection and fault recovery logic is working properly.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xlnx,tmr-inject-1.0"

reg — required here #

Maximum number of items (maxItems): 1

xlnx,magic — required here #

Minimum value (minimum): 0

Maximum value (maximum): 255

Magic number, When configured it allows the controller to perform recovery.

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

Required in this object (required): "compatible", "reg", "xlnx,magic"

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

false

Not allowed by this rule.

Examples (examples) #

fault-inject@44a30000 {
    compatible = "xlnx,tmr-inject-1.0";
    reg = <0x44a10000 0x10000>;
    xlnx,magic = <0x46>;
};

Source notes #

Annotations retained from the schema source

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

Xilinx Triple Modular Redundancy(TMR) Manager IP

Peios Kernel / Hardware and drivers / Device-tree binding reference / Misc bindings

Schema identifier ($id): "http://devicetree.org/schemas/misc/xlnx,tmr-manager.yaml#"

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

Maintainers (maintainers): "Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>"

The Triple Modular Redundancy(TMR) Manager is responsible for handling the TMR subsystem state, including fault detection and error recovery. The core is triplicated in each of the sub-blocks in the TMR subsystem, and provides majority voting of its internal state.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xlnx,tmr-manager-1.0"

reg — required here #

Maximum number of items (maxItems): 1

xlnx,magic1 — required here #

Minimum value (minimum): 0

Maximum value (maximum): 255

Magic byte 1, When configured it allows the controller to perform recovery.

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

Required in this object (required): "compatible", "reg", "xlnx,magic1"

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

false

Not allowed by this rule.

Examples (examples) #

tmr-manager@44a10000 {
    compatible = "xlnx,tmr-manager-1.0";
    reg = <0x44a10000 0x10000>;
    xlnx,magic1 = <0x46>;
};

Source notes #

Annotations retained from the schema source

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

Peios Learn — documentation for Peios software.

Built with Trail.