mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 12:50:53 +07:00
9512c6fec8
The DSS fclk and iclk handles are named differently on OMAP3430 ES1 than on later OMAP revisions. The ES1 has handles 'dss1_alwon_fck_3430es1' and 'dss_ick_3430es1', whereas later revisions have similar names but ending with 'es2'. This means we don't have one clock handle to which we could refer to when defining the DSS clocks. However, as the namespaces are separate for ES1 and ES2+ OMAPs, we can just rename the handles to 'dss1_alwon_fck' and 'dss_ick' for both ES1 and ES2+, removing the issue. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Tested-by: Christoph Fritz <chf.fritz@googlemail.com> Tested-by: Marek Belisko <marek@goldelico.com> Acked-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
243 lines
5.3 KiB
Plaintext
243 lines
5.3 KiB
Plaintext
/*
|
|
* Device Tree Source for OMAP36xx/AM35xx/OMAP34xx clock data
|
|
*
|
|
* Copyright (C) 2013 Texas Instruments, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
&prm_clocks {
|
|
corex2_d3_fck: corex2_d3_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&corex2_fck>;
|
|
clock-mult = <1>;
|
|
clock-div = <3>;
|
|
};
|
|
|
|
corex2_d5_fck: corex2_d5_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&corex2_fck>;
|
|
clock-mult = <1>;
|
|
clock-div = <5>;
|
|
};
|
|
};
|
|
&cm_clocks {
|
|
dpll5_ck: dpll5_ck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,omap3-dpll-clock";
|
|
clocks = <&sys_ck>, <&sys_ck>;
|
|
reg = <0x0d04>, <0x0d24>, <0x0d4c>, <0x0d34>;
|
|
ti,low-power-stop;
|
|
ti,lock;
|
|
};
|
|
|
|
dpll5_m2_ck: dpll5_m2_ck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,divider-clock";
|
|
clocks = <&dpll5_ck>;
|
|
ti,max-div = <31>;
|
|
reg = <0x0d50>;
|
|
ti,index-starts-at-one;
|
|
};
|
|
|
|
sgx_gate_fck: sgx_gate_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,composite-gate-clock";
|
|
clocks = <&core_ck>;
|
|
ti,bit-shift = <1>;
|
|
reg = <0x0b00>;
|
|
};
|
|
|
|
core_d3_ck: core_d3_ck {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&core_ck>;
|
|
clock-mult = <1>;
|
|
clock-div = <3>;
|
|
};
|
|
|
|
core_d4_ck: core_d4_ck {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&core_ck>;
|
|
clock-mult = <1>;
|
|
clock-div = <4>;
|
|
};
|
|
|
|
core_d6_ck: core_d6_ck {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&core_ck>;
|
|
clock-mult = <1>;
|
|
clock-div = <6>;
|
|
};
|
|
|
|
omap_192m_alwon_fck: omap_192m_alwon_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&dpll4_m2x2_ck>;
|
|
clock-mult = <1>;
|
|
clock-div = <1>;
|
|
};
|
|
|
|
core_d2_ck: core_d2_ck {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&core_ck>;
|
|
clock-mult = <1>;
|
|
clock-div = <2>;
|
|
};
|
|
|
|
sgx_mux_fck: sgx_mux_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,composite-mux-clock";
|
|
clocks = <&core_d3_ck>, <&core_d4_ck>, <&core_d6_ck>, <&cm_96m_fck>, <&omap_192m_alwon_fck>, <&core_d2_ck>, <&corex2_d3_fck>, <&corex2_d5_fck>;
|
|
reg = <0x0b40>;
|
|
};
|
|
|
|
sgx_fck: sgx_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,composite-clock";
|
|
clocks = <&sgx_gate_fck>, <&sgx_mux_fck>;
|
|
};
|
|
|
|
sgx_ick: sgx_ick {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,wait-gate-clock";
|
|
clocks = <&l3_ick>;
|
|
reg = <0x0b10>;
|
|
ti,bit-shift = <0>;
|
|
};
|
|
|
|
cpefuse_fck: cpefuse_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,gate-clock";
|
|
clocks = <&sys_ck>;
|
|
reg = <0x0a08>;
|
|
ti,bit-shift = <0>;
|
|
};
|
|
|
|
ts_fck: ts_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,gate-clock";
|
|
clocks = <&omap_32k_fck>;
|
|
reg = <0x0a08>;
|
|
ti,bit-shift = <1>;
|
|
};
|
|
|
|
usbtll_fck: usbtll_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,wait-gate-clock";
|
|
clocks = <&dpll5_m2_ck>;
|
|
reg = <0x0a08>;
|
|
ti,bit-shift = <2>;
|
|
};
|
|
|
|
usbtll_ick: usbtll_ick {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,omap3-interface-clock";
|
|
clocks = <&core_l4_ick>;
|
|
reg = <0x0a18>;
|
|
ti,bit-shift = <2>;
|
|
};
|
|
|
|
mmchs3_ick: mmchs3_ick {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,omap3-interface-clock";
|
|
clocks = <&core_l4_ick>;
|
|
reg = <0x0a10>;
|
|
ti,bit-shift = <30>;
|
|
};
|
|
|
|
mmchs3_fck: mmchs3_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,wait-gate-clock";
|
|
clocks = <&core_96m_fck>;
|
|
reg = <0x0a00>;
|
|
ti,bit-shift = <30>;
|
|
};
|
|
|
|
dss1_alwon_fck: dss1_alwon_fck_3430es2 {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,dss-gate-clock";
|
|
clocks = <&dpll4_m4x2_ck>;
|
|
ti,bit-shift = <0>;
|
|
reg = <0x0e00>;
|
|
ti,set-rate-parent;
|
|
};
|
|
|
|
dss_ick: dss_ick_3430es2 {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,omap3-dss-interface-clock";
|
|
clocks = <&l4_ick>;
|
|
reg = <0x0e10>;
|
|
ti,bit-shift = <0>;
|
|
};
|
|
|
|
usbhost_120m_fck: usbhost_120m_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,gate-clock";
|
|
clocks = <&dpll5_m2_ck>;
|
|
reg = <0x1400>;
|
|
ti,bit-shift = <1>;
|
|
};
|
|
|
|
usbhost_48m_fck: usbhost_48m_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,dss-gate-clock";
|
|
clocks = <&omap_48m_fck>;
|
|
reg = <0x1400>;
|
|
ti,bit-shift = <0>;
|
|
};
|
|
|
|
usbhost_ick: usbhost_ick {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,omap3-dss-interface-clock";
|
|
clocks = <&l4_ick>;
|
|
reg = <0x1410>;
|
|
ti,bit-shift = <0>;
|
|
};
|
|
};
|
|
|
|
&cm_clockdomains {
|
|
dpll5_clkdm: dpll5_clkdm {
|
|
compatible = "ti,clockdomain";
|
|
clocks = <&dpll5_ck>;
|
|
};
|
|
|
|
sgx_clkdm: sgx_clkdm {
|
|
compatible = "ti,clockdomain";
|
|
clocks = <&sgx_ick>;
|
|
};
|
|
|
|
dss_clkdm: dss_clkdm {
|
|
compatible = "ti,clockdomain";
|
|
clocks = <&dss_tv_fck>, <&dss_96m_fck>, <&dss2_alwon_fck>,
|
|
<&dss1_alwon_fck>, <&dss_ick>;
|
|
};
|
|
|
|
core_l4_clkdm: core_l4_clkdm {
|
|
compatible = "ti,clockdomain";
|
|
clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
|
|
<&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
|
|
<&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
|
|
<&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
|
|
<&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
|
|
<&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
|
|
<&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
|
|
<&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
|
|
<&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
|
|
<&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
|
|
<&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>;
|
|
};
|
|
|
|
usbhost_clkdm: usbhost_clkdm {
|
|
compatible = "ti,clockdomain";
|
|
clocks = <&usbhost_120m_fck>, <&usbhost_48m_fck>,
|
|
<&usbhost_ick>;
|
|
};
|
|
};
|