aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/exynos3250.dtsi6
-rw-r--r--arch/arm/boot/dts/pxa27x.dtsi20
-rw-r--r--arch/arm/boot/dts/sun5i-a10s.dtsi2
-rw-r--r--arch/arm/boot/dts/sun5i-a13.dtsi2
-rw-r--r--arch/arm/boot/dts/sun7i-a20.dtsi2
-rw-r--r--arch/arm/mach-omap2/io.c12
-rw-r--r--arch/arm/mach-omap2/prm_common.c2
-rw-r--r--arch/arm/mach-pxa/include/mach/pxa2xx-regs.h10
8 files changed, 48 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
index 8831c48c2bc9..693a3275606f 100644
--- a/arch/arm/boot/dts/exynos3250.dtsi
+++ b/arch/arm/boot/dts/exynos3250.dtsi
@@ -169,6 +169,12 @@
169 #clock-cells = <1>; 169 #clock-cells = <1>;
170 }; 170 };
171 171
172 cmu_dmc: clock-controller@105C0000 {
173 compatible = "samsung,exynos3250-cmu-dmc";
174 reg = <0x105C0000 0x2000>;
175 #clock-cells = <1>;
176 };
177
172 rtc: rtc@10070000 { 178 rtc: rtc@10070000 {
173 compatible = "samsung,exynos3250-rtc"; 179 compatible = "samsung,exynos3250-rtc";
174 reg = <0x10070000 0x100>; 180 reg = <0x10070000 0x100>;
diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi
index a70546945985..80fc5d7e9ef9 100644
--- a/arch/arm/boot/dts/pxa27x.dtsi
+++ b/arch/arm/boot/dts/pxa27x.dtsi
@@ -1,5 +1,6 @@
1/* The pxa3xx skeleton simply augments the 2xx version */ 1/* The pxa3xx skeleton simply augments the 2xx version */
2/include/ "pxa2xx.dtsi" 2#include "pxa2xx.dtsi"
3#include "dt-bindings/clock/pxa2xx-clock.h"
3 4
4/ { 5/ {
5 model = "Marvell PXA27x familiy SoC"; 6 model = "Marvell PXA27x familiy SoC";
@@ -35,4 +36,21 @@
35 #pwm-cells = <1>; 36 #pwm-cells = <1>;
36 }; 37 };
37 }; 38 };
39
40 clocks {
41 /*
42 * The muxing of external clocks/internal dividers for osc* clock
43 * sources has been hidden under the carpet by now.
44 */
45 #address-cells = <1>;
46 #size-cells = <1>;
47 ranges;
48
49 pxa2xx_clks: pxa2xx_clks@41300004 {
50 compatible = "marvell,pxa-clocks";
51 #clock-cells = <1>;
52 status = "okay";
53 };
54 };
55
38}; 56};
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
index d73a2287b37a..531272c0e526 100644
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
@@ -287,7 +287,7 @@
287 287
288 mbus_clk: clk@01c2015c { 288 mbus_clk: clk@01c2015c {
289 #clock-cells = <0>; 289 #clock-cells = <0>;
290 compatible = "allwinner,sun4i-a10-mod0-clk"; 290 compatible = "allwinner,sun5i-a13-mbus-clk";
291 reg = <0x01c2015c 0x4>; 291 reg = <0x01c2015c 0x4>;
292 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; 292 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
293 clock-output-names = "mbus"; 293 clock-output-names = "mbus";
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
index c4b5d7825b9f..b131068f4f35 100644
--- a/arch/arm/boot/dts/sun5i-a13.dtsi
+++ b/arch/arm/boot/dts/sun5i-a13.dtsi
@@ -285,7 +285,7 @@
285 285
286 mbus_clk: clk@01c2015c { 286 mbus_clk: clk@01c2015c {
287 #clock-cells = <0>; 287 #clock-cells = <0>;
288 compatible = "allwinner,sun4i-a10-mod0-clk"; 288 compatible = "allwinner,sun5i-a13-mbus-clk";
289 reg = <0x01c2015c 0x4>; 289 reg = <0x01c2015c 0x4>;
290 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; 290 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
291 clock-output-names = "mbus"; 291 clock-output-names = "mbus";
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index a96b99465069..82097c905c48 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -382,7 +382,7 @@
382 382
383 mbus_clk: clk@01c2015c { 383 mbus_clk: clk@01c2015c {
384 #clock-cells = <0>; 384 #clock-cells = <0>;
385 compatible = "allwinner,sun4i-a10-mod0-clk"; 385 compatible = "allwinner,sun5i-a13-mbus-clk";
386 reg = <0x01c2015c 0x4>; 386 reg = <0x01c2015c 0x4>;
387 clocks = <&osc24M>, <&pll6 2>, <&pll5 1>; 387 clocks = <&osc24M>, <&pll6 2>, <&pll5 1>;
388 clock-output-names = "mbus"; 388 clock-output-names = "mbus";
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index b8ad045bcb8d..03cbb16898a3 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -723,8 +723,16 @@ int __init omap_clk_init(void)
723 ti_clk_init_features(); 723 ti_clk_init_features();
724 724
725 ret = of_prcm_init(); 725 ret = of_prcm_init();
726 if (!ret) 726 if (ret)
727 ret = omap_clk_soc_init(); 727 return ret;
728
729 of_clk_init(NULL);
730
731 ti_dt_clk_init_retry_clks();
732
733 ti_dt_clockdomains_setup();
734
735 ret = omap_clk_soc_init();
728 736
729 return ret; 737 return ret;
730} 738}
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c
index 74054b813600..ee2b5222eac0 100644
--- a/arch/arm/mach-omap2/prm_common.c
+++ b/arch/arm/mach-omap2/prm_common.c
@@ -525,8 +525,6 @@ int __init of_prcm_init(void)
525 memmap_index++; 525 memmap_index++;
526 } 526 }
527 527
528 ti_dt_clockdomains_setup();
529
530 return 0; 528 return 0;
531} 529}
532 530
diff --git a/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h b/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
index ee6ced1cea7f..f1dd62946b36 100644
--- a/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
+++ b/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
@@ -143,6 +143,16 @@
143#define CCCR_M_MASK 0x0060 /* Memory Frequency to Run Mode Frequency Multiplier */ 143#define CCCR_M_MASK 0x0060 /* Memory Frequency to Run Mode Frequency Multiplier */
144#define CCCR_L_MASK 0x001f /* Crystal Frequency to Memory Frequency Multiplier */ 144#define CCCR_L_MASK 0x001f /* Crystal Frequency to Memory Frequency Multiplier */
145 145
146#define CCCR_CPDIS_BIT (31)
147#define CCCR_PPDIS_BIT (30)
148#define CCCR_LCD_26_BIT (27)
149#define CCCR_A_BIT (25)
150
151#define CCSR_N2_MASK CCCR_N_MASK
152#define CCSR_M_MASK CCCR_M_MASK
153#define CCSR_L_MASK CCCR_L_MASK
154#define CCSR_N2_SHIFT 7
155
146#define CKEN_AC97CONF (31) /* AC97 Controller Configuration */ 156#define CKEN_AC97CONF (31) /* AC97 Controller Configuration */
147#define CKEN_CAMERA (24) /* Camera Interface Clock Enable */ 157#define CKEN_CAMERA (24) /* Camera Interface Clock Enable */
148#define CKEN_SSP1 (23) /* SSP1 Unit Clock Enable */ 158#define CKEN_SSP1 (23) /* SSP1 Unit Clock Enable */