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

Soc bindings

Single-page view · as markdown

Altera SOCFPGA System Manager

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/altera/altr,sys-mgr.yaml#"

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

Maintainers (maintainers): "Dinh Nguyen <dinguyen@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Cyclone5/Arria5/Arria10

Array item rules (items)

Item 1

Exact value (const): "altr,sys-mgr"

Item 2

Exact value (const): "syscon"

Rule 2

Stratix10 SoC

Array item rules (items)

Item 1

Exact value (const): "altr,sys-mgr-s10"

Item 2

Exact value (const): "altr,sys-mgr"

reg — required here #

Maximum number of items (maxItems): 1

cpu1-start-addr — not listed as required here #

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

CPU1 start address in hex

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "altr,sys-mgr-s10"

When the condition matches (then) #

Properties and child nodes (properties)

cpu1-start-addr — not listed as required here

false — Not permitted by this property rule.

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

false

Not allowed by this rule.

Examples (examples) #

sysmgr@ffd08000 {
  compatible = "altr,sys-mgr", "syscon";
  reg = <0xffd08000 0x1000>;
  cpu1-start-addr = <0xffd080c4>;
};

Source notes #

Annotations retained from the schema source

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

Amlogic Canvas Video Lookup Table

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/amlogic/amlogic,canvas.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Maxime Jourdan <mjourdan@baylibre.com>"

A canvas is a collection of metadata that describes a pixel buffer. Those metadata include: width, height, phyaddr, wrapping and block mode. Starting with GXBB the endianness can also be described.

Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data rather than use the phy addresses directly. For instance, this is the case for the video decoders and the display.

Amlogic SoCs have 256 canvas.

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): "amlogic,meson8-canvas", "amlogic,meson8b-canvas", "amlogic,meson8m2-canvas"

Item 2

Exact value (const): "amlogic,canvas"

Rule 2

Exact value (const): "amlogic,canvas"

reg — required here #

Maximum number of items (maxItems): 1

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) #

canvas: video-lut@48 {
    compatible = "amlogic,canvas";
    reg = <0x48 0x14>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2019 BayLibre, SAS

Line 34: GXBB and newer SoCs

Amlogic Internal Clock Measurer

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-clk-measure.yaml#"

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

The Amlogic SoCs contains an IP to measure the internal clocks. The precision is multiple of MHz, useful to debug the clock states.

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,meson-gx-clk-measure", "amlogic,meson8-clk-measure", "amlogic,meson8b-clk-measure", "amlogic,meson-axg-clk-measure", "amlogic,meson-g12a-clk-measure", "amlogic,meson-sm1-clk-measure", "amlogic,c3-clk-measure", "amlogic,s4-clk-measure"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-measure@8758 {
    compatible = "amlogic,meson-gx-clk-measure";
    reg = <0x8758 0x10>;
};

Source notes #

Annotations retained from the schema source

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

Amlogic Meson System Control registers

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "amlogic,meson-hhi-sysctrl", "amlogic,meson-gx-hhi-sysctrl", "amlogic,meson-gx-ao-sysctrl", "amlogic,meson-axg-hhi-sysctrl", "amlogic,meson-axg-ao-sysctrl"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clock-controller — required here #

Value type (type): "object"

power-controller — not listed as required here #

Shared schema rule ($ref): /schemas/power/amlogic,meson-ee-pwrc.yaml

pinctrl — not listed as required here #

Value type (type): "object"

phy — not listed as required here #

Value type (type): "object"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "amlogic,meson-hhi-sysctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clock-controller — not listed as required here

Shared schema rule ($ref): /schemas/clock/amlogic,meson8-clkc.yaml#

pinctrl — not listed as required here

false — Not permitted by this property rule.

phy — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "amlogic,meson-gx-hhi-sysctrl", "amlogic,meson-axg-hhi-sysctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clock-controller — not listed as required here

Shared schema rule ($ref): /schemas/clock/amlogic,gxbb-clkc.yaml#

Required in this object (required): "power-controller"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "amlogic,meson-gx-ao-sysctrl", "amlogic,meson-axg-ao-sysctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clock-controller — not listed as required here

Shared schema rule ($ref): /schemas/clock/amlogic,gxbb-aoclkc.yaml#

power-controller — not listed as required here

false — Not permitted by this property rule.

phy — not listed as required here

false — Not permitted by this property rule.

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "amlogic,meson-gx-hhi-sysctrl"

When the condition matches (then) #

Properties and child nodes (properties)

phy — not listed as required here

false — Not permitted by this property rule.

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "amlogic,meson-axg-hhi-sysctrl"

When the condition matches (then) #

Properties and child nodes (properties)

phy — not listed as required here

Exactly one of these rules must match (oneOf)

Rule 1

Shared schema rule ($ref): /schemas/phy/amlogic,g12a-mipi-dphy-analog.yaml

Rule 2

Shared schema rule ($ref): /schemas/phy/amlogic,meson-axg-mipi-pcie-analog.yaml

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

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

false

Not allowed by this rule.

Examples (examples) #

bus@c883c000 {
    compatible = "simple-bus";
    reg = <0xc883c000 0x2000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0xc883c000 0x2000>;

    sysctrl: system-controller@0 {
        compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon";
        reg = <0 0x400>;

        clock-controller {
            compatible = "amlogic,gxbb-clkc";
            #clock-cells = <1>;
            clocks = <&xtal>;
            clock-names = "xtal";
        };

        power-controller {
            compatible = "amlogic,meson-gxbb-pwrc";
            #power-domain-cells = <1>;
            amlogic,ao-sysctrl = <&sysctrl_AO>;

            resets = <&reset_viu>,
                     <&reset_venc>,
                     <&reset_vcbus>,
                     <&reset_bt656>,
                     <&reset_dvin>,
                     <&reset_rdma>,
                     <&reset_venci>,
                     <&reset_vencp>,
                     <&reset_vdac>,
                     <&reset_vdi6>,
                     <&reset_vencl>,
                     <&reset_vid_lock>;
            reset-names = "viu", "venc", "vcbus", "bt656", "dvin",
                          "rdma", "venci", "vencp", "vdac", "vdi6",
                          "vencl", "vid_lock";
            clocks = <&clk_vpu>, <&clk_vapb>;
            clock-names = "vpu", "vapb";
        };
    };
};

bus@c8100000 {
    compatible = "simple-bus";
    reg = <0xc8100000 0x100000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0xc8100000 0x100000>;

    sysctrl_AO: system-controller@0 {
        compatible = "amlogic,meson-gx-ao-sysctrl", "simple-mfd", "syscon";
        reg = <0 0x100>;

        clock-controller {
            compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-aoclkc";
            #clock-cells = <1>;
            #reset-cells = <1>;
            clocks = <&xtal>, <&clk81>;
            clock-names = "xtal", "mpeg-clk";
        };
    };
};
system-controller@ff63c000 {
    compatible = "amlogic,meson-axg-hhi-sysctrl", "simple-mfd", "syscon";
    reg = <0xff63c000 0x400>;

    clock-controller {
        compatible = "amlogic,axg-clkc";
        #clock-cells = <1>;
        clocks = <&xtal>;
        clock-names = "xtal";
    };

    power-controller {
        compatible = "amlogic,meson-axg-pwrc";
        #power-domain-cells = <1>;
        amlogic,ao-sysctrl = <&sysctrl_AO>;

        resets = <&reset_viu>,
                 <&reset_venc>,
                 <&reset_vcbus>,
                 <&reset_vencl>,
                 <&reset_vid_lock>;
        reset-names = "viu", "venc", "vcbus", "vencl", "vid_lock";
        clocks = <&clk_vpu>, <&clk_vapb>;
        clock-names = "vpu", "vapb";
    };

    phy {
        compatible = "amlogic,axg-mipi-pcie-analog-phy";
        #phy-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Aspeed UART Routing Controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/aspeed/uart-routing.yaml#"

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

Maintainers (maintainers): "Oskar Senft <osk@google.com>", "Chia-Wei Wang <chiawei_wang@aspeedtech.com>"

The Aspeed UART routing control allow to dynamically route the inputs for the built-in UARTS and physical serial I/O ports. This allows, for example, to connect the output of UART to another UART. This can be used to enable Host <-> BMC communication via UARTs, e.g. to allow access to the Host's serial console. This driver is for the BMC side. The sysfs files allow the BMC userspace which owns the system configuration policy, to configure how UARTs and physical serial I/O ports are routed.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "aspeed,ast2400-uart-routing", "aspeed,ast2500-uart-routing", "aspeed,ast2600-uart-routing"

reg — not listed as required here #

Maximum number of items (maxItems): 1

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) #

lpc: lpc@1e789000 {
    compatible = "aspeed,ast2600-lpc-v2", "simple-mfd", "syscon";
    reg = <0x1e789000 0x1000>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0x1e789000 0x1000>;

    uart_routing: uart-routing@98 {
        compatible = "aspeed,ast2600-uart-routing";
        reg = <0x98 0x8>;
    };
};

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) 2018 Google LLC

Line 3: # Copyright (c) 2021 Aspeed Technology Inc.

Broadcom BCM23550 Cluster Dormant Control

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/bcm/brcm,bcm23550-cdc.yaml#"

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

The Cluster Dormant Control block keeps the CPU in idle state. A command needs to be sent to this block to bring the CPU into running state.

Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "brcm,bcm23550-cdc"

reg — required here #

Maximum number of items (maxItems): 1

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) #

cdc@3fe0e000 {
    compatible = "brcm,bcm23550-cdc";
    reg = <0x3fe0e000 0x78>;
};

Source notes #

Annotations retained from the schema source

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

Broadcom AVS Monitor

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/bcm/brcm,bcm2711-avs-monitor.yaml#"

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

Maintainers (maintainers): "Stefan Wahren <wahrenst@gmx.net>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm2711-avs-monitor"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

thermal — required here #

Shared schema rule ($ref): /schemas/thermal/brcm,avs-ro-thermal.yaml

Broadcom AVS ring oscillator thermal

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

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

false

Not allowed by this rule.

Examples (examples) #

avs-monitor@7d5d2000 {
    compatible = "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd";
    reg = <0x7d5d2000 0xf00>;

    thermal: thermal {
        compatible = "brcm,bcm2711-thermal";
        #thermal-sensor-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

BCM2835 PM (Power domains, watchdog)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-pm.yaml#"

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

The PM block controls power domains and some reset lines, and includes a watchdog timer.

Maintainers (maintainers): "Nicolas Saenz Julienne <nsaenz@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "brcm,bcm2835-pm", "brcm,bcm2711-pm", "brcm,bcm2712-pm"

Item 2

Exact value (const): "brcm,bcm2835-pm-wdt"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

reg-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "pm"

Item 2

Exact value (const): "asb"

Item 3

Exact value (const): "rpivid_asb"

#power-domain-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "v3d"

Item 2

Exact value (const): "peri_image"

Item 3

Exact value (const): "h264"

Item 4

Exact value (const): "isp"

system-power-controller — not listed as required here #

Value type (type): "boolean"

timeout-sec — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "#power-domain-cells", "#reset-cells"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,bcm2835-pm", "brcm,bcm2711-pm"

When the condition matches (then) #

Required in this object (required): "clocks"

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

reg-names — not listed as required here

Minimum number of items (minItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

reg-names — not listed as required here

Maximum number of items (maxItems): 1

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/bcm2835.h>

watchdog@7e100000 {
    compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt";
    #power-domain-cells = <1>;
    #reset-cells = <1>;
    reg = <0x7e100000 0x114>,
          <0x7e00a000 0x24>;
    reg-names = "pm", "asb";
    clocks = <&clocks BCM2835_CLOCK_V3D>,
           <&clocks BCM2835_CLOCK_PERI_IMAGE>,
           <&clocks BCM2835_CLOCK_H264>,
           <&clocks BCM2835_CLOCK_ISP>;
    clock-names = "v3d", "peri_image", "h264", "isp";
    system-power-controller;
};

Source notes #

Annotations retained from the schema source

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

Broadcom VCHIQ firmware services

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-vchiq.yaml#"

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

Maintainers (maintainers): "Nicolas Saenz Julienne <nsaenz@kernel.org>"

The VCHIQ communication channel can be provided by BCM283x and Capri SoCs, to communicate with the VPU-side OS services.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

BCM2835 based boards

Array item rules (items)

Item 1

Allowed values (enum): "brcm,bcm2835-vchiq"

Rule 2

BCM2836/BCM2837 based boards

Array item rules (items)

Item 1

Allowed values (enum): "brcm,bcm2836-vchiq"

Item 2

Exact value (const): "brcm,bcm2835-vchiq"

reg — required here #

Physical base address and length of the doorbell register pair

Minimum number of items (minItems): 1

interrupts — required here #

Interrupt number of the doorbell interrupt

Minimum number of items (minItems): 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) #

mailbox@7e00b840 {
  compatible = "brcm,bcm2835-vchiq";
  reg = <0x7e00b840 0xf>;
  interrupts = <0 2>;
};

Source notes #

Annotations retained from the schema source

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

Cirrus Logic EP93xx Platforms System Controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/cirrus/cirrus,ep9301-syscon.yaml#"

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

Maintainers (maintainers): "Alexander Sverdlin <alexander.sverdlin@gmail.com>", "Nikita Shubin <nikita.shubin@maquefel.me>"

Central resources are controlled by a set of software-locked registers, which can be used to prevent accidental accesses. Syscon generates the various bus and peripheral clocks and controls the system startup configuration.

The System Controller (Syscon) provides: - Clock control - Power management - System configuration management

Syscon registers are common for all EP93xx SoC's, through some actual peripheral may be missing depending on actual SoC model.

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): "cirrus,ep9302-syscon", "cirrus,ep9307-syscon", "cirrus,ep9312-syscon", "cirrus,ep9315-syscon"

Item 2

Exact value (const): "cirrus,ep9301-syscon"

Item 3

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "cirrus,ep9301-syscon"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

reference clock

Properties matching a name pattern (patternProperties) #

^pins- — name matches this regular expression #

Value type (type): "object"

pin node

Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml

Properties and child nodes (properties) #

function — required here

Allowed values (enum): "spi", "ac97", "i2s", "pwm", "keypad", "pata", "lcd", "gpio"

groups — required here

Allowed values (enum): "ssp", "ac97", "i2s_on_ssp", "i2s_on_ac97", "pwm1", "gpio1agrp", "gpio2agrp", "gpio3agrp", "gpio4agrp", "gpio6agrp", "gpio7agrp", "rasteronsdram0grp", "rasteronsdram3grp", "keypadgrp", "idegrp"

Required in this object (required): "function", "groups"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

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

false

Not allowed by this rule.

Examples (examples) #

syscon@80930000 {
  compatible = "cirrus,ep9301-syscon", "syscon";
  reg = <0x80930000 0x1000>;

  #clock-cells = <1>;
  clocks = <&xtali>;

  spi_default_pins: pins-spi {
    function = "spi";
    groups = "ssp";
  };
};

Source notes #

Annotations retained from the schema source

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

PowerQUICC CPM QUICC Multichannel Controller (QMC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml#"

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

Maintainers (maintainers): "Herve Codina <herve.codina@bootlin.com>"

The QMC (QUICC Multichannel Controller) emulates up to 64 channels within one serial controller using the same TDM physical interface routed from TSA.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,mpc885-scc-qmc", "fsl,mpc866-scc-qmc"

Item 2

Exact value (const): "fsl,cpm1-scc-qmc"

reg — required here #

Array item rules (items) #

Item 1

SCC (Serial communication controller) register base

Item 2

SCC parameter ram base

Item 3

Dual port ram base

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "scc_regs"

Item 2

Exact value (const): "scc_pram"

Item 3

Exact value (const): "dpram"

interrupts — required here #

Maximum number of items (maxItems): 1

SCC interrupt line in the CPM interrupt controller

fsl,tsa-serial — required here #

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to TSA node

Item 2

Allowed values (enum): 1, 2, 3

TSA serial interface (dt-bindings/soc/cpm1-fsl,tsa.h defines these values) - 1: SCC2 - 2: SCC3 - 3: SCC4

Should be a phandle/number pair. The phandle to TSA node and the TSA serial interface to use.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^channel@([0-9]|[1-5][0-9]|6[0-3])$ — name matches this regular expression #

A channel managed by this controller

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Minimum value (minimum): 0

Maximum value (maximum): 63

The channel number

fsl,operational-mode — not listed as required here

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

Allowed values (enum): "transparent", "hdlc"

Default value (default): "transparent"

The channel operational mode
  - hdlc: The channel handles HDLC frames
  - transparent: The channel handles raw data without any processing

fsl,reverse-data — not listed as required here

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

The bit order as seen on the channels is reversed, transmitting/receiving the MSB of each octet first. This flag is used only in 'transparent' mode.

fsl,tx-ts-mask — required here

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

Channel assigned Tx time-slots within the Tx time-slots routed by the TSA to this cell.

fsl,rx-ts-mask — required here

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

Channel assigned Rx time-slots within the Rx time-slots routed by the TSA to this cell.

compatible — not listed as required here

Array item rules (items)

Item 1

Allowed values (enum): "fsl,mpc885-scc-qmc-hdlc", "fsl,mpc866-scc-qmc-hdlc"

Item 2

Exact value (const): "fsl,cpm1-scc-qmc-hdlc"

Item 3

Exact value (const): "fsl,qmc-hdlc"

fsl,framer — not listed as required here

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

phandle to the framer node. The framer is in charge of an E1/T1 line interface connected to the TDM bus. It can be used to get the E1/T1 line status such as link up/down.

All of these rules must match (allOf) #

Rule 1

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "fsl,qmc-hdlc"

When the condition matches (then)

Properties and child nodes (properties)

fsl,framer — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "reg", "fsl,tx-ts-mask", "fsl,rx-ts-mask"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "fsl,tsa-serial", "#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/soc/cpm1-fsl,tsa.h>

qmc@a60 {
    compatible = "fsl,mpc885-scc-qmc", "fsl,cpm1-scc-qmc";
    reg = <0xa60 0x20>,
          <0x3f00 0xc0>,
          <0x2000 0x1000>;
    reg-names = "scc_regs", "scc_pram", "dpram";
    interrupts = <27>;
    interrupt-parent = <&CPM_PIC>;

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

    fsl,tsa-serial = <&tsa FSL_CPM_TSA_SCC4>;

    channel@16 {
        /* Ch16 : First 4 even TS from all routed from TSA */
        reg = <16>;
        fsl,operational-mode = "transparent";
        fsl,reverse-data;
        fsl,tx-ts-mask = <0x00000000 0x000000aa>;
        fsl,rx-ts-mask = <0x00000000 0x000000aa>;
    };

    channel@17 {
        /* Ch17 : First 4 odd TS from all routed from TSA */
        reg = <17>;
        fsl,operational-mode = "transparent";
        fsl,reverse-data;
        fsl,tx-ts-mask = <0x00000000 0x00000055>;
        fsl,rx-ts-mask = <0x00000000 0x00000055>;
    };

    channel@19 {
        /* Ch19 : 8 TS (TS 8..15) from all routed from TSA */
        compatible = "fsl,mpc885-scc-qmc-hdlc",
                     "fsl,cpm1-scc-qmc-hdlc",
                     "fsl,qmc-hdlc";
        reg = <19>;
        fsl,operational-mode = "hdlc";
        fsl,tx-ts-mask = <0x00000000 0x0000ff00>;
        fsl,rx-ts-mask = <0x00000000 0x0000ff00>;
        fsl,framer = <&framer>;
    };
};

Source notes #

Annotations retained from the schema source

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

PowerQUICC CPM Time-slot assigner (TSA) controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml#"

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

Maintainers (maintainers): "Herve Codina <herve.codina@bootlin.com>"

The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. Its purpose is to route some TDM time-slots to other internal serial controllers.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,mpc885-tsa", "fsl,mpc866-tsa"

Item 2

Exact value (const): "fsl,cpm1-tsa"

reg — required here #

Array item rules (items) #

Item 1

SI (Serial Interface) register base

Item 2

SI RAM base

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "si_regs"

Item 2

Exact value (const): "si_ram"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

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

The TDM managed by this controller

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Minimum value (minimum): 0

Maximum value (maximum): 1

The TDM number for this TDM, 0 for TDMa and 1 for TDMb

fsl,common-rxtx-pins — not listed as required here

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

The hardware can use four dedicated pins for Tx clock, Tx sync, Rx clock and Rx sync or use only two pins, Tx/Rx clock and Tx/Rx sync. Without the 'fsl,common-rxtx-pins' property, the four pins are used. With the 'fsl,common-rxtx-pins' property, two pins are used.

clocks — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

External clock connected to L1RSYNC pin

Item 2

External clock connected to L1RCLK pin

Item 3

External clock connected to L1TSYNC pin

Item 4

External clock connected to L1TCLK pin

clock-names — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "l1rsync"

Item 2

Exact value (const): "l1rclk"

Item 3

Exact value (const): "l1tsync"

Item 4

Exact value (const): "l1tclk"

fsl,rx-frame-sync-delay-bits — not listed as required here

Allowed values (enum): 0, 1, 2, 3

Default value (default): 0

Receive frame sync delay in number of bits. Indicates the delay between the Rx sync and the first bit of the Rx frame. 0 for no bit delay. 1, 2 or 3 for 1, 2 or 3 bits delay.

fsl,tx-frame-sync-delay-bits — not listed as required here

Allowed values (enum): 0, 1, 2, 3

Default value (default): 0

Transmit frame sync delay in number of bits. Indicates the delay between the Tx sync and the first bit of the Tx frame. 0 for no bit delay. 1, 2 or 3 for 1, 2 or 3 bits delay.

fsl,clock-falling-edge — not listed as required here

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

Data is sent on falling edge of the clock (and received on the rising edge). If 'clock-falling-edge' is not present, data is sent on the rising edge (and received on the falling edge).

fsl,fsync-rising-edge — not listed as required here

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

Frame sync pulses are sampled with the rising edge of the channel clock. If 'fsync-rising-edge' is not present, pulses are sampled with the falling edge.

fsl,double-speed-clock — not listed as required here

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

The channel clock is twice the data rate.

Properties matching a name pattern (patternProperties) #

^fsl,[rt]x-ts-routes$ — name matches this regular expression

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

A list of tuple that indicates the Tx or Rx time-slots routes.

Array item rules (items)

Array item rules (items)

Item 1

The number of time-slots

Minimum value (minimum): 1

Maximum value (maximum): 64

Item 2

The source (Tx) or destination (Rx) serial interface (dt-bindings/soc/cpm1-fsl,tsa.h defines these values) - 0: No destination - 1: SCC2 - 2: SCC3 - 3: SCC4 - 4: SMC1 - 5: SMC2

Allowed values (enum): 0, 1, 2, 3, 4, 5

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

All of these rules must match (allOf) #

Rule 1

Condition (if)

Required in this object (required): "fsl,common-rxtx-pins"

When the condition matches (then)

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Maximum number of items (maxItems): 2

When the condition does not match (else)

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

clock-names — not listed as required here

Minimum number of items (minItems): 4

Required in this object (required): "reg", "clocks", "clock-names"

Required in this object (required): "compatible", "reg", "reg-names", "#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/soc/cpm1-fsl,tsa.h>

tsa@ae0 {
    compatible = "fsl,mpc885-tsa", "fsl,cpm1-tsa";
    reg = <0xae0 0x10>,
          <0xc00 0x200>;
    reg-names = "si_regs", "si_ram";

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

    tdm@0 {
        /* TDMa */
        reg = <0>;

        clocks = <&clk_l1rsynca>, <&clk_l1rclka>;
        clock-names = "l1rsync", "l1rclk";

        fsl,common-rxtx-pins;
        fsl,fsync-rising-edge;

        fsl,tx-ts-routes = <2 0>,             /* TS 0..1 */
                       <24 FSL_CPM_TSA_SCC4>, /* TS 2..25 */
                       <1 0>,                 /* TS 26 */
                       <5 FSL_CPM_TSA_SCC3>;  /* TS 27..31 */

        fsl,rx-ts-routes = <2 0>,             /* TS 0..1 */
                       <24 FSL_CPM_TSA_SCC4>, /* 2..25 */
                       <1 0>,                 /* TS 26 */
                       <5 FSL_CPM_TSA_SCC3>;  /* TS 27..31 */
    };
};

Source notes #

Annotations retained from the schema source

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

Line 140: If fsl,common-rxtx-pins is present, only 2 clocks are needed.

Line 141: Else, the 4 clocks must be present.

Freescale QUICC Engine module Firmware Node

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-firmware.yaml#"

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

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

This node defines a firmware binary that is embedded in the device tree, for the purpose of passing the firmware from bootloader to the kernel, or from the hypervisor to the guest.

The firmware node itself contains the firmware binary contents, a compatible property, and any firmware-specific properties. The node should be placed inside a QE node that needs it. Doing so eliminates the need for a fsl,firmware-phandle property. Other QE nodes that need the same firmware should define an fsl,firmware-phandle property that points to the firmware node in the first QE node.

The fsl,firmware property can be specified in the DTS (possibly using incbin) or can be inserted by the boot loader at boot time.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,qe-firmware"

fsl,firmware — required here #

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

A standard property. This property contains the firmware binary "blob".

Required in this object (required): "compatible", "fsl,firmware"

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

false

Not allowed by this rule.

Examples (examples) #

qe-firmware {
    compatible = "fsl,qe-firmware";
    fsl,firmware = <0x70 0xcd 0x00 0x00 0x01 0x46 0x45>;
};

Source notes #

Annotations retained from the schema source

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

Freescale QUICC Engine module Interrupt Controller (IC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-ic.yaml#"

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

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,qe-ic"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Array item rules (items) #

Item 1

QE interrupt

Item 2

QE critical

Item 3

QE error

Minimum number of items (minItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

interrupt-controller@80 {
    compatible = "fsl,qe-ic";
    reg = <0x80 0x80>;
    #interrupt-cells = <1>;
    interrupt-controller;
    interrupts = <95 2 0 0  94 2 0 0>;
};

Source notes #

Annotations retained from the schema source

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

Freescale QUICC Engine Multi-User RAM (MURAM)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-muram.yaml#"

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

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

Multi-User RAM (MURAM)

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,qe-muram"

Item 2

Exact value (const): "fsl,cpm-muram"

ranges — 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): 1

mode — not listed as required here #

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

Allowed values (enum): "host", "slave"

Properties matching a name pattern (patternProperties) #

^data\-only@[a-f0-9]+$ — name matches this regular expression #

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Array item rules (items)

Item 1

Exact value (const): "fsl,qe-muram-data"

Item 2

Exact value (const): "fsl,cpm-muram-data"

reg — required here

Maximum number of items (maxItems): 1

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", "ranges"

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

false

Not allowed by this rule.

Examples (examples) #

muram@10000 {
    compatible = "fsl,qe-muram", "fsl,cpm-muram";
    ranges = <0 0x00010000 0x0000c000>;
    #address-cells = <1>;
    #size-cells = <1>;

    data-only@0{
        compatible = "fsl,qe-muram-data",
                     "fsl,cpm-muram-data";
        reg = <0 0xc000>;
    };
 };

Source notes #

Annotations retained from the schema source

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

Freescale QUICC Engine module Serial Interface Block (SI)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-si.yaml#"

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

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

The SI manages the routing of eight TDM lines to the QE block serial drivers, the MCC and the UCCs, for receive and transmit.

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): "fsl,ls1043-qe-si"

Item 2

Exact value (const): "fsl,t1040-qe-si"

Rule 2

Allowed values (enum): "fsl,t1040-qe-si"

reg — required here #

Maximum number of items (maxItems): 1

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) #

si@700 {
    compatible = "fsl,t1040-qe-si";
    reg = <0x700 0x80>;
};

Source notes #

Annotations retained from the schema source

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

Freescale QUICC Engine module Serial Interface Block RAM(SIRAM)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-siram.yaml#"

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

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

store the routing entries of SI

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): "fsl,ls1043-qe-siram"

Item 2

Exact value (const): "fsl,t1040-qe-siram"

Rule 2

Exact value (const): "fsl,t1040-qe-siram"

reg — required here #

Maximum number of items (maxItems): 1

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) #

siram@1000 {
    compatible = "fsl,t1040-qe-siram";
    reg = <0x1000 0x800>;
};

Source notes #

Annotations retained from the schema source

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

PowerQUICC QE Time-slot assigner (TSA) controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-tsa.yaml#"

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

Maintainers (maintainers): "Herve Codina <herve.codina@bootlin.com>"

The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. Its purpose is to route some TDM time-slots to other internal serial controllers.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,mpc8321-tsa"

Item 2

Exact value (const): "fsl,qe-tsa"

reg — required here #

Array item rules (items) #

Item 1

SI (Serial Interface) register base

Item 2

SI RAM base

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "si_regs"

Item 2

Exact value (const): "si_ram"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^tdm@[0-3]$ — name matches this regular expression #

The TDM managed by this controller

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Minimum value (minimum): 0

Maximum value (maximum): 3

The TDM number for this TDM, 0 for TDMa, 1 for TDMb, 2 for TDMc and 3 for TDMd.

fsl,common-rxtx-pins — not listed as required here

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

The hardware can use four dedicated pins for Tx clock, Tx sync, Rx clock and Rx sync or use only two pins, Tx/Rx clock and Tx/Rx sync. Without the 'fsl,common-rxtx-pins' property, the four pins are used. With the 'fsl,common-rxtx-pins' property, two pins are used.

clocks — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Receive sync clock

Item 2

Receive data clock

Item 3

Transmit sync clock

Item 4

Transmit data clock

clock-names — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "rsync"

Item 2

Exact value (const): "rclk"

Item 3

Exact value (const): "tsync"

Item 4

Exact value (const): "tclk"

fsl,rx-frame-sync-delay-bits — not listed as required here

Allowed values (enum): 0, 1, 2, 3

Default value (default): 0

Receive frame sync delay in number of bits. Indicates the delay between the Rx sync and the first bit of the Rx frame.

fsl,tx-frame-sync-delay-bits — not listed as required here

Allowed values (enum): 0, 1, 2, 3

Default value (default): 0

Transmit frame sync delay in number of bits. Indicates the delay between the Tx sync and the first bit of the Tx frame.

fsl,clock-falling-edge — not listed as required here

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

Data is sent on falling edge of the clock (and received on the rising edge). If not present, data is sent on the rising edge (and received on the falling edge).

fsl,fsync-rising-edge — not listed as required here

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

Frame sync pulses are sampled with the rising edge of the channel clock. If not present, pulses are sampled with the falling edge.

fsl,fsync-active-low — not listed as required here

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

Frame sync signals are active on low logic level. If not present, sync signals are active on high level.

fsl,double-speed-clock — not listed as required here

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

The channel clock is twice the data rate.

Properties matching a name pattern (patternProperties) #

^fsl,[rt]x-ts-routes$ — name matches this regular expression

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

A list of tuple that indicates the Tx or Rx time-slots routes.

Array item rules (items)

Array item rules (items)

Item 1

The number of time-slots

Minimum value (minimum): 1

Maximum value (maximum): 64

Item 2

The source (Tx) or destination (Rx) serial interface (dt-bindings/soc/qe-fsl,tsa.h defines these values) - 0: No destination - 1: UCC1 - 2: UCC2 - 3: UCC3 - 4: UCC4 - 5: UCC5

Allowed values (enum): 0, 1, 2, 3, 4, 5

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

All of these rules must match (allOf) #

Rule 1

Condition (if)

Required in this object (required): "fsl,common-rxtx-pins"

When the condition matches (then)

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Maximum number of items (maxItems): 2

When the condition does not match (else)

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

clock-names — not listed as required here

Minimum number of items (minItems): 4

Required in this object (required): "reg", "clocks", "clock-names"

Required in this object (required): "compatible", "reg", "reg-names", "#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/soc/qe-fsl,tsa.h>

tsa@ae0 {
    compatible = "fsl,mpc8321-tsa", "fsl,qe-tsa";
    reg = <0xae0 0x10>,
          <0xc00 0x200>;
    reg-names = "si_regs", "si_ram";

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

    tdm@0 {
        /* TDMa */
        reg = <0>;

        clocks = <&clk_l1rsynca>, <&clk_l1rclka>;
        clock-names = "rsync", "rclk";

        fsl,common-rxtx-pins;
        fsl,fsync-rising-edge;

        fsl,tx-ts-routes = <2 0>,             /* TS 0..1 */
                       <24 FSL_QE_TSA_UCC4>, /* TS 2..25 */
                       <1 0>,                 /* TS 26 */
                       <5 FSL_QE_TSA_UCC3>;  /* TS 27..31 */

        fsl,rx-ts-routes = <2 0>,             /* TS 0..1 */
                       <24 FSL_QE_TSA_UCC4>, /* 2..25 */
                       <1 0>,                 /* TS 26 */
                       <5 FSL_QE_TSA_UCC3>;  /* TS 27..31 */
    };
};

Source notes #

Annotations retained from the schema source

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

Line 145: If fsl,common-rxtx-pins is present, only 2 clocks are needed.

Line 146: Else, the 4 clocks must be present.

PowerQUICC QE QUICC Multichannel Controller (QMC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-ucc-qmc.yaml#"

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

Maintainers (maintainers): "Herve Codina <herve.codina@bootlin.com>"

The QMC (QUICC Multichannel Controller) emulates up to 64 channels within one serial controller using the same TDM physical interface routed from TSA.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,mpc8321-ucc-qmc"

Item 2

Exact value (const): "fsl,qe-ucc-qmc"

reg — required here #

Array item rules (items) #

Item 1

UCC (Unified communication controller) register base

Item 2

Dual port ram base

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ucc_regs"

Item 2

Exact value (const): "dpram"

interrupts — required here #

Maximum number of items (maxItems): 1

UCC interrupt line in the QE interrupt controller

fsl,tsa-serial — required here #

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to TSA node

Item 2

Allowed values (enum): 1, 2, 3, 4, 5

TSA serial interface (dt-bindings/soc/qe-fsl,tsa.h defines these values) - 1: UCC1 - 2: UCC2 - 3: UCC3 - 4: UCC4 - 5: UCC5

Should be a phandle/number pair. The phandle to TSA node and the TSA serial interface to use.

fsl,soft-qmc — not listed as required here #

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

Soft QMC firmware name to load. If this property is omitted, no firmware are used.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^channel@([0-9]|[1-5][0-9]|6[0-3])$ — name matches this regular expression #

A channel managed by this controller

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Allowed values (enum): "fsl,mpc8321-ucc-qmc-hdlc"

Item 2

Exact value (const): "fsl,qe-ucc-qmc-hdlc"

Item 3

Exact value (const): "fsl,qmc-hdlc"

reg — required here

Minimum value (minimum): 0

Maximum value (maximum): 63

The channel number

fsl,operational-mode — not listed as required here

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

Allowed values (enum): "transparent", "hdlc"

Default value (default): "transparent"

The channel operational mode
  - hdlc: The channel handles HDLC frames
  - transparent: The channel handles raw data without any processing

fsl,reverse-data — not listed as required here

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

The bit order as seen on the channels is reversed, transmitting/receiving the MSB of each octet first. This flag is used only in 'transparent' mode.

fsl,tx-ts-mask — required here

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

Channel assigned Tx time-slots within the Tx time-slots routed by the TSA to this cell.

fsl,rx-ts-mask — required here

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

Channel assigned Rx time-slots within the Rx time-slots routed by the TSA to this cell.

fsl,framer — not listed as required here

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

phandle to the framer node. The framer is in charge of an E1/T1 line interface connected to the TDM bus. It can be used to get the E1/T1 line status such as link up/down.

All of these rules must match (allOf) #

Rule 1

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "fsl,qmc-hdlc"

When the condition matches (then)

Properties and child nodes (properties)

fsl,framer — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "reg", "fsl,tx-ts-mask", "fsl,rx-ts-mask"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "fsl,tsa-serial", "#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/soc/qe-fsl,tsa.h>

qmc@a60 {
    compatible = "fsl,mpc8321-ucc-qmc", "fsl,qe-ucc-qmc";
    reg = <0x3200 0x200>,
          <0x10000 0x1000>;
    reg-names = "ucc_regs", "dpram";
    interrupts = <35>;
    interrupt-parent = <&qeic>;
    fsl,soft-qmc = "fsl_qe_ucode_qmc_8321_11.bin";

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

    fsl,tsa-serial = <&tsa FSL_QE_TSA_UCC4>;

    channel@16 {
        /* Ch16 : First 4 even TS from all routed from TSA */
        reg = <16>;
        fsl,operational-mode = "transparent";
        fsl,reverse-data;
        fsl,tx-ts-mask = <0x00000000 0x000000aa>;
        fsl,rx-ts-mask = <0x00000000 0x000000aa>;
    };

    channel@17 {
        /* Ch17 : First 4 odd TS from all routed from TSA */
        reg = <17>;
        fsl,operational-mode = "transparent";
        fsl,reverse-data;
        fsl,tx-ts-mask = <0x00000000 0x00000055>;
        fsl,rx-ts-mask = <0x00000000 0x00000055>;
    };

    channel@19 {
        /* Ch19 : 8 TS (TS 8..15) from all routed from TSA */
        compatible = "fsl,mpc8321-ucc-qmc-hdlc",
                     "fsl,qe-ucc-qmc-hdlc",
                     "fsl,qmc-hdlc";
        reg = <19>;
        fsl,operational-mode = "hdlc";
        fsl,tx-ts-mask = <0x00000000 0x0000ff00>;
        fsl,rx-ts-mask = <0x00000000 0x0000ff00>;
        fsl,framer = <&framer>;
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale QUICC Engine module (QE)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe.yaml#"

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

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

This represents qe module that is installed on PowerQUICC II Pro.

NOTE: This is an interim binding; it should be updated to fit in with the CPM binding later in this document.

Basically, it is a bus of devices, that could act more or less as a complete entity (UCC, USB etc ). All of them should be siblings on the "root" qe node, using the common properties from there. The description below applies to the qe of MPC8360 and more nodes and properties would be extended in the future.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,qe"

Item 2

Exact value (const): "simple-bus"

reg — required here #

Maximum number of items (maxItems): 1

ranges — not listed as required here #

Maximum number of items (maxItems): 1

model — not listed as required here #

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

Allowed values (enum): "QE", "CPM", "CPM2"

bus-frequency — required here #

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

the clock frequency for QUICC Engine.

fsl,qe-num-riscs — not listed as required here #

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

define how many RISC engines the QE has.

fsl,qe-snums — not listed as required here #

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

Maximum number of items (maxItems): 28

defining the array of serial number (SNUM) values for the virtual threads.

fsl,firmware-phandle — not listed as required here #

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

required only if there is no fsl,qe-firmware child node

Points to a firmware node (see "QE Firmware Node" below) that contains the firmware that should be uploaded for this QE. The compatible property for the firmware node should say, "fsl,qe-firmware".

brg-frequency — not listed as required here #

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

the internal clock source frequency for baud-rate generators in Hz.

fsl,qe-num-snums — not listed as required here #

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

Deprecated (deprecated): true

define how many serial number(SNUM) the QE can use for the threads. Use fsl,qe-snums instead to not only specify the number of snums, but also their values.

Properties matching a name pattern (patternProperties) #

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

Shared schema rule ($ref): fsl,qe-muram.yaml

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

Shared schema rule ($ref): fsl,qe-ic.yaml

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

Shared schema rule ($ref): fsl,qe-si.yaml

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

Shared schema rule ($ref): fsl,qe-siram.yaml

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/simple-bus.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

qe-bus@e0100000 {
    compatible = "fsl,qe", "simple-bus";
    reg = <0xe0100000 0x480>;
    ranges = <0 0xe0100000 0x00100000>;
    #address-cells = <1>;
    #size-cells = <1>;
    brg-frequency = <0>;
    bus-frequency = <0x179a7b00>;
    fsl,qe-snums = /bits/ 8 <
        0x04 0x05 0x0c 0x0d 0x14 0x15 0x1c 0x1d
        0x24 0x25 0x2c 0x2d 0x34 0x35 0x88 0x89
        0x98 0x99 0xa8 0xa9 0xb8 0xb9 0xc8 0xc9
        0xd8 0xd9 0xe8 0xe9>;

    interrupt-controller@80 {
        compatible = "fsl,qe-ic";
        reg = <0x80 0x80>;
        #interrupt-cells = <1>;
        interrupt-controller;
        interrupts = <95 2 0 0  94 2 0 0>;
    };

    si@700 {
        compatible = "fsl,t1040-qe-si";
        reg = <0x700 0x80>;
    };

    siram@1000 {
      compatible = "fsl,t1040-qe-siram";
      reg = <0x1000 0x800>;
    };

    muram@10000 {
        compatible = "fsl,qe-muram", "fsl,cpm-muram";
        ranges = <0 0x00010000 0x0000c000>;
        #address-cells = <1>;
        #size-cells = <1>;

          data-only@0{
              compatible = "fsl,qe-muram-data",
                          "fsl,cpm-muram-data";
              reg = <0 0xc000>;
          };
    };
};

Source notes #

Annotations retained from the schema source

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

High-Level Data Link Control(HDLC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,ucc-hdlc.yaml#"

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

HDLC part in Universal communication controllers (UCCs)

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,ucc-hdlc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

cell-index — not listed as required here #

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

rx-clock-name — not listed as required here #

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

Exactly one of these rules must match (oneOf) #

Rule 1

String pattern (pattern): "^brg([0-9]|1[0-6])$"

Rule 2

String pattern (pattern): "^clk([0-9]|1[0-9]|2[0-4])$"

tx-clock-name — not listed as required here #

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

Exactly one of these rules must match (oneOf) #

Rule 1

String pattern (pattern): "^brg([0-9]|1[0-6])$"

Rule 2

String pattern (pattern): "^clk([0-9]|1[0-9]|2[0-4])$"

fsl,tdm-interface — not listed as required here #

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

Specify that hdlc is based on tdm-interface

fsl,rx-sync-clock — not listed as required here #

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

rx-sync

Allowed values (enum): "none", "rsync_pin", "brg9", "brg10", "brg11", "brg13", "brg14", "brg15"

fsl,tx-sync-clock — not listed as required here #

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

tx-sync

Allowed values (enum): "none", "tsync_pin", "brg9", "brg10", "brg11", "brg13", "brg14", "brg15"

fsl,tdm-framer-type — not listed as required here #

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

required for tdm interface

Allowed values (enum): "e1", "t1"

fsl,tdm-id — not listed as required here #

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

number of TDM ID

fsl,tx-timeslot-mask — not listed as required here #

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

required for tdm interface. time slot mask for TDM operation. Indicates which time slots used for transmitting and receiving.

fsl,rx-timeslot-mask — not listed as required here #

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

required for tdm interface. time slot mask for TDM operation. Indicates which time slots used for transmitting and receiving.

fsl,siram-entry-id — not listed as required here #

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

required for tdm interface Must be 0,2,4...64. the number of TDM entry.

fsl,tdm-internal-loopback — not listed as required here #

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

optional for tdm interface Internal loopback connecting on TDM layer.

fsl,hmask — not listed as required here #

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

HDLC address recognition. Set to zero to disable address filtering of packets: fsl,hmask = /bits/ 16 <0x0000>;

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) #

communication@2000 {
    compatible = "fsl,ucc-hdlc";
    reg = <0x2000 0x200>;
    rx-clock-name = "clk8";
    tx-clock-name = "clk9";
    fsl,rx-sync-clock = "rsync_pin";
    fsl,tx-sync-clock = "tsync_pin";
    fsl,tx-timeslot-mask = <0xfffffffe>;
    fsl,rx-timeslot-mask = <0xfffffffe>;
    fsl,tdm-framer-type = "e1";
    fsl,tdm-id = <0>;
    fsl,siram-entry-id = <0>;
    fsl,tdm-interface;
};
communication@2000 {
    compatible = "fsl,ucc-hdlc";
    reg = <0x2000 0x200>;
    rx-clock-name = "brg1";
    tx-clock-name = "brg1";
};

Source notes #

Annotations retained from the schema source

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

QorIQ DPAA Queue Manager Portals

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,bman-portal.yaml#"

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

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

QorIQ DPAA Buffer Manager Portal Portals are memory mapped interfaces to BMan that allow low-latency, lock-less interaction by software running on processor cores, accelerators and network interfaces with the BMan

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "fsl,bman-portal"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,bman-portal-1.0.0", "fsl,ls1043a-bmap-portal", "fsl,ls1046a-bmap-portal"

Item 2

Exact value (const): "fsl,bman-portal"

reg — required here #

Array item rules (items) #

Item 1

the cache-enabled region of the portal

Item 2

the cache-inhibited region of the portal

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) #

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

bman-portal@0 {
    compatible = "fsl,bman-portal-1.0.0", "fsl,bman-portal";
    reg = <0x0 0x4000>, <0x100000 0x1000>;
    interrupts = <105 IRQ_TYPE_EDGE_FALLING 0 0>;
};

Source notes #

Annotations retained from the schema source

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

QorIQ DPAA Buffer Manager

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,bman.yaml#"

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

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

The Buffer Manager is part of the Data-Path Acceleration Architecture (DPAA). BMan supports hardware allocation and deallocation of buffers belonging to pools originally created by software with configurable depletion thresholds. This binding covers the CCSR space programming model

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "fsl,bman"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,ls1043a-bman", "fsl,ls1046a-bman"

Item 2

Exact value (const): "fsl,bman"

reg — required here #

Array item rules (items) #

Item 1

Registers region within the CCSR address space

The BMan revision information is located in the BMAN_IP_REV_1/2 registers which are located at offsets 0xbf8 and 0xbfc

interrupts — required here #

Array item rules (items) #

Item 1

The error interrupt

memory-region — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

List of phandles referencing the BMan private memory nodes (described below). The bman-fqd node must be first followed by bman-pfdr node. Only used on ARM Devices connected to a BMan instance via Direct Connect Portals (DCP) must link to the respective BMan instance

fsl,bman-portals — not listed as required here #

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

ref fsl,bman-port.yaml

fsl,liodn — not listed as required here #

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

See pamu.txt, PAMU property used for static LIODN assignment

fsl,iommu-parent — not listed as required here #

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

See pamu.txt, PAMU property used for dynamic LIODN assignment

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>

bman@31a000 {
    compatible = "fsl,bman";
    reg = <0x31a000 0x1000>;
    interrupts = <16 IRQ_TYPE_EDGE_FALLING 1 2>;
    fsl,liodn = <0x17>;
    fsl,bman-portals = <&bportals>;
    memory-region = <&bman_fbpr>;
};

Source notes #

Annotations retained from the schema source

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

Freescale mxs digctrl for i.MX23/i.MX28

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,imx23-digctl.yaml#"

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

The digital control block provides overall control of various items within
the top digital block of the chip, including:
  - Default first-level page table (DFLPT) controls
  - HCLK performance counter
  - Free-running microseconds counter
  - Entropy control
  - BIST controls for ARM Core and On-Chip RAM
  - Chip Revision register
  - USB loop back congtrol
  - Other miscellaneous controls

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.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): "fsl,imx28-digctl"

Item 2

Exact value (const): "fsl,imx23-digctl"

Rule 2

Exact value (const): "fsl,imx23-digctl"

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) #

digctl@8001c000 {
    compatible = "fsl,imx28-digctl", "fsl,imx23-digctl";
    reg = <0x8001c000 0x2000>;
    interrupts = <89>;
};

Source notes #

Annotations retained from the schema source

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

Freescale Layerscape Device Configuration Unit

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,layerscape-dcfg.yaml#"

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

Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>"

DCFG is the device configuration unit, that provides general purpose configuration and status for the device. Such as setting the secondary core start address and release the secondary core from holdoff and startup.

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): "fsl,ls1012a-dcfg", "fsl,ls1021a-dcfg", "fsl,ls1043a-dcfg", "fsl,ls1046a-dcfg", "fsl,ls1088a-dcfg", "fsl,ls2080a-dcfg", "fsl,lx2160a-dcfg"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,ls1028a-dcfg"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

little-endian — not listed as required here #

true — No constraints added by this property rule.

big-endian — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^clock-controller@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/clock/fsl,flexspi-clock.yaml#

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) #

syscon@1ee0000 {
    compatible = "fsl,ls1021a-dcfg", "syscon";
    reg = <0x1ee0000 0x10000>;
};

Source notes #

Annotations retained from the schema source

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

Freescale Layerscape Supplemental Configuration Unit

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,layerscape-scfg.yaml#"

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

Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>"

SCFG is the supplemental configuration unit, that provides SoC specific configuration and status registers for the chip. Such as getting PEX port status.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,ls1012a-scfg", "fsl,ls1021a-scfg", "fsl,ls1028a-scfg", "fsl,ls1043a-scfg", "fsl,ls1046a-scfg", "fsl,ls1088a-isc", "fsl,ls2080a-isc", "fsl,lx2160a-isc"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

little-endian — not listed as required here #

true — No constraints added by this property rule.

big-endian — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

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

Shared schema rule ($ref): /schemas/interrupt-controller/fsl,ls-extirq.yaml#

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) #

syscon@1570000 {
    compatible = "fsl,ls1021a-scfg", "syscon";
    reg = <0x1570000 0x10000>;
};

Source notes #

Annotations retained from the schema source

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

Freescale Layerscape Reset Registers Module

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,ls1028a-reset.yaml#"

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

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

Reset Module includes chip reset, service processor control and Reset Control Word (RCW) status.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^syscon@[0-9a-f]+$"

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,ls1028a-reset"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

little-endian — not listed as required here #

true — No constraints added by this property rule.

reboot — required here #

Shared schema rule ($ref): /schemas/power/reset/syscon-reboot.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

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

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

false

Not allowed by this rule.

Examples (examples) #

syscon@1e60000 {
    compatible = "fsl,ls1028a-reset", "syscon", "simple-mfd";
    reg = <0x1e60000 0x10000>;
    little-endian;

    reboot {
        compatible = "syscon-reboot";
        offset = <0>;
        mask = <0x02>;
    };
};

Source notes #

Annotations retained from the schema source

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

QMan Private Memory Nodes

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,qman-fqd.yaml#"

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

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

QMan requires two contiguous range of physical memory used for the backing store for QMan Frame Queue Descriptor (FQD) and Packed Frame Descriptor Record (PFDR). This memory is reserved/allocated as a node under the /reserved-memory node.

BMan requires a contiguous range of physical memory used for the backing store for BMan Free Buffer Proxy Records (FBPR). This memory is reserved/allocated as a node under the /reserved-memory node.

The QMan FQD memory node must be named "qman-fqd" The QMan PFDR memory node must be named "qman-pfdr" The BMan FBPR memory node must be named "bman-fbpr"

The following constraints are relevant to the FQD and PFDR private memory:
  - The size must be 2^(size + 1), with size = 11..29. That is 4 KiB to
    1 GiB
  - The alignment must be a muliptle of the memory size

The size of the FQD and PFDP must be chosen by observing the hardware features configured via the Reset Configuration Word (RCW) and that are relevant to a specific board (e.g. number of MAC(s) pinned-out, number of offline/host command FMan ports, etc.). The size configured in the DT must reflect the hardware capabilities and not the specific needs of an application

For additional details about reserved memory regions see reserved-memory/reserved-memory.yaml in dtschema project.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^(qman-fqd|qman-pfdr|bman-fbpr)+$"

compatible — required here #

Allowed values (enum): "fsl,qman-fqd", "fsl,qman-pfdr", "fsl,bman-fbpr"

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/reserved-memory/reserved-memory.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

reserved-memory {
    #address-cells = <2>;
    #size-cells = <2>;

    qman-fqd {
        compatible = "fsl,qman-fqd";
        size = <0 0x400000>;
        alignment = <0 0x400000>;
        no-map;
    };
};

Source notes #

Annotations retained from the schema source

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

QorIQ DPAA Queue Manager Portals

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,qman-portal.yaml#"

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

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

Portals are memory mapped interfaces to QMan that allow low-latency, lock-less interaction by software running on processor cores, accelerators and network interfaces with the QMan

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "fsl,qman-portal"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,ls1043-qman-portal", "fsl,ls1046-qman-portal", "fsl,qman-portal-1.2.0"

Item 2

Exact value (const): "fsl,qman-portal"

reg — required here #

Array item rules (items) #

Item 1

the cache-enabled region of the portal

Item 2

the cache-inhibited region of the portal

interrupts — required here #

Maximum number of items (maxItems): 1

fsl,liodn — not listed as required here #

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

Maximum number of items (maxItems): 2

See pamu.txt. Two LIODN(s). DQRR LIODN (DLIODN) and Frame LIODN (FLIODN)

fsl,iommu-parent — not listed as required here #

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

See pamu.txt.

fsl,qman-channel-id — not listed as required here #

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

qman channel id.

cell-index — not listed as required here #

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

The hardware index of the channel. This can also be determined by dividing any of the channel's 8 work queue IDs by 8 In addition to these properties the qman-portals should have sub-nodes to represent the HW devices/portals that are connected to the software portal described here

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.

Properties matching a name pattern (patternProperties) #

^(fman0|fman1|pme|crypto)+$ — name matches this regular expression #

Value type (type): "object"

Properties and child nodes (properties) #

fsl,liodn — not listed as required here

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

See pamu.txt, PAMU property used for static LIODN assignment

fsl,iommu-parent — not listed as required here

See pamu.txt, PAMU property used for dynamic LIODN assignment

dev-handle — not listed as required here

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

The phandle to the particular hardware device that this portal is connected to.

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>

qman-portal@0 {
    compatible = "fsl,qman-portal-1.2.0", "fsl,qman-portal";
    reg = <0 0x4000>, <0x100000 0x1000>;
    interrupts = <104 IRQ_TYPE_EDGE_FALLING 0 0>;
    fsl,liodn = <1 2>;
    fsl,qman-channel-id = <0>;

    fman0 {
        fsl,liodn = <0x21>;
        dev-handle = <&fman0>;
    };

    fman1 {
        fsl,liodn = <0xa1>;
        dev-handle = <&fman1>;
    };

    crypto {
        fsl,liodn = <0x41 0x66>;
        dev-handle = <&crypto>;
    };
};

Source notes #

Annotations retained from the schema source

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

QorIQ DPAA Queue Manager

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,qman.yaml#"

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

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

The Queue Manager is part of the Data-Path Acceleration Architecture (DPAA). QMan supports queuing and QoS scheduling of frames to CPUs, network interfaces and DPAA logic modules, maintains packet ordering within flows. Besides providing flow-level queuing, is also responsible for congestion management functions such as RED/WRED, congestion notifications and tail discards. This binding covers the CCSR space programming model

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "fsl,qman"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,ls1043a-qman", "fsl,ls1046a-qman"

Item 2

Exact value (const): "fsl,qman"

reg — required here #

Array item rules (items) #

Item 1

Registers region within the CCSR address space

The QMan revision information is located in the QMAN_IP_REV_1/2 registers which are located at offsets 0xbf8 and 0xbfc

interrupts — required here #

Array item rules (items) #

Item 1

The error interrupt

fsl,qman-portals — not listed as required here #

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

ref fsl,qman-port.yaml

fsl,liodn — not listed as required here #

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

See pamu.txt, PAMU property used for static LIODN assignment

fsl,iommu-parent — not listed as required here #

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

See pamu.txt, PAMU property used for dynamic LIODN assignment

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Reference input clock. Its frequency is half of the platform clock

memory-region — not listed as required here #

Maximum number of items (maxItems): 2

List of phandles referencing the QMan private memory nodes (described below). The qman-fqd node must be first followed by qman-pfdr node. Only used on ARM Devices connected to a QMan instance via Direct Connect Portals (DCP) must link to the respective QMan instance.

fsl,qman — not listed as required here #

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

List of phandle and DCP index pairs, to the QMan instance to which this device is connected via the DCP

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>

qman: qman@318000 {
    compatible = "fsl,qman";
    reg = <0x318000 0x1000>;
    interrupts = <16 IRQ_TYPE_EDGE_FALLING 1 3>;
    fsl,liodn = <0x16>;
    fsl,qman-portals = <&qportals>;
    memory-region = <&qman_fqd &qman_pfdr>;
    clocks = <&platform_pll 1>;
};

Source notes #

Annotations retained from the schema source

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

Run Control and Power Management

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,rcpm.yaml#"

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

The RCPM performs all device-level tasks associated with device run control and power management.

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

Properties and child nodes (properties) #

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "fsl,p2041-rcpm", "fsl,p3041-rcpm", "fsl,p4080-rcpm", "fsl,p5020-rcpm", "fsl,p5040-rcpm"

Item 2

Exact value (const): "fsl,qoriq-rcpm-1.0"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,b4420-rcpm", "fsl,b4860-rcpm", "fsl,t4240-rcpm"

Item 2

Exact value (const): "fsl,qoriq-rcpm-2.0"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "fsl,t1040-rcpm"

Item 2

Exact value (const): "fsl,qoriq-rcpm-2.1"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "fsl,ls1012a-rcpm", "fsl,ls1021a-rcpm", "fsl,ls1028a-rcpm", "fsl,ls1043a-rcpm", "fsl,ls1046a-rcpm", "fsl,ls1088a-rcpm", "fsl,ls208xa-rcpm", "fsl,lx2160a-rcpm"

Item 2

Exact value (const): "fsl,qoriq-rcpm-2.1+"

reg — not listed as required here #

Maximum number of items (maxItems): 1

#fsl,rcpm-wakeup-cells — not listed as required here #

The number of IPPDEXPCR register cells in the fsl,rcpm-wakeup property.

Freescale RCPM Wakeup Source Device Tree Bindings

Required fsl,rcpm-wakeup property should be added to a device node if the device can be used as a wakeup source.

fsl,rcpm-wakeup: Consists of a phandle to the rcpm node and the IPPDEXPCR register cells. The number of IPPDEXPCR register cells is defined in "#fsl,rcpm-wakeup-cells" in the rcpm node. The first register cell is the bit mask that should be set in IPPDEXPCR0, and the second register cell is for IPPDEXPCR1, and so on.

Note: IPPDEXPCR(IP Powerdown Exception Control Register) provides a mechanism for keeping certain blocks awake during STANDBY and MEM, in order to use them as wake-up sources.

little-endian — not listed as required here #

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

RCPM register block is Little Endian. Without it RCPM will be Big Endian (default case).

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>
global-utilities@e2000 {
      compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0";
      reg = <0xe2000 0x1000>;
      #fsl,rcpm-wakeup-cells = <2>;
};

Source notes #

Annotations retained from the schema source

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

Freescale vf610 System Reset Controller (SRC)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,vf610-src.yaml#"

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

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

IC reference manual calls it as SRC, but it is not module as reset controller, which used to reset individual device. SRC works as reboot controller, which reboots whole system. It provides a syscon interface to syscon-reboot.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,vf610-src"

Item 2

Exact value (const): "syscon"

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) #

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

syscon@4006e000 {
    compatible = "fsl,vf610-src", "syscon";
    reg = <0x4006e000 0x1000>;
    interrupts = <96 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Google Power Management Unit (PMU) Interrupt Generation

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/google/google,gs101-pmu-intr-gen.yaml#"

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

PMU interrupt generator for handshaking between PMU through interrupts.

Maintainers (maintainers): "Peter Griffin <peter.griffin@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "google,gs101-pmu-intr-gen"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

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) #

pmu_intr_gen: syscon@17470000 {
  compatible = "google,gs101-pmu-intr-gen", "syscon";
  reg = <0x17470000 0x10000>;
};

Source notes #

Annotations retained from the schema source

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

Hisilicon Kirin 960 USB OTG Battery Charging Syscon

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/hisilicon/hisilicon,hi3660-usb3-otg-bc.yaml#"

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

Maintainers (maintainers): "Mauro Carvalho Chehab <mchehab+huawei@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "hisilicon,hi3660-usb3-otg-bc"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

usb-phy — required here #

Shared schema rule ($ref): /schemas/phy/hisilicon,hi3660-usb3.yaml

USB Phy node

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

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

false

Not allowed by this rule.

Examples (examples) #

syscon@ff200000 {
    compatible = "hisilicon,hi3660-usb3-otg-bc", "syscon", "simple-mfd";
    reg = <0xff200000 0x1000>;

    usb-phy {
        compatible = "hisilicon,hi3660-usb-phy";
        #phy-cells = <0>;
        hisilicon,pericrg-syscon = <&crg_ctrl>;
        hisilicon,pctrl-syscon = <&pctrl>;
        hisilicon,eye-diagram-param = <0x22466e4>;
    };
};

Source notes #

Annotations retained from the schema source

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

i.MX AHB to IP Bridge

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,aips-bus.yaml#"

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

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

This particular peripheral is designed as the bridge between AHB bus and peripherals with the lower bandwidth IP Slave (IPS) buses.

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "fsl,aips-bus"

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/simple-bus.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,aips-bus"

Item 2

Exact value (const): "simple-bus"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus@30000000 {
  compatible = "fsl,aips-bus", "simple-bus";
  reg = <0x30000000 0x400000>;
  #address-cells = <1>;
  #size-cells = <1>;
  ranges;
};

Source notes #

Annotations retained from the schema source

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

ANATOP register

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx-anatop.yaml#"

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

Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>", "Sascha Hauer <s.hauer@pengutronix.de>"

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): "fsl,imx6sl-anatop", "fsl,imx6sll-anatop", "fsl,imx6sx-anatop", "fsl,imx6ul-anatop", "fsl,imx7d-anatop"

Item 2

Exact value (const): "fsl,imx6q-anatop"

Item 3

Exact value (const): "syscon"

Item 4

Exact value (const): "simple-mfd"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "fsl,imx6q-anatop"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Array item rules (items) #

Item 1

Temperature sensor event

Item 2

Brown-out event on either of the support regulators

Item 3

Brown-out event on either the core, gpu or soc regulators

Minimum number of items (minItems): 2

tempmon — not listed as required here #

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Shared schema rule ($ref): /schemas/thermal/imx-thermal.yaml

Properties matching a name pattern (patternProperties) #

regulator-((1p1)|(2p5)|(3p0)|(vdd1p0d)|(vdd1p2)|(vddcore)|(vddpcie)|(vddpu)|(vddsoc))$ — name matches this regular expression #

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Shared schema rule ($ref): /schemas/regulator/anatop-regulator.yaml

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx7d-anatop"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

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

false

Not allowed by this rule.

Examples (examples) #

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

anatop: anatop@20c8000 {
    compatible = "fsl,imx6ul-anatop", "fsl,imx6q-anatop",
                 "syscon", "simple-mfd";
    reg = <0x020c8000 0x1000>;
    interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;

    reg_3p0: regulator-3p0 {
        compatible = "fsl,anatop-regulator";
        regulator-name = "vdd3p0";
        regulator-min-microvolt = <2625000>;
        regulator-max-microvolt = <3400000>;
        anatop-reg-offset = <0x120>;
        anatop-vol-bit-shift = <8>;
        anatop-vol-bit-width = <5>;
        anatop-min-bit-val = <0>;
        anatop-min-voltage = <2625000>;
        anatop-max-voltage = <3400000>;
        anatop-enable-bit = <0>;
    };

    reg_arm: regulator-vddcore {
        compatible = "fsl,anatop-regulator";
        regulator-name = "cpu";
        regulator-min-microvolt = <725000>;
        regulator-max-microvolt = <1450000>;
        regulator-always-on;
        anatop-reg-offset = <0x140>;
        anatop-vol-bit-shift = <0>;
        anatop-vol-bit-width = <5>;
        anatop-delay-reg-offset = <0x170>;
        anatop-delay-bit-shift = <24>;
        anatop-delay-bit-width = <2>;
        anatop-min-bit-val = <1>;
        anatop-min-voltage = <725000>;
        anatop-max-voltage = <1450000>;
    };

    reg_soc: regulator-vddsoc {
        compatible = "fsl,anatop-regulator";
        regulator-name = "vddsoc";
        regulator-min-microvolt = <725000>;
        regulator-max-microvolt = <1450000>;
        regulator-always-on;
        anatop-reg-offset = <0x140>;
        anatop-vol-bit-shift = <18>;
        anatop-vol-bit-width = <5>;
        anatop-delay-reg-offset = <0x170>;
        anatop-delay-bit-shift = <28>;
        anatop-delay-bit-width = <2>;
        anatop-min-bit-val = <1>;
        anatop-min-voltage = <725000>;
        anatop-max-voltage = <1450000>;
    };

    tempmon: tempmon {
        compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon";
        interrupt-parent = <&gpc>;
        interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
        fsl,tempmon = <&anatop>;
        nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
        nvmem-cell-names = "calib", "temp_grade";
        clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>;
        #thermal-sensor-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale IOMUX Controller General Purpose Registers

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml#"

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

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

i.MX Processors have an IOMUXC General Purpose Register group for various System Settings

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): "fsl,imx6q-iomuxc-gpr", "fsl,imx8mq-iomuxc-gpr"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx6sl-iomuxc-gpr", "fsl,imx6sll-iomuxc-gpr", "fsl,imx6ul-iomuxc-gpr"

Item 2

Exact value (const): "fsl,imx6q-iomuxc-gpr"

Item 3

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx6sx-iomuxc-gpr", "fsl,imx7d-iomuxc-gpr"

Item 2

Exact value (const): "fsl,imx6q-iomuxc-gpr"

Item 3

Exact value (const): "syscon"

Item 4

Exact value (const): "simple-mfd"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx53-iomuxc-gpr", "fsl,imx8mm-iomuxc-gpr", "fsl,imx8mn-iomuxc-gpr", "fsl,imx8mp-iomuxc-gpr"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

mux-controller — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/mux/reg-mux.yaml

Properties matching a name pattern (patternProperties) #

^ipu[12]_csi[01]_mux$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/media/video-mux.yaml

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "fsl,imx6q-iomuxc-gpr"

When the condition matches (then) #

Properties matching a name pattern (patternProperties)

^ipu[12]_csi[01]_mux$ — name matches this regular expression

false — Not permitted by this property rule.

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) #

iomuxc_gpr: syscon@30340000 {
    compatible = "fsl,imx8mq-iomuxc-gpr", "syscon", "simple-mfd";
    reg = <0x30340000 0x10000>;

    mux: mux-controller {
        compatible = "mmio-mux";
        #mux-control-cells = <1>;
        mux-reg-masks = <0x34 0x00000004>; /* MIPI_MUX_SEL */
    };
};

Source notes #

Annotations retained from the schema source

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

Line 77: Pinmux controller node

NXP i.MX8MM DISP blk-ctrl

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx8mm-disp-blk-ctrl.yaml#"

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

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

The i.MX8MM DISP blk-ctrl is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the display and MIPI CSI peripherals located in the DISP domain of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mm-disp-blk-ctrl"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

power-domains — required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "csi-bridge"

Item 3

Exact value (const): "lcdif"

Item 4

Exact value (const): "mipi-dsi"

Item 5

Exact value (const): "mipi-csi"

clocks — required here #

Minimum number of items (minItems): 10

Maximum number of items (maxItems): 10

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "csi-bridge-axi"

Item 2

Exact value (const): "csi-bridge-apb"

Item 3

Exact value (const): "csi-bridge-core"

Item 4

Exact value (const): "lcdif-axi"

Item 5

Exact value (const): "lcdif-apb"

Item 6

Exact value (const): "lcdif-pix"

Item 7

Exact value (const): "dsi-pclk"

Item 8

Exact value (const): "dsi-ref"

Item 9

Exact value (const): "csi-aclk"

Item 10

Exact value (const): "csi-pclk"

Required in this object (required): "compatible", "reg", "power-domains", "power-domain-names", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mm-clock.h>
#include <dt-bindings/power/imx8mm-power.h>

blk-ctrl@32e28000 {
  compatible = "fsl,imx8mm-disp-blk-ctrl", "syscon";
  reg = <0x32e28000 0x100>;
  power-domains = <&pgc_dispmix>, <&pgc_dispmix>, <&pgc_dispmix>,
                  <&pgc_mipi>, <&pgc_mipi>;
  power-domain-names = "bus", "csi-bridge", "lcdif",
                       "mipi-dsi", "mipi-csi";
  clocks = <&clk IMX8MM_CLK_DISP_AXI_ROOT>,
           <&clk IMX8MM_CLK_DISP_APB_ROOT>,
           <&clk IMX8MM_CLK_CSI1_ROOT>,
           <&clk IMX8MM_CLK_DISP_AXI_ROOT>,
           <&clk IMX8MM_CLK_DISP_APB_ROOT>,
           <&clk IMX8MM_CLK_DISP_ROOT>,
           <&clk IMX8MM_CLK_DSI_CORE>,
           <&clk IMX8MM_CLK_DSI_PHY_REF>,
           <&clk IMX8MM_CLK_CSI1_CORE>,
           <&clk IMX8MM_CLK_CSI1_PHY_REF>;
   clock-names = "csi-bridge-axi", "csi-bridge-apb", "csi-bridge-core",
                 "lcdif-axi", "lcdif-apb", "lcdif-pix", "dsi-pclk",
                 "dsi-ref", "csi-aclk", "csi-pclk";
   #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX8MM VPU blk-ctrl

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml#"

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

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

The i.MX8MM VPU blk-ctrl is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the VPU peripherals located in the VPU domain of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mm-vpu-blk-ctrl"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

power-domains — required here #

Maximum number of items (maxItems): 4

power-domain-names — required here #

Maximum number of items (maxItems): 4

clocks — required here #

Maximum number of items (maxItems): 3

clock-names — required here #

Maximum number of items (maxItems): 3

interconnects — not listed as required here #

Maximum number of items (maxItems): 3

interconnect-names — not listed as required here #

Maximum number of items (maxItems): 3

Required in this object (required): "compatible", "reg", "power-domains", "power-domain-names", "clocks", "clock-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx8mm-vpu-blk-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

Array item rules (items)

Item 1

bus power domain

Item 2

G1 decoder power domain

Item 3

G2 decoder power domain

Item 4

H1 encoder power domain

power-domain-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "g1"

Item 3

Exact value (const): "g2"

Item 4

Exact value (const): "h1"

clocks — not listed as required here

Array item rules (items)

Item 1

G1 decoder clk

Item 2

G2 decoder clk

Item 3

H1 encoder clk

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "g1"

Item 2

Exact value (const): "g2"

Item 3

Exact value (const): "h1"

interconnects — not listed as required here

Array item rules (items)

Item 1

G1 decoder interconnect

Item 2

G2 decoder interconnect

Item 3

H1 encoder power domain

interconnect-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "g1"

Item 2

Exact value (const): "g2"

Item 3

Exact value (const): "h1"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx8mp-vpu-blk-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

Array item rules (items)

Item 1

bus power domain

Item 2

G1 decoder power domain

Item 3

G2 decoder power domain

Item 4

VC8000E encoder power domain

power-domain-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "g1"

Item 3

Exact value (const): "g2"

Item 4

Exact value (const): "vc8000e"

clocks — not listed as required here

Array item rules (items)

Item 1

G1 decoder clk

Item 2

G2 decoder clk

Item 3

VC8000E encoder clk

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "g1"

Item 2

Exact value (const): "g2"

Item 3

Exact value (const): "vc8000e"

interconnects — not listed as required here

Array item rules (items)

Item 1

G1 decoder interconnect

Item 2

G2 decoder interconnect

Item 3

VC8000E encoder interconnect

interconnect-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "g1"

Item 2

Exact value (const): "g2"

Item 3

Exact value (const): "vc8000e"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mm-clock.h>
#include <dt-bindings/power/imx8mm-power.h>

blk-ctrl@38330000 {
  compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon";
  reg = <0x38330000 0x100>;
  power-domains = <&pgc_vpumix>, <&pgc_vpu_g1>,
                  <&pgc_vpu_g2>, <&pgc_vpu_h1>;
  power-domain-names = "bus", "g1", "g2", "h1";
  clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>,
           <&clk IMX8MM_CLK_VPU_G2_ROOT>,
           <&clk IMX8MM_CLK_VPU_H1_ROOT>;
  clock-names = "g1", "g2", "h1";
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX8MN DISP blk-ctrl

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml#"

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

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

The i.MX8MN DISP blk-ctrl is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the display and MIPI CSI peripherals located in the DISP domain of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mn-disp-blk-ctrl"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

power-domains — required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "isi"

Item 3

Exact value (const): "lcdif"

Item 4

Exact value (const): "mipi-dsi"

Item 5

Exact value (const): "mipi-csi"

clocks — required here #

Minimum number of items (minItems): 11

Maximum number of items (maxItems): 11

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "disp_axi"

Item 2

Exact value (const): "disp_apb"

Item 3

Exact value (const): "disp_axi_root"

Item 4

Exact value (const): "disp_apb_root"

Item 5

Exact value (const): "lcdif-axi"

Item 6

Exact value (const): "lcdif-apb"

Item 7

Exact value (const): "lcdif-pix"

Item 8

Exact value (const): "dsi-pclk"

Item 9

Exact value (const): "dsi-ref"

Item 10

Exact value (const): "csi-aclk"

Item 11

Exact value (const): "csi-pclk"

Required in this object (required): "compatible", "reg", "power-domains", "power-domain-names", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mn-clock.h>
#include <dt-bindings/power/imx8mn-power.h>

blk-ctrl@32e28000 {
  compatible = "fsl,imx8mn-disp-blk-ctrl", "syscon";
  reg = <0x32e28000 0x100>;
  power-domains = <&pgc_dispmix>, <&pgc_dispmix>,
                  <&pgc_dispmix>, <&pgc_mipi>,
                  <&pgc_mipi>;
  power-domain-names = "bus", "isi", "lcdif", "mipi-dsi",
                       "mipi-csi";
  clocks = <&clk IMX8MN_CLK_DISP_AXI>,
           <&clk IMX8MN_CLK_DISP_APB>,
           <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
           <&clk IMX8MN_CLK_DISP_APB_ROOT>,
           <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
           <&clk IMX8MN_CLK_DISP_APB_ROOT>,
           <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>,
           <&clk IMX8MN_CLK_DSI_CORE>,
           <&clk IMX8MN_CLK_DSI_PHY_REF>,
           <&clk IMX8MN_CLK_CSI1_PHY_REF>,
           <&clk IMX8MN_CLK_CAMERA_PIXEL_ROOT>;
   clock-names = "disp_axi", "disp_apb", "disp_axi_root", "disp_apb_root",
                 "lcdif-axi", "lcdif-apb", "lcdif-pix", "dsi-pclk",
                 "dsi-ref", "csi-aclk", "csi-pclk";
   #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX8MP HDMI blk-ctrl

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml#"

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

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

The i.MX8MP HDMMI blk-ctrl is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the display pipeline peripherals located in the HDMI domain of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mp-hdmi-blk-ctrl"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

power-domains — required here #

Minimum number of items (minItems): 10

Maximum number of items (maxItems): 10

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "irqsteer"

Item 3

Exact value (const): "lcdif"

Item 4

Exact value (const): "pai"

Item 5

Exact value (const): "pvi"

Item 6

Exact value (const): "trng"

Item 7

Exact value (const): "hdmi-tx"

Item 8

Exact value (const): "hdmi-tx-phy"

Item 9

Exact value (const): "hdcp"

Item 10

Exact value (const): "hrv"

clocks — required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "axi"

Item 3

Exact value (const): "ref_266m"

Item 4

Exact value (const): "ref_24m"

Item 5

Exact value (const): "fdcc"

interconnects — not listed as required here #

Maximum number of items (maxItems): 3

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "hrv"

Item 2

Exact value (const): "lcdif-hdmi"

Item 3

Exact value (const): "hdcp"

Required in this object (required): "compatible", "reg", "power-domains", "power-domain-names", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/power/imx8mp-power.h>

blk-ctrl@32fc0000 {
    compatible = "fsl,imx8mp-hdmi-blk-ctrl", "syscon";
    reg = <0x32fc0000 0x23c>;
    clocks = <&clk IMX8MP_CLK_HDMI_APB>,
             <&clk IMX8MP_CLK_HDMI_ROOT>,
             <&clk IMX8MP_CLK_HDMI_REF_266M>,
             <&clk IMX8MP_CLK_HDMI_24M>,
             <&clk IMX8MP_CLK_HDMI_FDCC_TST>;
    clock-names = "apb", "axi", "ref_266m", "ref_24m", "fdcc";
    power-domains = <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>,
                    <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>,
                    <&pgc_hdmimix>, <&pgc_hdmi_phy>,
                    <&pgc_hdmimix>, <&pgc_hdmimix>;
    power-domain-names = "bus", "irqsteer", "lcdif", "pai", "pvi", "trng",
                         "hdmi-tx", "hdmi-tx-phy",
                         "hdcp", "hrv";
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX8MP HSIO blk-ctrl

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml#"

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

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

The i.MX8MP HSIO blk-ctrl is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the high-speed IO (USB an PCIe) peripherals located in the HSIO domain of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mp-hsio-blk-ctrl"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

power-domains — required here #

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "usb"

Item 3

Exact value (const): "usb-phy1"

Item 4

Exact value (const): "usb-phy2"

Item 5

Exact value (const): "pcie"

Item 6

Exact value (const): "pcie-phy"

#clock-cells — not listed as required here #

Exact value (const): 0

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "usb"

Item 2

Exact value (const): "pcie"

interconnects — not listed as required here #

Maximum number of items (maxItems): 4

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "noc-pcie"

Item 2

Exact value (const): "usb1"

Item 3

Exact value (const): "usb2"

Item 4

Exact value (const): "pcie"

Required in this object (required): "compatible", "reg", "power-domains", "power-domain-names", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/power/imx8mp-power.h>

blk-ctrl@32f10000 {
    compatible = "fsl,imx8mp-hsio-blk-ctrl", "syscon";
    reg = <0x32f10000 0x24>;
    clocks = <&clk IMX8MP_CLK_USB_ROOT>,
             <&clk IMX8MP_CLK_PCIE_ROOT>;
    clock-names = "usb", "pcie";
    power-domains = <&pgc_hsiomix>, <&pgc_hsiomix>,
                    <&pgc_usb1_phy>, <&pgc_usb2_phy>,
                    <&pgc_hsiomix>, <&pgc_pcie_phy>;
    power-domain-names = "bus", "usb", "usb-phy1",
                         "usb-phy2", "pcie", "pcie-phy";
    #power-domain-cells = <1>;
    #clock-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX8MP Media Block Control

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml#"

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

Maintainers (maintainers): "Paul Elder <paul.elder@ideasonboard.com>"

The i.MX8MP Media Block Control (MEDIA BLK_CTRL) is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the peripherals within the MEDIAMIX domain.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mp-media-blk-ctrl"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

#power-domain-cells — required here #

Exact value (const): 1

power-domains — required here #

Maximum number of items (maxItems): 10

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mipi-dsi1"

Item 3

Exact value (const): "mipi-csi1"

Item 4

Exact value (const): "lcdif1"

Item 5

Exact value (const): "isi"

Item 6

Exact value (const): "mipi-csi2"

Item 7

Exact value (const): "lcdif2"

Item 8

Exact value (const): "isp"

Item 9

Exact value (const): "dwe"

Item 10

Exact value (const): "mipi-dsi2"

clocks — required here #

Array item rules (items) #

Item 1

The APB clock

Item 2

The AXI clock

Item 3

The pixel clock for the first CSI2 receiver (aclk)

Item 4

The pixel clock for the second CSI2 receiver (aclk)

Item 5

The pixel clock for the first LCDIF (pix_clk)

Item 6

The pixel clock for the second LCDIF (pix_clk)

Item 7

The core clock for the ISP (clk)

Item 8

The MIPI-PHY reference clock used by DSI

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "axi"

Item 3

Exact value (const): "cam1"

Item 4

Exact value (const): "cam2"

Item 5

Exact value (const): "disp1"

Item 6

Exact value (const): "disp2"

Item 7

Exact value (const): "isp"

Item 8

Exact value (const): "phy"

interconnects — not listed as required here #

Maximum number of items (maxItems): 8

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "lcdif-rd"

Item 2

Exact value (const): "lcdif-wr"

Item 3

Exact value (const): "isi0"

Item 4

Exact value (const): "isi1"

Item 5

Exact value (const): "isi2"

Item 6

Exact value (const): "isp0"

Item 7

Exact value (const): "isp1"

Item 8

Exact value (const): "dwe"

bridge@5c — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/display/bridge/fsl,ldb.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "#power-domain-cells", "power-domains", "power-domain-names", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/power/imx8mp-power.h>

blk-ctrl@32ec0000 {
    compatible = "fsl,imx8mp-media-blk-ctrl", "syscon";
    reg = <0x32ec0000 0x138>;
    power-domains = <&mediamix_pd>, <&mipi_phy1_pd>, <&mipi_phy1_pd>,
                    <&mediamix_pd>, <&mediamix_pd>, <&mipi_phy2_pd>,
                    <&mediamix_pd>, <&ispdwp_pd>, <&ispdwp_pd>,
                    <&mipi_phy2_pd>;
    power-domain-names = "bus", "mipi-dsi1", "mipi-csi1", "lcdif1", "isi",
                         "mipi-csi2", "lcdif2", "isp", "dwe", "mipi-dsi2";
    clocks = <&clk IMX8MP_CLK_MEDIA_APB_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_CAM2_PIX_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_DISP1_PIX_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_DISP2_PIX_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>;
    clock-names = "apb", "axi", "cam1", "cam2", "disp1", "disp2",
                  "isp", "phy";
    #power-domain-cells = <1>;
    #address-cells = <1>;
    #size-cells = <1>;

    bridge@5c {
        compatible = "fsl,imx8mp-ldb";
        reg = <0x5c 0x4>, <0x128 0x4>;
        reg-names = "ldb", "lvds";
        clocks = <&clk IMX8MP_CLK_MEDIA_LDB>;
        clock-names = "ldb";

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

            port@0 {
                reg = <0>;

                ldb_from_lcdif2: endpoint {
                    remote-endpoint = <&lcdif2_to_ldb>;
                };
            };

            port@1 {
                reg = <1>;

                ldb_lvds_ch0: endpoint {
                    remote-endpoint = <&ldb_to_lvdsx4panel>;
                };
            };

            port@2 {
                reg = <2>;

                ldb_lvds_ch1: endpoint {
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX8MQ VPU blk-ctrl

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml#"

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

Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"

The i.MX8MQ VPU blk-ctrl is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the VPU peripherals located in the VPU domain of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mq-vpu-blk-ctrl"

reg — required here #

Maximum number of items (maxItems): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

power-domains — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "g1"

Item 3

Exact value (const): "g2"

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "g1"

Item 2

Exact value (const): "g2"

Required in this object (required): "compatible", "reg", "power-domains", "power-domain-names", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/power/imx8mq-power.h>

blk-ctrl@38320000 {
  compatible = "fsl,imx8mq-vpu-blk-ctrl";
  reg = <0x38320000 0x100>;
  power-domains = <&pgc_vpu>, <&pgc_vpu>, <&pgc_vpu>;
  power-domain-names = "bus", "g1", "g2";
  clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>,
           <&clk IMX8MQ_CLK_VPU_G2_ROOT>;
  clock-names = "g1", "g2";
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX93 Media blk-ctrl

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx93-media-blk-ctrl.yaml#"

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

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

The i.MX93 MEDIAMIX domain contains control and status registers known as MEDIAMIX Block Control (MEDIAMIX BLK_CTRL). These registers include clocking, reset, and miscellaneous top-level controls for peripherals within the MEDIAMIX domain

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,imx91-media-blk-ctrl", "fsl,imx93-media-blk-ctrl"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 10

clock-names — required here #

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 10

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx91-media-blk-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 8

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "axi"

Item 3

Exact value (const): "nic"

Item 4

Exact value (const): "disp"

Item 5

Exact value (const): "cam"

Item 6

Exact value (const): "lcdif"

Item 7

Exact value (const): "isi"

Item 8

Exact value (const): "csi"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx93-media-blk-ctrl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 10

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "axi"

Item 3

Exact value (const): "nic"

Item 4

Exact value (const): "disp"

Item 5

Exact value (const): "cam"

Item 6

Exact value (const): "pxp"

Item 7

Exact value (const): "lcdif"

Item 8

Exact value (const): "isi"

Item 9

Exact value (const): "csi"

Item 10

Exact value (const): "dsi"

Required in this object (required): "compatible", "reg", "power-domains", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx93-clock.h>
#include <dt-bindings/power/fsl,imx93-power.h>

system-controller@4ac10000 {
  compatible = "fsl,imx93-media-blk-ctrl", "syscon";
  reg = <0x4ac10000 0x10000>;
  power-domains = <&mediamix>;
  clocks = <&clk IMX93_CLK_MEDIA_APB>,
           <&clk IMX93_CLK_MEDIA_AXI>,
           <&clk IMX93_CLK_NIC_MEDIA_GATE>,
           <&clk IMX93_CLK_MEDIA_DISP_PIX>,
           <&clk IMX93_CLK_CAM_PIX>,
           <&clk IMX93_CLK_PXP_GATE>,
           <&clk IMX93_CLK_LCDIF_GATE>,
           <&clk IMX93_CLK_ISI_GATE>,
           <&clk IMX93_CLK_MIPI_CSI_GATE>,
           <&clk IMX93_CLK_MIPI_DSI_GATE>;
           clock-names = "apb", "axi", "nic", "disp", "cam",
                         "pxp", "lcdif", "isi", "csi", "dsi";
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX93 System Reset Controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx93-src.yaml#"

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

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

The System Reset Controller (SRC) is responsible for the generation of all the system reset signals and boot argument latching.

Its main functions are as follows,
- Deals with all global system reset sources from other modules,
  and generates global system reset.
- Responsible for power gating of MIXs (Slices) and their memory
  low power control.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx93-src"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

power-domain@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Array item rules (items)

Item 1

Exact value (const): "fsl,imx93-src-slice"

#power-domain-cells — required here

Exact value (const): 0

reg — required here

Array item rules (items)

Item 1

mix slice register region

Item 2

mem slice register region

clocks — not listed as required here

A number of phandles to clocks that need to be enabled during domain power-up sequencing to ensure reset propagation into devices located inside this power domain.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

Required in this object (required): "compatible", "#power-domain-cells", "reg"

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) #

#include <dt-bindings/clock/imx93-clock.h>

system-controller@44460000 {
    compatible = "fsl,imx93-src", "syscon";
    reg = <0x44460000 0x10000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    mediamix: power-domain@0 {
        compatible = "fsl,imx93-src-slice";
        reg = <0x44462400 0x400>, <0x44465800 0x400>;
        #power-domain-cells = <0>;
        clocks = <&clk IMX93_CLK_MEDIA_AXI>,
                 <&clk IMX93_CLK_MEDIA_APB>;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP i.MX8M Series SoC

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/imx8m-soc.yaml#"

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

Maintainers (maintainers): "Alice Guo <alice.guo@nxp.com>"

NXP i.MX8M series SoCs contain fuse entries from which SoC Unique ID can be obtained.

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8mm", "fsl,imx8mn", "fsl,imx8mp", "fsl,imx8mq"

Required in this object (required): "compatible"

Properties matching a name pattern (patternProperties) #

^soc@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx8mm-soc", "fsl,imx8mn-soc", "fsl,imx8mp-soc", "fsl,imx8mq-soc"

Item 2

Exact value (const): "simple-bus"

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 1

ranges — not listed as required here

true — No constraints added by this property rule.

dma-ranges — not listed as required here

true — No constraints added by this property rule.

nvmem-cells — required here

Maximum number of items (maxItems): 1

Phandle to the SOC Unique ID provided by a nvmem node

nvmem-cell-names — required here

Exact value (const): "soc_unique_id"

Required in this object (required): "compatible", "nvmem-cells", "nvmem-cell-names"

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

Value type (type): "object"

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

true

Allowed by this rule.

Examples (examples) #

/ {
    model = "FSL i.MX8MM EVK board";
    compatible = "fsl,imx8mm-evk", "fsl,imx8mm";
    #address-cells = <2>;
    #size-cells = <2>;

    soc@0 {
        compatible = "fsl,imx8mm-soc", "simple-bus";
        #address-cells = <1>;
        #size-cells = <1>;
        ranges = <0x0 0x0 0x0 0x3e000000>;
        nvmem-cells = <&imx8mm_uid>;
        nvmem-cell-names = "soc_unique_id";
    };
};

Source notes #

Annotations retained from the schema source

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

Intel HPS Copy Engine

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/intel/intel,hps-copy-engine.yaml#"

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

Maintainers (maintainers): "Matthew Gerlach <matthew.gerlach@linux.intel.com>"

The Intel Hard Processor System (HPS) Copy Engine is an IP block used to copy a bootable image from host memory to HPS DDR. Additionally, there is a register the HPS can use to indicate the state of booting the copied image as well as a keep-a-live indication to the host.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,hps-copy-engine"

#dma-cells — not listed as required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

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) #

bus@80000000 {
    compatible = "simple-bus";
    reg = <0x80000000 0x60000000>,
          <0xf9000000 0x00100000>;
    reg-names = "axi_h2f", "axi_h2f_lw";
    #address-cells = <2>;
    #size-cells = <1>;
    ranges = <0x00000000 0x00000000 0xf9000000 0x00001000>;

    dma-controller@0 {
        compatible = "intel,hps-copy-engine";
        reg = <0x00000000 0x00000000 0x00001000>;
        #dma-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2022, Intel Corporation

Intel Lightning Mountain(LGM) Syscon

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/intel/intel,lgm-syscon.yaml#"

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

Maintainers (maintainers): "Chuanhua Lei <lchuanhua@maxlinear.com>", "Rahul Tanwar <rtanwar@maxlinear.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "intel,lgm-syscon"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^emmc-phy@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/phy/intel,lgm-emmc-phy.yaml#

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

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

false

Not allowed by this rule.

Examples (examples) #

chiptop@e0200000 {
    compatible = "intel,lgm-syscon", "syscon";
    reg = <0xe0200000 0x100>;
    ranges = <0x0 0xe0200000 0x100>;
    #address-cells = <1>;
    #size-cells = <1>;

    emmc-phy@a8 {
        compatible = "intel,lgm-emmc-phy";
        reg = <0x00a8 0x10>;
        clocks = <&emmc>;
        #phy-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

LiteX SoC Controller driver

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/litex/litex,soc-controller.yaml#"

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

This is the SoC Controller driver for the LiteX SoC Builder. Its purpose is to verify LiteX CSR (Control&Status Register) access operations and provide functions for other drivers to read/write CSRs and to check if those accessors are ready to be used.

Maintainers (maintainers): "Karol Gugala <kgugala@antmicro.com>", "Mateusz Holenko <mholenko@antmicro.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "litex,soc-controller"

reg — required here #

Maximum number of items (maxItems): 1

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) #

soc_ctrl0: soc-controller@f0000000 {
    compatible = "litex,soc-controller";
    reg = <0xf0000000 0xc>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2020 Antmicro <www.antmicro.com>

Loongson-2 Power Manager controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/loongson/loongson,ls2k-pmc.yaml#"

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

Maintainers (maintainers): "Yinbo Zhu <zhuyinbo@loongson.cn>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "loongson,ls2k0500-pmc"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "loongson,ls2k1000-pmc", "loongson,ls2k2000-pmc"

Item 2

Exact value (const): "loongson,ls2k0500-pmc"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

loongson,suspend-address — not listed as required here #

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

The "loongson,suspend-address" is a deep sleep state (Suspend To RAM) firmware entry address which was jumped from kernel and it's value was dependent on specific platform firmware code. In addition, the PM need according to it to indicate that current SoC whether support Suspend To RAM.

syscon-poweroff — not listed as required here #

Shared schema rule ($ref): /schemas/power/reset/syscon-poweroff.yaml#

Value type (type): "object"

Node for power off method

syscon-reboot — not listed as required here #

Shared schema rule ($ref): /schemas/power/reset/syscon-reboot.yaml#

Value type (type): "object"

Node for reboot method

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>

power-management@1fe27000 {
    compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon";
    reg = <0x1fe27000 0x58>;
    interrupt-parent = <&liointc1>;
    interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
    loongson,suspend-address = <0x0 0x1c000500>;

    syscon-reboot {
        compatible = "syscon-reboot";
        offset = <0x30>;
        mask = <0x1>;
    };

    syscon-poweroff {
        compatible = "syscon-poweroff";
        regmap = <&pmc>;
        offset = <0x14>;
        mask = <0x3c00>;
        value = <0x3c00>;
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek Device Access Permission Control driver

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/devapc.yaml#"

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

MediaTek bus fabric provides TrustZone security support and data protection to prevent slaves from being accessed by unexpected masters. The security violation is logged and sent to the processor for further analysis and countermeasures.

Maintainers (maintainers): "Neal Liu <neal.liu@mediatek.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt6779-devapc", "mediatek,mt8186-devapc"

reg — required here #

The base address of devapc register bank

Maximum number of items (maxItems): 1

interrupts — required here #

A single interrupt specifier

Maximum number of items (maxItems): 1

clocks — required here #

Contains module clock source and clock names

Maximum number of items (maxItems): 1

clock-names — required here #

Names of the clocks list in clocks property

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

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/clock/mt6779-clk.h>

devapc: devapc@10207000 {
  compatible = "mediatek,mt6779-devapc";
  reg = <0x10207000 0x1000>;
  interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
  clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
  clock-names = "devapc-infra-clock";
};

Source notes #

Annotations retained from the schema source

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

Line 2: # Copyright 2020 MediaTek Inc.

MediaTek color correction

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/mediatek,ccorr.yaml#"

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

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"

MediaTek color correction with 3X3 matrix.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8183-mdp3-ccorr"

reg — required here #

Maximum number of items (maxItems): 1

mediatek,gce-client-reg — required here #

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

Array item rules (items) #

Array item rules (items)

Item 1

phandle of GCE

Item 2

GCE subsys id

Item 3

register offset

Item 4

register size

The register of client driver can be configured by gce with 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

mediatek,gce-events — required here #

The event id which is mapping to the specific hardware event signal to gce. The event id is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.

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

clocks — required here #

Minimum number of items (minItems): 1

Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "mediatek,gce-events", "clocks"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8183-clk.h>
#include <dt-bindings/gce/mt8183-gce.h>

mdp3_ccorr: mdp3-ccorr@1401c000 {
  compatible = "mediatek,mt8183-mdp3-ccorr";
  reg = <0x1401c000 0x1000>;
  mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0xc000 0x1000>;
  mediatek,gce-events = <CMDQ_EVENT_MDP_CCORR_SOF>,
                        <CMDQ_EVENT_MDP_CCORR_EOF>;
  clocks = <&mmsys CLK_MM_MDP_CCORR>;
};

Source notes #

Annotations retained from the schema source

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

MediaTek Wireless Ethernet Dispatch (WED) WO controller interface for MT7986

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/mediatek,mt7986-wo-ccif.yaml#"

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

Maintainers (maintainers): "Lorenzo Bianconi <lorenzo@kernel.org>", "Felix Fietkau <nbd@nbd.name>"

The MediaTek wo-ccif provides a configuration interface for WED WO controller used to perform offload rx packet processing (e.g. 802.11 aggregation packet reordering or rx header translation) on MT7986 soc.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt7986-wo-ccif", "mediatek,mt7988-wo-ccif"

Item 2

Exact value (const): "syscon"

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) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
soc {
  #address-cells = <2>;
  #size-cells = <2>;

  syscon@151a5000 {
    compatible = "mediatek,mt7986-wo-ccif", "syscon";
    reg = <0 0x151a5000 0 0x1000>;
    interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
  };
};

Source notes #

Annotations retained from the schema source

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

MediaTek Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/mediatek,mt8183-dvfsrc.yaml#"

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

The Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC) is a Hardware module used to collect all the requests from both software and the various remote processors embedded into the SoC and decide about a minimum operating voltage and a minimum DRAM frequency to fulfill those requests in an effort to provide the best achievable performance per watt. This hardware IP is capable of transparently performing direct register R/W on all of the DVFSRC-controlled regulators and SoC bandwidth knobs.

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>", "Henry Chen <henryc.chen@mediatek.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt6893-dvfsrc", "mediatek,mt8183-dvfsrc", "mediatek,mt8195-dvfsrc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt8192-dvfsrc"

Item 2

Exact value (const): "mediatek,mt8195-dvfsrc"

reg — required here #

Maximum number of items (maxItems): 1

DVFSRC common register address and length.

clocks — not listed as required here #

Array item rules (items) #

Item 1

Clock that drives the DVFSRC MCU

regulators — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/mediatek,mt6873-dvfsrc-regulator.yaml#

interconnect — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/interconnect/mediatek,mt8183-emi.yaml#

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) #

#include <dt-bindings/clock/mt8195-clk.h>
soc {
    #address-cells = <2>;
    #size-cells = <2>;

    system-controller@10012000 {
        compatible = "mediatek,mt8195-dvfsrc";
        reg = <0 0x10012000 0 0x1000>;
        clocks = <&topckgen CLK_TOP_DVFSRC>;

        regulators {
            compatible = "mediatek,mt8195-dvfsrc-regulator";

            dvfsrc_vcore: dvfsrc-vcore {
                    regulator-name = "dvfsrc-vcore";
                    regulator-min-microvolt = <550000>;
                    regulator-max-microvolt = <750000>;
                    regulator-always-on;
            };

            dvfsrc_vscp: dvfsrc-vscp {
                    regulator-name = "dvfsrc-vscp";
                    regulator-min-microvolt = <550000>;
                    regulator-max-microvolt = <750000>;
                    regulator-always-on;
            };
        };

        emi_icc: interconnect {
            compatible = "mediatek,mt8195-emi";
            #interconnect-cells = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek mutex

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/mediatek,mutex.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>"

Mediatek mutex, namely MUTEX, is used to send the triggers signals called Start Of Frame (SOF) / End Of Frame (EOF) to each sub-modules on the display data path or MDP data path. In some SoC, such as mt2701, MUTEX could be a hardware mutex which protects the shadow register. MUTEX device node must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt2701-disp-mutex", "mediatek,mt2712-disp-mutex", "mediatek,mt6795-disp-mutex", "mediatek,mt8167-disp-mutex", "mediatek,mt8173-disp-mutex", "mediatek,mt8183-disp-mutex", "mediatek,mt8186-disp-mutex", "mediatek,mt8186-mdp3-mutex", "mediatek,mt8188-disp-mutex", "mediatek,mt8188-vpp-mutex", "mediatek,mt8192-disp-mutex", "mediatek,mt8195-disp-mutex", "mediatek,mt8195-vpp-mutex", "mediatek,mt8365-disp-mutex"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.

clocks — not listed as required here #

Array item rules (items) #

Item 1

MUTEX Clock

mediatek,gce-events — not listed as required here #

The event id which is mapping to the specific hardware event signal to gce. The event id is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.

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

mediatek,gce-client-reg — not listed as required here #

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

Array item rules (items) #

Array item rules (items)

Item 1

phandle of GCE

Item 2

GCE subsys id

Item 3

register offset

Item 4

register size

The register of client driver can be configured by gce with 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "mediatek,mt2701-disp-mutex", "mediatek,mt2712-disp-mutex", "mediatek,mt6795-disp-mutex", "mediatek,mt8173-disp-mutex", "mediatek,mt8186-disp-mutex", "mediatek,mt8186-mdp3-mutex", "mediatek,mt8192-disp-mutex", "mediatek,mt8195-disp-mutex"

When the condition matches (then) #

Required in this object (required): "clocks"

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

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/clock/mt8173-clk.h>
#include <dt-bindings/power/mt8173-power.h>
#include <dt-bindings/gce/mt8173-gce.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    mutex: mutex@14020000 {
        compatible = "mediatek,mt8173-disp-mutex";
        reg = <0 0x14020000 0 0x1000>;
        interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_LOW>;
        power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
        clocks = <&mmsys CLK_MM_MUTEX_32K>;
        mediatek,gce-events = <CMDQ_EVENT_MUTEX0_STREAM_EOF>,
                              <CMDQ_EVENT_MUTEX1_STREAM_EOF>;
    };
};

Source notes #

Annotations retained from the schema source

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

Mediatek PMIC Wrapper

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/mediatek,pwrap.yaml#"

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

Maintainers (maintainers): "Flora Fu <flora.fu@mediatek.com>", "Alexandre Mergnat <amergnat@baylibre.com>"

On MediaTek SoCs the PMIC is connected via SPI. The SPI master interface is not directly visible to the CPU, but only through the PMIC wrapper inside the SoC. The communication between the SoC and the PMIC can optionally be encrypted. Also a non standard Dual IO SPI mode can be used to increase speed. IP Pairing On MT8135 the pins of some SoC internal peripherals can be on the PMIC. The signals of these pins are routed over the SPI bus using the pwrap bridge. In the binding description below the properties needed for bridging are marked with "IP Pairing". These are optional on SoCs which do not support IP Pairing

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): "mediatek,mt2701-pwrap", "mediatek,mt6765-pwrap", "mediatek,mt6779-pwrap", "mediatek,mt6795-pwrap", "mediatek,mt6797-pwrap", "mediatek,mt6873-pwrap", "mediatek,mt7622-pwrap", "mediatek,mt8135-pwrap", "mediatek,mt8173-pwrap", "mediatek,mt8183-pwrap", "mediatek,mt8186-pwrap", "mediatek,mt8195-pwrap", "mediatek,mt8365-pwrap", "mediatek,mt8516-pwrap"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8186-pwrap", "mediatek,mt8195-pwrap"

Item 2

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-pwrap", "mediatek,mt8189-pwrap"

Item 2

Exact value (const): "mediatek,mt8195-pwrap"

Item 3

Exact value (const): "syscon"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

PMIC wrapper registers

Item 2

IP pairing registers

reg-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "pwrap"

Item 2

Exact value (const): "pwrap-bridge"

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

SPI bus clock

Item 2

Main module clock

Item 3

System module clock

Item 4

Timer module clock

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "spi"

Item 2

Exact value (const): "wrap"

Item 3

Exact value (const): "sys"

Item 4

Exact value (const): "tmr"

resets — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

PMIC wrapper reset

Item 2

IP pairing reset

reset-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "pwrap"

Item 2

Exact value (const): "pwrap-bridge"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

pmic — not listed as required here #

Value type (type): "object"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names"

Requirements triggered by another property (dependentRequired): { resets: "reset-names" }

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "mediatek,mt8365-pwrap"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

clock-names — not listed as required here

Minimum number of items (minItems): 4

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "mediatek,mt8173-pwrap"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

true — No constraints added by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

power-domains — not listed as required here

false — Not permitted by this property rule.

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>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/mt8135-resets.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;
    pwrap@1000f000 {
        compatible = "mediatek,mt8135-pwrap";
        reg = <0 0x1000f000 0 0x1000>,
              <0 0x11017000 0 0x1000>;
        reg-names = "pwrap", "pwrap-bridge";
        interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&clk26m>, <&clk26m>;
        clock-names = "spi", "wrap";
        resets = <&infracfg MT8135_INFRA_PMIC_WRAP_RST>,
                 <&pericfg MT8135_PERI_PWRAP_BRIDGE_SW_RST>;
        reset-names = "pwrap", "pwrap-bridge";
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek Write Direct Memory Access

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/mediatek,wdma.yaml#"

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

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"

MediaTek Write Direct Memory Access(WDMA) component used to write the data into DMA.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8183-mdp3-wdma"

reg — required here #

Maximum number of items (maxItems): 1

mediatek,gce-client-reg — required here #

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

Array item rules (items) #

Array item rules (items)

Item 1

phandle of GCE

Item 2

GCE subsys id

Item 3

register offset

Item 4

register size

The register of client driver can be configured by gce with 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.

mediatek,gce-events — required here #

The event id which is mapping to the specific hardware event signal to gce. The event id is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.

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

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

iommus — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "mediatek,gce-events", "power-domains", "clocks", "iommus"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8183-clk.h>
#include <dt-bindings/gce/mt8183-gce.h>
#include <dt-bindings/power/mt8183-power.h>
#include <dt-bindings/memory/mt8183-larb-port.h>

mdp3_wdma: mdp3-wdma@14006000 {
  compatible = "mediatek,mt8183-mdp3-wdma";
  reg = <0x14006000 0x1000>;
  mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x6000 0x1000>;
  mediatek,gce-events = <CMDQ_EVENT_MDP_WDMA0_SOF>,
                        <CMDQ_EVENT_MDP_WDMA0_EOF>;
  power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
  clocks = <&mmsys CLK_MM_MDP_WDMA0>;
  iommus = <&iommu>;
};

Source notes #

Annotations retained from the schema source

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

MediaTek Smart Voltage Scaling (SVS)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/mtk-svs.yaml#"

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

Maintainers (maintainers): "Roger Lu <roger.lu@mediatek.com>", "Matthias Brugger <matthias.bgg@gmail.com>", "Kevin Hilman <khilman@kernel.org>"

The SVS engine is a piece of hardware which has several controllers(banks) for calculating suitable voltage to different power domains(CPU/GPU/CCI) according to chip process corner, temperatures and other factors. Then DVFS driver could apply SVS bank voltage to PMIC/Buck.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8183-svs", "mediatek,mt8186-svs", "mediatek,mt8188-svs", "mediatek,mt8192-svs", "mediatek,mt8195-svs"

reg — required here #

Maximum number of items (maxItems): 1

Address range of the MTK SVS controller.

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Main clock for MTK SVS controller to work.

clock-names — required here #

Exact value (const): "main"

nvmem-cells — required here #

Minimum number of items (minItems): 1

Phandle to the calibration data provided by a nvmem device.

Array item rules (items) #

Item 1

SVS efuse for SVS controller

Item 2

Thermal efuse for SVS controller

nvmem-cell-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "svs-calibration-data"

Item 2

Exact value (const): "t-calibration-data"

resets — not listed as required here #

Maximum number of items (maxItems): 1

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "svs_rst"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "nvmem-cells", "nvmem-cell-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8183-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    svs@1100b000 {
        compatible = "mediatek,mt8183-svs";
        reg = <0 0x1100b000 0 0x1000>;
        interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>;
        clocks = <&infracfg CLK_INFRA_THERM>;
        clock-names = "main";
        nvmem-cells = <&svs_calibration>, <&thermal_calibration>;
        nvmem-cell-names = "svs-calibration-data", "t-calibration-data";
    };
};

Source notes #

Annotations retained from the schema source

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

Atmel Timer Counter Block

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/microchip/atmel,at91rm9200-tcb.yaml#"

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

The Atmel (now Microchip) SoCs have timers named Timer Counter Block. Each timer has three channels with two counters each.

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): "atmel,at91rm9200-tcb", "atmel,at91sam9x5-tcb", "atmel,sama5d2-tcb"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "microchip,sam9x7-tcb"

Item 2

Exact value (const): "atmel,sama5d2-tcb"

Item 3

Exact value (const): "simple-mfd"

Item 4

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

List of interrupts. One interrupt per TCB channel if available or one interrupt for the TC block

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clock-names — required here #

List of clock names. Always includes t0_clk and slow clk. Also includes t1_clk and t2_clk if a clock per channel is available.

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^timer@[0-2]$ — name matches this regular expression #

The timer block channels that are used as timers or counters.

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Array item rules (items)

Item 1

Allowed values (enum): "atmel,tcb-timer", "atmel,tcb-pwm", "microchip,tcb-capture"

reg — required here

List of channels to use for this particular timer. In Microchip TCB capture mode channels are registered as a counter devices, for the qdec mode TCB0's channel <0> and <1> are required.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

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

^pwm@[0-2]$ — name matches this regular expression #

The timer block channels that are used as PWMs.

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

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "atmel,tcb-pwm"

reg — required here

TCB channel to use for this PWM.

Allowed values (enum): 0, 1, 2

#pwm-cells — required here

The only third cell flag supported by this binding is PWM_POLARITY_INVERTED.

Exact value (const): 3

Required in this object (required): "compatible", "reg", "#pwm-cells"

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "atmel,sama5d2-tcb"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "t0_clk"

Item 2

Exact value (const): "gclk"

Item 3

Exact value (const): "slow_clk"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

clock-names — not listed as required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "t0_clk"

Item 2

Exact value (const): "slow_clk"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "t0_clk"

Item 2

Exact value (const): "t1_clk"

Item 3

Exact value (const): "t2_clk"

Item 4

Exact value (const): "slow_clk"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "#address-cells", "#size-cells"

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

false

Not allowed by this rule.

Examples (examples) #

/* One interrupt per TC block: */
    tcb0: timer@fff7c000 {
            compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0xfff7c000 0x100>;
            interrupts = <18 4>;
            clocks = <&tcb0_clk>, <&clk32k>;
            clock-names = "t0_clk", "slow_clk";

            timer@0 {
                    compatible = "atmel,tcb-timer";
                    reg = <0>, <1>;
            };

            timer@2 {
                    compatible = "atmel,tcb-timer";
                    reg = <2>;
            };
    };

/* One interrupt per TC channel in a TC block: */
    tcb1: timer@fffdc000 {
            compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0xfffdc000 0x100>;
            interrupts = <26 4>, <27 4>, <28 4>;
            clocks = <&tcb1_clk>, <&clk32k>;
            clock-names = "t0_clk", "slow_clk";

            timer@0 {
                    compatible = "atmel,tcb-timer";
                    reg = <0>;
            };

            timer@1 {
                    compatible = "atmel,tcb-timer";
                    reg = <1>;
            };

            pwm@2 {
                    compatible = "atmel,tcb-pwm";
                    reg = <2>;
                    #pwm-cells = <3>;
            };
     };
/* TCB0 Capture with QDEC: */
    timer@f800c000 {
            compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0xfff7c000 0x100>;
            interrupts = <18 4>;
            clocks = <&tcb0_clk>, <&clk32k>;
            clock-names = "t0_clk", "slow_clk";

            timer@0 {
                    compatible = "microchip,tcb-capture";
                    reg = <0>, <1>;
            };

            timer@2 {
                    compatible = "atmel,tcb-timer";
                    reg = <2>;
            };
    };

Source notes #

Annotations retained from the schema source

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

Microchip PolarFire SoC Microprocessor Subsystem (MSS) sysreg register region

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/microchip/microchip,mpfs-mss-top-sysreg.yaml#"

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

Maintainers (maintainers): "Conor Dooley <conor.dooley@microchip.com>"

An wide assortment of registers that control elements of the MSS on PolarFire SoC, including pinmuxing, resets and clocks among others.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "microchip,mpfs-mss-top-sysreg"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

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): 1

#reset-cells — not listed as required here #

The AHB/AXI peripherals on the PolarFire SoC have reset support, so from CLK_ENVM to CLK_CFM. The reset consumer should specify the desired peripheral via the clock ID in its "resets" phandle cell. See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of PolarFire clock/reset IDs.

Exact value (const): 1

pinctrl@200 — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/microchip,mpfs-pinctrl-iomux0.yaml

pinctrl@204 — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/microchip,mpfs-pinctrl-mssio.yaml

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) #

syscon@20002000 {
  compatible = "microchip,mpfs-mss-top-sysreg", "syscon", "simple-mfd";
  reg = <0x20002000 0x1000>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) system controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/microchip/microchip,mpfs-sys-controller.yaml#"

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

Maintainers (maintainers): "Conor Dooley <conor.dooley@microchip.com>"

PolarFire SoC devices include a microcontroller acting as the system controller, which provides "services" to the main processor and to the FPGA fabric. These services include hardware rng, reprogramming of the FPGA and verification of the eNVM contents etc. More information on these services can be found online, at https://onlinedocs.microchip.com/pr/GUID-1409CF11-8EF9-4C24-A94E-70979A688632-en-US-1/index.html

Communication with the system controller is done via a mailbox, of which the client portion is documented here.

Properties and child nodes (properties) #

mboxes — required here #

Maximum number of items (maxItems): 1

compatible — required here #

Exact value (const): "microchip,mpfs-sys-controller"

microchip,bitstream-flash — not listed as required here #

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

The SPI flash connected to the system controller's QSPI controller. The system controller may retrieve FPGA bitstreams from this flash to perform In-Application Programming (IAP) or during device initialisation for Auto Update. The MSS and system controller have separate QSPI controllers and this flash is connected to both. Software running in the MSS can write bitstreams to the flash.

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

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

false

Not allowed by this rule.

Examples (examples) #

syscontroller {
  compatible = "microchip,mpfs-sys-controller";
  mboxes = <&mbox 0>;
};

Source notes #

Annotations retained from the schema source

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

Microchip Sparx5 CPU Syscon

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/microchip/microchip,sparx5-cpu-syscon.yaml#"

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

Maintainers (maintainers): "Lars Povlsen <lars.povlsen@microchip.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "microchip,sparx5-cpu-syscon"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

mux-controller — required here #

Shared schema rule ($ref): /schemas/mux/reg-mux.yaml#

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

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

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <2>;
    #size-cells = <1>;

    syscon@600000000 {
        compatible = "microchip,sparx5-cpu-syscon", "syscon",
                     "simple-mfd";
        reg = <0x6 0x00000000 0xd0>;

        mux: mux-controller {
            compatible = "mmio-mux";
            #mux-control-cells = <1>;
            mux-reg-masks = <0x88 0xf0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Mobileye EyeQ SoC system controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/mobileye/mobileye,eyeq5-olb.yaml#"

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

Maintainers (maintainers): "Grégory Clement <gregory.clement@bootlin.com>", "Théo Lebrun <theo.lebrun@bootlin.com>", "Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>"

OLB ("Other Logic Block") is a hardware block grouping smaller blocks. Clocks, resets, pinctrl are being handled from here. EyeQ5 and EyeQ6L host a single instance. EyeQ6H hosts seven instances.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mobileye,eyeq5-olb", "mobileye,eyeq6l-olb", "mobileye,eyeq6h-acc-olb", "mobileye,eyeq6h-central-olb", "mobileye,eyeq6h-east-olb", "mobileye,eyeq6h-west-olb", "mobileye,eyeq6h-south-olb", "mobileye,eyeq6h-ddr0-olb", "mobileye,eyeq6h-ddr1-olb"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#reset-cells — not listed as required here #

First cell is domain and optional if compatible has a single reset domain. Second cell is reset index inside that domain.

Allowed values (enum): 1, 2

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

Input parent clock to all PLLs. Expected to be the main crystal.

clock-names — required here #

Exact value (const): "ref"

Properties matching a name pattern (patternProperties) #

-pins?$ — name matches this regular expression #

Value type (type): "object"

Pin muxing configuration.

Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml#

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

pins — required here

true — No constraints added by this property rule.

function — required here

Allowed values (enum): "gpio", "timer0", "timer1", "timer2", "timer5", "uart0", "uart1", "can0", "can1", "spi0", "spi1", "refclk0", "timer3", "timer4", "timer6", "uart2", "can2", "spi2", "spi3", "mclk0"

bias-disable — not listed as required here

true — No constraints added by this property rule.

bias-pull-down — not listed as required here

true — No constraints added by this property rule.

bias-pull-up — not listed as required here

true — No constraints added by this property rule.

drive-strength — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "pins", "function"

All of these rules must match (allOf) #

Rule 1

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "gpio"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

String pattern (pattern): "^(P(A|B)1?[0-9]|PA2[0-8]|PB2[0-2])$"

Rule 2

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "timer0"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA0", "PA1"

Rule 3

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "timer1"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA2", "PA3"

Rule 4

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "timer2"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA4", "PA5"

Rule 5

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "timer5"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA6", "PA7", "PA8", "PA9"

Rule 6

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "uart0"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA10", "PA11"

Rule 7

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "uart1"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA12", "PA13"

Rule 8

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "can0"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA14", "PA15"

Rule 9

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "can1"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA16", "PA17"

Rule 10

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "spi0"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA18", "PA19", "PA20", "PA21", "PA22"

Rule 11

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "spi1"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA23", "PA24", "PA25", "PA26", "PA27"

Rule 12

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "refclk0"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PA28"

Rule 13

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "timer3"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PB0", "PB1"

Rule 14

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "timer4"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PB2", "PB3"

Rule 15

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "timer6"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PB4", "PB5", "PB6", "PB7"

Rule 16

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "uart2"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PB8", "PB9"

Rule 17

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "can2"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PB10", "PB11"

Rule 18

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "spi2"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PB12", "PB13", "PB14", "PB15", "PB16"

Rule 19

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "spi3"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PB17", "PB18", "PB19", "PB20", "PB21"

Rule 20

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "mclk0"

When the condition matches (then)

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "PB22"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "mobileye,eyeq6h-acc-olb", "mobileye,eyeq6h-east-olb", "mobileye,eyeq6h-west-olb"

When the condition matches (then) #

Properties and child nodes (properties)

#reset-cells — required here

Exact value (const): 1

Required in this object (required): "#reset-cells"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "mobileye,eyeq5-olb", "mobileye,eyeq6l-olb"

When the condition matches (then) #

Properties and child nodes (properties)

#reset-cells — required here

Exact value (const): 2

Required in this object (required): "#reset-cells"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "mobileye,eyeq6h-central-olb", "mobileye,eyeq6h-south-olb", "mobileye,eyeq6h-ddr0-olb", "mobileye,eyeq6h-ddr1-olb"

When the condition matches (then) #

Properties and child nodes (properties)

#reset-cells — not listed as required here

false — Not permitted by this property rule.

Rule 4 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "mobileye,eyeq5-olb"

When the condition matches (then) #

Properties matching a name pattern (patternProperties)

-pins?$ — name matches this regular expression

false — Not permitted by this property rule.

Examples (examples) #

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  system-controller@e00000 {
    compatible = "mobileye,eyeq5-olb", "syscon";
    reg = <0 0xe00000 0x0 0x400>;
    #reset-cells = <2>;
    #clock-cells = <1>;
    clocks = <&xtal>;
    clock-names = "ref";
  };
};
soc {
  #address-cells = <2>;
  #size-cells = <2>;

  system-controller@d2003000 {
    compatible = "mobileye,eyeq6h-acc-olb", "syscon";
    reg = <0x0 0xd2003000 0x0 0x1000>;
    #reset-cells = <1>;
    #clock-cells = <1>;
    clocks = <&xtal>;
    clock-names = "ref";
  };
};

Source notes #

Annotations retained from the schema source

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

Line 64: Bank A

Line 67: Bank B

Line 84: PA0 - PA28, PB0 - PB22

Line 268: Compatibles exposing a single reset domain.

Line 284: Compatibles exposing two reset domains.

Line 299: Compatibles not exposing resets.

Line 313: Only EyeQ5 has pinctrl in OLB.

Graphics Core Information block in Nuvoton SoCs

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/nuvoton/nuvoton,gfxi.yaml#"

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

Maintainers (maintainers): "Joseph Liu <kwliu@nuvoton.com>", "Marvin Lin <kflin@nuvoton.com>"

The Graphics Core Information (GFXI) are a block of registers in Nuvoton SoCs that analyzes Graphics core behavior and provides information in registers.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "nuvoton,npcm750-gfxi", "nuvoton,npcm845-gfxi"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

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) #

gfxi: gfxi@e000 {
  compatible = "nuvoton,npcm750-gfxi", "syscon";
  reg = <0xe000 0x100>;
};

Source notes #

Annotations retained from the schema source

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

Global Control Registers block in Nuvoton SoCs

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml#"

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

Maintainers (maintainers): "Jonathan Neuschäfer <j.neuschaefer@gmx.net>", "Tomer Maimon <tmaimon77@gmail.com>"

The Global Control Registers (GCR) are a block of registers in Nuvoton SoCs that expose misc functionality such as chip model and version information or pinmux settings.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "nuvoton,wpcm450-gcr", "nuvoton,npcm750-gcr", "nuvoton,npcm845-gcr"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

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

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

Value type (type): "object"

Examples (examples) #

gcr: syscon@800000 {
  compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd";
  reg = <0x800000 0x1000>;

  mux-controller {
    compatible = "mmio-mux";
    #mux-control-cells = <1>;
    mux-reg-masks = <0x38 0x07>;
    idle-states = <2>;
  };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Always-On Subsystem side channel

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,aoss-qmp.yaml#"

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

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

This binding describes the hardware component responsible for side channel requests to the always-on subsystem (AOSS), used for certain power management requests that is not handled by the standard RPMh interface. Each client in the SoC has its own block of message RAM and IRQ for communication with the AOSS. The protocol used to communicate in the message RAM is known as Qualcomm Messaging Protocol (QMP) The AOSS side channel exposes control over a set of resources, used to control a set of debug related clocks and to affect the low power state of resources related to the secondary subsystems.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,glymur-aoss-qmp", "qcom,kaanapali-aoss-qmp", "qcom,milos-aoss-qmp", "qcom,qcs615-aoss-qmp", "qcom,qcs8300-aoss-qmp", "qcom,qdu1000-aoss-qmp", "qcom,sa8255p-aoss-qmp", "qcom,sa8775p-aoss-qmp", "qcom,sar2130p-aoss-qmp", "qcom,sc7180-aoss-qmp", "qcom,sc7280-aoss-qmp", "qcom,sc8180x-aoss-qmp", "qcom,sc8280xp-aoss-qmp", "qcom,sdx75-aoss-qmp", "qcom,sdm845-aoss-qmp", "qcom,sm6350-aoss-qmp", "qcom,sm7150-aoss-qmp", "qcom,sm8150-aoss-qmp", "qcom,sm8250-aoss-qmp", "qcom,sm8350-aoss-qmp", "qcom,sm8450-aoss-qmp", "qcom,sm8550-aoss-qmp", "qcom,sm8650-aoss-qmp", "qcom,sm8750-aoss-qmp", "qcom,x1e80100-aoss-qmp"

Item 2

Exact value (const): "qcom,aoss-qmp"

reg — required here #

Maximum number of items (maxItems): 1

The base address and size of the message RAM for this client's communication with the AOSS

interrupts — required here #

Maximum number of items (maxItems): 1

Should specify the AOSS message IRQ for this client

mboxes — required here #

Maximum number of items (maxItems): 1

Reference to the mailbox representing the outgoing doorbell in APCS for this client, as described in mailbox/mailbox.txt

#clock-cells — required here #

Exact value (const): 0

The single clock represents the QDSS clock.

Required in this object (required): "compatible", "reg", "interrupts", "mboxes", "#clock-cells"

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

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(cx|mx|ebi)$ — name matches this regular expression #

Value type (type): "object"

The AOSS side channel also provides the controls for three cooling devices, these are expressed as subnodes of the QMP node. The name of the node is used to identify the resource and must therefore be "cx", "mx" or "ebi".

Properties and child nodes (properties) #

#cooling-cells — required here

Exact value (const): 2

Required in this object (required): "#cooling-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>

aoss_qmp: qmp@c300000 {
  compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp";
  reg = <0x0c300000 0x100000>;
  interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
  mboxes = <&apss_shared 0>;

  #clock-cells = <0>;

  cx_cdev: cx {
    #cooling-cells = <2>;
  };

  mx_cdev: mx {
    #cooling-cells = <2>;
  };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm APR/GPR services shared parts

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,apr-services.yaml#"

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

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

Common parts of a static service in Qualcomm APR/GPR (Asynchronous/Generic Packet Router).

Properties and child nodes (properties) #

reg — required here #

Minimum value (minimum): 1

Maximum value (maximum): 13

APR Service ID
  3 = DSP Core Service
  4 = Audio  Front End Service.
  5 = Voice Stream Manager Service.
  6 = Voice processing manager.
  7 = Audio Stream Manager Service.
  8 = Audio Device Manager Service.
  9 = Multimode voice manager.
  10 = Core voice stream.
  11 = Core voice processor.
  12 = Ultrasound stream manager.
  13 = Listen stream manager.
GPR Service ID
  1 = Audio Process Manager Service
  2 = Proxy Resource Manager Service.
  3 = AMDB Service.
  4 = Voice processing manager.

qcom,protection-domain — not listed as required here #

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

Protection domain service name and path for APR service (if supported). Possible values are:: "avs/audio", "msm/adsp/audio_pd". "kernel/elf_loader", "msm/modem/wlan_pd". "tms/servreg", "msm/adsp/audio_pd". "tms/servreg", "msm/modem/wlan_pd". "tms/servreg", "msm/slpi/sensor_pd".

Required in this object (required): "reg"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Qualcomm APR/GPR (Asynchronous/Generic Packet Router)

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

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

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

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

This binding describes the Qualcomm APR/GPR, APR/GPR is a IPC protocol for communication between Application processor and QDSP. APR/GPR is mainly used for audio/voice services on the QDSP.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,apr", "qcom,apr-v2", "qcom,gpr"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

qcom,apr-domain — not listed as required here #

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

Allowed values (enum): 1, 2, 3, 4, 5, 6, 7

Selects the processor domain for apr 1 = APR simulator 2 = PC Domain 3 = Modem Domain 4 = ADSP Domain 5 = Application processor Domain 6 = Modem2 Domain 7 = Application Processor2 Domain

Deprecated (deprecated): true

qcom,domain — required here #

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

Minimum value (minimum): 1

Maximum value (maximum): 7

Selects the processor domain for apr 1 = APR simulator 2 = PC Domain 3 = Modem Domain 4 = ADSP Domain 5 = Application processor Domain 6 = Modem2 Domain 7 = Application Processor2 Domain Selects the processor domain for gpr 1 = Modem Domain 2 = Audio DSP Domain 3 = Application Processor Domain

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

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

Channel name used for the communication

Maximum number of items (maxItems): 1

qcom,intents — not listed as required here #

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

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

Array item rules (items) #

Array item rules (items)

Item 1

size of each intent to preallocate

Item 2

amount of intents to preallocate

Minimum value (minimum): 1

List of (size, amount) pairs describing what intents should be preallocated for this virtual channel. This can be used to tweak the default intents available for the channel to meet expectations of the remote.

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

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

Channel name used for the communication

Array item rules (items) #

Item 1

Exact value (const): "apr_audio_svc"

#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) #

^service@[1-9a-d]$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/soc/qcom/qcom,apr-services.yaml

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

true

Allowed by this rule.

APR/GPR static port services.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,q6core", "qcom,q6asm", "qcom,q6afe", "qcom,q6adm", "qcom,q6apm", "qcom,q6prm"

Required in this object (required): "compatible", "qcom,domain"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,gpr"

When the condition matches (then) #

Properties and child nodes (properties)

qcom,glink-channels — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "adsp_apps"

power-domains — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

qcom,glink-channels — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "apr_audio_svc"

Rule 2 #

Condition (if) #

Required in this object (required): "qcom,glink-channels"

When the condition matches (then) #

Properties and child nodes (properties)

qcom,smd-channels — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Required in this object (required): "qcom,smd-channels"

When the condition matches (then) #

Properties and child nodes (properties)

qcom,glink-channels — not listed as required here

false — Not permitted by this property rule.

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/soc/qcom,apr.h>
apr {
    compatible = "qcom,apr-v2";
    qcom,domain = <APR_DOMAIN_ADSP>;
    qcom,glink-channels = "apr_audio_svc";
    qcom,intents = <512 20>;
    #address-cells = <1>;
    #size-cells = <0>;

    q6core: service@3 {
        compatible = "qcom,q6core";
        reg = <APR_SVC_ADSP_CORE>;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
    };

    service@4 {
        compatible = "qcom,q6afe";
        reg = <APR_SVC_AFE>;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";

        clock-controller {
            compatible = "qcom,q6afe-clocks";
            #clock-cells = <2>;
        };

        dais {
            compatible = "qcom,q6afe-dais";
            #address-cells = <1>;
            #size-cells = <0>;
            #sound-dai-cells = <1>;
            /* ... */
        };
        /* ... */
    };
};
#include <dt-bindings/soc/qcom,gpr.h>
gpr {
    compatible = "qcom,gpr";
    qcom,domain = <GPR_DOMAIN_ID_ADSP>;
    qcom,glink-channels = "adsp_apps";
    qcom,intents = <512 20>;
    #address-cells = <1>;
    #size-cells = <0>;

    service@1 {
        compatible = "qcom,q6apm";
        reg = <GPR_APM_MODULE_IID>;
        #sound-dai-cells = <0>;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";

        dais {
            compatible = "qcom,q6apm-dais";
            iommus = <&apps_smmu 0x1801 0x0>;
        };

        bedais {
            compatible = "qcom,q6apm-lpass-dais";
            #sound-dai-cells = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Data Capture and Compare

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

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

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

Maintainers (maintainers): "Souradeep Chowdhury <quic_schowdhu@quicinc.com>"

DCC (Data Capture and Compare) is a DMA engine which is used to save configuration data or system memory contents during catastrophic failure or SW trigger. DCC is used to capture and store data for debugging purpose

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,sm7150-dcc", "qcom,sm8150-dcc", "qcom,sc7280-dcc", "qcom,sc7180-dcc", "qcom,sdm845-dcc"

Item 2

Exact value (const): "qcom,dcc"

reg — required here #

Array item rules (items) #

Item 1

DCC base

Item 2

DCC RAM base

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) #

dma@10a2000{
    compatible = "qcom,sm8150-dcc", "qcom,dcc";
    reg = <0x010a2000 0x1000>,
          <0x010ad000 0x2000>;
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Embedded USB Debugger

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

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

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

Maintainers (maintainers): "Souradeep Chowdhury <quic_schowdhu@quicinc.com>"

This binding is used to describe the Qualcomm Embedded USB Debugger, which is mini USB-hub implemented on chip to support USB-based debug capabilities.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,sc7280-eud"

Item 2

Exact value (const): "qcom,eud"

reg — required here #

Array item rules (items) #

Item 1

EUD Base Register Region

Item 2

EUD Mode Manager Register

interrupts — not listed as required here #

EUD interrupt

Maximum number of items (maxItems): 1

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

These ports is to be attached to the endpoint of the DWC3 controller node and type C connector node. The controller has the "usb-role-switch" property.

Properties and child nodes (properties) #

port@0 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

This port is to be attached to the DWC3 controller.

port@1 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

This port is to be attached to the type C connector.

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

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

false

Not allowed by this rule.

Examples (examples) #

eud@88e0000 {
    compatible = "qcom,sc7280-eud", "qcom,eud";
    reg = <0x88e0000 0x2000>,
          <0x88e2000 0x1000>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            eud_ep: endpoint {
                remote-endpoint = <&usb2_role_switch>;
            };
        };

        port@1 {
            reg = <1>;
            eud_con: endpoint {
                remote-endpoint = <&con_eud>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

GENI Serial Engine QUP Wrapper Controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,geni-se.yaml#"

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

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) wrapper is a programmable module for supporting a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. A single QUP module can provide upto 8 Serial Interfaces, using its internal Serial Engines. The GENI Serial Engine QUP Wrapper controller is modeled as a node with zero or more child nodes each representing a serial engine.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,geni-se-qup", "qcom,geni-se-i2c-master-hub"

reg — required here #

QUP wrapper common register address and length.

Maximum number of items (maxItems): 1

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

#address-cells — required here #

Exact value (const): 2

#size-cells — required here #

Exact value (const): 2

ranges — required here #

true — No constraints added by this property rule.

interconnects — not listed as required here #

Maximum number of items (maxItems): 1

interconnect-names — not listed as required here #

Exact value (const): "qup-core"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

firmware-name — not listed as required here #

Maximum number of items (maxItems): 1

Specify the name of the QUP firmware to load.

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

Properties matching a name pattern (patternProperties) #

spi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI serial engine based SPI controller. SPI in master mode supports up to 50MHz, up to four chip selects, programmable data path from 4 bits to 32 bits and numerous protocol variants.

Shared schema rule ($ref): /schemas/spi/qcom,spi-geni-qcom.yaml#

i2c@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI serial engine based I2C controller.

Shared schema rule ($ref): /schemas/i2c/qcom,i2c-geni-qcom.yaml#

serial@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI Serial Engine based UART Controller.

Shared schema rule ($ref): /schemas/serial/qcom,serial-geni-qcom.yaml#

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,geni-se-i2c-master-hub"

When the condition matches (then) #

Properties and child nodes (properties)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "s-ahb"

clocks — not listed as required here

Array item rules (items)

Item 1

Slave AHB Clock

iommus — not listed as required here

false — Not permitted by this property rule.

Properties matching a name pattern (patternProperties)

spi@[0-9a-f]+$ — name matches this regular expression

false — Not permitted by this property rule.

serial@[0-9a-f]+$ — name matches this regular expression

false — Not permitted by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "m-ahb"

Item 2

Exact value (const): "s-ahb"

clocks — not listed as required here

Array item rules (items)

Item 1

Master AHB Clock

Item 2

Slave AHB Clock

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    geniqup@8c0000 {
        compatible = "qcom,geni-se-qup";
        reg = <0 0x008c0000 0 0x6000>;
        clock-names = "m-ahb", "s-ahb";
        clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
            <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
        #address-cells = <2>;
        #size-cells = <2>;
        ranges;
        firmware-name = "qcom/sa8775p/qupv3fw.elf";

        i2c0: i2c@a94000 {
            compatible = "qcom,geni-i2c";
            reg = <0 0xa94000 0 0x4000>;
            interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
            clock-names = "se";
            clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
            pinctrl-names = "default", "sleep";
            pinctrl-0 = <&qup_1_i2c_5_active>;
            pinctrl-1 = <&qup_1_i2c_5_sleep>;
            #address-cells = <1>;
            #size-cells = <0>;
        };

        uart0: serial@a88000 {
            compatible = "qcom,geni-uart";
            reg = <0 0xa88000 0 0x7000>;
            interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
            clock-names = "se";
            clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
            pinctrl-names = "default", "sleep";
            pinctrl-0 = <&qup_1_uart_3_active>;
            pinctrl-1 = <&qup_1_uart_3_sleep>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm General Serial Bus Interface (GSBI)

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

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

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

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>", "Krzysztof Kozlowski <krzk@kernel.org>"

The GSBI controller is modeled as a node with zero or more child nodes, each representing a serial sub-node device that is mux'd as part of the GSBI configuration settings. The mode setting will govern the input/output mode of the 4 GSBI IOs. A GSBI controller node can contain 0 or more child nodes representing serial devices. These serial devices can be a QCOM UART, I2C controller, spi controller, or some combination of aforementioned devices.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gsbi-v1.0.0"

#address-cells — not listed as required here #

Exact value (const): 1

cell-index — required here #

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

The GSBI index.

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "iface"

qcom,crci — not listed as required here #

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

CRCI MUX value for QUP CRCI ports. Please reference include/dt-bindings/soc/qcom,gsbi.h for valid CRCI mux values.

qcom,mode — required here #

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

MUX value for configuration of the serial interface. Please reference include/dt-bindings/soc/qcom,gsbi.h for valid mux values.

#size-cells — not listed as required here #

Exact value (const): 1

syscon-tcsr — not listed as required here #

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

Phandle of TCSR syscon node.Required if child uses dma.

ranges — not listed as required here #

true — No constraints added by this property rule.

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

spi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/spi/qcom,spi-qup.yaml#

i2c@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/i2c/qcom,i2c-qup.yaml#

serial@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/serial/qcom,msm-uartdm.yaml#

Required in this object (required): "compatible", "cell-index", "clocks", "clock-names", "qcom,mode", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8960.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,gsbi.h>

gsbi@12440000 {
    compatible = "qcom,gsbi-v1.0.0";
    reg = <0x12440000 0x100>;
    cell-index = <1>;
    clocks = <&gcc GSBI1_H_CLK>;
    clock-names = "iface";
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    syscon-tcsr = <&tcsr>;
    qcom,mode = <GSBI_PROT_I2C_UART>;

    serial@12450000 {
        compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
        reg = <0x12450000 0x100>,
              <0x12400000 0x03>;
        interrupts = <0 193 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
        clock-names = "core", "iface";
    };

    i2c@12460000 {
        compatible = "qcom,i2c-qup-v1.1.1";
        reg = <0x12460000 0x1000>;
        pinctrl-0 = <&i2c1_pins>;
        pinctrl-1 = <&i2c1_pins_sleep>;
        pinctrl-names = "default", "sleep";
        interrupts = <0 194 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
        clock-names = "core", "iface";
        #address-cells = <1>;
        #size-cells = <0>;

        status = "disabled"; /* UART chosen */
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Ramp Controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,msm8976-ramp-controller.yaml#"

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

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"

The Ramp Controller is used to program the sequence ID for pulse swallowing, enable sequences and link Sequence IDs (SIDs) for the CPU cores on some Qualcomm SoCs.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,msm8976-ramp-controller"

reg — required here #

Maximum number of items (maxItems): 1

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) #

cpu-power-controller@b014000 {
    compatible = "qcom,msm8976-ramp-controller";
    reg = <0x0b014000 0x68>;
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Technologies, Inc. Programmable Boot Sequencer

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

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

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

Maintainers (maintainers): "Anjelique Melendez <quic_amelende@quicinc.com>"

The Qualcomm Technologies, Inc. Programmable Boot Sequencer (PBS) supports triggering power up and power down sequences for clients upon request.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,pmi632-pbs"

Item 2

Exact value (const): "qcom,pbs"

reg — required here #

Maximum number of items (maxItems): 1

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) #

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

pmic@0 {
  reg = <0x0 SPMI_USID>;
  #address-cells = <1>;
  #size-cells = <0>;

  pbs@7400 {
    compatible = "qcom,pmi632-pbs", "qcom,pbs";
    reg = <0x7400>;
  };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm PMIC GLINK firmware interface for battery management, USB Type-C and other things.

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,pmic-glink.yaml#"

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

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

The PMIC GLINK service, running on a coprocessor on some modern Qualcomm platforms and implement USB Type-C handling and battery management. This binding describes the component in the OS used to communicate with the firmware and connect it's resources to those described in the Devicetree, particularly the USB Type-C controllers relationship with USB and DisplayPort components.

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): "qcom,qcm6490-pmic-glink", "qcom,sc8180x-pmic-glink", "qcom,sc8280xp-pmic-glink", "qcom,sm8350-pmic-glink", "qcom,sm8450-pmic-glink", "qcom,sm8550-pmic-glink"

Item 2

Exact value (const): "qcom,pmic-glink"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,sm7325-pmic-glink"

Item 2

Exact value (const): "qcom,qcm6490-pmic-glink"

Item 3

Exact value (const): "qcom,pmic-glink"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "qcom,milos-pmic-glink", "qcom,sm8650-pmic-glink", "qcom,sm8750-pmic-glink", "qcom,x1e80100-pmic-glink"

Item 2

Exact value (const): "qcom,sm8550-pmic-glink"

Item 3

Exact value (const): "qcom,pmic-glink"

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

orientation-gpios — not listed as required here #

Array of input gpios for the Type-C connector orientation indication. The GPIO indication is used to detect the orientation of the Type-C connector. The array should contain a gpio entry for each PMIC Glink connector, in reg order. It is defined that GPIO active level means "CC2" or Reversed/Flipped orientation.

nvmem-cells — not listed as required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

The nvmem cells contain the charge control settings, including the charge control enable status, the battery state of charge (SoC) threshold for stopping charging, and the battery SoC delta required to restart charging.

nvmem-cell-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "charge_limit_en"

Item 2

Exact value (const): "charge_limit_end"

Item 3

Exact value (const): "charge_limit_delta"

Properties matching a name pattern (patternProperties) #

^connector@\d$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/connector/usb-connector.yaml#

Required in this object (required): "reg"

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) #

pmic-glink {
    compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";

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

    connector@0 {
        compatible = "usb-c-connector";
        reg = <0>;
        power-role = "dual";
        data-role = "dual";

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

            port@0 {
                reg = <0>;
                endpoint {
                    remote-endpoint = <&usb_role>;
                };
            };

            port@1 {
                reg = <1>;
                endpoint {
                    remote-endpoint = <&ss_phy_out>;
                };
            };

            port@2 {
                reg = <2>;
                endpoint {
                    remote-endpoint = <&sbu_mux>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Technologies, Inc. (QTI) RPM Master Stats

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,rpm-master-stats.yaml#"

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

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

The Qualcomm RPM (Resource Power Manager) architecture includes a concept of "RPM Masters". They can be thought of as "the local gang leaders", usually spanning a single subsystem (e.g. APSS, ADSP, CDSP). All of the RPM decisions (particularly around entering hardware-driven low power modes: XO shutdown and total system-wide power collapse) are first made at Master-level, and only then aggregated for the entire system.

The Master Stats provide a few useful bits that can be used to assess whether our device has entered the desired low-power mode, how long it took to do so, the duration of that residence, how long it took to come back online, how many times a given sleep state was entered and which cores are actively voting for staying awake.

This scheme has been used on various SoCs in the 2013-2023 era, with some newer or higher-end designs providing this information through an SMEM query.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,rpm-master-stats"

qcom,rpm-msg-ram — required here #

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

Phandle to an RPM MSG RAM slice containing the master stats

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

Array item rules (items) #

Maximum number of items (maxItems): 1

qcom,master-names — required here #

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

The name of the RPM Master which owns the MSG RAM slice where this instance of Master Stats resides

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

Required in this object (required): "compatible", "qcom,rpm-msg-ram", "qcom,master-names"

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

false

Not allowed by this rule.

Examples (examples) #

stats {
  compatible = "qcom,rpm-master-stats";
  qcom,rpm-msg-ram = <&apss_master_stats>,
                     <&mpss_master_stats>,
                     <&adsp_master_stats>,
                     <&cdsp_master_stats>,
                     <&tz_master_stats>;
  qcom,master-names = "APSS",
                      "MPSS",
                      "ADSP",
                      "CDSP",
                      "TZ";
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Resource Power Manager (RPM)

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

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

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

This driver is used to interface with the Resource Power Manager (RPM) found in various Qualcomm platforms. The RPM allows each component in the system to vote for state of the system resources, such as clocks, regulators and bus frequencies.

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,rpm-apq8064", "qcom,rpm-msm8660", "qcom,rpm-msm8960", "qcom,rpm-ipq8064", "qcom,rpm-mdm9615"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ack"

Item 2

Exact value (const): "err"

Item 3

Exact value (const): "wakeup"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ram"

qcom,ipc — required here #

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to a syscon node representing the APCS registers

Item 2

u32 representing offset to the register within the syscon

Item 3

u32 representing the ipc bit within the register

Three entries specifying the outgoing ipc bit used for signaling the RPM.

clock-controller — not listed as required here #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,rpmcc"

Properties matching a name pattern (patternProperties) #

^regulators(-[01])?$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/qcom,rpm-regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "qcom,ipc"

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/interrupt-controller/irq.h>
#include <dt-bindings/mfd/qcom-rpm.h>

rpm@108000 {
  compatible = "qcom,rpm-msm8960";
  reg = <0x108000 0x1000>;
  qcom,ipc = <&apcs 0x8 2>;

  interrupts = <GIC_SPI 19 IRQ_TYPE_NONE>, <GIC_SPI 21 IRQ_TYPE_NONE>, <GIC_SPI 22 IRQ_TYPE_NONE>;
  interrupt-names = "ack", "err", "wakeup";

  regulators {
    compatible = "qcom,rpm-pm8921-regulators";
    vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;

    s1 {
      regulator-min-microvolt = <1225000>;
      regulator-max-microvolt = <1225000>;

      bias-pull-down;

      qcom,switch-mode-frequency = <3200000>;
    };

    pm8921_s4: s4 {
      regulator-min-microvolt = <1800000>;
      regulator-max-microvolt = <1800000>;

      qcom,switch-mode-frequency = <1600000>;
      bias-pull-down;

      qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm RPMH RSC

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml#"

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

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

Resource Power Manager Hardened (RPMH) is the mechanism for communicating with the hardened resource accelerators on Qualcomm SoCs. Requests to the resources can be written to the Trigger Command Set (TCS) registers and using a (addr, val) pair and triggered. Messages in the TCS are then sent in sequence over an internal bus.

The hardware block (Direct Resource Voter or DRV) is a part of the h/w entity (Resource State Coordinator a.k.a RSC) that can handle multiple sleep and active/wake resource requests. Multiple such DRVs can exist in a SoC and can be written to from Linux. The structure of each DRV follows the same template with a few variations that are captured by the properties here.

A TCS may be triggered from Linux or triggered by the F/W after all the CPUs
have powered off to facilitate idle power saving. TCS could be classified as::
  ACTIVE  - Triggered by Linux
  SLEEP   - Triggered by F/W
  WAKE    - Triggered by F/W
  CONTROL - Triggered by F/W
See also: <dt-bindings/soc/qcom,rpmh-rsc.h>

The order in which they are described in the DT, should match the hardware configuration.

Requests can be made for the state of a resource, when the subsystem is active or idle. When all subsystems like Modem, GPU, CPU are idle, the resource state will be an aggregate of the sleep votes from each of those subsystems. Clients may request a sleep value for their shared resources in addition to the active mode requests.

Drivers that want to use the RSC to communicate with RPMH must specify their bindings as child nodes of the RSC controllers they wish to communicate with.

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): "qcom,sc7180-rpmh-apps-rsc", "qcom,sdm845-rpmh-apps-rsc"

Item 2

Exact value (const): "qcom,rpmh-rsc"

Rule 2

Exact value (const): "qcom,rpmh-rsc"

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

The interrupt that trips when a message complete/response is received for this DRV from the accelerators. Number of interrupts must match number of DRV blocks.

label — not listed as required here #

Name for the RSC. The name would be used in trace logs.

qcom,drv-id — required here #

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

The ID of the DRV in the RSC block that will be used by this controller.

qcom,tcs-config — required here #

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

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

Array item rules (items) #

Array item rules (items)

Item 1

TCS type:: - ACTIVE_TCS - SLEEP_TCS - WAKE_TCS - CONTROL_TCS

Allowed values (enum): 0, 1, 2, 3

Item 2

Number of TCS

The tuple defining the configuration of TCS. Must have two cells which describe each TCS type. The order of the TCS must match the hardware configuration.

qcom,tcs-offset — required here #

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

The offset of the TCS blocks.

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

reg-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "drv-0"

Item 2

Exact value (const): "drv-1"

Item 3

Exact value (const): "drv-2"

Item 4

Exact value (const): "drv-3"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

bcm-voter — not listed as required here #

Shared schema rule ($ref): /schemas/interconnect/qcom,bcm-voter.yaml#

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/qcom,rpmhcc.yaml#

power-controller — not listed as required here #

Shared schema rule ($ref): /schemas/power/qcom,rpmpd.yaml#

Properties matching a name pattern (patternProperties) #

^regulators(-[0-9])?$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/regulator/qcom,rpmh-regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "interrupts", "qcom,drv-id", "qcom,tcs-config", "qcom,tcs-offset", "reg", "reg-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7180-rpmh-apps-rsc", "qcom,sdm845-rpmh-apps-rsc"

When the condition matches (then) #

Required in this object (required): "power-domains"

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

false

Not allowed by this rule.

Examples (examples) #

// For a TCS whose RSC base address is 0x179C0000 and is at a DRV id of
// 2, the register offsets for DRV2 start at 0D00, the register
// calculations are like this::
// DRV0: 0x179C0000
// DRV2: 0x179C0000 + 0x10000 = 0x179D0000
// DRV2: 0x179C0000 + 0x10000 * 2 = 0x179E0000
// TCS-OFFSET: 0xD00
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>

rsc@179c0000 {
    compatible = "qcom,rpmh-rsc";
    reg = <0x179c0000 0x10000>,
          <0x179d0000 0x10000>,
          <0x179e0000 0x10000>;
    reg-names = "drv-0", "drv-1", "drv-2";
    interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
    label = "apps_rsc";
    qcom,tcs-offset = <0xd00>;
    qcom,drv-id = <2>;
    qcom,tcs-config = <ACTIVE_TCS  2>,
                      <SLEEP_TCS   3>,
                      <WAKE_TCS    3>,
                      <CONTROL_TCS 1>;
    power-domains = <&CLUSTER_PD>;
  };
// For a TCS whose RSC base address is 0xAF20000 and is at DRV id of 0, the
// register offsets for DRV0 start at 01C00, the register calculations are
// like this::
// DRV0: 0xAF20000
// TCS-OFFSET: 0x1C00
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>

rsc@af20000 {
    compatible = "qcom,rpmh-rsc";
    reg = <0xaf20000 0x10000>;
    reg-names = "drv-0";
    interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
    label = "disp_rsc";
    qcom,tcs-offset = <0x1c00>;
    qcom,drv-id = <0>;
    qcom,tcs-config = <ACTIVE_TCS  0>,
                      <SLEEP_TCS   1>,
                      <WAKE_TCS    1>,
                      <CONTROL_TCS 0>;
    power-domains = <&CLUSTER_PD>;
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
#include <dt-bindings/power/qcom-rpmpd.h>

rsc@18200000 {
    compatible = "qcom,rpmh-rsc";
    reg = <0x18200000 0x10000>,
          <0x18210000 0x10000>,
          <0x18220000 0x10000>;
    reg-names = "drv-0", "drv-1", "drv-2";
    interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
    label = "apps_rsc";
    qcom,tcs-offset = <0xd00>;
    qcom,drv-id = <2>;
    qcom,tcs-config = <ACTIVE_TCS  2>,
                      <SLEEP_TCS   3>,
                      <WAKE_TCS    3>,
                      <CONTROL_TCS 0>;
    power-domains = <&CLUSTER_PD>;

    clock-controller {
        compatible = "qcom,sm8350-rpmh-clk";
        #clock-cells = <1>;
        clock-names = "xo";
        clocks = <&xo_board>;
    };

    power-controller {
        compatible = "qcom,sm8350-rpmhpd";
        #power-domain-cells = <1>;
        operating-points-v2 = <&rpmhpd_opp_table>;

        rpmhpd_opp_table: opp-table {
            compatible = "operating-points-v2";

            rpmhpd_opp_ret: opp1 {
                opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
            };

            rpmhpd_opp_min_svs: opp2 {
                opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
            };

            rpmhpd_opp_low_svs: opp3 {
                opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
            };

            rpmhpd_opp_svs: opp4 {
                opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
            };

            rpmhpd_opp_svs_l1: opp5 {
                opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
            };

            rpmhpd_opp_nom: opp6 {
                opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
            };

            rpmhpd_opp_nom_l1: opp7 {
                opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
            };

            rpmhpd_opp_nom_l2: opp8 {
                opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
            };

            rpmhpd_opp_turbo: opp9 {
                opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
            };

            rpmhpd_opp_turbo_l1: opp10 {
                opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
            };
        };
    };

    bcm-voter {
        compatible = "qcom,bcm-voter";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 135: Some platforms may lack a OSI-mode PSCI implementation, which implies the

Line 136: system power domain can't provide feedback about entering power collapse

GENI Serial Engine QUP Wrapper Controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,sa8255p-geni-se-qup.yaml#"

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

Maintainers (maintainers): "Praveen Talari <quic_ptalari@quicinc.com>"

Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) wrapper is a programmable module for supporting a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. A single QUP module can provide up to 8 Serial Interfaces, using its internal Serial Engines. The GENI Serial Engine QUP Wrapper controller is modeled as a node with zero or more child nodes each representing a serial engine.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sa8255p-geni-se-qup"

reg — required here #

QUP wrapper common register address and length.

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 2

#size-cells — required here #

Exact value (const): 2

ranges — required here #

true — No constraints added by this property rule.

iommus — not listed as required here #

Maximum number of items (maxItems): 1

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

spi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI serial engine based SPI controller. SPI in master mode supports up to 50MHz, up to four chip selects, programmable data path from 4 bits to 32 bits and numerous protocol variants.

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sa8255p-geni-spi"

i2c@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI serial engine based I2C controller.

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "qcom,sa8255p-geni-i2c"

serial@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

GENI Serial Engine based UART Controller.

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,sa8255p-geni-uart", "qcom,sa8255p-geni-debug-uart"

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

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>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    geniqup@9c0000 {
        compatible = "qcom,sa8255p-geni-se-qup";
        reg = <0 0x9c0000 0 0x6000>;
        #address-cells = <2>;
        #size-cells = <2>;
        ranges;

        serial@990000 {
            compatible = "qcom,sa8255p-geni-uart";
            reg = <0 0x990000 0 0x4000>;
            interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>;
            power-domains = <&scmi0_pd 0>, <&scmi0_dvfs 0>;
            power-domain-names = "power", "perf";
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Subsystem Power Manager / SPM AVS Wrapper 2 (SAW2)

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

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

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

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>"

The Qualcomm Subsystem Power Manager is used to control the peripheral logic surrounding the application cores in Qualcomm platforms.

The SAW2 is a wrapper around the Subsystem Power Manager (SPM) and the Adaptive Voltage Scaling (AVS) hardware. The SPM is a programmable power-controller that transitions a piece of hardware (like a processor or subsystem) into and out of low power modes via a direct connection to the PMIC. It can also be wired up to interact with other processors in the system, notifying them when a low power state is entered or exited.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,ipq4019-saw2-cpu", "qcom,ipq4019-saw2-l2", "qcom,ipq8064-saw2-cpu", "qcom,sdm660-gold-saw2-v4.1-l2", "qcom,sdm660-silver-saw2-v4.1-l2", "qcom,msm8998-gold-saw2-v4.1-l2", "qcom,msm8998-silver-saw2-v4.1-l2", "qcom,msm8909-saw2-v3.0-cpu", "qcom,msm8916-saw2-v3.0-cpu", "qcom,msm8939-saw2-v3.0-cpu", "qcom,msm8226-saw2-v2.1-cpu", "qcom,msm8226-saw2-v2.1-l2", "qcom,msm8960-saw2-cpu", "qcom,msm8974-saw2-v2.1-cpu", "qcom,msm8974-saw2-v2.1-l2", "qcom,msm8976-gold-saw2-v2.3-l2", "qcom,msm8976-silver-saw2-v2.3-l2", "qcom,apq8084-saw2-v2.1-cpu", "qcom,apq8084-saw2-v2.1-l2", "qcom,apq8064-saw2-v1.1-cpu"

Item 2

Exact value (const): "qcom,saw2"

reg — required here #

Array item rules (items) #

Item 1

Base address and size of the SPM register region

Item 2

Base address and size of the alias register region

Minimum number of items (minItems): 1

regulator — not listed as required here #

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

Indicates that this SPM device acts as a regulator device device for the core (CPU or Cache) the SPM is attached to.

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) #


/* Example 1: SoC using SAW2 and kpss-acc-v2 CPUIdle */
cpus {
    #address-cells = <1>;
    #size-cells = <0>;

    cpu@0 {
        compatible = "arm,cortex-a53";
        device_type = "cpu";
        enable-method = "qcom,kpss-acc-v2";
        qcom,acc = <&acc0>;
        qcom,saw = <&saw0>;
        reg = <0x0>;
        operating-points-v2 = <&cpu_opp_table>;
    };
};

saw0: power-manager@f9089000 {
    compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
    reg = <0xf9089000 0x1000>;
};

/*
 * Example 2: New-gen multi cluster SoC using SAW only for L2;
 * This does not require any cpuidle driver, nor any cpu phandle.
 */
power-manager@17812000 {
    compatible = "qcom,msm8998-gold-saw2-v4.1-l2", "qcom,saw2";
    reg = <0x17812000 0x1000>;
};

power-manager@17912000 {
    compatible = "qcom,msm8998-silver-saw2-v4.1-l2", "qcom,saw2";
    reg = <0x17912000 0x1000>;
};
/*
 * Example 3: SAW2 with the bundled regulator definition.
 */
power-manager@2089000 {
    compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
    reg = <0x02089000 0x1000>, <0x02009000 0x1000>;

    regulator {
        regulator-min-microvolt = <850000>;
        regulator-max-microvolt = <1300000>;
    };
};

Source notes #

Annotations retained from the schema source

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

QUP Peripheral-specific properties for I2C, SPI and SERIAL bus

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,se-common-props.yaml#"

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

The Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) is a programmable module that supports a wide range of serial interfaces such as UART, SPI, I2C, I3C, etc. This defines the common properties used across QUP-supported peripherals.

Maintainers (maintainers): "Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>", "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>"

Properties and child nodes (properties) #

qcom,enable-gsi-dma — not listed as required here #

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

Configure the Serial Engine (SE) to transfer data in QCOM GPI DMA mode. By default, FIFO mode (PIO/CPU DMA) will be selected.

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Qualcomm Resource Power Manager (RPM) over SMD/GLINK

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,smd-rpm.yaml#"

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

This driver is used to interface with the Resource Power Manager (RPM) found in various Qualcomm platforms. The RPM allows each component in the system to vote for state of the system resources, such as clocks, regulators and bus frequencies.

The SMD or GLINK information for the RPM edge should be filled out. See qcom,smd.yaml for the required edge properties. All SMD/GLINK related properties will reside within the RPM node itself.

The RPM exposes resources to its subnodes. The rpm_requests node must be present and this subnode may contain children that designate regulator resources.

Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml for information on the regulator subnodes that can exist under the rpm_requests.

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>"

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): "qcom,rpm-apq8084", "qcom,rpm-mdm9607", "qcom,rpm-msm8226", "qcom,rpm-msm8610", "qcom,rpm-msm8909", "qcom,rpm-msm8916", "qcom,rpm-msm8917", "qcom,rpm-msm8936", "qcom,rpm-msm8937", "qcom,rpm-msm8952", "qcom,rpm-msm8953", "qcom,rpm-msm8974", "qcom,rpm-msm8976", "qcom,rpm-msm8994"

Item 2

Exact value (const): "qcom,smd-rpm"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,rpm-ipq6018", "qcom,rpm-ipq9574", "qcom,rpm-msm8996", "qcom,rpm-msm8998", "qcom,rpm-qcm2290", "qcom,rpm-qcs404", "qcom,rpm-sdm660", "qcom,rpm-sm6115", "qcom,rpm-sm6125", "qcom,rpm-sm6375"

Item 2

Exact value (const): "qcom,glink-smd-rpm"

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/qcom,rpmcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

power-controller — not listed as required here #

Shared schema rule ($ref): /schemas/power/qcom,rpmpd.yaml#

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

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

Channel name used for the RPM communication

Array item rules (items) #

Item 1

Exact value (const): "rpm_requests"

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

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

Channel name used for the RPM communication

Array item rules (items) #

Item 1

Exact value (const): "rpm_requests"

Properties matching a name pattern (patternProperties) #

^regulators(-[01])?$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/regulator/qcom,smd-rpm-regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "qcom,smd-rpm"

When the condition matches (then) #

Properties and child nodes (properties) #

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

false — Not permitted by this property rule.

Required in this object (required): "qcom,smd-channels"

When the condition does not match (else) #

Properties and child nodes (properties) #

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

false — Not permitted by this property rule.

Required in this object (required): "qcom,glink-channels"

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>
#include <dt-bindings/interrupt-controller/irq.h>

remoteproc {
    compatible = "qcom,msm8916-rpm-proc", "qcom,rpm-proc";

    smd-edge {
        interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
        qcom,ipc = <&apcs 8 0>;
        qcom,smd-edge = <15>;

        rpm-requests {
            compatible = "qcom,rpm-msm8916", "qcom,smd-rpm";
            qcom,smd-channels = "rpm_requests";

            clock-controller {
                compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
                #clock-cells = <1>;
                clocks = <&xo_board>;
                clock-names = "xo";
            };

            power-controller {
                compatible = "qcom,msm8916-rpmpd";
                #power-domain-cells = <1>;
                operating-points-v2 = <&rpmpd_opp_table>;

                rpmpd_opp_table: opp-table {
                    compatible = "operating-points-v2";

                    opp-1 {
                        opp-level = <1>;
                    };
                    opp-2 {
                        opp-level = <2>;
                    };
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Shared Memory Driver

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

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

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

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>", "Krzysztof Kozlowski <krzk@kernel.org>"

The Qualcomm Shared Memory Driver is a FIFO based communication channel for sending data between the various subsystems in Qualcomm platforms. Using the top-level SMD node is deprecated. Instead, the SMD edges are defined directly below the device node representing the respective remote subsystem or remote processor.

Deprecated (deprecated): true

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,smd"

Properties matching a name pattern (patternProperties) #

^smd-edge|rpm$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/remoteproc/qcom,smd-edge.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Each subnode of the SMD node represents a remote subsystem or a remote processor of some sort - or in SMD language an "edge". The name of the edges are not important.

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>

shared-memory {
    compatible = "qcom,smd";

    rpm {
        interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
        qcom,ipc = <&apcs 8 0>;
        qcom,smd-edge = <15>;

        rpm-requests {
            compatible = "qcom,rpm-msm8974", "qcom,smd-rpm";
            qcom,smd-channels = "rpm_requests";

            clock-controller {
                compatible = "qcom,rpmcc-msm8974", "qcom,rpmcc";
                #clock-cells = <1>;
            };

        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 43: The following example represents a smd node, with one edge representing the

Line 44: "rpm" subsystem. For the "rpm" subsystem we have a device tied to the

Line 45: "rpm_request" channel.

Line 46: NOTE: This is deprecated, represent the RPM using "qcom,rpm-proc" instead.

Qualcomm Shared Memory Manager

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

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

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

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>"

This binding describes the Qualcomm Shared Memory Manager, a region of reserved-memory used to share data between various subsystems and OSes in Qualcomm platforms.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,smem"

reg — not listed as required here #

Maximum number of items (maxItems): 1

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

handle to memory reservation for main SMEM memory region.

hwlocks — required here #

Maximum number of items (maxItems): 1

qcom,rpm-msg-ram — not listed as required here #

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

handle to RPM message memory resource

no-map — not listed as required here #

true — No constraints added by this property rule.

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

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "reg", "no-map"

Rule 2 #

Required in this object (required): "memory-region"

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

false

Not allowed by this rule.

Examples (examples) #

reserved-memory {
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    smem@fa00000 {
        compatible = "qcom,smem";
        reg = <0xfa00000 0x200000>;
        no-map;

        hwlocks = <&tcsr_mutex 3>;
    };
};
reserved-memory {
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    smem_region: smem@fa00000 {
        reg = <0xfa00000 0x200000>;
        no-map;
    };
};

smem {
    compatible = "qcom,smem";

    memory-region = <&smem_region>;
    qcom,rpm-msg-ram = <&rpm_msg_ram>;

    hwlocks = <&tcsr_mutex 3>;
};

soc {
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    rpm_msg_ram: sram@fc428000 {
        compatible = "qcom,rpm-msg-ram";
        reg = <0xfc428000 0x4000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Shared Memory Point 2 Point

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

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

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

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>", "Krzysztof Kozlowski <krzk@kernel.org>"

The Shared Memory Point to Point (SMP2P) protocol facilitates communication of a single 32-bit value between two processors. Each value has a single writer (the local side) and a single reader (the remote side). Values are uniquely identified in the system by the directed edge (local processor ID to remote processor ID) and a string identifier.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,smp2p"

interrupts — required here #

Maximum number of items (maxItems): 1

mboxes — not listed as required here #

Maximum number of items (maxItems): 1

Reference to the mailbox representing the outgoing doorbell in APCS for this client.

qcom,ipc — not listed as required here #

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to a syscon node representing the APCS registers

Item 2

u32 representing offset to the register within the syscon

Item 3

u32 representing the ipc bit within the register

Three entries specifying the outgoing ipc bit used for signaling the remote end of the smp2p edge.

Deprecated (deprecated): true

qcom,local-pid — required here #

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

The identifier of the local endpoint of this edge.

qcom,remote-pid — required here #

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

The identifier of the remote endpoint of this edge.

qcom,smem — required here #

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

Maximum number of items (maxItems): 2

Two identifiers of the inbound and outbound smem items used for this edge.

Properties matching a name pattern (patternProperties) #

^master-kernel|slave-kernel|ipa-ap-to-modem|ipa-modem-to-ap|wlan-ap-to-wpss|wlan-wpss-to-ap$ — name matches this regular expression #

Value type (type): "object"

Each SMP2P pair contain a set of inbound and outbound entries, these are described in subnodes of the smp2p device node. The node names are not important.

Properties and child nodes (properties) #

interrupt-controller — not listed as required here

Marks the entry as inbound; the node should be specified as a two cell interrupt-controller. If not specified this node will denote the outgoing entry.

#interrupt-cells — not listed as required here

Exact value (const): 2

qcom,entry-name — required here

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

The name of this entry, for inbound entries this will be used to match against the remotely allocated entry and for outbound entries this name is used for allocating entries.

#qcom,smem-state-cells — not listed as required here

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

Exact value (const): 1

Required for outgoing entries.

Required in this object (required): "qcom,entry-name"

Exactly one of these rules must match (oneOf) #

Rule 1

Required in this object (required): "interrupt-controller", "#interrupt-cells"

Rule 2

Required in this object (required): "#qcom,smem-state-cells"

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "interrupts", "qcom,local-pid", "qcom,remote-pid", "qcom,smem"

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "mboxes"

Rule 2 #

Required in this object (required): "qcom,ipc"

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>

shared-memory {
    compatible = "qcom,smp2p";
    qcom,smem = <431>, <451>;
    interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
    mboxes = <&apcs 18>;
    qcom,local-pid = <0>;
    qcom,remote-pid = <4>;

    wcnss_smp2p_out: master-kernel {
        qcom,entry-name = "master-kernel";
        #qcom,smem-state-cells = <1>;
    };

    wcnss_smp2p_in: slave-kernel {
        qcom,entry-name = "slave-kernel";
        interrupt-controller;
        #interrupt-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 121: The following example shows the SMP2P setup with the wireless processor,

Line 122: defined from the 8974 apps processor's point-of-view. It encompasses one

Line 123: inbound and one outbound entry.

Qualcomm Shared Memory State Machine

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

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

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

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>", "Krzysztof Kozlowski <krzk@kernel.org>"

The Shared Memory State Machine facilitates broadcasting of single bit state information between the processors in a Qualcomm SoC. Each processor is assigned 32 bits of state that can be modified. A processor can through a matrix of bitmaps signal subscription of notifications upon changes to a certain bit owned by a certain remote processor.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,smsm"

#address-cells — required here #

Exact value (const): 1

qcom,local-host — not listed as required here #

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

Default value (default): 0

Identifier of the local processor in the list of hosts, or in other words specifier of the column in the subscription matrix representing the local processor.

mboxes — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

Reference to the mailbox representing the outgoing doorbell in APCS for this client. Each entry represents the N:th remote processor by index (0-indexed).

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^qcom,ipc-[1-4]$ — name matches this regular expression #

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to a syscon node representing the APCS registers

Item 2

u32 representing offset to the register within the syscon

Item 3

u32 representing the ipc bit within the register

Three entries specifying the outgoing ipc bit used for signaling the N:th remote processor.

Deprecated (deprecated): true

@[0-9a-f]$ — name matches this regular expression #

Value type (type): "object"

Each processor's state bits are described by a subnode of the SMSM device node. Nodes can either be flagged as an interrupt-controller to denote a remote processor's state bits or the local processors bits. The node names are not important.

Properties and child nodes (properties) #

reg — required here

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here

Marks the entry as a interrupt-controller and the state bits to belong to a remote processor.

#interrupt-cells — not listed as required here

Exact value (const): 2

interrupts — not listed as required here

Maximum number of items (maxItems): 1

One entry specifying remote IRQ used by the remote processor to signal changes of its state bits.

#qcom,smem-state-cells — not listed as required here

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

Exact value (const): 1

Required for local entry. Denotes bit number.

Required in this object (required): "reg"

Exactly one of these rules must match (oneOf) #

Rule 1

Required in this object (required): "#qcom,smem-state-cells"

Rule 2

Required in this object (required): "interrupt-controller", "#interrupt-cells", "interrupts"

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

false

Not allowed by this rule.

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

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "mboxes"

Rule 2 #

At least one of these rules must match (anyOf) #

Rule 1

Required in this object (required): "qcom,ipc-1"

Rule 2

Required in this object (required): "qcom,ipc-2"

Rule 3

Required in this object (required): "qcom,ipc-3"

Rule 4

Required in this object (required): "qcom,ipc-4"

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>

shared-memory {
    compatible = "qcom,smsm";
    #address-cells = <1>;
    #size-cells = <0>;
    mboxes = <0>, <0>, <0>, <&apcs 19>;

    apps_smsm: apps@0 {
        reg = <0>;
        #qcom,smem-state-cells = <1>;
    };

    wcnss_smsm: wcnss@7 {
        reg = <7>;
        interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
        interrupt-controller;
        #interrupt-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 126: The following example shows the SMEM setup for controlling properties of

Line 127: the wireless processor, defined from the 8974 apps processor's

Line 128: point-of-view. It encompasses one outbound entry and the outgoing interrupt

Line 129: for the wireless processor.

Qualcomm WCNSS

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

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

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

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>"

The Qualcomm WCNSS hardware consists of control block and a BT, WiFi and FM radio block, all using SMD as command channels.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,wcnss"

firmware-name — not listed as required here #

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

Default value (default): "wlan/prima/WCNSS_qcom_wlan_nv.bin"

Relative firmware image path for the WLAN NV blob.

qcom,mmio — required here #

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

Reference to a node specifying the wcnss "ccu" and "dxe" register blocks.
The node must be compatible with one of the following::
     - qcom,riva"
     - qcom,pronto"

qcom,smd-channels — required here #

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

Exact value (const): "WCNSS_CTRL"

Standard SMD property specifying the SMD channel used for communication with the WiFi firmware.

bluetooth — not listed as required here #

Value type (type): "object"

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1

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

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "qcom,wcnss-bt"

local-bd-address — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "compatible"

wifi — not listed as required here #

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "qcom,wcnss-wlan"

interrupts — required here

Maximum number of items (maxItems): 2

interrupt-names — required here

Array item rules (items)

Item 1

Exact value (const): "tx"

Item 2

Exact value (const): "rx"

qcom,smem-states — required here

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

Maximum number of items (maxItems): 2

Should reference the tx-enable and tx-rings-empty SMEM states.

qcom,smem-state-names — required here

Array item rules (items)

Item 1

Exact value (const): "tx-enable"

Item 2

Exact value (const): "tx-rings-empty"

Names of SMEM states.

Required in this object (required): "compatible", "interrupts", "interrupt-names", "qcom,smem-states", "qcom,smem-state-names"

All of these rules must match (allOf) #

Rule 1

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

Required in this object (required): "compatible", "qcom,mmio", "qcom,smd-channels"

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>

smd-edge {
    interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;

    qcom,ipc = <&apcs 8 17>;
    qcom,smd-edge = <6>;
    qcom,remote-pid = <4>;

    label = "pronto";

    wcnss {
        compatible = "qcom,wcnss";
        qcom,smd-channels = "WCNSS_CTRL";

        qcom,mmio = <&pronto>;

        bluetooth {
            compatible = "qcom,wcnss-bt";
            /* Updated by boot firmware (little-endian order) */
            local-bd-address = [ 00 00 00 00 00 00 ];
        };

        wifi {
            compatible = "qcom,wcnss-wlan";

            interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
                         <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
            interrupt-names = "tx", "rx";

            qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
            qcom,smem-state-names = "tx-enable", "tx-rings-empty";
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Technologies, Inc. (QTI) Stats

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml#"

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

Maintainers (maintainers): "Maulik Shah <quic_mkshah@quicinc.com>"

Always On Processor/Resource Power Manager maintains statistics of the SoC sleep modes involving powering down of the rails and oscillator clock. Statistics includes SoC sleep mode type, number of times low power mode were entered, time of last entry, time of last exit and accumulated sleep duration.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,rpmh-stats", "qcom,sdm845-rpmh-stats", "qcom,rpm-stats", "qcom,apq8084-rpm-stats", "qcom,msm8226-rpm-stats", "qcom,msm8916-rpm-stats", "qcom,msm8974-rpm-stats"

reg — required here #

Maximum number of items (maxItems): 1

qcom,qmp — not listed as required here #

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

Reference to the AOSS side-channel message RAM

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,rpmh-stats"

When the condition matches (then) #

Properties and child nodes (properties)

qcom,qmp — not listed as required here

false — Not permitted by this property rule.

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

false

Not allowed by this rule.

Examples (examples) #

sram@c3f0000 {
  compatible = "qcom,rpmh-stats";
  reg = <0x0c3f0000 0x400>;
};
sram@4690000 {
  compatible = "qcom,rpm-stats";
  reg = <0x04690000 0x10000>;
};

Source notes #

Annotations retained from the schema source

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

Line 25: For older RPM firmware versions with fixed offset for the sleep stats

Line 55: Example of rpmh sleep stats

Line 61: Example of rpm sleep stats

Renesas RZ/V2M System Configuration (SYS)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/renesas/renesas,r9a09g011-sys.yaml#"

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

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

The RZ/V2M-alike SYS (System Configuration) controls the overall configuration of the LSI and supports the following functions, - Bank address settings for DMAC - Bank address settings of the units for ICB - ETHER AxCACHE[1] (C bit) control function - RAMA initialization control - MD[7:0] pin monitoring - LSI version - PCIe related settings - WDT stop control - Temperature sensor (TSU) monitor

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "renesas,r9a09g011-sys"

reg — required here #

Maximum number of items (maxItems): 1

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) #

sys: system-controller@a3f03000 {
  compatible = "renesas,r9a09g011-sys";
  reg = <0xa3f03000 0x400>;
};

Source notes #

Annotations retained from the schema source

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

Renesas RZ/V2H(P) System Controller (SYS)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/renesas/renesas,r9a09g057-sys.yaml#"

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

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

The RZ/V2H(P) SYS (System Controller) controls the overall configuration of the LSI and supports the following functions, - Trust zone control - Extend access by specific masters to address beyond 4GB space - GBETH configuration - Control of settings and states of SRAM/PCIe/CM33/CA55/CR8/xSPI/ADC/TSU - LSI version - WDT stop control - General registers

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r9a09g047-sys", "renesas,r9a09g056-sys", "renesas,r9a09g057-sys"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

sys: system-controller@10430000 {
    compatible = "renesas,r9a09g057-sys";
    reg = <0x10430000 0x10000>;
    clocks = <&cpg 1>;
    resets = <&cpg 1>;
};

Source notes #

Annotations retained from the schema source

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

Line 27: RZ/G3E

Line 28: RZ/V2N

Line 29: RZ/V2H

Renesas RZ/{G2L,V2L} System Controller (SYSC)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/renesas/renesas,rzg2l-sysc.yaml#"

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

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

The RZ/{G2L,V2L}-alike System Controller (SYSC) performs system control of the LSI and supports following functions, - External terminal state capture function - 34-bit address space access function - Low power consumption control - WDT stop control

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,r9a07g043-sysc", "renesas,r9a07g044-sysc", "renesas,r9a07g054-sysc", "renesas,r9a08g045-sysc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Array item rules (items) #

Item 1

CA55/CM33 Sleep/Software Standby Mode request interrupt

Item 2

CA55 Software Standby Mode release request interrupt

Item 3

CM33 Software Standby Mode release request interrupt

Item 4

CA55 ACE Asynchronous Bridge Master/Slave interface deny request interrupt

interrupt-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "lpm_int"

Item 2

Exact value (const): "ca55stbydone_int"

Item 3

Exact value (const): "cm33stbyr_int"

Item 4

Exact value (const): "ca55_deny"

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) #

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

sysc: system-controller@11020000 {
        compatible = "renesas,r9a07g044-sysc";
        reg = <0x11020000 0x10000>;
        interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "lpm_int", "ca55stbydone_int", "cm33stbyr_int",
                          "ca55_deny";
};

Source notes #

Annotations retained from the schema source

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

Line 23: RZ/G2UL and RZ/Five

Line 24: RZ/G2{L,LC}

Line 25: RZ/V2L

Line 26: RZ/G3S

Renesas RZ/N1 SoCs GPIO Interrupt Multiplexer

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/renesas/renesas,rzn1-gpioirqmux.yaml#"

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

The Renesas RZ/N1 GPIO Interrupt Multiplexer multiplexes GPIO interrupt lines to the interrupt controller available in the SoC.

It selects up to 8 of the 96 GPIO interrupt lines available and connect them to 8 output interrupt lines.

Maintainers (maintainers): "Herve Codina <herve.codina@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r9a06g032-gpioirqmux"

Item 2

Exact value (const): "renesas,rzn1-gpioirqmux"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 0

#interrupt-cells — required here #

Exact value (const): 1

interrupt-map-mask — required here #

Array item rules (items) #

Item 1

Exact value (const): 127

interrupt-map — required here #

Specifies the mapping from external GPIO interrupt lines to the output interrupts. The array has up to 8 items defining the mapping related to the output line 0 (GIC 103) up to the output line 7 (GIC 110).

The child interrupt number set in arrays items is computed using the
following formula:
    gpio_bank * 32 + gpio_number
with:
  - gpio_bank: The GPIO bank number
      - 0 for GPIO0A,
      - 1 for GPIO1A,
      - 2 for GPIO2A
  - gpio_number: Number of the gpio in the bank (0..31)

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

Required in this object (required): "compatible", "reg", "#address-cells", "#interrupt-cells", "interrupt-map-mask", "interrupt-map"

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>

gic: interrupt-controller {
    interrupt-controller;
    #address-cells = <0>;
    #interrupt-cells = <3>;
};

interrupt-controller@51000480 {
    compatible = "renesas,r9a06g032-gpioirqmux", "renesas,rzn1-gpioirqmux";
    reg = <0x51000480 0x20>;
    #address-cells = <0>;
    #interrupt-cells = <1>;
    interrupt-map-mask = <0x7f>;
    interrupt-map =
        <32 &gic GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* line 0, GPIO1A.0 */
        <89 &gic GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, /* line 1, GPIO2A.25 */
        <9 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; /* line 3, GPIO0A.9 */
};

Source notes #

Annotations retained from the schema source

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

Renesas RZ/V2M External Power Sequence Controller (PWC)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/renesas/renesas,rzv2m-pwc.yaml#"

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

The PWC IP found in the RZ/V2M family of chips comes with the below
capabilities
  - external power supply on/off sequence generation
  - on/off signal generation for the LPDDR4 core power supply (LPVDD)
  - key input signals processing
  - general-purpose output pins

Maintainers (maintainers): "Fabrizio Castro <fabrizio.castro.jz@renesas.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r9a09g011-pwc", "renesas,r9a09g055-pwc"

Item 2

Exact value (const): "renesas,rzv2m-pwc"

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

renesas,rzv2m-pwc-power — not listed as required here #

The PWC is used to control the system power supplies.

Value type (type): "boolean"

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

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

false

Not allowed by this rule.

Examples (examples) #

pwc: pwc@a3700000 {
  compatible = "renesas,r9a09g011-pwc", "renesas,rzv2m-pwc";
  reg = <0xa3700000 0x800>;
  gpio-controller;
  #gpio-cells = <2>;
  renesas,rzv2m-pwc-power;
};

Source notes #

Annotations retained from the schema source

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

Line 24: RZ/V2M

Line 25: RZ/V2MA

Renesas SoC compatibles naming convention

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/renesas/renesas-soc.yaml#"

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

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>", "Niklas Söderlund <niklas.soderlund@ragnatech.se>"

Guidelines for new compatibles for SoC blocks/components.
When adding new compatibles in new bindings, use the format::
  renesas,SoC-IP

For example:: renesas,r8a77965-csi2

When adding new compatibles to existing bindings, use the format in the existing binding, even if it contradicts the above.

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

String pattern (pattern): "^renesas,.+-.+$"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items) #

At least one of these rules must match (anyOf)

Rule 1

String pattern (pattern): "^renesas,(emev2|r(7s|8a|9a)[a-z0-9]+|rcar|rmobile|rz[a-z0-9]*|sh(7[a-z0-9]+)?|mobile)-[a-z0-9-]+$"

Rule 2

String pattern (pattern): "^renesas,(condor|falcon|gr-peach|gray-hawk|salvator|sk-rz|smar(c(2)?)?|spider|white-hawk)(.*)?$"

Rule 3

String pattern (pattern): "^renesas,(can|cpg|dmac|du|(g)?ether(avb)?|gpio|hscif|(r)?i[i2]c|imr|intc|ipmmu|irqc|jpu|mmcif|msiof|mtu2|pci(e)?|pfc|pwm|[rq]spi|rcar_sound|sata|scif[ab]*|sdhi|thermal|tmu|tpu|usb(2|hs)?|vin|xhci)-[a-z0-9-]+$"

Rule 4

String pattern (pattern): "^renesas,(d|s)?bsc(3)?-(r8a73a4|r8a7740|sh73a0)$"

Rule 5

String pattern (pattern): "^renesas,em-(gio|sti|uart)$"

Rule 6

String pattern (pattern): "^renesas,fsi2-(r8a7740|sh73a0)$"

Rule 7

String pattern (pattern): "^renesas,hspi-r8a777[89]$"

Rule 8

String pattern (pattern): "^renesas,sysc-(r8a73a4|r8a7740|rmobile|sh73a0)$"

Rule 9

Allowed values (enum): "renesas,imr-lx4", "renesas,mtu2-r7s72100"

Rule 10

Allowed values (enum): "renesas,smp-sram"

Rule 11

String pattern (pattern): "^(?!renesas,.+-.+).+$"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Line 38: Preferred naming style for compatibles of SoC components

Line 42: Legacy compatibles

Line 43:

Line 44: New compatibles are not allowed.

Line 55: None SoC component compatibles

Line 56:

Line 57: Compatibles with the Renesas vendor prefix that do not relate to any SoC

Line 58: component are OK. New compatibles are allowed.

Line 62: Do not fail compatibles not matching the select pattern

Line 63:

Line 64: Some SoC components in addition to a Renesas compatible list

Line 65: compatibles not related to Renesas. The select pattern for this

Line 66: schema hits all compatibles that have at lest one Renesas compatible

Line 67: and try to validate all values in that compatible array, allow all

Line 68: that don't match the schema select pattern. For example,

Line 69:

Line 70: compatible = "renesas,r9a07g044-mali", "arm,mali-bifrost";

Renesas SH-Mobile, R-Mobile, and R-Car Platform

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/renesas/renesas.yaml#"

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

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exact value (const): "/"

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Emma Mobile EV2

Array item rules (items)

Item 1

Allowed values (enum): "renesas,kzm9d"

Item 2

Exact value (const): "renesas,emev2"

Rule 2

RZ/A1H (R7S72100)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,genmai", "renesas,gr-peach", "renesas,rskrza1"

Item 2

Exact value (const): "renesas,r7s72100"

Rule 3

RZ/A2 (R7S9210)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,rza2mevb"

Item 2

Exact value (const): "renesas,r7s9210"

Rule 4

SH-Mobile AG5 (R8A73A00/SH73A0)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,kzm9g"

Item 2

Exact value (const): "renesas,sh73a0"

Rule 5

R-Mobile APE6 (R8A73A40)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,ape6evm"

Item 2

Exact value (const): "renesas,r8a73a4"

Rule 6

R-Mobile A1 (R8A77400)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,armadillo800eva"

Item 2

Exact value (const): "renesas,r8a7740"

Rule 7

RZ/G1H (R8A77420)

Array item rules (items)

Item 1

Allowed values (enum): "iwave,g21m"

Item 2

Exact value (const): "renesas,r8a7742"

Rule 8

Array item rules (items)

Item 1

Allowed values (enum): "iwave,g21d"

Item 2

Exact value (const): "iwave,g21m"

Item 3

Exact value (const): "renesas,r8a7742"

Rule 9

RZ/G1M (R8A77430)

Array item rules (items)

Item 1

Allowed values (enum): "iwave,g20d"

Item 2

Exact value (const): "iwave,g20m"

Item 3

Exact value (const): "renesas,r8a7743"

Rule 10

Array item rules (items)

Item 1

Allowed values (enum): "iwave,g20m", "renesas,sk-rzg1m"

Item 2

Exact value (const): "renesas,r8a7743"

Rule 11

RZ/G1N (R8A77440)

Array item rules (items)

Item 1

Allowed values (enum): "iwave,g20d"

Item 2

Exact value (const): "iwave,g20m"

Item 3

Exact value (const): "renesas,r8a7744"

Rule 12

Array item rules (items)

Item 1

Allowed values (enum): "iwave,g20m"

Item 2

Exact value (const): "renesas,r8a7744"

Rule 13

RZ/G1E (R8A77450)

Array item rules (items)

Item 1

Allowed values (enum): "iwave,g22m", "renesas,sk-rzg1e"

Item 2

Exact value (const): "renesas,r8a7745"

Rule 14

iWave Systems RZ/G1E SODIMM SOM Development Platform (iW-RainboW-G22D)

Array item rules (items)

Item 1

Exact value (const): "iwave,g22d"

Item 2

Exact value (const): "iwave,g22m"

Item 3

Exact value (const): "renesas,r8a7745"

Rule 15

RZ/G1C (R8A77470)

Array item rules (items)

Item 1

Allowed values (enum): "iwave,g23s"

Item 2

Exact value (const): "renesas,r8a77470"

Rule 16

RZ/G2M (R8A774A1)

Array item rules (items)

Item 1

Allowed values (enum): "hoperun,hihope-rzg2m", "beacon,beacon-rzg2m"

Item 2

Exact value (const): "renesas,r8a774a1"

Rule 17

Array item rules (items)

Item 1

Allowed values (enum): "hoperun,hihope-rzg2-ex"

Item 2

Exact value (const): "hoperun,hihope-rzg2m"

Item 3

Exact value (const): "renesas,r8a774a1"

Rule 18

RZ/G2M v3.0 (R8A774A3)

Array item rules (items)

Item 1

Allowed values (enum): "hoperun,hihope-rzg2m"

Item 2

Exact value (const): "renesas,r8a774a3"

Rule 19

Array item rules (items)

Item 1

Allowed values (enum): "hoperun,hihope-rzg2-ex"

Item 2

Exact value (const): "hoperun,hihope-rzg2m"

Item 3

Exact value (const): "renesas,r8a774a3"

Rule 20

RZ/G2N (R8A774B1)

Array item rules (items)

Item 1

Allowed values (enum): "beacon,beacon-rzg2n", "hoperun,hihope-rzg2n"

Item 2

Exact value (const): "renesas,r8a774b1"

Rule 21

Array item rules (items)

Item 1

Allowed values (enum): "hoperun,hihope-rzg2-ex"

Item 2

Exact value (const): "hoperun,hihope-rzg2n"

Item 3

Exact value (const): "renesas,r8a774b1"

Rule 22

RZ/G2E (R8A774C0)

Array item rules (items)

Item 1

Allowed values (enum): "si-linux,cat874"

Item 2

Exact value (const): "renesas,r8a774c0"

Rule 23

Array item rules (items)

Item 1

Allowed values (enum): "si-linux,cat875"

Item 2

Exact value (const): "si-linux,cat874"

Item 3

Exact value (const): "renesas,r8a774c0"

Rule 24

RZ/G2H (R8A774E1)

Array item rules (items)

Item 1

Allowed values (enum): "beacon,beacon-rzg2h", "hoperun,hihope-rzg2h"

Item 2

Exact value (const): "renesas,r8a774e1"

Rule 25

Array item rules (items)

Item 1

Allowed values (enum): "hoperun,hihope-rzg2-ex"

Item 2

Exact value (const): "hoperun,hihope-rzg2h"

Item 3

Exact value (const): "renesas,r8a774e1"

Rule 26

R-Car M1A (R8A77781)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,bockw"

Item 2

Exact value (const): "renesas,r8a7778"

Rule 27

R-Car H1 (R8A77790)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,marzen"

Item 2

Exact value (const): "renesas,r8a7779"

Rule 28

R-Car H2 (R8A77900)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,lager", "renesas,stout"

Item 2

Exact value (const): "renesas,r8a7790"

Rule 29

R-Car M2-W (R8A77910)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,henninger", "renesas,koelsch", "renesas,porter"

Item 2

Exact value (const): "renesas,r8a7791"

Rule 30

R-Car V2H (R8A77920)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,blanche", "renesas,wheat"

Item 2

Exact value (const): "renesas,r8a7792"

Rule 31

R-Car M2-N (R8A77930)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,gose"

Item 2

Exact value (const): "renesas,r8a7793"

Rule 32

R-Car E2 (R8A77940)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,alt", "renesas,silk"

Item 2

Exact value (const): "renesas,r8a7794"

Rule 33

R-Car H3 ES2.0 and later (R8A77951)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,h3ulcb", "renesas,salvator-x", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a7795"

Rule 34

R-Car M3-W (R8A77960)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,m3ulcb", "renesas,salvator-x", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a7796"

Rule 35

R-Car M3-W+ (R8A77961)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,m3ulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a77961"

Rule 36

Kingfisher (SBEV-RCAR-KF-M03)

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "shimafuji,kingfisher"

Item 2

Allowed values (enum): "renesas,h3ulcb", "renesas,m3ulcb", "renesas,m3nulcb"

Item 3

Allowed values (enum): "renesas,r8a7795", "renesas,r8a7796", "renesas,r8a77961", "renesas,r8a77965"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "shimafuji,kingfisher"

Item 2

Allowed values (enum): "renesas,h3ulcb", "renesas,m3ulcb", "renesas,m3nulcb"

Item 3

Allowed values (enum): "renesas,r8a779m0", "renesas,r8a779m1", "renesas,r8a779m2", "renesas,r8a779m3", "renesas,r8a779m4", "renesas,r8a779m5", "renesas,r8a779m8", "renesas,r8a779mb"

Item 4

Allowed values (enum): "renesas,r8a7795", "renesas,r8a77961", "renesas,r8a77965"

Rule 37

R-Car M3-N (R8A77965)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,m3nulcb", "renesas,salvator-x", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a77965"

Rule 38

R-Car V3M (R8A77970)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,eagle", "renesas,v3msk"

Item 2

Exact value (const): "renesas,r8a77970"

Rule 39

R-Car V3H (R8A77980)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,condor", "renesas,v3hsk"

Item 2

Exact value (const): "renesas,r8a77980"

Rule 40

R-Car V3H2 (R8A77980A)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,condor-i"

Item 2

Exact value (const): "renesas,r8a77980a"

Item 3

Exact value (const): "renesas,r8a77980"

Rule 41

R-Car E3 (R8A77990)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,ebisu"

Item 2

Exact value (const): "renesas,r8a77990"

Rule 42

R-Car D3 (R8A77995)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,draak"

Item 2

Exact value (const): "renesas,r8a77995"

Rule 43

R-Car V3U (R8A779A0)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,falcon-cpu"

Item 2

Exact value (const): "renesas,r8a779a0"

Rule 44

Array item rules (items)

Item 1

Allowed values (enum): "renesas,falcon-breakout"

Item 2

Exact value (const): "renesas,falcon-cpu"

Item 3

Exact value (const): "renesas,r8a779a0"

Rule 45

R-Car S4-8 (R8A779F0)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,spider-cpu"

Item 2

Exact value (const): "renesas,r8a779f0"

Rule 46

Array item rules (items)

Item 1

Allowed values (enum): "renesas,spider-breakout"

Item 2

Exact value (const): "renesas,spider-cpu"

Item 3

Exact value (const): "renesas,r8a779f0"

Rule 47

R-Car S4-8 (R8A779F4)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,s4sk"

Item 2

Exact value (const): "renesas,r8a779f4"

Item 3

Exact value (const): "renesas,r8a779f0"

Rule 48

R-Car V4H (R8A779G0)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,white-hawk-cpu"

Item 2

Exact value (const): "renesas,r8a779g0"

Rule 49

Array item rules (items)

Item 1

Allowed values (enum): "renesas,white-hawk-breakout"

Item 2

Exact value (const): "renesas,white-hawk-cpu"

Item 3

Exact value (const): "renesas,r8a779g0"

Rule 50

R-Car V4H (R8A779G[23])

Array item rules (items)

Item 1

Allowed values (enum): "renesas,white-hawk-single"

Item 2

Allowed values (enum): "renesas,r8a779g2", "renesas,r8a779g3"

Item 3

Exact value (const): "renesas,r8a779g0"

Rule 51

R-Car V4H (R8A779G3)

Array item rules (items)

Item 1

Allowed values (enum): "retronix,sparrow-hawk"

Item 2

Exact value (const): "renesas,r8a779g3"

Item 3

Exact value (const): "renesas,r8a779g0"

Rule 52

R-Car V4M (R8A779H0)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,gray-hawk-single"

Item 2

Exact value (const): "renesas,r8a779h0"

Rule 53

R-Car V4M-7 (R8A779H2)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,gray-hawk-single"

Item 2

Exact value (const): "renesas,r8a779h2"

Item 3

Exact value (const): "renesas,r8a779h0"

Rule 54

R-Car H3e (R8A779M0)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,h3ulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a779m0"

Item 3

Exact value (const): "renesas,r8a7795"

Rule 55

R-Car H3e-2G (R8A779M1)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,h3ulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a779m1"

Item 3

Exact value (const): "renesas,r8a7795"

Rule 56

R-Car M3e (R8A779M2)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,m3ulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a779m2"

Item 3

Exact value (const): "renesas,r8a77961"

Rule 57

R-Car M3e-2G (R8A779M3)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,m3ulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a779m3"

Item 3

Exact value (const): "renesas,r8a77961"

Rule 58

R-Car M3Ne (R8A779M4)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,m3nulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a779m4"

Item 3

Exact value (const): "renesas,r8a77965"

Rule 59

R-Car M3Ne-2G (R8A779M5)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,m3nulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a779m5"

Item 3

Exact value (const): "renesas,r8a77965"

Rule 60

R-Car E3e (R8A779M6)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,ebisu"

Item 2

Exact value (const): "renesas,r8a779m6"

Item 3

Exact value (const): "renesas,r8a77990"

Rule 61

R-Car D3e (R8A779M7)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,draak"

Item 2

Exact value (const): "renesas,r8a779m7"

Item 3

Exact value (const): "renesas,r8a77995"

Rule 62

R-Car H3Ne (R8A779M8)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,h3ulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a779m8"

Item 3

Exact value (const): "renesas,r8a7795"

Rule 63

R-Car H3Ne-1.7G (R8A779MB)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,h3ulcb", "renesas,salvator-xs"

Item 2

Exact value (const): "renesas,r8a779mb"

Item 3

Exact value (const): "renesas,r8a7795"

Rule 64

R-Car X5H (R8A78000)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,ironhide"

Item 2

Exact value (const): "renesas,r8a78000"

Rule 65

RZ/N1D (R9A06G032)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,rzn1d400-db"

Item 2

Exact value (const): "renesas,r9a06g032"

Rule 66

RZ/N1{D,S} EB

Array item rules (items)

Item 1

Allowed values (enum): "renesas,rzn1d400-eb"

Item 2

Exact value (const): "renesas,rzn1d400-db"

Item 3

Exact value (const): "renesas,r9a06g032"

Rule 67

RZ/Five and RZ/G2UL (R9A07G043)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,smarc-evk"

Item 2

Allowed values (enum): "renesas,r9a07g043f01", "renesas,r9a07g043u11", "renesas,r9a07g043u12"

Item 3

Exact value (const): "renesas,r9a07g043"

Rule 68

RZ/G2{L,LC} (R9A07G044)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,smarc-evk"

Item 2

Allowed values (enum): "renesas,r9a07g044c1", "renesas,r9a07g044c2", "renesas,r9a07g044l1", "renesas,r9a07g044l2"

Item 3

Exact value (const): "renesas,r9a07g044"

Rule 69

Array item rules (items)

Item 1

Allowed values (enum): "myir,remi-pi"

Item 2

Exact value (const): "renesas,r9a07g044l2"

Item 3

Exact value (const): "renesas,r9a07g044"

Rule 70

RZ/V2L (R9A07G054)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,smarc-evk"

Item 2

Allowed values (enum): "renesas,r9a07g054l1", "renesas,r9a07g054l2"

Item 3

Exact value (const): "renesas,r9a07g054"

Rule 71

RZ/G3S (R9A08G045)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r9a08g045s33"

Item 2

Exact value (const): "renesas,r9a08g045"

Rule 72

RZ/G3S SMARC Module (SoM)

Array item rules (items)

Item 1

Exact value (const): "renesas,rzg3s-smarcm"

Item 2

Exact value (const): "renesas,r9a08g045s33"

Item 3

Exact value (const): "renesas,r9a08g045"

Rule 73

RZ SMARC Carrier-II Evaluation Kit

Array item rules (items)

Item 1

Exact value (const): "renesas,smarc2-evk"

Item 2

Exact value (const): "renesas,rzg3s-smarcm"

Item 3

Exact value (const): "renesas,r9a08g045s33"

Item 4

Exact value (const): "renesas,r9a08g045"

Rule 74

RZ/V2M (R9A09G011)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,rzv2mevk2"

Item 2

Exact value (const): "renesas,r9a09g011"

Rule 75

RZ/G3E (R9A09G047)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,smarc2-evk"

Item 2

Allowed values (enum): "renesas,rzg3e-smarcm"

Item 3

Allowed values (enum): "renesas,r9a09g047e27", "renesas,r9a09g047e28", "renesas,r9a09g047e37", "renesas,r9a09g047e38", "renesas,r9a09g047e47", "renesas,r9a09g047e48", "renesas,r9a09g047e57", "renesas,r9a09g047e58"

Item 4

Exact value (const): "renesas,r9a09g047"

Rule 76

RZ/V2N (R9A09G056)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,rzv2n-evk"

Item 2

Allowed values (enum): "renesas,r9a09g056n41", "renesas,r9a09g056n42", "renesas,r9a09g056n43", "renesas,r9a09g056n44", "renesas,r9a09g056n45", "renesas,r9a09g056n46", "renesas,r9a09g056n47", "renesas,r9a09g056n48"

Item 3

Exact value (const): "renesas,r9a09g056"

Rule 77

RZ/V2H(P) (R9A09G057)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,rzv2h-evk"

Item 2

Allowed values (enum): "renesas,r9a09g057h41", "renesas,r9a09g057h42", "renesas,r9a09g057h44", "renesas,r9a09g057h45", "renesas,r9a09g057h46", "renesas,r9a09g057h48"

Item 3

Exact value (const): "renesas,r9a09g057"

Rule 78

Yuridenki-Shokai RZ/V2H Kakip

Array item rules (items)

Item 1

Exact value (const): "yuridenki,kakip"

Item 2

Exact value (const): "renesas,r9a09g057h48"

Item 3

Exact value (const): "renesas,r9a09g057"

Rule 79

RZ/T2H (R9A09G077)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,rzt2h-evk"

Item 2

Allowed values (enum): "renesas,r9a09g077m04", "renesas,r9a09g077m24", "renesas,r9a09g077m44"

Item 3

Exact value (const): "renesas,r9a09g077"

Rule 80

RZ/N2H (R9A09G087)

Array item rules (items)

Item 1

Allowed values (enum): "renesas,rzn2h-evk"

Item 2

Allowed values (enum): "renesas,r9a09g087m04", "renesas,r9a09g087m24", "renesas,r9a09g087m44"

Item 3

Exact value (const): "renesas,r9a09g087"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 20: Kyoto Microcomputer Co. KZM-A9-Dual

Line 26: Genmai (RTK772100BC00000BR)

Line 27: GR-Peach (X28A-M01-E/F)

Line 28: RSKRZA1 (YR0K77210C000BE)

Line 34: RZ/A2M Eval Board (RTK7921053S00000BE)

Line 40: Kyoto Microcomputer Co. KZM-A9-GT

Line 52: Atmark Techno Armadillo-800 EVA

Line 58: iWave Systems RZ/G1H Qseven System On Module (iW-RainboW-G21M-Qseven)

Line 64: iWave Systems RZ/G1H Qseven Development Platform (iW-RainboW-G21D-Qseven)

Line 72: iWave Systems RZ/G1M Qseven Development Platform (iW-RainboW-G20D-Qseven)

Line 79: iWave Systems RZ/G1M Qseven System On Module (iW-RainboW-G20M-Qseven)

Line 81: SK-RZG1M (YR8A77430S000BE)

Line 87: iWave Systems RZ/G1N Qseven Development Platform (iW-RainboW-G20D-Qseven)

Line 94: iWave Systems RZ/G1N Qseven System On Module (iW-RainboW-G20M-Qseven)

Line 101: iWave Systems RZ/G1E SODIMM System On Module (iW-RainboW-G22M-SM)

Line 102: SK-RZG1E (YR8A77450S000BE)

Line 114: iWave Systems RZ/G1C Single Board Computer (iW-RainboW-G23S)

Line 120: HopeRun HiHope RZ/G2M platform

Line 121: Beacon EmbeddedWorks RZ/G2M Kit

Line 126: HopeRun expansion board for HiHope RZ/G2 platforms

Line 133: HopeRun HiHope RZ/G2M platform

Line 138: HopeRun expansion board for HiHope RZ/G2 platforms

Line 145: Beacon EmbeddedWorks RZ/G2N Kit

Line 146: HopeRun HiHope RZ/G2N platform

Line 151: HopeRun expansion board for HiHope RZ/G2 platforms

Line 158: Silicon Linux RZ/G2E 96board platform (CAT874)

Line 163: Silicon Linux sub board for CAT874 (CAT875)

Line 170: Beacon EmbeddedWorks RZ/G2H Kit

Line 171: HopeRun HiHope RZ/G2H platform

Line 176: HopeRun expansion board for HiHope RZ/G2 platforms

Line 189: Marzen (R0P7779A00010S)

Line 195: Lager (RTP0RC7790SEB00010S)

Line 196: Stout (ADAS Starterkit, Y-R-CAR-ADAS-SKH2-BOARD)

Line 203: Koelsch (RTP0RC7791SEB00010S)

Line 204: Porter (M2-LCDP)

Line 210: Blanche (RTP0RC7792SEB00010S)

Line 211: Wheat (RTP0RC7792ASKB0000JE)

Line 217: Gose (RTP0RC7793SEB00010S)

Line 223: Alt (RTP0RC7794SEB00010S)

Line 224: SILK (RTP0RC7794LCB00011S)

Line 227: Note: R-Car H3 ES1.* (R8A77950) is not supported upstream anymore!

Line 232: H3ULCB (R-Car Starter Kit Premier, RTP0RC77951SKBX010SA00 (H3 ES2.0))

Line 233: Salvator-X (RTP0RC7795SIPB0010S)

Line 234: Salvator-XS (Salvator-X 2nd version, RTP0RC7795SIPB0012S)

Line 240: M3ULCB (R-Car Starter Kit Pro, RTP0RC7796SKBX0010SA09 (M3 ES1.0))

Line 241: Salvator-X (RTP0RC7796SIPB0011S)

Line 242: Salvator-XS (Salvator-X 2nd version, RTP0RC7796SIPB0012S)

Line 248: M3ULCB (R-Car Starter Kit Pro, RTP8J77961ASKB0SK0SA05A (M3 ES3.0))

Line 249: Salvator-XS (Salvator-X 2nd version, RTP0RC7796SIPB0012SA5A)

Line 288: M3NULCB (R-Car Starter Kit Pro, RTP0RC77965SKBX010SA00 (M3-N ES1.1))

Line 289: Salvator-X (RTP0RC7796SIPB0011S (M3-N))

Line 290: Salvator-XS (Salvator-X 2nd version, RTP0RC77965SIPB012S)

Line 296: Eagle (RTP0RC77970SEB0010S)

Line 297: V3MSK (Y-ASK-RCAR-V3M-WS10)

Line 303: Condor (RTP0RC77980SEB0010SS/RTP0RC77980SEB0010SA01)

Line 304: V3HSK (Y-ASK-RCAR-V3H-WS10)

Line 310: Condor-I (RTP0RC77980SEBS012SA01)

Line 317: Ebisu (RTP0RC77990SEB0010S), Ebisu-4D (RTP0RC77990SEB0020S)

Line 323: Draak (RTP0RC77995SEB0010S)

Line 329: Falcon CPU board (RTP0RC779A0CPB0010S)

Line 334: Falcon BreakOut board (RTP0RC779A0BOB0010S)

Line 341: Spider CPU board (RTP8A779F0ASKB0SC2S)

Line 346: Spider BreakOut board (RTP8A779F0ASKB0SB0S)

Line 353: R-Car S4 Starter Kit board (Y-ASK-RCAR-S4-1000BASE-T#WS12)

Line 360: White Hawk CPU board (RTP8A779G0ASKB0FC0SA000)

Line 365: White Hawk BreakOut board (RTP8A779G0ASKB0SB0SA000)

Line 372: White Hawk Single board (RTP8A779G[23]ASKB0F10SA001)

Line 374: ES2.x

Line 375: ES3.x

Line 381: Sparrow Hawk board

Line 382: ES3.x

Line 388: Gray Hawk Single board (RTP8A779H0ASKB0F10S)

Line 394: Gray Hawk Single board (RTP8A779H2ASKB0F10SA001)

Line 395: ES2.x

Line 401: H3ULCB (R-Car Starter Kit Premier)

Line 402: Salvator-XS (Salvator-X 2nd version)

Line 409: H3ULCB (R-Car Starter Kit Premier)

Line 410: Salvator-XS (Salvator-X 2nd version)

Line 417: M3ULCB (R-Car Starter Kit Pro)

Line 418: Salvator-XS (Salvator-X 2nd version)

Line 425: M3ULCB (R-Car Starter Kit Pro)

Line 426: Salvator-XS (Salvator-X 2nd version)

Line 433: M3NULCB (R-Car Starter Kit Pro)

Line 434: Salvator-XS (Salvator-X 2nd version)

Line 441: M3NULCB (R-Car Starter Kit Pro)

Line 442: Salvator-XS (Salvator-X 2nd version)

Line 449: Ebisu

Line 456: Draak

Line 463: H3ULCB (R-Car Starter Kit Premier)

Line 464: Salvator-XS (Salvator-X 2nd version)

Line 471: H3ULCB (R-Car Starter Kit Premier)

Line 472: Salvator-XS (Salvator-X 2nd version)

Line 479: Ironhide (RTP8A78000ASKB0F10S)

Line 485: RZN1D-DB (RZ/N1D Demo Board for the RZ/N1D 400 pins package)

Line 491: RZN1D-EB (Expansion Board when using a RZN1D-DB)

Line 498: SMARC EVK

Line 500: RZ/Five

Line 501: RZ/G2UL Type-1

Line 502: RZ/G2UL Type-2

Line 508: SMARC EVK

Line 510: Single Cortex-A55 RZ/G2LC

Line 511: Dual Cortex-A55 RZ/G2LC

Line 512: Single Cortex-A55 RZ/G2L

Line 513: Dual Cortex-A55 RZ/G2L

Line 518: MYIR Remi Pi SBC (MYB-YG2LX-REMI)

Line 526: SMARC EVK

Line 528: Single Cortex-A55 RZ/V2L

Line 529: Dual Cortex-A55 RZ/V2L

Line 535: PCIe support

Line 540: RZ/G3S SMARC Module (SoM)

Line 541: PCIe support

Line 546: RZ SMARC Carrier-II EVK

Line 547: RZ/G3S SMARC SoM

Line 548: PCIe support

Line 554: RZ/V2M Eval Board v2.0

Line 560: RZ SMARC Carrier-II EVK

Line 562: RZ/G3E SMARC Module (SoM)

Line 564: Dual Cortex-A55 + Cortex-M33 (15mm BGA)

Line 565: Dual Cortex-A55 + Cortex-M33 (21mm BGA)

Line 566: Dual Cortex-A55 + Cortex-M33 + Ethos-U55 (15mm BGA)

Line 567: Dual Cortex-A55 + Cortex-M33 + Ethos-U55 (21mm BGA)

Line 568: Quad Cortex-A55 + Cortex-M33 (15mm BGA)

Line 569: Quad Cortex-A55 + Cortex-M33 (21mm BGA)

Line 570: Quad Cortex-A55 + Cortex-M33 + Ethos-U55 (15mm BGA)

Line 571: Quad Cortex-A55 + Cortex-M33 + Ethos-U55 (21mm BGA)

Line 577: RZ/V2N EVK (RTK0EF0186C03000BJ)

Line 579: RZ/V2N

Line 580: RZ/V2N with Mali-G31 support

Line 581: RZ/V2N with Mali-C55 support

Line 582: RZ/V2N with Mali-G31 + Mali-C55 support

Line 583: RZ/V2N with cryptographic extension support

Line 584: RZ/V2N with Mali-G31 + cryptographic extension support

Line 585: RZ/V2N with Mali-C55 + cryptographic extension support

Line 586: RZ/V2N with Mali-G31 + Mali-C55 + cryptographic extension support

Line 592: RZ/V2H EVK (RTK0EF0168C06001BJ)

Line 594: RZ/V2H

Line 595: RZ/V2H with Mali-G31 support

Line 596: RZ/V2HP with Mali-G31 + Mali-C55 support

Line 597: RZ/V2H with cryptographic extension support

Line 598: RZ/V2H with Mali-G31 + cryptographic extension support

Line 599: RZ/V2HP with Mali-G31 + Mali-C55 + cryptographic extension support

Line 611: RZ/T2H Evaluation Board (RTK9RZT2H0S00000BJ)

Line 613: RZ/T2H with Single Cortex-A55 + Dual Cortex-R52 - no security

Line 614: RZ/T2H with Dual Cortex-A55 + Dual Cortex-R52 - no security

Line 615: RZ/T2H with Quad Cortex-A55 + Dual Cortex-R52 - no security

Line 621: RZ/N2H Evaluation Board (RTK9RZN2H0S00000BJ)

Line 623: RZ/N2H with Single Cortex-A55 + Dual Cortex-R52 - no security

Line 624: RZ/N2H with Dual Cortex-A55 + Dual Cortex-R52 - no security

Line 625: RZ/N2H with Quad Cortex-A55 + Dual Cortex-R52 - no security

Rockchip General Register Files (GRF)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/rockchip/grf.yaml#"

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

Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"

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): "rockchip,rk3288-sgrf", "rockchip,rk3528-ioc-grf", "rockchip,rk3528-pipe-phy-grf", "rockchip,rk3528-vo-grf", "rockchip,rk3528-vpu-grf", "rockchip,rk3562-ioc-grf", "rockchip,rk3562-peri-grf", "rockchip,rk3562-pipephy-grf", "rockchip,rk3562-pmu-grf", "rockchip,rk3562-sys-grf", "rockchip,rk3562-usbphy-grf", "rockchip,rk3566-pipe-grf", "rockchip,rk3568-pcie3-phy-grf", "rockchip,rk3568-pipe-grf", "rockchip,rk3568-pipe-phy-grf", "rockchip,rk3568-usb2phy-grf", "rockchip,rk3576-bigcore-grf", "rockchip,rk3576-cci-grf", "rockchip,rk3576-dcphy-grf", "rockchip,rk3576-gpu-grf", "rockchip,rk3576-hdptxphy-grf", "rockchip,rk3576-litcore-grf", "rockchip,rk3576-npu-grf", "rockchip,rk3576-php-grf", "rockchip,rk3576-pipe-phy-grf", "rockchip,rk3576-pmu1-grf", "rockchip,rk3576-sdgmac-grf", "rockchip,rk3576-sys-grf", "rockchip,rk3576-usb-grf", "rockchip,rk3576-usbdpphy-grf", "rockchip,rk3576-vo0-grf", "rockchip,rk3576-vo1-grf", "rockchip,rk3576-vop-grf", "rockchip,rk3588-bigcore0-grf", "rockchip,rk3588-bigcore1-grf", "rockchip,rk3588-csidphy-grf", "rockchip,rk3588-dcphy-grf", "rockchip,rk3588-hdptxphy-grf", "rockchip,rk3588-ioc", "rockchip,rk3588-php-grf", "rockchip,rk3588-pipe-phy-grf", "rockchip,rk3588-sys-grf", "rockchip,rk3588-pcie3-phy-grf", "rockchip,rk3588-pcie3-pipe-grf", "rockchip,rk3588-usb-grf", "rockchip,rk3588-usbdpphy-grf", "rockchip,rk3588-vo0-grf", "rockchip,rk3588-vo1-grf", "rockchip,rk3588-vop-grf", "rockchip,rv1108-usbgrf"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "rockchip,rk3588-vo-grf"

Item 2

Exact value (const): "syscon"

Deprecated (deprecated): true

Use rockchip,rk3588-vo{0,1}-grf instead.

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "rockchip,px30-grf", "rockchip,px30-pmugrf", "rockchip,px30-usb2phy-grf", "rockchip,rk3036-grf", "rockchip,rk3066-grf", "rockchip,rk3128-grf", "rockchip,rk3188-grf", "rockchip,rk3228-grf", "rockchip,rk3288-grf", "rockchip,rk3308-core-grf", "rockchip,rk3308-detect-grf", "rockchip,rk3308-grf", "rockchip,rk3308-usb2phy-grf", "rockchip,rk3328-grf", "rockchip,rk3328-usb2phy-grf", "rockchip,rk3368-grf", "rockchip,rk3368-pmugrf", "rockchip,rk3399-grf", "rockchip,rk3399-pmugrf", "rockchip,rk3562-pmu-grf", "rockchip,rk3568-grf", "rockchip,rk3568-pmugrf", "rockchip,rk3576-ioc-grf", "rockchip,rk3576-pmu0-grf", "rockchip,rk3576-usb2phy-grf", "rockchip,rk3588-usb2phy-grf", "rockchip,rv1108-grf", "rockchip,rv1108-pmugrf", "rockchip,rv1126-grf", "rockchip,rv1126-pmugrf"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as 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): 1

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

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

Value type (type): "object"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,px30-grf"

When the condition matches (then) #

Properties and child nodes (properties)

lvds — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/display/rockchip/rockchip,lvds.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3288-grf"

When the condition matches (then) #

Properties and child nodes (properties)

edp-phy — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/phy/rockchip,rk3288-dp-phy.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,rk3066-grf", "rockchip,rk3188-grf", "rockchip,rk3288-grf"

When the condition matches (then) #

Properties and child nodes (properties)

usbphy — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/phy/rockchip-usb-phy.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3328-grf"

When the condition matches (then) #

Properties and child nodes (properties)

gpio — not listed as required here

Value type (type): "object"

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3328-grf-gpio"

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

true

Allowed by this rule.

power-controller — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/rockchip,power-controller.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3399-grf"

When the condition matches (then) #

Properties and child nodes (properties)

mipi-dphy-rx0 — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/phy/rockchip-mipi-dphy-rx0.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

pcie-phy — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/phy/rockchip,rk3399-pcie-phy.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties)

^phy@[0-9a-f]+$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/phy/rockchip,rk3399-emmc-phy.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,px30-pmugrf", "rockchip,rk3036-grf", "rockchip,rk3308-grf", "rockchip,rk3368-pmugrf"

When the condition matches (then) #

Properties and child nodes (properties)

reboot-mode — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/reset/syscon-reboot-mode.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,px30-usb2phy-grf", "rockchip,rk3128-grf", "rockchip,rk3228-grf", "rockchip,rk3308-usb2phy-grf", "rockchip,rk3328-usb2phy-grf", "rockchip,rk3399-grf", "rockchip,rk3576-usb2phy-grf", "rockchip,rk3588-usb2phy-grf", "rockchip,rv1108-grf"

When the condition matches (then) #

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

Properties matching a name pattern (patternProperties)

usb2phy@[0-9a-f]+$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/phy/rockchip,inno-usb2phy.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,px30-grf", "rockchip,px30-pmugrf", "rockchip,rk3188-grf", "rockchip,rk3228-grf", "rockchip,rk3288-grf", "rockchip,rk3328-grf", "rockchip,rk3368-grf", "rockchip,rk3368-pmugrf", "rockchip,rk3399-grf", "rockchip,rk3399-pmugrf", "rockchip,rk3568-pmugrf", "rockchip,rk3588-pmugrf", "rockchip,rv1108-grf", "rockchip,rv1108-pmugrf"

When the condition matches (then) #

Properties and child nodes (properties)

io-domains — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/rockchip-io-domain.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "rockchip,rk3576-dcphy-grf", "rockchip,rk3576-vo1-grf", "rockchip,rk3588-vo-grf", "rockchip,rk3588-vo0-grf", "rockchip,rk3588-vo1-grf"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Examples (examples) #

#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3399-power.h>
grf: syscon@ff770000 {
  compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
  reg = <0xff770000 0x10000>;
  #address-cells = <1>;
  #size-cells = <1>;

  mipi_dphy_rx0: mipi-dphy-rx0 {
    compatible = "rockchip,rk3399-mipi-dphy-rx0";
    clocks = <&cru SCLK_MIPIDPHY_REF>,
             <&cru SCLK_DPHY_RX0_CFG>,
             <&cru PCLK_VIO_GRF>;
    clock-names = "dphy-ref", "dphy-cfg", "grf";
    power-domains = <&power RK3399_PD_VIO>;
    #phy-cells = <0>;
  };

  pcie-phy {
    compatible = "rockchip,rk3399-pcie-phy";
    #phy-cells = <1>;
    clocks = <&cru SCLK_PCIEPHY_REF>;
    clock-names = "refclk";
    resets = <&cru SRST_PCIEPHY>;
    reset-names = "phy";
  };

  phy@f780 {
    compatible = "rockchip,rk3399-emmc-phy";
    reg = <0xf780 0x20>;
    clocks = <&sdhci>;
    clock-names = "emmcclk";
    drive-impedance-ohm = <50>;
    #phy-cells = <0>;
  };

  u2phy0: usb2phy@e450 {
    compatible = "rockchip,rk3399-usb2phy";
    reg = <0xe450 0x10>;
    clocks = <&cru SCLK_USB2PHY0_REF>;
    clock-names = "phyclk";
    #clock-cells = <0>;
    clock-output-names = "clk_usbphy0_480m";

    u2phy0_host: host-port {
      #phy-cells = <0>;
      interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
      interrupt-names = "linestate";
     };

    u2phy0_otg: otg-port {
      #phy-cells = <0>;
      interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
                   <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
                   <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
      interrupt-names = "otg-bvalid", "otg-id",
                        "linestate";
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Samsung Exynos SoC series Power Management Unit (PMU)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/samsung/exynos-pmu.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "google,gs101-pmu"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "samsung,exynos3250-pmu", "samsung,exynos4210-pmu", "samsung,exynos4212-pmu", "samsung,exynos4412-pmu", "samsung,exynos5250-pmu", "samsung,exynos5260-pmu", "samsung,exynos5410-pmu", "samsung,exynos5420-pmu", "samsung,exynos5433-pmu", "samsung,exynos7-pmu", "samsung,exynos850-pmu", "samsung-s5pv210-pmu"

Item 2

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "axis,artpec9-pmu", "samsung,exynos2200-pmu", "samsung,exynos7870-pmu", "samsung,exynos7885-pmu", "samsung,exynos8890-pmu", "samsung,exynos8895-pmu", "samsung,exynos9810-pmu", "samsung,exynos990-pmu", "samsung,exynosautov9-pmu", "samsung,exynosautov920-pmu", "tesla,fsd-pmu"

Item 2

Exact value (const): "samsung,exynos7-pmu"

Item 3

Exact value (const): "syscon"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "samsung,exynos3250-pmu", "samsung,exynos4210-pmu", "samsung,exynos4212-pmu", "samsung,exynos4412-pmu", "samsung,exynos5250-pmu", "samsung,exynos5420-pmu", "samsung,exynos5433-pmu"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

clock-names — not listed as required here #

List of clock names for particular CLKOUT mux inputs

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

Array item rules (items) #

String pattern (pattern): "^clkout([0-9]|[12][0-9]|3[0-1])$"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

dp-phy — not listed as required here #

Shared schema rule ($ref): /schemas/phy/samsung,dp-video-phy.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

interrupt-controller — not listed as required here #

Some PMUs are capable of behaving as an interrupt controller (mostly to wake up a suspended PMU).

#interrupt-cells — not listed as required here #

Must be identical to the that of the parent interrupt controller.

Exact value (const): 3

mipi-phy — not listed as required here #

Shared schema rule ($ref): /schemas/phy/samsung,mipi-video-phy.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

reboot-mode — not listed as required here #

Shared schema rule ($ref): /schemas/power/reset/syscon-reboot-mode.yaml

Value type (type): "object"

Reboot mode to alter bootloader behavior for the next boot

syscon-poweroff — not listed as required here #

Shared schema rule ($ref): /schemas/power/reset/syscon-poweroff.yaml#

Value type (type): "object"

Node for power off method

syscon-reboot — not listed as required here #

Shared schema rule ($ref): /schemas/power/reset/syscon-reboot.yaml#

Value type (type): "object"

Node for reboot method

google,pmu-intr-gen-syscon — not listed as required here #

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

Phandle to PMU interrupt generation interface.

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

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos3250-pmu", "samsung,exynos4210-pmu", "samsung,exynos4212-pmu", "samsung,exynos4412-pmu", "samsung,exynos5250-pmu", "samsung,exynos5410-pmu", "samsung,exynos5420-pmu", "samsung,exynos5433-pmu"

When the condition matches (then) #

Required in this object (required): "#clock-cells", "clock-names", "clocks"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos3250-pmu", "samsung,exynos4210-pmu", "samsung,exynos4212-pmu", "samsung,exynos4412-pmu", "samsung,exynos5250-pmu", "samsung,exynos5420-pmu", "samsung,exynos5433-pmu", "samsung,exynos7870-pmu"

When the condition matches (then) #

Properties and child nodes (properties)

mipi-phy — not listed as required here

true — No constraints added by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

mipi-phy — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos5250-pmu", "samsung,exynos5420-pmu", "samsung,exynos5433-pmu"

When the condition matches (then) #

Properties and child nodes (properties)

dp-phy — not listed as required here

true — No constraints added by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

dp-phy — not listed as required here

false — Not permitted by this property rule.

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "google,gs101-pmu"

When the condition matches (then) #

Required in this object (required): "google,pmu-intr-gen-syscon"

When the condition does not match (else) #

Properties and child nodes (properties)

google,pmu-intr-gen-syscon — not listed as required here

false — Not permitted by this property rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5250.h>

pmu_system_controller: system-controller@10040000 {
    compatible = "samsung,exynos5250-pmu", "syscon";
    reg = <0x10040000 0x5000>;
    interrupt-controller;
    #interrupt-cells = <3>;
    interrupt-parent = <&gic>;
    #clock-cells = <1>;
    clock-names = "clkout16";
    clocks = <&clock CLK_FIN_PLL>;

    dp-phy {
        compatible = "samsung,exynos5250-dp-video-phy";
        #phy-cells = <0>;
    };

    mipi-phy {
        compatible = "samsung,s5pv210-mipi-video-phy";
        #phy-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Samsung's Exynos USI (Universal Serial Interface)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/samsung/exynos-usi.yaml#"

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

Maintainers (maintainers): "Sam Protsenko <semen.protsenko@linaro.org>", "Krzysztof Kozlowski <krzk@kernel.org>"

The USI IP-core provides configurable support for serial protocols, enabling different serial communication modes depending on the version.

In USIv1, configurations are available to enable either one or two protocols simultaneously in select combinations - High-Speed I2C0, High-Speed I2C1, SPI, UART, High-Speed I2C0 and I2C1 or both High-Speed I2C1 and UART.

In USIv2, only one protocol can be active at a time, either UART, SPI, or High-Speed I2C.

The USI core shares internal circuits across protocols, meaning only the selected configuration is active at any given time. USI is modeled as a node with zero or more child nodes, each representing a serial sub-node device. The mode setting selects which particular function will be used.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^usi@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "google,gs101-usi", "samsung,exynos2200-usi", "samsung,exynosautov9-usi", "samsung,exynosautov920-usi"

Item 2

Exact value (const): "samsung,exynos850-usi"

Rule 2

Allowed values (enum): "samsung,exynos850-usi", "samsung,exynos8895-usi"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "ipclk"

ranges — required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

samsung,sysreg — required here #

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

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to System Register syscon node

Item 2

offset of SW_CONF register for this USI controller

Should be phandle/offset pair. The phandle to System Register syscon node (for the same domain where this USI controller resides) and the offset of SW_CONF register for this USI controller.

samsung,mode — required here #

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

Allowed values (enum): 0, 1, 2, 3, 4, 5, 6

Selects USI function (which serial protocol to use). Refer to <include/dt-bindings/soc/samsung,exynos-usi.h> for valid USI mode values.

samsung,clkreq-on — not listed as required here #

Value type (type): "boolean"

Enable this property if underlying protocol requires the clock to be continuously provided without automatic gating. As suggested by SoC manual, it should be set in case of SPI/I2C slave, UART Rx and I2C multi-master mode. Usually this property is needed if USI mode is set to "UART". This property is optional.

Properties matching a name pattern (patternProperties) #

^i2c@[0-9a-f]+$ — name matches this regular expression #

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

Child node describing underlying I2C

^serial@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/serial/samsung_uart.yaml

Child node describing underlying UART/serial

^spi@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/spi/samsung,spi.yaml

Child node describing underlying SPI

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos850-usi"

When the condition matches (then) #

Properties and child nodes (properties)

reg — required here

Maximum number of items (maxItems): 1

clocks — required here

Array item rules (items)

Item 1

Bus (APB) clock

Item 2

Operating clock for UART/SPI/I2C protocol

clock-names — required here

Maximum number of items (maxItems): 2

samsung,mode — not listed as required here

Allowed values (enum): 0, 1, 2, 3

Required in this object (required): "reg", "clocks", "clock-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos8895-usi"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

clocks — required here

Array item rules (items)

Item 1

Bus (APB) clock

Item 2

Operating clock for UART/SPI protocol

clock-names — required here

Maximum number of items (maxItems): 2

samsung,clkreq-on — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "clocks", "clock-names"

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/soc/samsung,exynos-usi.h>

usi0: usi@138200c0 {
    compatible = "samsung,exynos850-usi";
    reg = <0x138200c0 0x20>;
    samsung,sysreg = <&sysreg_peri 0x1010>;
    samsung,mode = <USI_MODE_UART>;
    samsung,clkreq-on; /* needed for UART mode */
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;
    clocks = <&cmu_peri 32>, <&cmu_peri 31>;
    clock-names = "pclk", "ipclk";

    serial_0: serial@13820000 {
        compatible = "samsung,exynos850-uart";
        reg = <0x13820000 0xc0>;
        interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&cmu_peri 32>, <&cmu_peri 31>;
        clock-names = "uart", "clk_uart_baud0";
    };

    hsi2c_0: i2c@13820000 {
        compatible = "samsung,exynos850-hsi2c", "samsung,exynosautov9-hsi2c";
        reg = <0x13820000 0xc0>;
        interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
        #address-cells = <1>;
        #size-cells = <0>;
        clocks = <&cmu_peri 31>, <&cmu_peri 32>;
        clock-names = "hsi2c", "hsi2c_pclk";
        status = "disabled";
    };
};

Source notes #

Annotations retained from the schema source

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

Samsung Exynos SoC series System Registers (SYSREG)

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/samsung/samsung,exynos-sysreg.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

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): "google,gs101-apm-sysreg", "google,gs101-dpu-sysreg", "google,gs101-hsi0-sysreg", "google,gs101-hsi2-sysreg", "google,gs101-misc-sysreg", "google,gs101-peric0-sysreg", "google,gs101-peric1-sysreg", "samsung,exynos2200-cmgp-sysreg", "samsung,exynos2200-peric0-sysreg", "samsung,exynos2200-peric1-sysreg", "samsung,exynos2200-peric2-sysreg", "samsung,exynos2200-ufs-sysreg", "samsung,exynos3-sysreg", "samsung,exynos4-sysreg", "samsung,exynos5-sysreg", "samsung,exynos7870-cam0-sysreg", "samsung,exynos7870-disp-sysreg", "samsung,exynos8895-fsys0-sysreg", "samsung,exynos8895-fsys1-sysreg", "samsung,exynos8895-peric0-sysreg", "samsung,exynos8895-peric1-sysreg", "samsung,exynos990-peric0-sysreg", "samsung,exynos990-peric1-sysreg", "samsung,exynosautov920-hsi2-sysreg", "samsung,exynosautov920-peric0-sysreg", "samsung,exynosautov920-peric1-sysreg", "tesla,fsd-cam-sysreg", "tesla,fsd-fsys0-sysreg", "tesla,fsd-fsys1-sysreg", "tesla,fsd-peric-sysreg"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "samsung,exynos5433-cam0-sysreg", "samsung,exynos5433-cam1-sysreg", "samsung,exynos5433-disp-sysreg", "samsung,exynos5433-fsys-sysreg"

Item 2

Exact value (const): "samsung,exynos5433-sysreg"

Item 3

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "samsung,exynos5433-sysreg", "samsung,exynos850-sysreg", "samsung,exynosautov9-sysreg"

Item 2

Exact value (const): "syscon"

Deprecated (deprecated): true

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "samsung,exynos850-cmgp-sysreg", "samsung,exynos850-peri-sysreg"

Item 2

Exact value (const): "samsung,exynos850-sysreg"

Item 3

Exact value (const): "syscon"

Rule 5

Array item rules (items)

Item 1

Allowed values (enum): "samsung,exynosautov9-fsys2-sysreg", "samsung,exynosautov9-peric0-sysreg", "samsung,exynosautov9-peric1-sysreg"

Item 2

Exact value (const): "samsung,exynosautov9-sysreg"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "google,gs101-dpu-sysreg", "google,gs101-hsi0-sysreg", "google,gs101-hsi2-sysreg", "google,gs101-misc-sysreg", "google,gs101-peric0-sysreg", "google,gs101-peric1-sysreg", "samsung,exynos850-cmgp-sysreg", "samsung,exynos850-peri-sysreg", "samsung,exynos850-sysreg", "samsung,exynos8895-fsys0-sysreg", "samsung,exynos8895-fsys1-sysreg", "samsung,exynos8895-peric0-sysreg", "samsung,exynos8895-peric1-sysreg", "samsung,exynos990-peric0-sysreg", "samsung,exynos990-peric1-sysreg"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

String pattern (pattern): "^google,gs101-[^-]+-sysreg$"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

false — Not permitted by this property rule.

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

false

Not allowed by this rule.

Examples (examples) #

system-controller@10010000 {
    compatible = "samsung,exynos4-sysreg", "syscon";
    reg = <0x10010000 0x400>;
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier ADAMV block

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-adamv.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

ADAMV block implemented on Socionext UniPhier SoCs is an analog signal amplifier that is a part of the external video and audio I/O system.

This block is defined for controlling audio I/O reset only.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-ld11-adamv", "socionext,uniphier-ld20-adamv"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

reset-controller — not listed as required here #

Shared schema rule ($ref): /schemas/reset/socionext,uniphier-reset.yaml#

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) #

syscon@57920000 {
    compatible = "socionext,uniphier-ld20-adamv",
                 "simple-mfd", "syscon";
    reg = <0x57920000 0x1000>;

    reset-controller {
        compatible = "socionext,uniphier-ld20-adamv-reset";
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier SoC AHCI glue layer

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-ahci-glue.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

AHCI glue layer implemented on Socionext UniPhier SoCs is a sideband logic handling signals to AHCI host controller inside AHCI component.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-pro4-ahci-glue", "socionext,uniphier-pxs2-ahci-glue", "socionext,uniphier-pxs3-ahci-glue"

Item 2

Exact value (const): "simple-mfd"

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): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^reset-controller@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/reset/socionext,uniphier-glue-reset.yaml#

phy@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/phy/socionext,uniphier-ahci-phy.yaml#

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) #

sata-controller@65700000 {
    compatible = "socionext,uniphier-pxs3-ahci-glue", "simple-mfd";
    reg = <0x65b00000 0x400>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0 0x65700000 0x100>;

    reset-controller@0 {
        compatible = "socionext,uniphier-pxs3-ahci-reset";
        reg = <0x0 0x4>;
        clock-names = "link";
        clocks = <&sys_clk 28>;
        reset-names = "link";
        resets = <&sys_rst 28>;
        #reset-cells = <1>;
    };

    phy@10 {
        compatible = "socionext,uniphier-pxs3-ahci-phy";
        reg = <0x10 0x10>;
        clock-names = "link", "phy";
        clocks = <&sys_clk 28>, <&sys_clk 30>;
        reset-names = "link", "phy";
        resets = <&sys_rst 28>, <&sys_rst 30>;
        #phy-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier SoC DWC3 USB3.0 glue layer

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-dwc3-glue.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

DWC3 USB3.0 glue layer implemented on Socionext UniPhier SoCs is a sideband logic handling signals to DWC3 host controller inside USB3.0 component.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-pro4-dwc3-glue", "socionext,uniphier-pro5-dwc3-glue", "socionext,uniphier-pxs2-dwc3-glue", "socionext,uniphier-ld20-dwc3-glue", "socionext,uniphier-pxs3-dwc3-glue", "socionext,uniphier-nx1-dwc3-glue"

Item 2

Exact value (const): "simple-mfd"

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): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^reset-controller@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/reset/socionext,uniphier-glue-reset.yaml#

^regulator@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/regulator/socionext,uniphier-regulator.yaml#

^phy@[0-9a-f]+$ — name matches this regular expression #

Exactly one of these rules must match (oneOf) #

Rule 1

Shared schema rule ($ref): /schemas/phy/socionext,uniphier-usb3hs-phy.yaml#

Rule 2

Shared schema rule ($ref): /schemas/phy/socionext,uniphier-usb3ss-phy.yaml#

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) #

usb@65b00000 {
    compatible = "socionext,uniphier-ld20-dwc3-glue", "simple-mfd";
    reg = <0x65b00000 0x400>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0 0x65b00000 0x400>;

    reset-controller@0 {
        compatible = "socionext,uniphier-ld20-usb3-reset";
        reg = <0x0 0x4>;
        #reset-cells = <1>;
        clock-names = "link";
        clocks = <&sys_clk 14>;
        reset-names = "link";
        resets = <&sys_rst 14>;
    };

    regulator@100 {
        compatible = "socionext,uniphier-ld20-usb3-regulator";
        reg = <0x100 0x10>;
        clock-names = "link";
        clocks = <&sys_clk 14>;
        reset-names = "link";
        resets = <&sys_rst 14>;
    };

    phy@200 {
        compatible = "socionext,uniphier-ld20-usb3-hsphy";
        reg = <0x200 0x10>;
        #phy-cells = <0>;
        clock-names = "link", "phy";
        clocks = <&sys_clk 14>, <&sys_clk 16>;
        reset-names = "link", "phy";
        resets = <&sys_rst 14>, <&sys_rst 16>;
    };

    phy@300 {
        compatible = "socionext,uniphier-ld20-usb3-ssphy";
        reg = <0x300 0x10>;
        #phy-cells = <0>;
        clock-names = "link", "phy";
        clocks = <&sys_clk 14>, <&sys_clk 18>;
        reset-names = "link", "phy";
        resets = <&sys_rst 14>, <&sys_rst 18>;
    };
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier media I/O block (MIO) controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-mioctrl.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

Media I/O block implemented on Socionext UniPhier SoCs is a legacy integrated component of the stream type peripherals including USB2.0, SD/eMMC, and MIO-DMAC. Media I/O block has a common logic to control the component.

Recent SoCs have SD interface logic specialized only for SD functions as a subset of media I/O block. See socionext,uniphier-sdctrl.yaml.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-ld4-mioctrl", "socionext,uniphier-pro4-mioctrl", "socionext,uniphier-sld8-mioctrl", "socionext,uniphier-ld11-mioctrl"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/socionext,uniphier-clock.yaml#

reset-controller — not listed as required here #

Shared schema rule ($ref): /schemas/reset/socionext,uniphier-reset.yaml#

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) #

syscon@5b3e0000 {
    compatible = "socionext,uniphier-ld11-mioctrl",
                 "simple-mfd", "syscon";
    reg = <0x5b3e0000 0x800>;

    clock-controller {
        compatible = "socionext,uniphier-ld11-mio-clock";
        #clock-cells = <1>;
    };

    reset-controller {
        compatible = "socionext,uniphier-ld11-mio-reset";
        #reset-cells = <1>;
        resets = <&sys_rst 7>;
    };
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier peripheral block controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-perictrl.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

Peripheral block implemented on Socionext UniPhier SoCs is an integrated component of the peripherals including UART, I2C/FI2C, and SCSSI. Peripheral block controller is a logic to control the component.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-ld4-perictrl", "socionext,uniphier-pro4-perictrl", "socionext,uniphier-pro5-perictrl", "socionext,uniphier-pxs2-perictrl", "socionext,uniphier-sld8-perictrl", "socionext,uniphier-ld11-perictrl", "socionext,uniphier-ld20-perictrl", "socionext,uniphier-pxs3-perictrl", "socionext,uniphier-nx1-perictrl"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/socionext,uniphier-clock.yaml#

reset-controller — not listed as required here #

Shared schema rule ($ref): /schemas/reset/socionext,uniphier-reset.yaml#

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) #

syscon@59820000 {
    compatible = "socionext,uniphier-ld20-perictrl",
                 "simple-mfd", "syscon";
    reg = <0x59820000 0x200>;

    clock-controller {
        compatible = "socionext,uniphier-ld20-peri-clock";
        #clock-cells = <1>;
    };

    reset-controller {
        compatible = "socionext,uniphier-ld20-peri-reset";
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier SD interface logic

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sdctrl.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

SD interface logic implemented on Socionext UniPhier SoCs is attached outside SDHC, and has some SD related functions such as clock control, reset control, mode switch, and so on.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-pro5-sdctrl", "socionext,uniphier-pxs2-sdctrl", "socionext,uniphier-ld11-sdctrl", "socionext,uniphier-ld20-sdctrl", "socionext,uniphier-pxs3-sdctrl", "socionext,uniphier-nx1-sdctrl"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/socionext,uniphier-clock.yaml#

reset-controller — not listed as required here #

Shared schema rule ($ref): /schemas/reset/socionext,uniphier-reset.yaml#

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) #

syscon@59810000 {
    compatible = "socionext,uniphier-ld20-sdctrl",
                 "simple-mfd", "syscon";
    reg = <0x59810000 0x400>;

    clock-controller {
        compatible = "socionext,uniphier-ld20-sd-clock";
        #clock-cells = <1>;
    };

    reset-controller {
        compatible = "socionext,uniphier-ld20-sd-reset";
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier SoC-glue logic debug part

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue-debug.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

SoC-glue logic debug part implemented on Socionext UniPhier SoCs is a collection of miscellaneous function registers handling signals outside system components for debug and monitor use.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-ld4-soc-glue-debug", "socionext,uniphier-pro4-soc-glue-debug", "socionext,uniphier-pro5-soc-glue-debug", "socionext,uniphier-pxs2-soc-glue-debug", "socionext,uniphier-sld8-soc-glue-debug", "socionext,uniphier-ld11-soc-glue-debug", "socionext,uniphier-ld20-soc-glue-debug", "socionext,uniphier-pxs3-soc-glue-debug", "socionext,uniphier-nx1-soc-glue-debug"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

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): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^efuse@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/nvmem/socionext,uniphier-efuse.yaml#

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) #

syscon@5f900000 {
    compatible = "socionext,uniphier-pxs2-soc-glue-debug",
                 "simple-mfd", "syscon";
    reg = <0x5f900000 0x2000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0 0x5f900000 0x2000>;

    efuse@100 {
        compatible = "socionext,uniphier-efuse";
        reg = <0x100 0x28>;
    };
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier SoC-glue logic

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

SoC-glue logic implemented on Socionext UniPhier SoCs is a collection of miscellaneous function registers handling signals outside system components.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-ld4-soc-glue", "socionext,uniphier-pro4-soc-glue", "socionext,uniphier-pro5-soc-glue", "socionext,uniphier-pxs2-soc-glue", "socionext,uniphier-sld8-soc-glue", "socionext,uniphier-ld11-soc-glue", "socionext,uniphier-ld20-soc-glue", "socionext,uniphier-pxs3-soc-glue", "socionext,uniphier-nx1-soc-glue"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

pinctrl — not listed as required here #

Shared schema rule ($ref): /schemas/pinctrl/socionext,uniphier-pinctrl.yaml#

usb-hub — not listed as required here #

Shared schema rule ($ref): /schemas/phy/socionext,uniphier-usb2-phy.yaml#

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/socionext,uniphier-clock.yaml#

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "socionext,uniphier-pro4-soc-glue", "socionext,uniphier-ld11-soc-glue"

When the condition matches (then) #

Properties and child nodes (properties)

usb-hub — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "socionext,uniphier-pro4-soc-glue"

When the condition matches (then) #

Properties and child nodes (properties)

clock-controller — not listed as required here

false — Not permitted by this property rule.

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) #

syscon@5f800000 {
    compatible = "socionext,uniphier-pro4-soc-glue",
                 "simple-mfd", "syscon";
    reg = <0x5f800000 0x2000>;

    pinctrl {
        compatible = "socionext,uniphier-pro4-pinctrl";
    };

    usb-hub {
        compatible = "socionext,uniphier-pro4-usb2-phy";
        #address-cells = <1>;
        #size-cells = <0>;

        phy@0 {
            reg = <0>;
            #phy-cells = <0>;
        };

        phy@1 {
            reg = <1>;
            #phy-cells = <0>;
        };

        phy@2 {
            reg = <2>;
            #phy-cells = <0>;
        };

        phy@3 {
            reg = <3>;
            #phy-cells = <0>;
        };
    };

    clock-controller {
        compatible = "socionext,uniphier-pro4-sg-clock";
        #clock-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Socionext UniPhier system controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sysctrl.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

System controller implemented on Socionext UniPhier SoCs has multiple functions such as clock control, reset control, internal watchdog timer, thermal management, and so on.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-ld4-sysctrl", "socionext,uniphier-pro4-sysctrl", "socionext,uniphier-pro5-sysctrl", "socionext,uniphier-pxs2-sysctrl", "socionext,uniphier-sld8-sysctrl", "socionext,uniphier-ld11-sysctrl", "socionext,uniphier-ld20-sysctrl", "socionext,uniphier-pxs3-sysctrl", "socionext,uniphier-nx1-sysctrl"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/socionext,uniphier-clock.yaml#

reset-controller — not listed as required here #

Shared schema rule ($ref): /schemas/reset/socionext,uniphier-reset.yaml#

watchdog — not listed as required here #

Shared schema rule ($ref): /schemas/watchdog/socionext,uniphier-wdt.yaml#

thermal-sensor — not listed as required here #

Shared schema rule ($ref): /schemas/thermal/socionext,uniphier-thermal.yaml#

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "socionext,uniphier-ld4-sysctrl"

When the condition matches (then) #

Properties and child nodes (properties)

watchdog — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "socionext,uniphier-ld4-sysctrl", "socionext,uniphier-pro4-sysctrl", "socionext,uniphier-sld8-sysctrl", "socionext,uniphier-ld11-sysctrl"

When the condition matches (then) #

Properties and child nodes (properties)

thermal-sensor — not listed as required here

false — Not permitted by this property rule.

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) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
syscon@61840000 {
    compatible = "socionext,uniphier-ld20-sysctrl",
                 "simple-mfd", "syscon";
    reg = <0x61840000 0x4000>;

    clock-controller {
        compatible = "socionext,uniphier-ld20-clock";
        #clock-cells = <1>;
    };

    reset-controller {
        compatible = "socionext,uniphier-ld20-reset";
        #reset-cells = <1>;
    };

    watchdog {
        compatible = "socionext,uniphier-wdt";
    };

    thermal-sensor {
        compatible = "socionext,uniphier-ld20-thermal";
        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
        #thermal-sensor-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Sophgo CV18XX/SG200X SoC top system controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#"

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

Maintainers (maintainers): "Inochi Amaoto <inochiama@outlook.com>"

The Sophgo CV18XX/SG200X SoC top misc system controller provides register access to configure related modules.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "sophgo,cv1800b-top-syscon"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

dma-router@154 — not listed as required here #

Shared schema rule ($ref): /schemas/dma/sophgo,cv1800b-dmamux.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

phy@48 — not listed as required here #

Shared schema rule ($ref): /schemas/phy/sophgo,cv1800b-usb2-phy.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#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/clock/sophgo,cv1800.h>

syscon@3000000 {
  compatible = "sophgo,cv1800b-top-syscon", "syscon", "simple-mfd";
  reg = <0x03000000 0x1000>;
  #address-cells = <1>;
  #size-cells = <1>;

  phy@48 {
    compatible = "sophgo,cv1800b-usb2-phy";
    reg = <0x48 0x4>;
    #phy-cells = <0>;
    clocks = <&clk CLK_USB_125M>,
             <&clk CLK_USB_33K>,
             <&clk CLK_USB_12M>;
    clock-names = "app", "stb", "lpm";
    resets = <&rst 58>;
  };

  dma-router@154 {
    compatible = "sophgo,cv1800b-dmamux";
    reg = <0x154 0x8>, <0x298 0x4>;
    #dma-cells = <2>;
    dma-masters = <&dmac>;
  };
};

Source notes #

Annotations retained from the schema source

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

Sophgo SG2044 SoC TOP system controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/sophgo/sophgo,sg2044-top-syscon.yaml#"

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

Maintainers (maintainers): "Inochi Amaoto <inochiama@gmail.com>"

The Sophgo SG2044 TOP system controller is a hardware block grouping multiple small functions, such as clocks and some other internal function.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "sophgo,sg2044-top-syscon"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/sophgo,sg2044-pll.h> for valid clock.

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

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

false

Not allowed by this rule.

Examples (examples) #

syscon@50000000 {
  compatible = "sophgo,sg2044-top-syscon", "syscon";
  reg = <0x50000000 0x1000>;
  #clock-cells = <1>;
  clocks = <&osc>;
};

Source notes #

Annotations retained from the schema source

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

Sophgo SoC-based boards

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/sophgo/sophgo.yaml#"

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

Maintainers (maintainers): "Chao Wei <chao.wei@sophgo.com>", "Chen Wang <unicorn_wang@outlook.com>"

Sophgo SoC-based boards

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exact value (const): "/"

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "milkv,duo"

Item 2

Exact value (const): "sophgo,cv1800b"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "sophgo,huashan-pi"

Item 2

Exact value (const): "sophgo,cv1812h"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "milkv,duo-module-01-evb"

Item 2

Exact value (const): "milkv,duo-module-01"

Item 3

Exact value (const): "sophgo,sg2000"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "sipeed,licheerv-nano-b"

Item 2

Exact value (const): "sipeed,licheerv-nano"

Item 3

Exact value (const): "sophgo,sg2002"

Rule 5

Array item rules (items)

Item 1

Allowed values (enum): "milkv,pioneer", "sophgo,sg2042-evb-v1", "sophgo,sg2042-evb-v2"

Item 2

Exact value (const): "sophgo,sg2042"

Rule 6

Array item rules (items)

Item 1

Allowed values (enum): "sophgo,srd3-10"

Item 2

Exact value (const): "sophgo,sg2044"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

SpacemiT K1/K3 SoC System Controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/spacemit/spacemit,k1-syscon.yaml#"

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

Maintainers (maintainers): "Haylen Chu <heylenay@4d2.org>"

System controllers found on SpacemiT K1/K3 SoC, which are capable of clock, reset and power-management functions.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "spacemit,k1-syscon-apbc", "spacemit,k1-syscon-apmu", "spacemit,k1-syscon-mpmu", "spacemit,k1-syscon-rcpu", "spacemit,k1-syscon-rcpu2", "spacemit,k1-syscon-apbc2", "spacemit,k3-syscon-apbc", "spacemit,k3-syscon-apmu", "spacemit,k3-syscon-dciu", "spacemit,k3-syscon-mpmu"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 4

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "osc"

Item 2

Exact value (const): "vctcxo_1m"

Item 3

Exact value (const): "vctcxo_3m"

Item 4

Exact value (const): "vctcxo_24m"

#clock-cells — not listed as required here #

Exact value (const): 1

For K1 SoC, check <dt-bindings/clock/spacemit,k1-syscon.h> for valid indices. For K3 SoC, check <dt-bindings/clock/spacemit,k3-clocks.h> for valid indices.

#power-domain-cells — not listed as required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

ID of the reset controller line. Valid IDs are defined in corresponding files:

For SpacemiT K1, see include/dt-bindings/clock/spacemit,k1-syscon.h For SpacemiT K3, see include/dt-bindings/reset/spacemit,k3-resets.h

Required in this object (required): "compatible", "reg", "#reset-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "spacemit,k1-syscon-apmu", "spacemit,k1-syscon-mpmu", "spacemit,k3-syscon-apmu", "spacemit,k3-syscon-mpmu"

When the condition matches (then) #

Required in this object (required): "#power-domain-cells"

When the condition does not match (else) #

Properties and child nodes (properties)

#power-domain-cells — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "spacemit,k1-syscon-apbc", "spacemit,k1-syscon-apmu", "spacemit,k1-syscon-mpmu", "spacemit,k3-syscon-apbc", "spacemit,k3-syscon-apmu", "spacemit,k3-syscon-mpmu"

When the condition matches (then) #

Required in this object (required): "clocks", "clock-names", "#clock-cells"

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

false

Not allowed by this rule.

Examples (examples) #

system-controller@d4050000 {
    compatible = "spacemit,k1-syscon-mpmu";
    reg = <0xd4050000 0x209c>;
    clocks = <&osc>, <&vctcxo_1m>, <&vctcxo_3m>, <&vctcxo_24m>;
    clock-names = "osc", "vctcxo_1m", "vctcxo_3m", "vctcxo_24m";
    #clock-cells = <1>;
    #power-domain-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

SC9863A Syscon

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/sprd/sprd,sc9863a-glbregs.yaml#"

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

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "sprd,sc9863a-glbregs"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — not listed as required here #

Maximum number of items (maxItems): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/clock/sprd,sc9863a-clk.yaml

Clock controllers

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

false

Not allowed by this rule.

Examples (examples) #

syscon@20e00000 {
  compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd";
  reg = <0x20e00000 0x4000>;
  ranges = <0 0x20e00000 0x4000>;
  #address-cells = <1>;
  #size-cells = <1>;

  apahb_gate: apahb-gate@0 {
    compatible = "sprd,sc9863a-apahb-gate";
    reg = <0x0 0x1020>;
    #clock-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

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

StarFive JH7110 SoC system controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml#"

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

Maintainers (maintainers): "William Qiu <william.qiu@starfivetech.com>"

The StarFive JH7110 SoC system controller provides register information such as offset, mask and shift to configure related modules such as MMC and PCIe.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "starfive,jh7110-sys-syscon"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "starfive,jh7110-aon-syscon", "starfive,jh7110-stg-syscon"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/starfive,jh7110-pll.yaml#

Value type (type): "object"

#power-domain-cells — not listed as required here #

Exact value (const): 1

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "starfive,jh7110-sys-syscon"

When the condition matches (then) #

Required in this object (required): "clock-controller"

When the condition does not match (else) #

Properties and child nodes (properties)

clock-controller — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "starfive,jh7110-aon-syscon"

When the condition matches (then) #

Required in this object (required): "#power-domain-cells"

When the condition does not match (else) #

Properties and child nodes (properties)

#power-domain-cells — not listed as required here

false — Not permitted by this property rule.

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

false

Not allowed by this rule.

Examples (examples) #

syscon@10240000 {
    compatible = "starfive,jh7110-stg-syscon", "syscon";
    reg = <0x10240000 0x1000>;
};

syscon@13030000 {
    compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd";
    reg = <0x13030000 0x1000>;

    clock-controller {
        compatible = "starfive,jh7110-pll";
        clocks = <&osc>;
        #clock-cells = <1>;
    };
};

syscon@17010000 {
    compatible = "starfive,jh7110-aon-syscon", "syscon";
    reg = <0x17010000 0x1000>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

STMicroelectronics STi platform sysconfig

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml#"

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

Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>"

Binding for the various sysconfig nodes used within the STi platform device-tree to point to some common configuration registers used by other nodes.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "st,stih407-core-syscfg", "st,stih407-flash-syscfg", "st,stih407-front-syscfg", "st,stih407-lpm-syscfg", "st,stih407-rear-syscfg", "st,stih407-sbc-reg-syscfg", "st,stih407-sbc-syscfg"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

sti-sasg-codec — not listed as required here #

STi internal audio codec

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "st,stih407-sas-codec"

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) #

syscfg_sbc: syscon@9620000 {
    compatible = "st,stih407-sbc-syscfg", "syscon";
    reg = <0x9620000 0x1000>;
};

Source notes #

Annotations retained from the schema source

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

NVIDIA compliant embedded controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/tegra/nvidia,nvec.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 #

Exact value (const): "nvidia,nvec"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

divider clock

Item 2

fast clock

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "div-clk"

Item 2

Exact value (const): "fast-clk"

resets — required here #

Array item rules (items) #

Item 1

module reset

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "i2c"

clock-frequency — required here #

true — No constraints added by this property rule.

request-gpios — required here #

phandle to the GPIO used for EC request

slave-addr — required here #

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

I2C address of the slave controller

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names", "clock-frequency", "request-gpios", "slave-addr"

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

i2c@7000c500 {
    compatible = "nvidia,nvec";
    reg = <0x7000c500 0x100>;
    interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
    clock-frequency = <80000>;
    request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
    slave-addr = <138>;
    clocks = <&tegra_car TEGRA20_CLK_I2C3>,
             <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
    clock-names = "div-clk", "fast-clk";
    resets = <&tegra_car 67>;
    reset-names = "i2c";
};

Source notes #

Annotations retained from the schema source

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

NVIDIA Tegra AHB

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-ahb.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

Allowed values (enum): "nvidia,tegra20-ahb", "nvidia,tegra30-ahb"

Rule 2

Array item rules (items)

Item 1

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

Item 2

Exact value (const): "nvidia,tegra30-ahb"

reg — required here #

Maximum number of items (maxItems): 1

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) #

ahb@6000c004 {
    compatible = "nvidia,tegra20-ahb";
    reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
};

Source notes #

Annotations retained from the schema source

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

NVIDIA Tegra Flow Controller

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-flowctrl.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

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

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-flowctrl"

Item 2

Exact value (const): "nvidia,tegra124-flowctrl"

reg — required here #

Maximum number of items (maxItems): 1

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) #

flow-controller@60007000 {
    compatible = "nvidia,tegra20-flowctrl";
    reg = <0x60007000 0x1000>;
};

Source notes #

Annotations retained from the schema source

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

Tegra Power Management Controller (PMC)

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

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

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

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

Properties and child nodes (properties) #

compatible — required here #

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

reg — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "clk32k_in"

clocks — required here #

Maximum number of items (maxItems): 2

#clock-cells — required here #

Exact value (const): 1

Tegra PMC has clk_out_1, clk_out_2, and clk_out_3. PMC also has blink control which allows 32Khz clock output to Tegra blink pad.

Consumer of PMC clock should specify the desired clock by having the clock ID in its "clocks" phandle cell with PMC clock provider. See include/dt-bindings/soc/tegra-pmc.h for the list of Tegra PMC clock IDs.

#interrupt-cells — not listed as required here #

Exact value (const): 2

Specifies number of cells needed to encode an interrupt source.

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

nvidia,invert-interrupt — not listed as required here #

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

Inverts the PMU interrupt signal. The PMU is an external Power Management Unit, whose interrupt output signal is fed into the PMC. This signal is optionally inverted, and then fed into the ARM GIC. The PMC is not involved in the detection or handling of this interrupt signal, merely its inversion.

nvidia,core-power-req-active-high — not listed as required here #

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

core power request active-high

nvidia,sys-clock-req-active-high — not listed as required here #

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

system clock request active-high

nvidia,combined-power-req — not listed as required here #

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

combined power request for CPU and core

nvidia,cpu-pwr-good-en — not listed as required here #

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

CPU power good signal from external PMIC to PMC is enabled

nvidia,suspend-mode — not listed as required here #

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

the suspend mode that the platform should use

Exactly one of these rules must match (oneOf) #

Rule 1

LP0, CPU + Core voltage off and DRAM in self-refresh

Exact value (const): 0

Rule 2

LP1, CPU voltage off and DRAM in self-refresh

Exact value (const): 1

Rule 3

LP2, CPU voltage off

Exact value (const): 2

nvidia,cpu-pwr-good-time — not listed as required here #

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

CPU power good time in microseconds

nvidia,cpu-pwr-off-time — not listed as required here #

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

CPU power off time in microseconds

nvidia,core-pwr-good-time — not listed as required here #

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

core power good time in microseconds

Array item rules (items) #

Item 1

oscillator stable time

Item 2

power stable time

nvidia,core-pwr-off-time — not listed as required here #

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

core power off time in microseconds

nvidia,lp0-vec — not listed as required here #

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

Starting address and length of LP0 vector. The LP0 vector contains the warm boot code that is executed by AVP when resuming from the LP0 state. The AVP (Audio-Video Processor) is an ARM7 processor and always being the first boot processor when chip is power on or resume from deep sleep mode. When the system is resumed from the deep sleep mode, the warm boot code will restore some PLLs, clocks and then brings up CPU0 for resuming the system.

Array item rules (items) #

Item 1

starting address of LP0 vector

Item 2

length of LP0 vector

core-supply — not listed as required here #

phandle to voltage regulator connected to the SoC core power rail

core-domain — not listed as required here #

Value type (type): "object"

The vast majority of hardware blocks of Tegra SoC belong to a core power domain, which has a dedicated voltage rail that powers the blocks.

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

operating-points-v2 — required here

Should contain level, voltages and opp-supported-hw property. The supported-hw is a bitfield indicating SoC speedo or process ID mask.

#power-domain-cells — required here

Exact value (const): 0

Required in this object (required): "operating-points-v2", "#power-domain-cells"

i2c-thermtrip — not listed as required here #

Value type (type): "object"

On Tegra30, Tegra114 and Tegra124 if i2c-thermtrip subnode exists, hardware-triggered thermal reset will be enabled.

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

nvidia,i2c-controller-id — required here

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

ID of I2C controller to send poweroff command to PMU. Valid values are described in section 9.2.148 "APBDEV_PMC_SCRATCH53_0" of the Tegra K1 Technical Reference Manual.

nvidia,bus-addr — required here

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

bus address of the PMU on the I2C bus

nvidia,reg-addr — required here

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

PMU I2C register address to issue poweroff command

nvidia,reg-data — required here

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

power-off command to write to PMU

nvidia,pinmux-id — not listed as required here

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

Pinmux used by the hardware when issuing power-off command. Defaults to 0. Valid values are described in section 12.5.2 "Pinmux Support" of the Tegra4 Technical Reference Manual.

Required in this object (required): "nvidia,i2c-controller-id", "nvidia,bus-addr", "nvidia,reg-addr", "nvidia,reg-data"

powergates — not listed as required here #

Value type (type): "object"

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

false

Not allowed by this rule.

This node contains a hierarchy of power domain nodes, which should match the powergates on the Tegra SoC. Each powergate node represents a power- domain on the Tegra SoC that can be power-gated by the Tegra PMC.

Hardware blocks belonging to a power domain should contain "power-domains" property that is a phandle pointing to corresponding powergate node.

The name of the powergate node should be one of the below. Note that not every powergate is applicable to all Tegra devices and the following list shows which powergates are applicable to which devices.

Please refer to Tegra TRM for mode details on the powergate nodes to use for each power-gate block inside Tegra.

  Name     Description                   Devices Applicable
  --------------------------------------------------------------
  3d       3D Graphics                   Tegra20/114/124/210
  3d0      3D Graphics 0                 Tegra30
  3d1      3D Graphics 1                 Tegra30
  aud      Audio                         Tegra210
  dfd      Debug                         Tegra210
  dis      Display A                     Tegra114/124/210
  disb     Display B                     Tegra114/124/210
  heg      2D Graphics                   Tegra30/114/124/210
  iram     Internal RAM                  Tegra124/210
  mpe      MPEG Encode                   All
  nvdec    NVIDIA Video Decode Engine    Tegra210
  nvjpg    NVIDIA JPEG Engine            Tegra210
  pcie     PCIE                          Tegra20/30/124/210
  sata     SATA                          Tegra30/124/210
  sor      Display interfaces            Tegra124/210
  ve2      Video Encode Engine 2         Tegra210
  venc     Video Encode Engine           All
  vdec     Video Decode Engine           Tegra20/30/114/124
  vic      Video Imaging Compositor      Tegra124/210
  xusba    USB Partition A               Tegra114/124/210
  xusbb    USB Partition B               Tegra114/124/210
  xusbc    USB Partition C               Tegra114/124/210

Properties matching a name pattern (patternProperties) #

^[a-z0-9]+$ — name matches this regular expression

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

resets — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

power-domains — not listed as required here

Maximum number of items (maxItems): 1

#power-domain-cells — required here

Exact value (const): 0

Must be 0.

Required in this object (required): "clocks", "resets", "#power-domain-cells"

pinmux — not listed as required here #

Value type (type): "object"

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

Value type (type): "object"

This is a pad configuration node. On Tegra SoCs a pad is a set of pins which are configured as a group. The pin grouping is a fixed attribute of the hardware. The PMC can be used to set pad power state and signaling voltage. A pad can be either in active or power down mode. The support for power state and signaling voltage configuration varies depending on the pad in question. 3.3V and 1.8V signaling voltages are supported on pins where software controllable signaling voltage switching is available.

The pad configuration state nodes are placed under the pmc node and they are referred to by the pinctrl client properties. For more information see:

  Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt

The pad name should be used as the value of the pins property in pin configuration nodes.

The following pads are present on Tegra124 and Tegra132:

  audio, bb, cam, comp, csia, csb, cse, dsi, dsib, dsic, dsid, hdmi,
  hsic, hv, lvds, mipi-bias, nand, pex-bias, pex-clk1, pex-clk2,
  pex-cntrl, sdmmc1, sdmmc3, sdmmc4, sys_ddc, uart, usb0, usb1, usb2,
  usb_bias

The following pads are present on Tegra210:

  audio, audio-hv, cam, csia, csib, csic, csid, csie, csif, dbg,
  debug-nonao, dmic, dp, dsi, dsib, dsic, dsid, emmc, emmc2, gpio,
  hdmi, hsic, lvds, mipi-bias, pex-bias, pex-clk1, pex-clk2, pex-cntrl,
  sdmmc1, sdmmc3, spi, spi-hv, uart, usb0, usb1, usb2, usb3, usb-bias

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

false

Not allowed by this rule.

Properties and child nodes (properties)

pins — required here

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

Must contain name of the pad(s) to be configured.

low-power-enable — not listed as required here

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

Configure the pad into power down mode.

low-power-disable — not listed as required here

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

Configure the pad into active mode.

power-source — not listed as required here

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

Must contain either TEGRA_IO_PAD_VOLTAGE_1V8 or TEGRA_IO_PAD_VOLTAGE_3V3 to select between signaling voltages. The values are defined in:

  include/dt-bindings/pinctrl/pinctrl-tegra-io-pad.h

Power state can be configured on all Tegra124 and Tegra132 pads. None of the Tegra124 or Tegra132 pads support signaling voltage switching. All of the listed Tegra210 pads except pex-cntrl support power state configuration. Signaling voltage switching is supported on the following Tegra210 pads:

  audio, audio-hv, cam, dbg, dmic, gpio, pex-cntrl, sdmmc1, sdmmc3,
  spi, spi-hv, uart

Required in this object (required): "pins"

Required in this object (required): "compatible", "reg", "clock-names", "clocks", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra124-pmc"

When the condition matches (then) #

Properties and child nodes (properties)

pinmux — not listed as required here

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

Value type (type): "object"

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "audio", "bb", "cam", "comp", "csia", "csb", "cse", "dsi", "dsib", "dsic", "dsid", "hdmi", "hsic", "hv", "lvds", "mipi-bias", "nand", "pex-bias", "pex-clk1", "pex-clk2", "pex-cntrl", "sdmmc1", "sdmmc3", "sdmmc4", "sys_ddc", "uart", "usb0", "usb1", "usb2", "usb_bias"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nvidia,tegra210-pmc"

When the condition matches (then) #

Properties and child nodes (properties)

pinmux — not listed as required here

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

Value type (type): "object"

Properties and child nodes (properties)

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "audio", "audio-hv", "cam", "csia", "csib", "csic", "csid", "csie", "csif", "dbg", "debug-nonao", "dmic", "dp", "dsi", "dsib", "dsic", "dsid", "emmc", "emmc2", "gpio", "hdmi", "hsic", "lvds", "mipi-bias", "pex-bias", "pex-clk1", "pex-clk2", "pex-cntrl", "sdmmc1", "sdmmc3", "spi", "spi-hv", "uart", "usb0", "usb1", "usb2", "usb3", "usb-bias"

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

false

Not allowed by this rule.

Property dependencies (dependencies) #

nvidia,suspend-mode — applies when this property is present #

Also requires: "nvidia,core-pwr-off-time", "nvidia,cpu-pwr-off-time"

nvidia,core-pwr-off-time — applies when this property is present #

Also requires: "nvidia,core-pwr-good-time"

nvidia,cpu-pwr-off-time — applies when this property is present #

Also requires: "nvidia,cpu-pwr-good-time"

Examples (examples) #

#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
#include <dt-bindings/soc/tegra-pmc.h>

pmc@7000e400 {
    compatible = "nvidia,tegra210-pmc";
    reg = <0x7000e400 0x400>;
    core-supply = <&regulator>;
    clocks = <&tegra_car TEGRA210_CLK_PCLK>, <&clk32k_in>;
    clock-names = "pclk", "clk32k_in";
    #clock-cells = <1>;

    nvidia,invert-interrupt;
    nvidia,suspend-mode = <0>;
    nvidia,cpu-pwr-good-time = <0>;
    nvidia,cpu-pwr-off-time = <0>;
    nvidia,core-pwr-good-time = <4587 3876>;
    nvidia,core-pwr-off-time = <39065>;
    nvidia,core-power-req-active-high;
    nvidia,sys-clock-req-active-high;

    pd_core: core-domain {
        operating-points-v2 = <&core_opp_table>;
        #power-domain-cells = <0>;
    };

    powergates {
        pd_audio: aud {
            clocks = <&tegra_car TEGRA210_CLK_APE>,
                     <&tegra_car TEGRA210_CLK_APB2APE>;
            resets = <&tegra_car 198>;
            power-domains = <&pd_core>;
            #power-domain-cells = <0>;
        };

        pd_xusbss: xusba {
            clocks = <&tegra_car TEGRA210_CLK_XUSB_SS>;
            resets = <&tegra_car TEGRA210_CLK_XUSB_SS>;
            power-domains = <&pd_core>;
            #power-domain-cells = <0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 27: Tegra clock of the same name

Line 29: 32 KHz clock input

Texas Instruments K3 NavigatorSS Ring Accelerator

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/ti/k3-ringacc.yaml#"

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

Maintainers (maintainers): "Santosh Shilimkar <ssantosh@kernel.org>", "Grygorii Strashko <grygorii.strashko@ti.com>"

The Ring Accelerator (RA) is a machine which converts read/write accesses from/to a constant address into corresponding read/write accesses from/to a circular data structure in memory. The RA eliminates the need for each DMA controller which needs to access ring elements from having to know the current state of the ring (base address, current offset). The DMA controller performs a read or write access to a specific address range (which maps to the source interface on the RA) and the RA replaces the address for the transaction with a new address which corresponds to the head or tail element of the ring (head for reads, tail for writes).

The Ring Accelerator is a hardware module that is responsible for accelerating management of the packet queues. The K3 SoCs can have more than one RA instances

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/arm/keystone/ti,k3-sci-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "ti,am654-navss-ringacc"

reg — required here #

Minimum number of items (minItems): 4

Array item rules (items) #

Item 1

real time registers regions

Item 2

fifos registers regions

Item 3

proxy gcfg registers regions

Item 4

proxy target registers regions

Item 5

configuration registers region

reg-names — required here #

Minimum number of items (minItems): 4

Array item rules (items) #

Item 1

Exact value (const): "rt"

Item 2

Exact value (const): "fifos"

Item 3

Exact value (const): "proxy_gcfg"

Item 4

Exact value (const): "proxy_target"

Item 5

Exact value (const): "cfg"

msi-parent — required here #

true — No constraints added by this property rule.

ti,num-rings — required here #

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

Number of rings supported by RA

ti,sci-rm-range-gp-rings — required here #

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

TI-SCI RM subtype for GP ring range

Required in this object (required): "compatible", "reg", "reg-names", "msi-parent", "ti,num-rings", "ti,sci-rm-range-gp-rings", "ti,sci", "ti,sci-dev-id"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
    #address-cells = <2>;
    #size-cells = <2>;

    ringacc: ringacc@3c000000 {
        compatible = "ti,am654-navss-ringacc";
        reg = <0x0 0x3c000000 0x0 0x400000>,
              <0x0 0x38000000 0x0 0x400000>,
              <0x0 0x31120000 0x0 0x100>,
              <0x0 0x33000000 0x0 0x40000>,
              <0x0 0x31080000 0x0 0x40000>;
              reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
        ti,num-rings = <818>;
        ti,sci-rm-range-gp-rings = <0x2>; /* GP ring range */
        ti,sci = <&dmsc>;
        ti,sci-dev-id = <187>;
        msi-parent = <&inta_main_udmass>;
    };
};

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) 2020 Texas Instruments Incorporated - http://www.ti.com/

TI-SCI generic power domain

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/ti/sci-pm-domain.yaml#"

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

Maintainers (maintainers): "Nishanth Menon <nm@ti.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/power/power-domain.yaml#

Some TI SoCs contain a system controller (like the Power Management Micro Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling the state of the various hardware modules present on the SoC. Communication between the host processor running an OS and the system controller happens through a protocol called TI System Control Interface (TI-SCI protocol).

This PM domain node represents the global PM domain managed by the TI-SCI controller. Since this relies on the TI SCI protocol to communicate with the TI-SCI controller, it must be a child of the TI-SCI controller node.

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "ti,sci-pm-domain"

#power-domain-cells — not listed as required here #

Allowed values (enum): 1, 2

The two cells represent values that the TI-SCI controller defines. The first cell should contain the device ID. The second cell, if cell-value is 2, should be one of the following TI_SCI_PD_EXCLUSIVE - Allows the device to be exclusively controlled or TI_SCI_PD_SHARED - Allows the device to be shared by multiple hosts. Please refer to dt-bindings/soc/ti,sci_pm_domain.h for the definitions. Please see https://software-dl.ti.com/tisci/esd/latest/index.html for protocol documentation for the values to be used for different devices.

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

false

Not allowed by this rule.

Examples (examples) #

k2g_pds: power-controller {
    compatible = "ti,sci-pm-domain";
    #power-domain-cells = <1>;
};
k3_pds: power-controller {
    compatible = "ti,sci-pm-domain";
    #power-domain-cells = <2>;
};

Source notes #

Annotations retained from the schema source

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

Texas Instruments AM654 Serdes Control Syscon

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/ti/ti,am654-serdes-ctrl.yaml#"

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

Maintainers (maintainers): "Nishanth Menon <nm@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "ti,am654-serdes-ctrl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

mux-controller — required here #

Shared schema rule ($ref): /schemas/mux/reg-mux.yaml#

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

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

false

Not allowed by this rule.

Examples (examples) #

clock@4080 {
    compatible = "ti,am654-serdes-ctrl", "syscon", "simple-mfd";
    reg = <0x4080 0x4>;

    mux-controller {
        compatible = "mmio-mux";
        #mux-control-cells = <1>;
        mux-reg-masks = <0x0 0x3>; /* lane select */
    };
};

Source notes #

Annotations retained from the schema source

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

TI J721e System Controller Registers R/W

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

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

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

This represents the Control Module registers (CTRL_MMR0) on the SoC. System controller node represents a register region containing a set of miscellaneous registers. The registers are not cohesive enough to represent as any specific type of device. The typical use-case is for some other node's driver, or platform-specific code, to acquire a reference to the syscon node (e.g. by phandle, node path, or search using a specific compatible value), interrogate the node (or associated OS driver) to determine the location of the registers, and access the registers directly.

Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@kernel.org>", "Roger Quadros <rogerq@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "ti,am654-system-controller", "ti,j7200-system-controller", "ti,j721e-system-controller", "ti,j721s2-system-controller"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^mux-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

This is the SERDES lane control mux.

^clock-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/ti,am654-ehrpwm-tbclk.yaml#

Clock provider for TI EHRPWM nodes.

phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/phy/ti,phy-gmii-sel.yaml#

The phy node corresponding to the ethernet MAC.

^chipid@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/hwinfo/ti,k3-socinfo.yaml#

The node corresponding to SoC chip identification.

^pcie-ctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

The node corresponding to PCIe control register.

^clock@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/soc/ti/ti,am654-serdes-ctrl.yaml#

This is the Serdes Control region.

^dss-oldi-io-ctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/mfd/syscon.yaml#

This is the DSS OLDI CTRL region.

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

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

false

Not allowed by this rule.

Examples (examples) #

scm_conf: scm-conf@100000 {
    compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
    reg = <0x00100000 0x1c000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    serdes_ln_ctrl: mux-controller@4080 {
        compatible = "mmio-mux";
        reg = <0x00004080 0x50>;

        #mux-control-cells = <1>;
        mux-reg-masks =
            <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */
            <0x4090 0x3>, <0x4094 0x3>, /* SERDES1 lane0/1 select */
            <0x40a0 0x3>, <0x40a4 0x3>, /* SERDES2 lane0/1 select */
            <0x40b0 0x3>, <0x40b4 0x3>, /* SERDES3 lane0/1 select */
            <0x40c0 0x3>, <0x40c4 0x3>, <0x40c8 0x3>, <0x40cc 0x3>;
            /* SERDES4 lane0/1/2/3 select */
    };

    clock-controller@4140 {
        compatible = "ti,am654-ehrpwm-tbclk";
        reg = <0x4140 0x18>;
        #clock-cells = <1>;
    };

    chipid@14 {
        compatible = "ti,am654-chipid";
        reg = <0x14 0x4>;
    };

    pcie0_ctrl: pcie-ctrl@4070 {
        compatible = "ti,j784s4-pcie-ctrl", "syscon";
        reg = <0x4070 0x4>;
    };
};

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) 2020 Texas Instruments Incorporated - http://www.ti.com/

Line 48: Optional children

Texas Instruments K3 BIST

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/ti/ti,j784s4-bist.yaml#"

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

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/arm/keystone/ti,k3-sci-common.yaml#

The BIST (Built-In Self Test) module is an IP block present in K3 devices that support triggering of BIST tests, both PBIST (Memory BIST) and LBIST (Logic BIST) on a core. Both tests are destructive in nature. At boot, BIST is executed by hardware for the MCU domain automatically as part of HW POST.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,j784s4-bist"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cfg"

Item 2

Exact value (const): "ctrl_mmr"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reg-names", "ti,sci-dev-id"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/soc/ti,sci_pm_domain.h>
bus {
    #address-cells = <2>;
    #size-cells = <2>;
    safety-selftest@33c0000 {
        compatible = "ti,j784s4-bist";
        reg = <0x00 0x033c0000 0x00 0x400>,
              <0x00 0x0010c1a0 0x00 0x01c>;
        reg-names = "cfg", "ctrl_mmr";
        clocks = <&k3_clks 237 7>;
        power-domains = <&k3_pds 237 TI_SCI_PD_EXCLUSIVE>;
        ti,sci-dev-id = <234>;
    };
};

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) 2025 Texas Instruments Incorporated

TI Programmable Real-Time Unit and Industrial Communication Subsystem

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

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

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

Maintainers (maintainers): "Suman Anna <s-anna@ti.com>"

The Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS a.k.a. PRUSS) is present on various TI SoCs such as AM335x, AM437x, Keystone 66AK2G, OMAP-L138/DA850 etc. A PRUSS consists of dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs), shared RAM, data and instruction RAMs, some internal peripheral modules to facilitate industrial communication, and an interrupt controller.

The programmable nature of the PRUs provide flexibility to implement custom
peripheral interfaces, fast real-time responses, or specialized data handling.
The common peripheral modules include the following,
  - an Ethernet MII_RT module with two MII ports
  - an MDIO port to control external Ethernet PHYs
  - an Industrial Ethernet Peripheral (IEP) to manage/generate Industrial
    Ethernet functions
  - an Enhanced Capture Module (eCAP)
  - an Industrial Ethernet Timer with 7/9 capture and 16 compare events
  - a 16550-compatible UART to support PROFIBUS
  - Enhanced GPIO with async capture and serial support

A PRU-ICSS subsystem can have up to three shared data memories. A PRU core acts on a primary Data RAM (there are usually 2 Data RAMs) at its address 0x0, but also has access to a secondary Data RAM (primary to the other PRU core) at its address 0x2000. A shared Data RAM, if present, can be accessed by both the PRU cores. The Interrupt Controller (INTC) and a CFG module are common to both the PRU cores. Each PRU core also has a private instruction RAM, and specific register spaces for Control and Debug functionalities.

Various sub-modules within a PRU-ICSS subsystem are represented as individual nodes and are defined using a parent-child hierarchy depending on their integration within the IP and the SoC. These nodes are described in the following sections.

PRU-ICSS Node ============== Each PRU-ICSS instance is represented as its own node with the individual PRU processor cores, the memories node, an INTC node and an MDIO node represented as child nodes within this PRUSS node. This node shall be a child of the corresponding interconnect bus nodes or target-module nodes.

See ../../mfd/syscon.yaml for generic SysCon binding details.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^(pruss|icssg)@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "ti,am3356-pruss", "ti,am4376-pruss0", "ti,am4376-pruss1", "ti,am5728-pruss", "ti,am625-pruss", "ti,am642-icssg", "ti,am654-icssg", "ti,j721e-icssg", "ti,k2g-pruss"

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): 1

ranges — required here #

Maximum number of items (maxItems): 1

dma-ranges — not listed as required here #

Maximum number of items (maxItems): 1

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

power-domains — not listed as required here #

This property is as per sci-pm-domain.txt.

clocks — not listed as required here #

Array item rules (items) #

Item 1

ICSSG_CORE Clock

Item 2

ICSSG_IEP Clock

Item 3

ICSSG_RGMII_MHZ_250 Clock

Item 4

ICSSG_RGMII_MHZ_50 Clock

Item 5

ICSSG_RGMII_MHZ_5 Clock

Item 6

ICSSG_UART Clock

Item 7

ICSSG_ICLK Clock

Properties matching a name pattern (patternProperties) #

memories@[a-f0-9]+$ — name matches this regular expression #

The various Data RAMs within a single PRU-ICSS unit are represented as a single node with the name 'memories'.

Value type (type): "object"

Properties and child nodes (properties) #

reg — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Address and size of the Data RAM0.

Item 2

Address and size of the Data RAM1.

Item 3

Address and size of the Shared Data RAM. Note that on AM437x one of two PRUSS units don't contain Shared RAM, while the second one has it.

reg-names — required here

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "dram0"

Item 2

Exact value (const): "dram1"

Item 3

Exact value (const): "shrdram2"

Required in this object (required): "reg", "reg-names"

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

false

Not allowed by this rule.

cfg@[a-f0-9]+$ — name matches this regular expression #

PRU-ICSS configuration space. CFG sub-module represented as a SysCon.

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ti,pruss-cfg"

Item 2

Exact value (const): "syscon"

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 1

reg — not listed as required here

Maximum number of items (maxItems): 1

ranges — not listed as required here

Maximum number of items (maxItems): 1

clocks — not listed as required here

Value type (type): "object"

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)

coreclk-mux@[a-f0-9]+$ — name matches this regular expression

This is applicable only for ICSSG (K3 SoCs). The ICSSG modules core clock can be set to one of the 2 sources: ICSSG_CORE_CLK or ICSSG_ICLK. This node models this clock mux and should have the name "coreclk-mux".

Value type (type): "object"

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 0

clocks — required here

Array item rules (items)

Item 1

ICSSG_CORE Clock

Item 2

ICSSG_ICLK Clock

assigned-clocks — not listed as required here

Maximum number of items (maxItems): 1

assigned-clock-parents — not listed as required here

Maximum number of items (maxItems): 1

Standard assigned-clocks-parents definition used for selecting mux parent (one of the mux input).

reg — not listed as required here

Maximum number of items (maxItems): 1

Required in this object (required): "clocks"

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

false

Not allowed by this rule.

iepclk-mux@[a-f0-9]+$ — name matches this regular expression

The IEP module can get its clock from 2 sources: ICSSG_IEP_CLK or CORE_CLK (OCP_CLK in older SoCs). This node models this clock mux and should have the name "iepclk-mux".

Value type (type): "object"

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 0

clocks — required here

Array item rules (items)

Item 1

ICSSG_IEP Clock

Item 2

Core Clock (OCP Clock in older SoCs)

assigned-clocks — not listed as required here

Maximum number of items (maxItems): 1

assigned-clock-parents — not listed as required here

Maximum number of items (maxItems): 1

Standard assigned-clocks-parents definition used for selecting mux parent (one of the mux input).

reg — not listed as required here

Maximum number of items (maxItems): 1

Required in this object (required): "clocks"

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

false

Not allowed by this rule.

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

false

Not allowed by this rule.

iep@[a-f0-9]+$ — name matches this regular expression #

Industrial Ethernet Peripheral to manage/generate Industrial Ethernet functions such as time stamping. Each PRUSS has either 1 IEP (on AM335x, AM437x, AM57xx & 66AK2G SoCs) or 2 IEPs (on K3 AM65x, J721E & AM64x SoCs). IEP is used for creating PTP clocks and generating PPS signals.

Value type (type): "object"

ecap@[a-f0-9]+$ — name matches this regular expression #

PRU-ICSS has a Enhanced Capture (eCAP) event module which can generate and capture periodic timer based events which will be used for features like RX Pacing to rise interrupt when the timer event has occurred. Each PRU-ICSS instance has one eCAP module irrespective of SOCs.

Shared schema rule ($ref): /schemas/net/ti,pruss-ecap.yaml#

Value type (type): "object"

mii-rt@[a-f0-9]+$ — name matches this regular expression #

Real-Time Ethernet to support multiple industrial communication protocols. MII-RT sub-module represented as a SysCon.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ti,pruss-mii"

Item 2

Exact value (const): "syscon"

reg — not listed as required here

Maximum number of items (maxItems): 1

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

false

Not allowed by this rule.

mii-g-rt@[a-f0-9]+$ — name matches this regular expression #

The Real-time Media Independent Interface to support multiple industrial communication protocols (G stands for Gigabit). MII-G-RT sub-module represented as a SysCon.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ti,pruss-mii-g"

Item 2

Exact value (const): "syscon"

reg — not listed as required here

Maximum number of items (maxItems): 1

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

false

Not allowed by this rule.

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

PA-STATS sub-module represented as a SysCon. PA_STATS is a set of registers where different statistics related to ICSSG, are dumped by ICSSG firmware. This syscon sub-module will help the device to access/read/write those statistics.

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ti,pruss-pa-st"

Item 2

Exact value (const): "syscon"

reg — not listed as required here

Maximum number of items (maxItems): 1

interrupt-controller@[a-f0-9]+$ — name matches this regular expression #

PRUSS INTC Node. Each PRUSS has a single interrupt controller instance that is common to all the PRU cores. This should be represented as an interrupt-controller node.

Shared schema rule ($ref): /schemas/interrupt-controller/ti,pruss-intc.yaml#

Value type (type): "object"

mdio@[a-f0-9]+$ — name matches this regular expression #

MDIO Node. Each PRUSS has an MDIO module that can be used to control external PHYs. The MDIO module used within the PRU-ICSS is an instance of the MDIO Controller used in TI Davinci SoCs.

Shared schema rule ($ref): /schemas/net/ti,davinci-mdio.yaml#

Value type (type): "object"

^(pru|rtu|txpru)@[0-9a-f]+$ — name matches this regular expression #

PRU Node. Each PRUSS has dual PRU cores, each represented as a RemoteProc device through a PRU child node each. Each node can optionally be rendered inactive by using the standard DT string property, "status". The ICSSG IP present on K3 SoCs have additional auxiliary PRU cores with slightly different IP integration.

Shared schema rule ($ref): /schemas/remoteproc/ti,pru-rproc.yaml#

Value type (type): "object"

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

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ti,k2g-pruss", "ti,am654-icssg", "ti,j721e-icssg", "ti,am642-icssg"

When the condition matches (then) #

Required in this object (required): "power-domains"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ti,k2g-pruss"

When the condition matches (then) #

Required in this object (required): "dma-coherent"

Examples (examples) #


/* Example 1 AM33xx PRU-ICSS */
pruss: pruss@0 {
    compatible = "ti,am3356-pruss";
    reg = <0x0 0x80000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    pruss_mem: memories@0 {
        reg = <0x0 0x2000>,
              <0x2000 0x2000>,
              <0x10000 0x3000>;
        reg-names = "dram0", "dram1", "shrdram2";
    };

    pruss_cfg: cfg@26000 {
        compatible = "ti,pruss-cfg", "syscon";
        #address-cells = <1>;
        #size-cells = <1>;
        reg = <0x26000 0x2000>;
        ranges = <0x00 0x26000 0x2000>;

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

            pruss_iepclk_mux: iepclk-mux@30 {
                reg = <0x30>;
                #clock-cells = <0>;
                clocks = <&l3_gclk>,        /* icss_iep */
                         <&pruss_ocp_gclk>; /* icss_ocp */
            };
        };
    };

    pruss_mii_rt: mii-rt@32000 {
        compatible = "ti,pruss-mii", "syscon";
        reg = <0x32000 0x58>;
    };

    pruss_intc: interrupt-controller@20000 {
        compatible = "ti,pruss-intc";
        reg = <0x20000 0x2000>;
        interrupt-controller;
        #interrupt-cells = <3>;
        interrupts = <20 21 22 23 24 25 26 27>;
        interrupt-names = "host_intr0", "host_intr1",
                          "host_intr2", "host_intr3",
                          "host_intr4", "host_intr5",
                          "host_intr6", "host_intr7";
    };

    pru0: pru@34000 {
        compatible = "ti,am3356-pru";
        reg = <0x34000 0x2000>,
              <0x22000 0x400>,
              <0x22400 0x100>;
        reg-names = "iram", "control", "debug";
        firmware-name = "am335x-pru0-fw";
    };

    pru1: pru@38000 {
        compatible = "ti,am3356-pru";
        reg = <0x38000 0x2000>,
              <0x24000 0x400>,
              <0x24400 0x100>;
        reg-names = "iram", "control", "debug";
        firmware-name = "am335x-pru1-fw";
    };

    pruss_mdio: mdio@32400 {
        compatible = "ti,davinci_mdio";
        reg = <0x32400 0x90>;
        clocks = <&dpll_core_m4_ck>;
        clock-names = "fck";
        bus_freq = <1000000>;
        #address-cells = <1>;
        #size-cells = <0>;
    };
};

/* Example 2 AM43xx PRU-ICSS with PRUSS1 node */
#include <dt-bindings/interrupt-controller/arm-gic.h>
pruss1: pruss@0 {
    compatible = "ti,am4376-pruss1";
    reg = <0x0 0x40000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    pruss1_mem: memories@0 {
        reg = <0x0 0x2000>,
              <0x2000 0x2000>,
              <0x10000 0x8000>;
        reg-names = "dram0", "dram1", "shrdram2";
    };

    pruss1_cfg: cfg@26000 {
        compatible = "ti,pruss-cfg", "syscon";
        #address-cells = <1>;
        #size-cells = <1>;
        reg = <0x26000 0x2000>;
        ranges = <0x00 0x26000 0x2000>;

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

            pruss1_iepclk_mux: iepclk-mux@30 {
                reg = <0x30>;
                #clock-cells = <0>;
                clocks = <&sysclk_div>,     /* icss_iep */
                         <&pruss_ocp_gclk>; /* icss_ocp */
            };
        };
    };

    pruss1_mii_rt: mii-rt@32000 {
        compatible = "ti,pruss-mii", "syscon";
        reg = <0x32000 0x58>;
    };

    pruss1_intc: interrupt-controller@20000 {
        compatible = "ti,pruss-intc";
        reg = <0x20000 0x2000>;
        interrupt-controller;
        #interrupt-cells = <3>;
        interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "host_intr0", "host_intr1",
                          "host_intr2", "host_intr3",
                          "host_intr4",
                          "host_intr6", "host_intr7";
        ti,irqs-reserved = /bits/ 8 <0x20>; /* BIT(5) */
    };

    pru1_0: pru@34000 {
        compatible = "ti,am4376-pru";
        reg = <0x34000 0x3000>,
              <0x22000 0x400>,
              <0x22400 0x100>;
        reg-names = "iram", "control", "debug";
        firmware-name = "am437x-pru1_0-fw";
    };

    pru1_1: pru@38000 {
        compatible = "ti,am4376-pru";
        reg = <0x38000 0x3000>,
              <0x24000 0x400>,
              <0x24400 0x100>;
        reg-names = "iram", "control", "debug";
        firmware-name = "am437x-pru1_1-fw";
    };

    pruss1_mdio: mdio@32400 {
        compatible = "ti,davinci_mdio";
        reg = <0x32400 0x90>;
        clocks = <&dpll_core_m4_ck>;
        clock-names = "fck";
        bus_freq = <1000000>;
        #address-cells = <1>;
        #size-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 61: for AM335x SoC family

Line 62: for AM437x SoC family and PRUSS unit 0

Line 63: for AM437x SoC family and PRUSS unit 1

Line 64: for AM57xx SoC family

Line 65: for K3 AM62x SoC family

Line 66: for K3 AM64x SoC family

Line 67: for K3 AM65x SoC family

Line 68: for K3 J721E SoC family

Line 69: for 66AK2G SoC family

Line 113: On AM437x one of two PRUSS units don't contain Shared RAM.

Line 350: Due to inability of correctly verifying sub-nodes with an @address through

Line 351: the "required" list, the required sub-nodes below are commented out for now.

Line 353: required:

Line 354: - memories

Line 355: - interrupt-controller

Line 356: - pru

Wakeup M3 IPC device

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/ti/wkup-m3-ipc.yaml#"

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

Maintainers (maintainers): "Dave Gerlach <d-gerlach@ti.com>", "Drew Fustini <dfustini@baylibre.com>"

The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor (commonly referred to as Wakeup M3 or CM3) to help with various low power tasks that cannot be controlled from the MPU, like suspend/resume and certain deep C-states for CPU Idle. Once the wkup_m3_ipc driver uses the wkup_m3_rproc driver to boot the wkup_m3, it handles communication with the CM3 using IPC registers present in the SoC's control module and a mailbox. The wkup_m3_ipc exposes an API to allow the SoC PM code to execute specific PM tasks.

Wkup M3 Device Node ==================== A wkup_m3_ipc device node is used to represent the IPC registers within an SoC.

Support for VTT Toggle with GPIO pin ==================================== On some boards like the AM335x EVM-SK and the AM437x GP EVM, a GPIO pin is connected to the enable pin on the DDR VTT regulator. This allows the regulator to be disabled upon suspend and enabled upon resume. Please note that the GPIO pin must be part of the GPIO0 module as only this GPIO module is in the wakeup power domain.

Support for IO Isolation ======================== On AM437x SoCs, certain pins can be forced into an alternate state when IO isolation is activated. Those pins have pad control registers prefixed by 'CTRL_CONF_' that contain DS0 (e.g. deep sleep) configuration bits that can override the pin's existing bias (pull-up/pull-down) and value (high/low) when IO isolation is active.

Support for I2C PMIC Voltage Scaling ==================================== It is possible to pass the name of a binary file to load into the CM3 memory. The binary data is the I2C sequences for the CM3 to send out to the PMIC during low power mode entry.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,am3352-wkup-m3-ipc", "ti,am4372-wkup-m3-ipc"

reg — required here #

The IPC register address space to communicate with the Wakeup M3 processor

Maximum number of items (maxItems): 1

interrupts — required here #

wkup_m3 interrupt that signals the MPU

Maximum number of items (maxItems): 1

ti,rproc — required here #

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

phandle to the wkup_m3 rproc node so the IPC driver can boot it

mboxes — required here #

phandles used by IPC framework to get correct mbox channel for communication. Must point to appropriate mbox_wkupm3 child node.

Maximum number of items (maxItems): 1

firmware-name — not listed as required here #

Name of binary file with I2C sequences for PMIC voltage scaling

ti,vtt-gpio-pin — not listed as required here #

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

GPIO pin connected to enable pin on VTT regulator

ti,set-io-isolation — not listed as required here #

Value type (type): "boolean"

If this property is present, then the wkup_m3_ipc driver will instruct the CM3 firmware to activate IO isolation when suspending to deep sleep. This can be leveraged by a board design to put other devices on the board into a low power state.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "ti,am4372-wkup-m3-ipc"

When the condition matches (then) #

Properties and child nodes (properties)

ti,set-io-isolation — not listed as required here

false — Not permitted by this property rule.

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

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

false

Not allowed by this rule.

Examples (examples) #

/* Example for AM335x SoC */
soc {
    #address-cells = <1>;
    #size-cells = <1>;

    am335x_mailbox: mailbox {
        #mbox-cells = <1>;
    };

    wkup_m3_ipc@1324 {
        compatible = "ti,am3352-wkup-m3-ipc";
        reg = <0x1324 0x24>;
        interrupts = <78>;
        ti,rproc = <&wkup_m3>;
        mboxes = <&am335x_mailbox &mbox_wkupm3>;
        ti,vtt-gpio-pin = <7>;
        firmware-name = "am335x-evm-scale-data.bin";
    };
};
/*
 * Example for AM473x SoC:
 * On the AM437x-GP-EVM board, gpio5_7 is wired to enable pin of the DDR VTT
 * regulator. The 'ddr_vtt_toggle_default' pinmux node configures gpio5_7
 * for pull-up during normal system operation. However, the DS0 (deep sleep)
 * state of the pin is configured for pull-down and thus the VTT regulator
 * will be disabled to save power when IO isolation is active. Note that
 * this method is an alternative to using the 'ti,vtt-gpio-pin' property.
 */
#include <dt-bindings/pinctrl/am43xx.h>
soc {
    #address-cells = <1>;
    #size-cells = <1>;

    am437x_mailbox: mailbox {
        #mbox-cells = <1>;
    };

    am43xx_pinmux {
        pinctrl-names = "default";
        pinctrl-0 = <&ddr3_vtt_toggle_default>;

        ddr3_vtt_toggle_default: ddr_vtt_toggle_default {
            pinctrl-single,pins = <
                0x25C (DS0_PULL_UP_DOWN_EN | PIN_OUTPUT_PULLUP | DS0_FORCE_OFF_MODE | MUX_MODE7)
            >;
        };
    };

    wkup_m3_ipc@1324 {
        compatible = "ti,am4372-wkup-m3-ipc";
        reg = <0x1324 0x24>;
        interrupts = <78>;
        ti,rproc = <&wkup_m3>;
        mboxes = <&am437x_mailbox &mbox_wkupm3>;
        ti,set-io-isolation;
        firmware-name = "am43x-evm-scale-data.bin";
    };
};

Source notes #

Annotations retained from the schema source

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

Line 52: for AM33xx SoCs

Line 53: for AM43xx SoCs

Xilinx Zynq Platforms

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/xilinx/xilinx.yaml#"

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

Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"

AMD/Xilinx boards with ARM 32/64bits cores

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exact value (const): "/"

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "adapteva,parallella", "digilent,zynq-zybo", "digilent,zynq-zybo-z7", "ebang,ebaz4205", "myir,zynq-zturn-v5", "myir,zynq-zturn", "xlnx,zynq-cc108", "xlnx,zynq-zc702", "xlnx,zynq-zc706", "xlnx,zynq-zc770-xm010", "xlnx,zynq-zc770-xm011", "xlnx,zynq-zc770-xm012", "xlnx,zynq-zc770-xm013"

Item 2

Exact value (const): "xlnx,zynq-7000"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "avnet,zynq-microzed"

Item 2

Exact value (const): "xlnx,zynq-microzed"

Item 3

Exact value (const): "xlnx,zynq-7000"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "avnet,zynq-zed"

Item 2

Exact value (const): "xlnx,zynq-zed"

Item 3

Exact value (const): "xlnx,zynq-7000"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "xlnx,zynqmp-zc1751"

Item 2

Exact value (const): "xlnx,zynqmp"

Rule 5

Xilinx internal board zc1232

Array item rules (items)

Item 1

Exact value (const): "xlnx,zynqmp-zc1232-revA"

Item 2

Exact value (const): "xlnx,zynqmp-zc1232"

Item 3

Exact value (const): "xlnx,zynqmp"

Rule 6

Xilinx internal board zc1254

Array item rules (items)

Item 1

Exact value (const): "xlnx,zynqmp-zc1254-revA"

Item 2

Exact value (const): "xlnx,zynqmp-zc1254"

Item 3

Exact value (const): "xlnx,zynqmp"

Rule 7

Xilinx evaluation board zcu1275

Array item rules (items)

Item 1

Exact value (const): "xlnx,zynqmp-zcu1275-revA"

Item 2

Exact value (const): "xlnx,zynqmp-zcu1275"

Item 3

Exact value (const): "xlnx,zynqmp"

Rule 8

Xilinx 96boards compatible board zcu100

Array item rules (items)

Item 1

Exact value (const): "xlnx,zynqmp-zcu100-revC"

Item 2

Exact value (const): "xlnx,zynqmp-zcu100"

Item 3

Exact value (const): "xlnx,zynqmp"

Rule 9

Xilinx 96boards compatible board Ultra96

Array item rules (items)

Item 1

Exact value (const): "avnet,ultra96-rev1"

Item 2

Exact value (const): "avnet,ultra96"

Item 3

Exact value (const): "xlnx,zynqmp-zcu100-revC"

Item 4

Exact value (const): "xlnx,zynqmp-zcu100"

Item 5

Exact value (const): "xlnx,zynqmp"

Rule 10

Xilinx evaluation board zcu102

Array item rules (items)

Item 1

Allowed values (enum): "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102-revB", "xlnx,zynqmp-zcu102-rev1.0", "xlnx,zynqmp-zcu102-rev1.1"

Item 2

Exact value (const): "xlnx,zynqmp-zcu102"

Item 3

Exact value (const): "xlnx,zynqmp"

Rule 11

Xilinx evaluation board zcu104

Array item rules (items)

Item 1

Allowed values (enum): "xlnx,zynqmp-zcu104-revA", "xlnx,zynqmp-zcu104-revC", "xlnx,zynqmp-zcu104-rev1.0"

Item 2

Exact value (const): "xlnx,zynqmp-zcu104"

Item 3

Exact value (const): "xlnx,zynqmp"

Rule 12

Xilinx evaluation board zcu106

Array item rules (items)

Item 1

Allowed values (enum): "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106-rev1.0"

Item 2

Exact value (const): "xlnx,zynqmp-zcu106"

Item 3

Exact value (const): "xlnx,zynqmp"

Rule 13

Xilinx evaluation board zcu111

Array item rules (items)

Item 1

Allowed values (enum): "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111-rev1.0"

Item 2

Exact value (const): "xlnx,zynqmp-zcu111"

Item 3

Exact value (const): "xlnx,zynqmp"

Rule 14

Xilinx Kria SOMs K24

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-sm-k24-rev1", "xlnx,zynqmp-sm-k24-revB", "xlnx,zynqmp-sm-k24-revA", "xlnx,zynqmp-sm-k24", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sm-k24"

Rule 15

Xilinx Kria SOMs K24 (starter)

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-smk-k24-rev1", "xlnx,zynqmp-smk-k24-revB", "xlnx,zynqmp-smk-k24-revA", "xlnx,zynqmp-smk-k24", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-smk-k24"

Rule 16

Xilinx Kria SOMs

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-sm-k26-rev2", "xlnx,zynqmp-sm-k26-rev1", "xlnx,zynqmp-sm-k26-revB", "xlnx,zynqmp-sm-k26-revA", "xlnx,zynqmp-sm-k26", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sm-k26"

Rule 17

Xilinx Kria SOMs (starter)

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-smk-k26-rev2", "xlnx,zynqmp-smk-k26-rev1", "xlnx,zynqmp-smk-k26-revB", "xlnx,zynqmp-smk-k26-revA", "xlnx,zynqmp-smk-k26", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-smk-k26"

Rule 18

Xilinx Kria SOM KD240 revA/B/1

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-sk-kd240-rev1", "xlnx,zynqmp-sk-kd240-revB", "xlnx,zynqmp-sk-kd240-revA", "xlnx,zynqmp-sk-kd240", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kd240-revA"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kd240"

Rule 3

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 19

Xilinx Kria SOM KR260 revA/Y/Z

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-sk-kr260-revA", "xlnx,zynqmp-sk-kr260-revY", "xlnx,zynqmp-sk-kr260-revZ", "xlnx,zynqmp-sk-kr260", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kr260-revA"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kr260"

Rule 3

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 20

Xilinx Kria SOM KR260 rev2/1/B

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-sk-kr260-rev2", "xlnx,zynqmp-sk-kr260-rev1", "xlnx,zynqmp-sk-kr260-revB", "xlnx,zynqmp-sk-kr260", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kr260-revB"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kr260"

Rule 3

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 21

Xilinx Kria SOM KV260 revA/Y/Z

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-sk-kv260-revA", "xlnx,zynqmp-sk-kv260-revY", "xlnx,zynqmp-sk-kv260-revZ", "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kv260-revA"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kv260"

Rule 3

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 22

Xilinx Kria SOM KV260 rev2/1/B

Minimum number of items (minItems): 3

Array item rules (items)

Allowed values (enum): "xlnx,zynqmp-sk-kv260-rev2", "xlnx,zynqmp-sk-kv260-rev1", "xlnx,zynqmp-sk-kv260-revB", "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp"

All of these rules must match (allOf)

Rule 1

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kv260-revB"

Rule 2

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-sk-kv260"

Rule 3

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp"

Rule 23

AMD MicroBlaze V (QEMU)

Array item rules (items)

Item 1

Exact value (const): "qemu,mbv"

Item 2

Exact value (const): "amd,mbv"

Rule 24

Xilinx Versal NET VN-X revA platform

Array item rules (items)

Allowed values (enum): "xlnx,versal-net-vnx-revA", "xlnx,versal-net-vnx", "xlnx,versal-net"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Xilinx VCU Settings

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

Schema identifier ($id): "http://devicetree.org/schemas/soc/xilinx/xlnx,vcu-settings.yaml#"

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

Maintainers (maintainers): "Michael Tretter <kernel@pengutronix.de>"

The Xilinx VCU Settings provides information about the configuration of the video codec unit.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "xlnx,vcu-settings"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

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) #

fpga {
    #address-cells = <2>;
    #size-cells = <2>;

    xlnx_vcu: vcu@a0041000 {
        compatible = "xlnx,vcu-settings", "syscon";
        reg = <0x0 0xa0041000 0x0 0x1000>;
    };
};

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.