Path: blob/master/Documentation/devicetree/bindings/bus/ti-sysc.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/bus/ti-sysc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Texas Instruments interconnect target module78maintainers:9- Tony Lindgren <tony@atomide.com>1011description:12Texas Instruments SoCs can have a generic interconnect target module13for devices connected to various interconnects such as L3 interconnect14using Arteris NoC, and L4 interconnect using Sonics s3220. This module15is mostly used for interaction between module and Power, Reset and Clock16Manager PRCM. It participates in the OCP Disconnect Protocol, but other17than that it is mostly independent of the interconnect.1819Each interconnect target module can have one or more devices connected to20it. There is a set of control registers for managing the interconnect target21module clocks, idle modes and interconnect level resets.2223The interconnect target module control registers are sprinkled into the24unused register address space of the first child device IP block managed by25the interconnect target module. Typically the register names are REVISION,26SYSCONFIG and SYSSTATUS.2728properties:29$nodename:30pattern: "^target-module(@[0-9a-f]+)?$"3132compatible:33oneOf:34- items:35- enum:36- ti,sysc-omap237- ti,sysc-omap438- ti,sysc-omap4-simple39- ti,sysc-omap2-timer40- ti,sysc-omap4-timer41- ti,sysc-omap3430-sr42- ti,sysc-omap3630-sr43- ti,sysc-omap4-sr44- ti,sysc-omap3-sham45- ti,sysc-omap-aes46- ti,sysc-mcasp47- ti,sysc-dra7-mcasp48- ti,sysc-usb-host-fs49- ti,sysc-dra7-mcan50- ti,sysc-pruss51- const: ti,sysc52- items:53- const: ti,sysc5455reg:56description:57Interconnect target module control registers consisting of58REVISION, SYSCONFIG and SYSSTATUS registers as defined in the59Technical Reference Manual for the SoC.60minItems: 161maxItems: 36263reg-names:64description:65Interconnect target module control register names consisting66of "rev", "sysc" and "syss".67oneOf:68- minItems: 169items:70- const: rev71- const: sysc72- const: syss73- items:74- const: rev75- const: syss76- enum: [ sysc, syss ]7778power-domains:79description: Target module power domain if available.80maxItems: 18182clocks:83description:84Target module clocks consisting of one functional clock, one85interface clock, and up to 8 module specific optional clocks.86Some modules may have only the functional clock, and some have87no configurable clocks.88minItems: 189maxItems: 49091clock-names:92description:93Target module clock names like "fck", "ick", "optck1", "optck2"94if the clocks are configurable.95oneOf:96- enum: [ ick, fck, sys_clk ]97- items:98- const: fck99- enum: [ ick, dbclk, osc, sys_clk, dss_clk, ahclkx ]100- items:101- const: fck102- const: phy-clk103- const: phy-clk-div104- items:105- const: fck106- const: hdmi_clk107- const: sys_clk108- const: tv_clk109- items:110- const: fck111- const: ahclkx112- const: ahclkr113114resets:115description:116Target module reset bit in the RSTCTRL register if wired for the module.117Note that the other reset bits should be mapped for the child device118driver to use.119maxItems: 1120121reset-names:122description:123Target module reset names in the RSTCTRL register, typically named124"rstctrl" if only one reset bit is wired for the module.125items:126- const: rstctrl127128'#address-cells':129enum: [ 1, 2 ]130131'#size-cells':132enum: [ 1, 2 ]133134ranges: true135136dma-ranges: true137138ti,sysc-mask:139description: Mask of supported register bits for the SYSCONFIG register140$ref: /schemas/types.yaml#/definitions/uint32141142ti,sysc-midle:143description: List of hardware supported idle modes144$ref: /schemas/types.yaml#/definitions/uint32-array145146ti,sysc-sidle:147description: List of hardware supported idle modes148$ref: /schemas/types.yaml#/definitions/uint32-array149150ti,syss-mask:151description: Mask of supported register bits for the SYSSTATUS register152$ref: /schemas/types.yaml#/definitions/uint32153154ti,sysc-delay-us:155description: Delay needed after OCP softreset before accessing SYCONFIG156default: 0157minimum: 0158maximum: 2159160ti,no-reset-on-init:161description: Interconnect target module shall not be reset at init162type: boolean163164ti,no-idle-on-init:165description: Interconnect target module shall not be idled at init166type: boolean167168ti,no-idle:169description: Interconnect target module shall not be idled170type: boolean171172ti,hwmods:173description: Interconnect module name to use with legacy hwmod data174$ref: /schemas/types.yaml#/definitions/string175deprecated: true176177required:178- compatible179- '#address-cells'180- '#size-cells'181- ranges182183additionalProperties:184type: object185186examples:187- |188#include <dt-bindings/bus/ti-sysc.h>189#include <dt-bindings/clock/omap4.h>190191target-module@2b000 {192compatible = "ti,sysc-omap2", "ti,sysc";193ti,hwmods = "usb_otg_hs";194reg = <0x2b400 0x4>,195<0x2b404 0x4>,196<0x2b408 0x4>;197reg-names = "rev", "sysc", "syss";198clocks = <&l3_init_clkctrl OMAP4_USB_OTG_HS_CLKCTRL 0>;199clock-names = "fck";200ti,sysc-mask = <(SYSC_OMAP2_ENAWAKEUP |201SYSC_OMAP2_SOFTRESET |202SYSC_OMAP2_AUTOIDLE)>;203ti,sysc-midle = <SYSC_IDLE_FORCE>,204<SYSC_IDLE_NO>,205<SYSC_IDLE_SMART>;206ti,sysc-sidle = <SYSC_IDLE_FORCE>,207<SYSC_IDLE_NO>,208<SYSC_IDLE_SMART>,209<SYSC_IDLE_SMART_WKUP>;210ti,syss-mask = <1>;211#address-cells = <1>;212#size-cells = <1>;213ranges = <0 0x2b000 0x1000>;214};215216217