mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: Add include to strip am33xx clocks
@ 2015-09-02  6:38 Daniel Schultz
  2015-09-02  6:38 ` [PATCH 2/2] ARM: dts: Include strip file to Phytec am335x MLOs Daniel Schultz
  2015-09-04  5:30 ` [PATCH 1/2] ARM: dts: Add include to strip am33xx clocks Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Schultz @ 2015-09-02  6:38 UTC (permalink / raw)
  To: barebox

Include this file to disable all clocks.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 arch/arm/dts/am33xx-clocks-strip.dtsi | 79 +++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)
 create mode 100644 arch/arm/dts/am33xx-clocks-strip.dtsi

diff --git a/arch/arm/dts/am33xx-clocks-strip.dtsi b/arch/arm/dts/am33xx-clocks-strip.dtsi
new file mode 100644
index 0000000..831f163
--- /dev/null
+++ b/arch/arm/dts/am33xx-clocks-strip.dtsi
@@ -0,0 +1,79 @@
+/*
+ * Copyright (C) 2015 PHYTEC Messtechnik GmbH,
+ * Author: Daniel Schultz <d.schultz@phytec.de>
+ *
+ * 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.
+ */
+
+/delete-node/ &adc_tsc_fck;
+/delete-node/ &dcan0_fck;
+/delete-node/ &dcan1_fck;
+/delete-node/ &mcasp0_fck;
+/delete-node/ &mcasp1_fck;
+/delete-node/ &smartreflex0_fck;
+/delete-node/ &smartreflex1_fck;
+/delete-node/ &sha0_fck;
+/delete-node/ &aes0_fck;
+/delete-node/ &rng_fck;
+/delete-node/ &ehrpwm0_tbclk;
+/delete-node/ &ehrpwm1_tbclk;
+/delete-node/ &ehrpwm2_tbclk;
+/delete-node/ &clk_32768_ck;
+/delete-node/ &clk_rc32k_ck;
+/delete-node/ &tclkin_ck;
+/delete-node/ &dpll_core_m6_ck;
+/delete-node/ &dpll_mpu_m2_ck;
+/delete-node/ &dpll_ddr_ck;
+/delete-node/ &dpll_ddr_m2_ck;
+/delete-node/ &dpll_ddr_m2_div2_ck;
+/delete-node/ &dpll_disp_ck;
+/delete-node/ &dpll_disp_m2_ck;
+/delete-node/ &dpll_per_ck;
+/delete-node/ &dpll_per_m2_ck;
+/delete-node/ &dpll_per_m2_div4_wkupdm_ck;
+/delete-node/ &dpll_per_m2_div4_ck;
+/delete-node/ &cefuse_fck;
+/delete-node/ &clk_24mhz;
+/delete-node/ &clkdiv32k_ck;
+/delete-node/ &clkdiv32k_ick;
+/delete-node/ &l3_gclk;
+/delete-node/ &pruss_ocp_gclk;
+/delete-node/ &mmu_fck;
+/delete-node/ &timer1_fck;
+/delete-node/ &timer2_fck;
+/delete-node/ &timer3_fck;
+/delete-node/ &timer4_fck;
+/delete-node/ &timer5_fck;
+/delete-node/ &timer6_fck;
+/delete-node/ &timer7_fck;
+/delete-node/ &usbotg_fck;
+/delete-node/ &dpll_core_m4_div2_ck;
+/delete-node/ &ieee5000_fck;
+/delete-node/ &wdt1_fck;
+/delete-node/ &l4_rtc_gclk;
+/delete-node/ &l4hs_gclk;
+/delete-node/ &l3s_gclk;
+/delete-node/ &l4fw_gclk;
+/delete-node/ &l4ls_gclk;
+/delete-node/ &sysclk_div_ck;
+/delete-node/ &gpio0_dbclk_mux_ck;
+/delete-node/ &gpio0_dbclk;
+/delete-node/ &gpio1_dbclk;
+/delete-node/ &gpio2_dbclk;
+/delete-node/ &gpio3_dbclk;
+/delete-node/ &lcd_gclk;
+/delete-node/ &mmc_clk;
+/delete-node/ &gfx_fclk_clksel_ck;
+/delete-node/ &gfx_fck_div_ck;
+/delete-node/ &sysclkout_pre_ck;
+/delete-node/ &clkout2_div_ck;
+/delete-node/ &dbg_sysclk_ck;
+/delete-node/ &dbg_clka_ck;
+/delete-node/ &stm_pmd_clock_mux_ck;
+/delete-node/ &trace_pmd_clk_mux_ck;
+/delete-node/ &stm_clk_div_ck;
+/delete-node/ &trace_clk_div_ck;
+/delete-node/ &clkout2_ck;
+/delete-node/ &clk_24mhz_clkdm;
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: dts: Include strip file to Phytec am335x MLOs
  2015-09-02  6:38 [PATCH 1/2] ARM: dts: Add include to strip am33xx clocks Daniel Schultz
