mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08:00
7415b0b4c6
This patch creates the l4_cfg and l4_wkup interconnects for OMAP4, and moves some of the generic peripherals under it. System control module support is added to the device tree also, and the existing SCM related functionality is moved under it. Signed-off-by: Tero Kristo <t-kristo@ti.com> Reported-by: Tony Lindgren <tony@atomide.com>
64 lines
1.3 KiB
Plaintext
64 lines
1.3 KiB
Plaintext
OMAP PRCM bindings
|
|
|
|
Power Reset and Clock Manager lists the device clocks and clockdomains under
|
|
a DT hierarchy. Each TI SoC can have multiple PRCM entities listed for it,
|
|
each describing one module and the clock hierarchy under it. see [1] for
|
|
documentation about the individual clock/clockdomain nodes.
|
|
|
|
[1] Documentation/devicetree/bindings/clock/ti/*
|
|
|
|
Required properties:
|
|
- compatible: Must be one of:
|
|
"ti,am3-prcm"
|
|
"ti,am4-prcm"
|
|
"ti,omap2-prcm"
|
|
"ti,omap3-prm"
|
|
"ti,omap3-cm"
|
|
"ti,omap4-cm1"
|
|
"ti,omap4-prm"
|
|
"ti,omap4-cm2"
|
|
"ti,omap4-scrm"
|
|
"ti,omap5-prm"
|
|
"ti,omap5-cm-core-aon"
|
|
"ti,omap5-scrm"
|
|
"ti,omap5-cm-core"
|
|
"ti,dra7-prm"
|
|
"ti,dra7-cm-core-aon"
|
|
"ti,dra7-cm-core"
|
|
"ti,dm814-prcm"
|
|
"ti,dm816-prcm"
|
|
- reg: Contains PRCM module register address range
|
|
(base address and length)
|
|
- clocks: clocks for this module
|
|
- clockdomains: clockdomains for this module
|
|
|
|
Example:
|
|
|
|
cm: cm@48004000 {
|
|
compatible = "ti,omap3-cm";
|
|
reg = <0x48004000 0x4000>;
|
|
|
|
cm_clocks: clocks {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
cm_clockdomains: clockdomains {
|
|
};
|
|
}
|
|
|
|
&cm_clocks {
|
|
omap2_32k_fck: omap_32k_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <32768>;
|
|
};
|
|
};
|
|
|
|
&cm_clockdomains {
|
|
core_l3_clkdm: core_l3_clkdm {
|
|
compatible = "ti,clockdomain";
|
|
clocks = <&sdrc_ick>;
|
|
};
|
|
};
|