1 Texas Instruments sysc interconnect target module wrapper binding
3 Texas Instruments SoCs can have a generic interconnect target module
4 hardware for devices connected to various interconnects such as L3
5 interconnect (Arteris NoC) and L4 interconnect (Sonics s3220). The sysc
6 is mostly used for interaction between module and PRCM. It participates
7 in the OCP Disconnect Protocol but other than that is mostly independent
10 Each interconnect target module can have one or more devices connected to
11 it. There is a set of control registers for managing interconnect target
12 module clocks, idle modes and interconnect level resets for the module.
14 These control registers are sprinkled into the unused register address
15 space of the first child device IP block managed by the interconnect
16 target module and typically are named REVISION, SYSCONFIG and SYSSTATUS.
18 Required standard properties:
20 - compatible shall be one of the following generic types:
25 "ti,sysc-omap4-simple"
27 or one of the following derivative types for hardware
28 needing special workarounds:
42 - reg shall have register areas implemented for the interconnect
43 target module in question such as revision, sysc and syss
45 - reg-names shall contain the register names implemented for the
46 interconnect target module in question such as
47 "rev, "sysc", and "syss"
49 - ranges shall contain the interconnect target module IO range
50 available for one or more child device IP blocks managed
51 by the interconnect target module, the ranges may include
52 multiple ranges such as device L4 range for control and
53 parent L3 range for DMA access
57 - ti,sysc-mask shall contain mask of supported register bits for the
58 SYSCONFIG register as documented in the Technical Reference
59 Manual (TRM) for the interconnect target module
61 - ti,sysc-midle list of master idle modes supported by the interconnect
62 target module as documented in the TRM for SYSCONFIG
63 register MIDLEMODE bits
65 - ti,sysc-sidle list of slave idle modes supported by the interconnect
66 target module as documented in the TRM for SYSCONFIG
67 register SIDLEMODE bits
69 - ti,sysc-delay-us delay needed after OCP softreset before accssing
70 SYSCONFIG register again
72 - ti,syss-mask optional mask of reset done status bits as described in the
73 TRM for SYSSTATUS registers, typically 1 with some devices
74 having separate reset done bits for children like OHCI and
77 - clocks clock specifier for each name in the clock-names as
78 specified in the binding documentation for ti-clkctrl,
79 typically available for all interconnect targets on TI SoCs
80 based on omap4 except if it's read-only register in hwauto
81 mode as for example omap4 L4_CFG_CLKCTRL
83 - clock-names should contain at least "fck", and optionally also "ick"
84 depending on the SoC and the interconnect target module,
85 some interconnect target modules also need additional
86 optional clocks that can be specified as listed in TRM
87 for the related CLKCTRL register bits 8 to 15 such as
88 "dbclk" or "clk32k" depending on their role
90 - ti,hwmods optional TI interconnect module name to use legacy
93 - ti,no-reset-on-init interconnect target module should not be reset at init
95 - ti,no-idle-on-init interconnect target module should not be idled at init
97 - ti,no-idle interconnect target module should not be idled
99 Example: Single instance of MUSB controller on omap4 using interconnect ranges
100 using offsets from l4_cfg second segment (0x4a000000 + 0x80000 = 0x4a0ab000):
102 target-module@2b000 { /* 0x4a0ab000, ap 84 12.0 */
103 compatible = "ti,sysc-omap2";
104 ti,hwmods = "usb_otg_hs";
108 reg-names = "rev", "sysc", "syss";
109 clocks = <&l3_init_clkctrl OMAP4_USB_OTG_HS_CLKCTRL 0>;
111 ti,sysc-mask = <(SYSC_OMAP2_ENAWAKEUP |
112 SYSC_OMAP2_SOFTRESET |
113 SYSC_OMAP2_AUTOIDLE)>;
114 ti,sysc-midle = <SYSC_IDLE_FORCE>,
117 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
120 <SYSC_IDLE_SMART_WKUP>;
122 #address-cells = <1>;
124 ranges = <0 0x2b000 0x1000>;
127 compatible = "ti,omap4-musb";
129 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
130 <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
131 usb-phy = <&usb2_phy>;
136 Note that other SoCs, such as am335x can have multiple child devices. On am335x
137 there are two MUSB instances, two USB PHY instances, and a single CPPI41 DMA
138 instance as children of a single interconnect target module.