@ 2015-09-02  6:38 ` Daniel Schultz
  2015-09-04  5:30 ` [PATCH 1/2] ARM: dts: Add include to strip am33xx clocks Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Schultz @ 2015-09-02  6:38 UTC (permalink / raw)
  To: barebox

This patch disables the clocks in the Phytec am335x MLOs and reduce the MLO
size by 9kb.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 arch/arm/dts/am335x-phytec-phycard-som-mlo.dts | 1 +
 arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 1 +
 arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts | 1 +
 3 files changed, 3 insertions(+)

diff --git a/arch/arm/dts/am335x-phytec-phycard-som-mlo.dts b/arch/arm/dts/am335x-phytec-phycard-som-mlo.dts
index f9ed627..a1755fd 100644
--- a/arch/arm/dts/am335x-phytec-phycard-som-mlo.dts
+++ b/arch/arm/dts/am335x-phytec-phycard-som-mlo.dts
@@ -10,6 +10,7 @@
 #include "am33xx.dtsi"
 #include "am335x-phytec-phycard-som.dtsi"
 #include "am33xx-strip.dtsi"
+#include "am33xx-clocks-strip.dtsi"
 
 / {
 	model = "Phytec phyCARD AM335x";
diff --git a/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts b/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts
index f70835f..676001b 100644
--- a/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts
+++ b/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts
@@ -10,6 +10,7 @@
 #include "am33xx.dtsi"
 #include "am335x-phytec-phycore-som.dtsi"
 #include "am33xx-strip.dtsi"
+#include "am33xx-clocks-strip.dtsi"
 
 / {
 	model = "Phytec phyCORE AM335x";
diff --git a/arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts b/arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts
index 736d7ef..e848a29 100644
--- a/arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts
+++ b/arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts
@@ -10,6 +10,7 @@
 #include "am33xx.dtsi"
 #include "am335x-phytec-phyflex-som.dtsi"
 #include "am33xx-strip.dtsi"
+#include "am33xx-clocks-strip.dtsi"
 
 / {
 	model = "Phytec phyFLEX AM335x";
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ARM: dts: Add include to strip am33xx clocks
  2015-09-02  6:38 [PATCH 1/2] ARM: dts: Add include to strip am33xx clocks Daniel Schultz
  2015-09-02  6:38 ` [PATCH 2/2] ARM: dts: Include strip file to Phytec am335x MLOs Daniel Schultz
@ 2015-09-04  5:30 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2015-09-04  5:30 UTC (permalink / raw)
  To: Daniel Schultz; +Cc: barebox

On Wed, Sep 02, 2015 at 08:38:47AM +0200, Daniel Schultz wrote:
> Include this file to disable all clocks.
> 
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
> ---
>  arch/arm/dts/am33xx-clocks-strip.dtsi | 79 +++++++++++++++++++++++++++++++++++
>  1 file changed, 79 insertions(+)
>  create mode 100644 arch/arm/dts/am33xx-clocks-strip.dtsi

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-04  5:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02  6:38 [PATCH 1/2] ARM: dts: Add include to strip am33xx clocks Daniel Schultz
2015-09-02  6:38 ` [PATCH 2/2] ARM: dts: Include strip file to Phytec am335x MLOs Daniel Schultz
2015-09-04  5:30 ` [PATCH 1/2] ARM: dts: Add include to strip am33xx clocks Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox