Texas Instruments interconnect target module
Schema identifier ($id): "http://devicetree.org/schemas/bus/ti-sysc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"
Texas Instruments SoCs can have a generic interconnect target module for devices connected to various interconnects such as L3 interconnect using Arteris NoC, and L4 interconnect using Sonics s3220. This module is mostly used for interaction between module and Power, Reset and Clock Manager PRCM. It participates in the OCP Disconnect Protocol, but other than that it is mostly independent of the interconnect. Each interconnect target module can have one or more devices connected to it. There is a set of control registers for managing the interconnect target module clocks, idle modes and interconnect level resets. The interconnect target module control registers are sprinkled into the unused register address space of the first child device IP block managed by the interconnect target module. Typically the register names are REVISION, SYSCONFIG and SYSSTATUS.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^target-module(@[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):"ti,sysc-omap2","ti,sysc-omap4","ti,sysc-omap4-simple","ti,sysc-omap2-timer","ti,sysc-omap4-timer","ti,sysc-omap3430-sr","ti,sysc-omap3630-sr","ti,sysc-omap4-sr","ti,sysc-omap3-sham","ti,sysc-omap-aes","ti,sysc-mcasp","ti,sysc-dra7-mcasp","ti,sysc-usb-host-fs","ti,sysc-dra7-mcan","ti,sysc-pruss"Item 2
Exact value (
const):"ti,sysc"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"ti,sysc"
reg — not listed as required here #
Interconnect target module control registers consisting of REVISION, SYSCONFIG and SYSSTATUS registers as defined in the Technical Reference Manual for the SoC.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reg-names — not listed as required here #
Interconnect target module control register names consisting of "rev", "sysc" and "syss".
Exactly one of these rules must match (oneOf) #
Rule 1
Minimum number of items (
minItems):1Array item rules (
items)Item 1
Exact value (
const):"rev"Item 2
Exact value (
const):"sysc"Item 3
Exact value (
const):"syss"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"rev"Item 2
Exact value (
const):"syss"
Rule 3
power-domains — not listed as required here #
Target module power domain if available.
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Target module clocks consisting of one functional clock, one interface clock, and up to 8 module specific optional clocks. Some modules may have only the functional clock, and some have no configurable clocks.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Target module clock names like "fck", "ick", "optck1", "optck2" if the clocks are configurable.
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fck"Item 2
Allowed values (
enum):"ick","dbclk","osc","sys_clk","dss_clk","ahclkx"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fck"Item 2
Exact value (
const):"phy-clk"Item 3
Exact value (
const):"phy-clk-div"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"fck"Item 2
Exact value (
const):"hdmi_clk"Item 3
Exact value (
const):"sys_clk"Item 4
Exact value (
const):"tv_clk"
Rule 5
Array item rules (
items)Item 1
Exact value (
const):"fck"Item 2
Exact value (
const):"ahclkx"Item 3
Exact value (
const):"ahclkr"
resets — not listed as required here #
Target module reset bit in the RSTCTRL register if wired for the module. Note that the other reset bits should be mapped for the child device driver to use.
Maximum number of items (maxItems): 1
reset-names — not listed as required here #
Target module reset names in the RSTCTRL register, typically named "rstctrl" if only one reset bit is wired for the module.
Array item rules (items) #
Item 1
Exact value (
const):"rstctrl"
#address-cells — required here #
#size-cells — required here #
ranges — 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.
ti,sysc-mask — not listed as required here #
Mask of supported register bits for the SYSCONFIG register
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
ti,sysc-midle — not listed as required here #
List of hardware supported idle modes
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
ti,sysc-sidle — not listed as required here #
List of hardware supported idle modes
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
ti,syss-mask — not listed as required here #
Mask of supported register bits for the SYSSTATUS register
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
ti,sysc-delay-us — not listed as required here #
Delay needed after OCP softreset before accessing SYCONFIG
Default value (default): 0
Minimum value (minimum): 0
Maximum value (maximum): 2
ti,no-reset-on-init — not listed as required here #
Interconnect target module shall not be reset at init
Value type (type): "boolean"
ti,no-idle-on-init — not listed as required here #
Interconnect target module shall not be idled at init
Value type (type): "boolean"
ti,no-idle — not listed as required here #
Interconnect target module shall not be idled
Value type (type): "boolean"
ti,hwmods — not listed as required here #
Interconnect module name to use with legacy hwmod data
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Deprecated (deprecated): true
Required in this object (required): "compatible", "#address-cells", "#size-cells", "ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
Value type (
type):"object"
Examples (examples) #
#include <dt-bindings/bus/ti-sysc.h>
#include <dt-bindings/clock/omap4.h>
target-module@2b000 {
compatible = "ti,sysc-omap2", "ti,sysc";
ti,hwmods = "usb_otg_hs";
reg = <0x2b400 0x4>,
<0x2b404 0x4>,
<0x2b408 0x4>;
reg-names = "rev", "sysc", "syss";
clocks = <&l3_init_clkctrl OMAP4_USB_OTG_HS_CLKCTRL 0>;
clock-names = "fck";
ti,sysc-mask = <(SYSC_OMAP2_ENAWAKEUP |
SYSC_OMAP2_SOFTRESET |
SYSC_OMAP2_AUTOIDLE)>;
ti,sysc-midle = <SYSC_IDLE_FORCE>,
<SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>;
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
<SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>,
<SYSC_IDLE_SMART_WKUP>;
ti,syss-mask = <1>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x2b000 0x1000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)