mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
ARM: dts: omap4 clock data
This patch creates a unique node for each clock in the OMAP4 power, reset and clock manager (PRCM). OMAP443x and OMAP446x have slightly different clock tree which is taken into account in the data. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
This commit is contained in:
parent
ffab239956
commit
2488ff6cfc
@ -107,6 +107,58 @@
|
||||
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
cm1: cm1@4a004000 {
|
||||
compatible = "ti,omap4-cm1";
|
||||
reg = <0x4a004000 0x2000>;
|
||||
|
||||
cm1_clocks: clocks {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
cm1_clockdomains: clockdomains {
|
||||
};
|
||||
};
|
||||
|
||||
prm: prm@4a306000 {
|
||||
compatible = "ti,omap4-prm";
|
||||
reg = <0x4a306000 0x3000>;
|
||||
|
||||
prm_clocks: clocks {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
prm_clockdomains: clockdomains {
|
||||
};
|
||||
};
|
||||
|
||||
cm2: cm2@4a008000 {
|
||||
compatible = "ti,omap4-cm2";
|
||||
reg = <0x4a008000 0x3000>;
|
||||
|
||||
cm2_clocks: clocks {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
cm2_clockdomains: clockdomains {
|
||||
};
|
||||
};
|
||||
|
||||
scrm: scrm@4a30a000 {
|
||||
compatible = "ti,omap4-scrm";
|
||||
reg = <0x4a30a000 0x2000>;
|
||||
|
||||
scrm_clocks: clocks {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
scrm_clockdomains: clockdomains {
|
||||
};
|
||||
};
|
||||
|
||||
counter32k: counter@4a304000 {
|
||||
compatible = "ti,omap-counter32k";
|
||||
reg = <0x4a304000 0x20>;
|
||||
@ -707,3 +759,5 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/include/ "omap44xx-clocks.dtsi"
|
||||
|
18
arch/arm/boot/dts/omap443x-clocks.dtsi
Normal file
18
arch/arm/boot/dts/omap443x-clocks.dtsi
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Device Tree Source for OMAP4 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 {
|
||||
bandgap_fclk: bandgap_fclk {
|
||||
#clock-cells = <0>;
|
||||
compatible = "ti,gate-clock";
|
||||
clocks = <&sys_32k_ck>;
|
||||
ti,bit-shift = <8>;
|
||||
reg = <0x1888>;
|
||||
};
|
||||
};
|
@ -31,3 +31,5 @@
|
||||
compatible = "ti,omap4430-bandgap";
|
||||
};
|
||||
};
|
||||
|
||||
/include/ "omap443x-clocks.dtsi"
|
||||
|
@ -39,3 +39,5 @@
|
||||
gpios = <&gpio3 22 0>; /* tshut */
|
||||
};
|
||||
};
|
||||
|
||||
/include/ "omap446x-clocks.dtsi"
|
||||
|
27
arch/arm/boot/dts/omap446x-clocks.dtsi
Normal file
27
arch/arm/boot/dts/omap446x-clocks.dtsi
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Device Tree Source for OMAP4 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 {
|
||||
div_ts_ck: div_ts_ck {
|
||||
#clock-cells = <0>;
|
||||
compatible = "ti,divider-clock";
|
||||
clocks = <&l4_wkup_clk_mux_ck>;
|
||||
ti,bit-shift = <24>;
|
||||
reg = <0x1888>;
|
||||
ti,dividers = <8>, <16>, <32>;
|
||||
};
|
||||
|
||||
bandgap_ts_fclk: bandgap_ts_fclk {
|
||||
#clock-cells = <0>;
|
||||
compatible = "ti,gate-clock";
|
||||
clocks = <&div_ts_ck>;
|
||||
ti,bit-shift = <8>;
|
||||
reg = <0x1888>;
|
||||
};
|
||||
};
|
1651
arch/arm/boot/dts/omap44xx-clocks.dtsi
Normal file
1651
arch/arm/boot/dts/omap44xx-clocks.dtsi
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user