arm: dts: omap3: Re-sync DTS files with Linux 4.13-RC5

The DTS files had some spacing issues and they needed fixing. This
pull re-sync's the OMAP3xx related DTS files with Linux 4.13-RC5.

To keep the DTS and DTSI files clean and in sync with Linux, new
u-boot.dtsi files are added.

Signed-off-by: Adam Ford <aford173@gmail.com>

V3: The resync broke card detect on MMC1 on Logic PD's Torpedo,
    so we add the cd-invert to the Torpedo's -u-boot.dtsi file.

V2: Add the u-boot.dtsi files for OMAP3, OMAP36xx, and Torpedo
    Remove the need for the second patch in the series
master
Adam Ford 7 years ago committed by Tom Rini
parent 74cd48e132
commit bf1ddfc026
  1. 45
      arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi
  2. 15
      arch/arm/dts/logicpd-torpedo-37xx-devkit.dts
  3. 20
      arch/arm/dts/omap3-cpu-thermal.dtsi
  4. 19
      arch/arm/dts/omap3-u-boot.dtsi
  5. 1676
      arch/arm/dts/omap3.dtsi
  6. 448
      arch/arm/dts/omap34xx-omap36xx-clocks.dtsi
  7. 452
      arch/arm/dts/omap36xx-am35xx-omap3430es2plus-clocks.dtsi
  8. 148
      arch/arm/dts/omap36xx-clocks.dtsi
  9. 368
      arch/arm/dts/omap36xx-omap3430es2plus-clocks.dtsi
  10. 10
      arch/arm/dts/omap36xx-u-boot.dtsi
  11. 172
      arch/arm/dts/omap36xx.dtsi
  12. 3292
      arch/arm/dts/omap3xxx-clocks.dtsi
  13. 1
      arch/arm/mach-omap2/omap3/Kconfig

@ -0,0 +1,45 @@
/*
* Copyright (C) 2017
* Logic PD - http://www.logicpd.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
/ {
chosen {
stdout-path = &uart1;
};
};
&i2c1 {
clock-frequency = <400000>;
};
&i2c2 {
clock-frequency = <400000>;
};
&mmc1 {
cd-inverted;
};
&mmc2 {
status = "disabled";
};
&mmc3 {
status = "disabled";
};
&uart1 {
reg-shift = <2>;
};
&uart2 {
reg-shift = <2>;
};
&uart3 {
reg-shift = <2>;
};

@ -14,10 +14,6 @@
model = "LogicPD Zoom DM3730 Torpedo + Wireless Development Kit"; model = "LogicPD Zoom DM3730 Torpedo + Wireless Development Kit";
compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3"; compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3";
chosen {
stdout-path = &uart1;
};
gpio_keys { gpio_keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
@ -196,15 +192,12 @@
interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>; interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins &mmc1_cd>; pinctrl-0 = <&mmc1_pins &mmc1_cd>;
cd-gpios = <&gpio4 31 IRQ_TYPE_LEVEL_LOW>; /* gpio127 */
vmmc-supply = <&vmmc1>; vmmc-supply = <&vmmc1>;
bus-width = <4>; bus-width = <4>;
cap-power-off-card; cap-power-off-card;
}; };
&mmc2 {
status = "disabled";
};
&omap3_pmx_core { &omap3_pmx_core {
gpio_key_pins: pinmux_gpio_key_pins { gpio_key_pins: pinmux_gpio_key_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
@ -256,9 +249,9 @@
OMAP3_CORE1_IOPAD(0x2110, PIN_INPUT | MUX_MODE0) /* cam_xclka.cam_xclka */ OMAP3_CORE1_IOPAD(0x2110, PIN_INPUT | MUX_MODE0) /* cam_xclka.cam_xclka */
OMAP3_CORE1_IOPAD(0x2112, PIN_INPUT | MUX_MODE0) /* cam_pclk.cam_pclk */ OMAP3_CORE1_IOPAD(0x2112, PIN_INPUT | MUX_MODE0) /* cam_pclk.cam_pclk */
OMAP3_CORE1_IOPAD(0x2114, PIN_INPUT | MUX_MODE0) /* cam_d0.cam_d0 */ OMAP3_CORE1_IOPAD(0x2116, PIN_INPUT | MUX_MODE0) /* cam_d0.cam_d0 */
OMAP3_CORE1_IOPAD(0x2116, PIN_INPUT | MUX_MODE0) /* cam_d1.cam_d1 */ OMAP3_CORE1_IOPAD(0x2118, PIN_INPUT | MUX_MODE0) /* cam_d1.cam_d1 */
OMAP3_CORE1_IOPAD(0x2118, PIN_INPUT | MUX_MODE0) /* cam_d2.cam_d2 */ OMAP3_CORE1_IOPAD(0x211a, PIN_INPUT | MUX_MODE0) /* cam_d2.cam_d2 */
OMAP3_CORE1_IOPAD(0x211c, PIN_INPUT | MUX_MODE0) /* cam_d3.cam_d3 */ OMAP3_CORE1_IOPAD(0x211c, PIN_INPUT | MUX_MODE0) /* cam_d3.cam_d3 */
OMAP3_CORE1_IOPAD(0x211e, PIN_INPUT | MUX_MODE0) /* cam_d4.cam_d4 */ OMAP3_CORE1_IOPAD(0x211e, PIN_INPUT | MUX_MODE0) /* cam_d4.cam_d4 */
OMAP3_CORE1_IOPAD(0x2120, PIN_INPUT | MUX_MODE0) /* cam_d5.cam_d5 */ OMAP3_CORE1_IOPAD(0x2120, PIN_INPUT | MUX_MODE0) /* cam_d5.cam_d5 */

@ -0,0 +1,20 @@
/*
* Device Tree Source for OMAP3 SoC CPU thermal
*
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/
#include <dt-bindings/thermal/thermal.h>
cpu_thermal: cpu_thermal {
polling-delay-passive = <250>; /* milliseconds */
polling-delay = <1000>; /* milliseconds */
coefficients = <0 20000>;
/* sensor ID */
thermal-sensors = <&bandgap 0>;
};

@ -0,0 +1,19 @@
/*
* Copyright (C) 2017
* Logic PD - http://www.logicpd.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
&uart1 {
reg-shift = <2>;
};
&uart2 {
reg-shift = <2>;
};
&uart3 {
reg-shift = <2>;
};

File diff suppressed because it is too large Load Diff

@ -8,261 +8,261 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
&cm_clocks { &cm_clocks {
security_l4_ick2: security_l4_ick2 { security_l4_ick2: security_l4_ick2 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&l4_ick>; clocks = <&l4_ick>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <1>; clock-div = <1>;
}; };
aes1_ick: aes1_ick@a14 { aes1_ick: aes1_ick@a14 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&security_l4_ick2>; clocks = <&security_l4_ick2>;
ti,bit-shift = <3>; ti,bit-shift = <3>;
reg = <0x0a14>; reg = <0x0a14>;
}; };
rng_ick: rng_ick@a14 { rng_ick: rng_ick@a14 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&security_l4_ick2>; clocks = <&security_l4_ick2>;
reg = <0x0a14>; reg = <0x0a14>;
ti,bit-shift = <2>; ti,bit-shift = <2>;
}; };
sha11_ick: sha11_ick@a14 { sha11_ick: sha11_ick@a14 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&security_l4_ick2>; clocks = <&security_l4_ick2>;
reg = <0x0a14>; reg = <0x0a14>;
ti,bit-shift = <1>; ti,bit-shift = <1>;
}; };
des1_ick: des1_ick@a14 { des1_ick: des1_ick@a14 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&security_l4_ick2>; clocks = <&security_l4_ick2>;
reg = <0x0a14>; reg = <0x0a14>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
cam_mclk: cam_mclk@f00 { cam_mclk: cam_mclk@f00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&dpll4_m5x2_ck>; clocks = <&dpll4_m5x2_ck>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
reg = <0x0f00>; reg = <0x0f00>;
ti,set-rate-parent; ti,set-rate-parent;
}; };
cam_ick: cam_ick@f10 { cam_ick: cam_ick@f10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-no-wait-interface-clock"; compatible = "ti,omap3-no-wait-interface-clock";
clocks = <&l4_ick>; clocks = <&l4_ick>;
reg = <0x0f10>; reg = <0x0f10>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
csi2_96m_fck: csi2_96m_fck@f00 { csi2_96m_fck: csi2_96m_fck@f00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&core_96m_fck>; clocks = <&core_96m_fck>;
reg = <0x0f00>; reg = <0x0f00>;
ti,bit-shift = <1>; ti,bit-shift = <1>;
}; };
security_l3_ick: security_l3_ick { security_l3_ick: security_l3_ick {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&l3_ick>; clocks = <&l3_ick>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <1>; clock-div = <1>;
}; };
pka_ick: pka_ick@a14 { pka_ick: pka_ick@a14 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&security_l3_ick>; clocks = <&security_l3_ick>;
reg = <0x0a14>; reg = <0x0a14>;
ti,bit-shift = <4>; ti,bit-shift = <4>;
}; };
icr_ick: icr_ick@a10 { icr_ick: icr_ick@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l4_ick>; clocks = <&core_l4_ick>;
reg = <0x0a10>; reg = <0x0a10>;
ti,bit-shift = <29>; ti,bit-shift = <29>;
}; };
des2_ick: des2_ick@a10 { des2_ick: des2_ick@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l4_ick>; clocks = <&core_l4_ick>;
reg = <0x0a10>; reg = <0x0a10>;
ti,bit-shift = <26>; ti,bit-shift = <26>;
}; };
mspro_ick: mspro_ick@a10 { mspro_ick: mspro_ick@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l4_ick>; clocks = <&core_l4_ick>;
reg = <0x0a10>; reg = <0x0a10>;
ti,bit-shift = <23>; ti,bit-shift = <23>;
}; };
mailboxes_ick: mailboxes_ick@a10 { mailboxes_ick: mailboxes_ick@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l4_ick>; clocks = <&core_l4_ick>;
reg = <0x0a10>; reg = <0x0a10>;
ti,bit-shift = <7>; ti,bit-shift = <7>;
}; };
ssi_l4_ick: ssi_l4_ick { ssi_l4_ick: ssi_l4_ick {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&l4_ick>; clocks = <&l4_ick>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <1>; clock-div = <1>;
}; };
sr1_fck: sr1_fck@c00 { sr1_fck: sr1_fck@c00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&sys_ck>; clocks = <&sys_ck>;
reg = <0x0c00>; reg = <0x0c00>;
ti,bit-shift = <6>; ti,bit-shift = <6>;
}; };
sr2_fck: sr2_fck@c00 { sr2_fck: sr2_fck@c00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&sys_ck>; clocks = <&sys_ck>;
reg = <0x0c00>; reg = <0x0c00>;
ti,bit-shift = <7>; ti,bit-shift = <7>;
}; };
sr_l4_ick: sr_l4_ick { sr_l4_ick: sr_l4_ick {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&l4_ick>; clocks = <&l4_ick>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <1>; clock-div = <1>;
}; };
dpll2_fck: dpll2_fck@40 { dpll2_fck: dpll2_fck@40 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
ti,bit-shift = <19>; ti,bit-shift = <19>;
ti,max-div = <7>; ti,max-div = <7>;
reg = <0x0040>; reg = <0x0040>;
ti,index-starts-at-one; ti,index-starts-at-one;
}; };
dpll2_ck: dpll2_ck@4 { dpll2_ck: dpll2_ck@4 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-dpll-clock"; compatible = "ti,omap3-dpll-clock";
clocks = <&sys_ck>, <&dpll2_fck>; clocks = <&sys_ck>, <&dpll2_fck>;
reg = <0x0004>, <0x0024>, <0x0040>, <0x0034>; reg = <0x0004>, <0x0024>, <0x0040>, <0x0034>;
ti,low-power-stop; ti,low-power-stop;
ti,lock; ti,lock;
ti,low-power-bypass; ti,low-power-bypass;
}; };
dpll2_m2_ck: dpll2_m2_ck@44 { dpll2_m2_ck: dpll2_m2_ck@44 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&dpll2_ck>; clocks = <&dpll2_ck>;
ti,max-div = <31>; ti,max-div = <31>;
reg = <0x0044>; reg = <0x0044>;
ti,index-starts-at-one; ti,index-starts-at-one;
}; };
iva2_ck: iva2_ck@0 { iva2_ck: iva2_ck@0 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&dpll2_m2_ck>; clocks = <&dpll2_m2_ck>;
reg = <0x0000>; reg = <0x0000>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
modem_fck: modem_fck@a00 { modem_fck: modem_fck@a00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&sys_ck>; clocks = <&sys_ck>;
reg = <0x0a00>; reg = <0x0a00>;
ti,bit-shift = <31>; ti,bit-shift = <31>;
}; };
sad2d_ick: sad2d_ick@a10 { sad2d_ick: sad2d_ick@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l3_ick>; clocks = <&l3_ick>;
reg = <0x0a10>; reg = <0x0a10>;
ti,bit-shift = <3>; ti,bit-shift = <3>;
}; };
mad2d_ick: mad2d_ick@a18 { mad2d_ick: mad2d_ick@a18 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l3_ick>; clocks = <&l3_ick>;
reg = <0x0a18>; reg = <0x0a18>;
ti,bit-shift = <3>; ti,bit-shift = <3>;
}; };
mspro_fck: mspro_fck@a00 { mspro_fck: mspro_fck@a00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&core_96m_fck>; clocks = <&core_96m_fck>;
reg = <0x0a00>; reg = <0x0a00>;
ti,bit-shift = <23>; ti,bit-shift = <23>;
}; };
}; };
&cm_clockdomains { &cm_clockdomains {
cam_clkdm: cam_clkdm { cam_clkdm: cam_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&cam_ick>, <&csi2_96m_fck>; clocks = <&cam_ick>, <&csi2_96m_fck>;
}; };
iva2_clkdm: iva2_clkdm { iva2_clkdm: iva2_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&iva2_ck>; clocks = <&iva2_ck>;
}; };
dpll2_clkdm: dpll2_clkdm { dpll2_clkdm: dpll2_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&dpll2_ck>; clocks = <&dpll2_ck>;
}; };
wkup_clkdm: wkup_clkdm { wkup_clkdm: wkup_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>, clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>,
<&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>, <&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>,
<&gpt1_ick>, <&sr1_fck>, <&sr2_fck>; <&gpt1_ick>, <&sr1_fck>, <&sr2_fck>;
}; };
d2d_clkdm: d2d_clkdm { d2d_clkdm: d2d_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&modem_fck>, <&sad2d_ick>, <&mad2d_ick>; clocks = <&modem_fck>, <&sad2d_ick>, <&mad2d_ick>;
}; };
core_l4_clkdm: core_l4_clkdm { core_l4_clkdm: core_l4_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>, clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
<&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>, <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
<&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>, <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
<&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>, <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
<&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>, <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
<&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>, <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
<&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>, <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
<&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>, <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
<&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, <&icr_ick>, <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, <&icr_ick>,
<&des2_ick>, <&mspro_ick>, <&mailboxes_ick>, <&des2_ick>, <&mspro_ick>, <&mailboxes_ick>,
<&mspro_fck>; <&mspro_fck>;
}; };
}; };

@ -8,235 +8,235 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
&prm_clocks { &prm_clocks {
corex2_d3_fck: corex2_d3_fck { corex2_d3_fck: corex2_d3_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&corex2_fck>; clocks = <&corex2_fck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <3>; clock-div = <3>;
}; };
corex2_d5_fck: corex2_d5_fck { corex2_d5_fck: corex2_d5_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&corex2_fck>; clocks = <&corex2_fck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <5>; clock-div = <5>;
}; };
}; };
&cm_clocks { &cm_clocks {
dpll5_ck: dpll5_ck@d04 { dpll5_ck: dpll5_ck@d04 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-dpll-clock"; compatible = "ti,omap3-dpll-clock";
clocks = <&sys_ck>, <&sys_ck>; clocks = <&sys_ck>, <&sys_ck>;
reg = <0x0d04>, <0x0d24>, <0x0d4c>, <0x0d34>; reg = <0x0d04>, <0x0d24>, <0x0d4c>, <0x0d34>;
ti,low-power-stop; ti,low-power-stop;
ti,lock; ti,lock;
}; };
dpll5_m2_ck: dpll5_m2_ck@d50 { dpll5_m2_ck: dpll5_m2_ck@d50 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&dpll5_ck>; clocks = <&dpll5_ck>;
ti,max-div = <31>; ti,max-div = <31>;
reg = <0x0d50>; reg = <0x0d50>;
ti,index-starts-at-one; ti,index-starts-at-one;
}; };
sgx_gate_fck: sgx_gate_fck@b00 { sgx_gate_fck: sgx_gate_fck@b00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-gate-clock"; compatible = "ti,composite-gate-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
ti,bit-shift = <1>; ti,bit-shift = <1>;
reg = <0x0b00>; reg = <0x0b00>;
}; };
core_d3_ck: core_d3_ck { core_d3_ck: core_d3_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <3>; clock-div = <3>;
}; };
core_d4_ck: core_d4_ck { core_d4_ck: core_d4_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <4>; clock-div = <4>;
}; };
core_d6_ck: core_d6_ck { core_d6_ck: core_d6_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <6>; clock-div = <6>;
}; };
omap_192m_alwon_fck: omap_192m_alwon_fck { omap_192m_alwon_fck: omap_192m_alwon_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&dpll4_m2x2_ck>; clocks = <&dpll4_m2x2_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <1>; clock-div = <1>;
}; };
core_d2_ck: core_d2_ck { core_d2_ck: core_d2_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <2>; clock-div = <2>;
}; };
sgx_mux_fck: sgx_mux_fck@b40 { sgx_mux_fck: sgx_mux_fck@b40 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-mux-clock"; 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>; 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>; reg = <0x0b40>;
}; };
sgx_fck: sgx_fck { sgx_fck: sgx_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-clock"; compatible = "ti,composite-clock";
clocks = <&sgx_gate_fck>, <&sgx_mux_fck>; clocks = <&sgx_gate_fck>, <&sgx_mux_fck>;
}; };
sgx_ick: sgx_ick@b10 { sgx_ick: sgx_ick@b10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&l3_ick>; clocks = <&l3_ick>;
reg = <0x0b10>; reg = <0x0b10>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
cpefuse_fck: cpefuse_fck@a08 { cpefuse_fck: cpefuse_fck@a08 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&sys_ck>; clocks = <&sys_ck>;
reg = <0x0a08>; reg = <0x0a08>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
ts_fck: ts_fck@a08 { ts_fck: ts_fck@a08 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&omap_32k_fck>; clocks = <&omap_32k_fck>;
reg = <0x0a08>; reg = <0x0a08>;
ti,bit-shift = <1>; ti,bit-shift = <1>;
}; };
usbtll_fck: usbtll_fck@a08 { usbtll_fck: usbtll_fck@a08 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&dpll5_m2_ck>; clocks = <&dpll5_m2_ck>;
reg = <0x0a08>; reg = <0x0a08>;
ti,bit-shift = <2>; ti,bit-shift = <2>;
}; };
usbtll_ick: usbtll_ick@a18 { usbtll_ick: usbtll_ick@a18 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l4_ick>; clocks = <&core_l4_ick>;
reg = <0x0a18>; reg = <0x0a18>;
ti,bit-shift = <2>; ti,bit-shift = <2>;
}; };
mmchs3_ick: mmchs3_ick@a10 { mmchs3_ick: mmchs3_ick@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l4_ick>; clocks = <&core_l4_ick>;
reg = <0x0a10>; reg = <0x0a10>;
ti,bit-shift = <30>; ti,bit-shift = <30>;
}; };
mmchs3_fck: mmchs3_fck@a00 { mmchs3_fck: mmchs3_fck@a00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&core_96m_fck>; clocks = <&core_96m_fck>;
reg = <0x0a00>; reg = <0x0a00>;
ti,bit-shift = <30>; ti,bit-shift = <30>;
}; };
dss1_alwon_fck: dss1_alwon_fck_3430es2@e00 { dss1_alwon_fck: dss1_alwon_fck_3430es2@e00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,dss-gate-clock"; compatible = "ti,dss-gate-clock";
clocks = <&dpll4_m4x2_ck>; clocks = <&dpll4_m4x2_ck>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
reg = <0x0e00>; reg = <0x0e00>;
ti,set-rate-parent; ti,set-rate-parent;
}; };
dss_ick: dss_ick_3430es2@e10 { dss_ick: dss_ick_3430es2@e10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-dss-interface-clock"; compatible = "ti,omap3-dss-interface-clock";
clocks = <&l4_ick>; clocks = <&l4_ick>;
reg = <0x0e10>; reg = <0x0e10>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
usbhost_120m_fck: usbhost_120m_fck@1400 { usbhost_120m_fck: usbhost_120m_fck@1400 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&dpll5_m2_ck>; clocks = <&dpll5_m2_ck>;
reg = <0x1400>; reg = <0x1400>;
ti,bit-shift = <1>; ti,bit-shift = <1>;
}; };
usbhost_48m_fck: usbhost_48m_fck@1400 { usbhost_48m_fck: usbhost_48m_fck@1400 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,dss-gate-clock"; compatible = "ti,dss-gate-clock";
clocks = <&omap_48m_fck>; clocks = <&omap_48m_fck>;
reg = <0x1400>; reg = <0x1400>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
usbhost_ick: usbhost_ick@1410 { usbhost_ick: usbhost_ick@1410 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-dss-interface-clock"; compatible = "ti,omap3-dss-interface-clock";
clocks = <&l4_ick>; clocks = <&l4_ick>;
reg = <0x1410>; reg = <0x1410>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
}; };
&cm_clockdomains { &cm_clockdomains {
dpll5_clkdm: dpll5_clkdm { dpll5_clkdm: dpll5_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&dpll5_ck>; clocks = <&dpll5_ck>;
}; };
sgx_clkdm: sgx_clkdm { sgx_clkdm: sgx_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&sgx_ick>; clocks = <&sgx_ick>;
}; };
dss_clkdm: dss_clkdm { dss_clkdm: dss_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&dss_tv_fck>, <&dss_96m_fck>, <&dss2_alwon_fck>, clocks = <&dss_tv_fck>, <&dss_96m_fck>, <&dss2_alwon_fck>,
<&dss1_alwon_fck>, <&dss_ick>; <&dss1_alwon_fck>, <&dss_ick>;
}; };
core_l4_clkdm: core_l4_clkdm { core_l4_clkdm: core_l4_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>, clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
<&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>, <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
<&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>, <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
<&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>, <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
<&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>, <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
<&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>, <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
<&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>, <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
<&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>, <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
<&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
<&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>, <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
<&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>; <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>;
}; };
usbhost_clkdm: usbhost_clkdm { usbhost_clkdm: usbhost_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&usbhost_120m_fck>, <&usbhost_48m_fck>, clocks = <&usbhost_120m_fck>, <&usbhost_48m_fck>,
<&usbhost_ick>; <&usbhost_ick>;
}; };
}; };

@ -8,103 +8,103 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
&cm_clocks { &cm_clocks {
dpll4_ck: dpll4_ck@d00 { dpll4_ck: dpll4_ck@d00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-dpll-per-j-type-clock"; compatible = "ti,omap3-dpll-per-j-type-clock";
clocks = <&sys_ck>, <&sys_ck>; clocks = <&sys_ck>, <&sys_ck>;
reg = <0x0d00>, <0x0d20>, <0x0d44>, <0x0d30>; reg = <0x0d00>, <0x0d20>, <0x0d44>, <0x0d30>;
}; };
dpll4_m5x2_ck: dpll4_m5x2_ck@d00 { dpll4_m5x2_ck: dpll4_m5x2_ck@d00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,hsdiv-gate-clock"; compatible = "ti,hsdiv-gate-clock";
clocks = <&dpll4_m5x2_mul_ck>; clocks = <&dpll4_m5x2_mul_ck>;
ti,bit-shift = <0x1e>; ti,bit-shift = <0x1e>;
reg = <0x0d00>; reg = <0x0d00>;
ti,set-rate-parent; ti,set-rate-parent;
ti,set-bit-to-disable; ti,set-bit-to-disable;
}; };
dpll4_m2x2_ck: dpll4_m2x2_ck@d00 { dpll4_m2x2_ck: dpll4_m2x2_ck@d00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,hsdiv-gate-clock"; compatible = "ti,hsdiv-gate-clock";
clocks = <&dpll4_m2x2_mul_ck>; clocks = <&dpll4_m2x2_mul_ck>;
ti,bit-shift = <0x1b>; ti,bit-shift = <0x1b>;
reg = <0x0d00>; reg = <0x0d00>;
ti,set-bit-to-disable; ti,set-bit-to-disable;
}; };
dpll3_m3x2_ck: dpll3_m3x2_ck@d00 { dpll3_m3x2_ck: dpll3_m3x2_ck@d00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,hsdiv-gate-clock"; compatible = "ti,hsdiv-gate-clock";
clocks = <&dpll3_m3x2_mul_ck>; clocks = <&dpll3_m3x2_mul_ck>;
ti,bit-shift = <0xc>; ti,bit-shift = <0xc>;
reg = <0x0d00>; reg = <0x0d00>;
ti,set-bit-to-disable; ti,set-bit-to-disable;
}; };
dpll4_m3x2_ck: dpll4_m3x2_ck@d00 { dpll4_m3x2_ck: dpll4_m3x2_ck@d00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,hsdiv-gate-clock"; compatible = "ti,hsdiv-gate-clock";
clocks = <&dpll4_m3x2_mul_ck>; clocks = <&dpll4_m3x2_mul_ck>;
ti,bit-shift = <0x1c>; ti,bit-shift = <0x1c>;
reg = <0x0d00>; reg = <0x0d00>;
ti,set-bit-to-disable; ti,set-bit-to-disable;
}; };
dpll4_m6x2_ck: dpll4_m6x2_ck@d00 { dpll4_m6x2_ck: dpll4_m6x2_ck@d00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,hsdiv-gate-clock"; compatible = "ti,hsdiv-gate-clock";
clocks = <&dpll4_m6x2_mul_ck>; clocks = <&dpll4_m6x2_mul_ck>;
ti,bit-shift = <0x1f>; ti,bit-shift = <0x1f>;
reg = <0x0d00>; reg = <0x0d00>;
ti,set-bit-to-disable; ti,set-bit-to-disable;
}; };
uart4_fck: uart4_fck@1000 { uart4_fck: uart4_fck@1000 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&per_48m_fck>; clocks = <&per_48m_fck>;
reg = <0x1000>; reg = <0x1000>;
ti,bit-shift = <18>; ti,bit-shift = <18>;
}; };
}; };
&dpll4_m2x2_mul_ck { &dpll4_m2x2_mul_ck {
clock-mult = <1>; clock-mult = <1>;
}; };
&dpll4_m3x2_mul_ck { &dpll4_m3x2_mul_ck {
clock-mult = <1>; clock-mult = <1>;
}; };
&dpll4_m4x2_mul_ck { &dpll4_m4x2_mul_ck {
ti,clock-mult = <1>; ti,clock-mult = <1>;
}; };
&dpll4_m5x2_mul_ck { &dpll4_m5x2_mul_ck {
ti,clock-mult = <1>; ti,clock-mult = <1>;
}; };
&dpll4_m6x2_mul_ck { &dpll4_m6x2_mul_ck {
clock-mult = <1>; clock-mult = <1>;
}; };
&cm_clockdomains { &cm_clockdomains {
dpll4_clkdm: dpll4_clkdm { dpll4_clkdm: dpll4_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&dpll4_ck>; clocks = <&dpll4_ck>;
}; };
per_clkdm: per_clkdm { per_clkdm: per_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&uart3_fck>, <&gpio6_dbck>, <&gpio5_dbck>, clocks = <&uart3_fck>, <&gpio6_dbck>, <&gpio5_dbck>,
<&gpio4_dbck>, <&gpio3_dbck>, <&gpio2_dbck>, <&gpio4_dbck>, <&gpio3_dbck>, <&gpio2_dbck>,
<&wdt3_fck>, <&gpio6_ick>, <&gpio5_ick>, <&gpio4_ick>, <&wdt3_fck>, <&gpio6_ick>, <&gpio5_ick>, <&gpio4_ick>,
<&gpio3_ick>, <&gpio2_ick>, <&wdt3_ick>, <&uart3_ick>, <&gpio3_ick>, <&gpio2_ick>, <&wdt3_ick>, <&uart3_ick>,
<&uart4_ick>, <&gpt9_ick>, <&gpt8_ick>, <&gpt7_ick>, <&uart4_ick>, <&gpt9_ick>, <&gpt8_ick>, <&gpt7_ick>,
<&gpt6_ick>, <&gpt5_ick>, <&gpt4_ick>, <&gpt3_ick>, <&gpt6_ick>, <&gpt5_ick>, <&gpt4_ick>, <&gpt3_ick>,
<&gpt2_ick>, <&mcbsp2_ick>, <&mcbsp3_ick>, <&gpt2_ick>, <&mcbsp2_ick>, <&mcbsp3_ick>,
<&mcbsp4_ick>, <&uart4_fck>; <&mcbsp4_ick>, <&uart4_fck>;
}; };
}; };

@ -8,191 +8,191 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
&cm_clocks { &cm_clocks {
ssi_ssr_gate_fck_3430es2: ssi_ssr_gate_fck_3430es2@a00 { ssi_ssr_gate_fck_3430es2: ssi_ssr_gate_fck_3430es2@a00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-no-wait-gate-clock"; compatible = "ti,composite-no-wait-gate-clock";
clocks = <&corex2_fck>; clocks = <&corex2_fck>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
reg = <0x0a00>; reg = <0x0a00>;
}; };
ssi_ssr_div_fck_3430es2: ssi_ssr_div_fck_3430es2@a40 { ssi_ssr_div_fck_3430es2: ssi_ssr_div_fck_3430es2@a40 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-divider-clock"; compatible = "ti,composite-divider-clock";
clocks = <&corex2_fck>; clocks = <&corex2_fck>;
ti,bit-shift = <8>; ti,bit-shift = <8>;
reg = <0x0a40>; reg = <0x0a40>;
ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>; ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>;
}; };
ssi_ssr_fck: ssi_ssr_fck_3430es2 { ssi_ssr_fck: ssi_ssr_fck_3430es2 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-clock"; compatible = "ti,composite-clock";
clocks = <&ssi_ssr_gate_fck_3430es2>, <&ssi_ssr_div_fck_3430es2>; clocks = <&ssi_ssr_gate_fck_3430es2>, <&ssi_ssr_div_fck_3430es2>;
}; };
ssi_sst_fck: ssi_sst_fck_3430es2 { ssi_sst_fck: ssi_sst_fck_3430es2 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&ssi_ssr_fck>; clocks = <&ssi_ssr_fck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <2>; clock-div = <2>;
}; };
hsotgusb_ick_3430es2: hsotgusb_ick_3430es2@a10 { hsotgusb_ick_3430es2: hsotgusb_ick_3430es2@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-hsotgusb-interface-clock"; compatible = "ti,omap3-hsotgusb-interface-clock";
clocks = <&core_l3_ick>; clocks = <&core_l3_ick>;
reg = <0x0a10>; reg = <0x0a10>;
ti,bit-shift = <4>; ti,bit-shift = <4>;
}; };
ssi_l4_ick: ssi_l4_ick { ssi_l4_ick: ssi_l4_ick {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&l4_ick>; clocks = <&l4_ick>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <1>; clock-div = <1>;
}; };
ssi_ick: ssi_ick_3430es2@a10 { ssi_ick: ssi_ick_3430es2@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-ssi-interface-clock"; compatible = "ti,omap3-ssi-interface-clock";
clocks = <&ssi_l4_ick>; clocks = <&ssi_l4_ick>;
reg = <0x0a10>; reg = <0x0a10>;
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
usim_gate_fck: usim_gate_fck@c00 { usim_gate_fck: usim_gate_fck@c00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-gate-clock"; compatible = "ti,composite-gate-clock";
clocks = <&omap_96m_fck>; clocks = <&omap_96m_fck>;
ti,bit-shift = <9>; ti,bit-shift = <9>;
reg = <0x0c00>; reg = <0x0c00>;
}; };
sys_d2_ck: sys_d2_ck { sys_d2_ck: sys_d2_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&sys_ck>; clocks = <&sys_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <2>; clock-div = <2>;
}; };
omap_96m_d2_fck: omap_96m_d2_fck { omap_96m_d2_fck: omap_96m_d2_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&omap_96m_fck>; clocks = <&omap_96m_fck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <2>; clock-div = <2>;
}; };
omap_96m_d4_fck: omap_96m_d4_fck { omap_96m_d4_fck: omap_96m_d4_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&omap_96m_fck>; clocks = <&omap_96m_fck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <4>; clock-div = <4>;
}; };
omap_96m_d8_fck: omap_96m_d8_fck { omap_96m_d8_fck: omap_96m_d8_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&omap_96m_fck>; clocks = <&omap_96m_fck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <8>; clock-div = <8>;
}; };
omap_96m_d10_fck: omap_96m_d10_fck { omap_96m_d10_fck: omap_96m_d10_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&omap_96m_fck>; clocks = <&omap_96m_fck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <10>; clock-div = <10>;
}; };
dpll5_m2_d4_ck: dpll5_m2_d4_ck { dpll5_m2_d4_ck: dpll5_m2_d4_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&dpll5_m2_ck>; clocks = <&dpll5_m2_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <4>; clock-div = <4>;
}; };
dpll5_m2_d8_ck: dpll5_m2_d8_ck { dpll5_m2_d8_ck: dpll5_m2_d8_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&dpll5_m2_ck>; clocks = <&dpll5_m2_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <8>; clock-div = <8>;
}; };
dpll5_m2_d16_ck: dpll5_m2_d16_ck { dpll5_m2_d16_ck: dpll5_m2_d16_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&dpll5_m2_ck>; clocks = <&dpll5_m2_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <16>; clock-div = <16>;
}; };
dpll5_m2_d20_ck: dpll5_m2_d20_ck { dpll5_m2_d20_ck: dpll5_m2_d20_ck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&dpll5_m2_ck>; clocks = <&dpll5_m2_ck>;
clock-mult = <1>; clock-mult = <1>;
clock-div = <20>; clock-div = <20>;
}; };
usim_mux_fck: usim_mux_fck@c40 { usim_mux_fck: usim_mux_fck@c40 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-mux-clock"; compatible = "ti,composite-mux-clock";
clocks = <&sys_ck>, <&sys_d2_ck>, <&omap_96m_d2_fck>, <&omap_96m_d4_fck>, <&omap_96m_d8_fck>, <&omap_96m_d10_fck>, <&dpll5_m2_d4_ck>, <&dpll5_m2_d8_ck>, <&dpll5_m2_d16_ck>, <&dpll5_m2_d20_ck>; clocks = <&sys_ck>, <&sys_d2_ck>, <&omap_96m_d2_fck>, <&omap_96m_d4_fck>, <&omap_96m_d8_fck>, <&omap_96m_d10_fck>, <&dpll5_m2_d4_ck>, <&dpll5_m2_d8_ck>, <&dpll5_m2_d16_ck>, <&dpll5_m2_d20_ck>;
ti,bit-shift = <3>; ti,bit-shift = <3>;
reg = <0x0c40>; reg = <0x0c40>;
ti,index-starts-at-one; ti,index-starts-at-one;
}; };
usim_fck: usim_fck { usim_fck: usim_fck {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-clock"; compatible = "ti,composite-clock";
clocks = <&usim_gate_fck>, <&usim_mux_fck>; clocks = <&usim_gate_fck>, <&usim_mux_fck>;
}; };
usim_ick: usim_ick@c10 { usim_ick: usim_ick@c10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&wkup_l4_ick>; clocks = <&wkup_l4_ick>;
reg = <0x0c10>; reg = <0x0c10>;
ti,bit-shift = <9>; ti,bit-shift = <9>;
}; };
}; };
&cm_clockdomains { &cm_clockdomains {
core_l3_clkdm: core_l3_clkdm { core_l3_clkdm: core_l3_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es2>; clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es2>;
}; };
wkup_clkdm: wkup_clkdm { wkup_clkdm: wkup_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>, clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>,
<&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>, <&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>,
<&gpt1_ick>, <&usim_ick>; <&gpt1_ick>, <&usim_ick>;
}; };
core_l4_clkdm: core_l4_clkdm { core_l4_clkdm: core_l4_clkdm {
compatible = "ti,clockdomain"; compatible = "ti,clockdomain";
clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>, clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
<&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>, <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>,
<&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>, <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
<&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>, <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
<&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>, <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
<&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>, <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
<&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>, <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
<&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>, <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
<&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>, <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
<&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>, <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
<&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
<&ssi_ick>; <&ssi_ick>;
}; };
}; };

@ -0,0 +1,10 @@
/*
* Copyright (C) 2017
* Logic PD - http://www.logicpd.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
&uart4 {
reg-shift = <2>;
};

@ -13,103 +13,109 @@
#include "omap3.dtsi" #include "omap3.dtsi"
/ { / {
aliases { aliases {
serial3 = &uart4; serial3 = &uart4;
}; };
cpus { cpus {
/* OMAP3630/OMAP37xx 'standard device' variants OPP50 to OPP130 */ /* OMAP3630/OMAP37xx 'standard device' variants OPP50 to OPP130 */
cpu@0 { cpu: cpu@0 {
operating-points = < operating-points = <
/* kHz uV */ /* kHz uV */
300000 1012500 300000 1012500
600000 1200000 600000 1200000
800000 1325000 800000 1325000
>; >;
clock-latency = <300000>; /* From legacy driver */ clock-latency = <300000>; /* From legacy driver */
}; };
}; };
ocp@68000000 { ocp@68000000 {
uart4: serial@49042000 { uart4: serial@49042000 {
compatible = "ti,omap3-uart"; compatible = "ti,omap3-uart";
reg = <0x49042000 0x400>; reg = <0x49042000 0x400>;
interrupts = <80>; reg-shift = <2>;
dmas = <&sdma 81 &sdma 82>; interrupts = <80>;
dma-names = "tx", "rx"; dmas = <&sdma 81 &sdma 82>;
ti,hwmods = "uart4"; dma-names = "tx", "rx";
clock-frequency = <48000000>; ti,hwmods = "uart4";
}; clock-frequency = <48000000>;
};
abb_mpu_iva: regulator-abb-mpu { abb_mpu_iva: regulator-abb-mpu {
compatible = "ti,abb-v1"; compatible = "ti,abb-v1";
regulator-name = "abb_mpu_iva"; regulator-name = "abb_mpu_iva";
#address-cells = <0>; #address-cells = <0>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x483072f0 0x8>, <0x48306818 0x4>; reg = <0x483072f0 0x8>, <0x48306818 0x4>;
reg-names = "base-address", "int-address"; reg-names = "base-address", "int-address";
ti,tranxdone-status-mask = <0x4000000>; ti,tranxdone-status-mask = <0x4000000>;
clocks = <&sys_ck>; clocks = <&sys_ck>;
ti,settling-time = <30>; ti,settling-time = <30>;
ti,clock-cycles = <8>; ti,clock-cycles = <8>;
ti,abb_info = < ti,abb_info = <
/*uV ABB efuse rbb_m fbb_m vset_m*/ /*uV ABB efuse rbb_m fbb_m vset_m*/
1012500 0 0 0 0 0 1012500 0 0 0 0 0
1200000 0 0 0 0 0 1200000 0 0 0 0 0
1325000 0 0 0 0 0 1325000 0 0 0 0 0
1375000 1 0 0 0 0 1375000 1 0 0 0 0
>; >;
}; };
omap3_pmx_core2: pinmux@480025a0 { omap3_pmx_core2: pinmux@480025a0 {
compatible = "ti,omap3-padconf", "pinctrl-single"; compatible = "ti,omap3-padconf", "pinctrl-single";
reg = <0x480025a0 0x5c>; reg = <0x480025a0 0x5c>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#interrupt-cells = <1>; #pinctrl-cells = <1>;
interrupt-controller; #interrupt-cells = <1>;
pinctrl-single,register-width = <16>; interrupt-controller;
pinctrl-single,function-mask = <0xff1f>; pinctrl-single,register-width = <16>;
}; pinctrl-single,function-mask = <0xff1f>;
};
isp: isp@480bc000 { isp: isp@480bc000 {
compatible = "ti,omap3-isp"; compatible = "ti,omap3-isp";
reg = <0x480bc000 0x12fc reg = <0x480bc000 0x12fc
0x480bd800 0x0600>; 0x480bd800 0x0600>;
interrupts = <24>; interrupts = <24>;
iommus = <&mmu_isp>; iommus = <&mmu_isp>;
syscon = <&scm_conf 0x2f0>; syscon = <&scm_conf 0x2f0>;
ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>; ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>;
#clock-cells = <1>; #clock-cells = <1>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
}; };
}; };
bandgap@48002524 { bandgap: bandgap@48002524 {
reg = <0x48002524 0x4>; reg = <0x48002524 0x4>;
compatible = "ti,omap36xx-bandgap"; compatible = "ti,omap36xx-bandgap";
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
}; };
}; };
thermal_zones: thermal-zones {
#include "omap3-cpu-thermal.dtsi"
};
}; };
/* OMAP3630 needs dss_96m_fck for VENC */ /* OMAP3630 needs dss_96m_fck for VENC */
&venc { &venc {
clocks = <&dss_tv_fck>, <&dss_96m_fck>; clocks = <&dss_tv_fck>, <&dss_96m_fck>;
clock-names = "fck", "tv_dac_clk"; clock-names = "fck", "tv_dac_clk";
}; };
&ssi { &ssi {
status = "ok"; status = "ok";
clocks = <&ssi_ssr_fck>, clocks = <&ssi_ssr_fck>,
<&ssi_sst_fck>, <&ssi_sst_fck>,
<&ssi_ick>; <&ssi_ick>;
clock-names = "ssi_ssr_fck", clock-names = "ssi_ssr_fck",
"ssi_sst_fck", "ssi_sst_fck",
"ssi_ick"; "ssi_ick";
}; };
/include/ "omap34xx-omap36xx-clocks.dtsi" /include/ "omap34xx-omap36xx-clocks.dtsi"

File diff suppressed because it is too large Load Diff

@ -111,6 +111,7 @@ config TARGET_OMAP3_LOGIC
select DM select DM
select DM_SERIAL select DM_SERIAL
select DM_GPIO select DM_GPIO
select OMAP3_GPIO_3
select OMAP3_GPIO_4 select OMAP3_GPIO_4
select OMAP3_GPIO_6 select OMAP3_GPIO_6

Loading…
Cancel
Save