[PATCH v2 38/42] ARM: at91/dt: move sam9263 boards to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
Define the main clock frequency in every at91sam9263 boards.
Remove the old main clock definition.

Signed-off-by: Boris BREZILLON 
---
 arch/arm/boot/dts/at91sam9263ek.dts |   17 ++---
 arch/arm/boot/dts/tny_a9263.dts |   17 ++---
 arch/arm/boot/dts/usb_a9263.dts |   17 ++---
 3 files changed, 18 insertions(+), 33 deletions(-)

diff --git a/arch/arm/boot/dts/at91sam9263ek.dts 
b/arch/arm/boot/dts/at91sam9263ek.dts
index 70f835b..b3aa143 100644
--- a/arch/arm/boot/dts/at91sam9263ek.dts
+++ b/arch/arm/boot/dts/at91sam9263ek.dts
@@ -20,17 +20,6 @@
reg = <0x2000 0x400>;
};
 
-   clocks {
-   #address-cells = <1>;
-   #size-cells = <1>;
-   ranges;
-
-   main_clock: clock@0 {
-   compatible = "atmel,osc", "fixed-clock";
-   clock-frequency = <16367660>;
-   };
-   };
-
ahb {
apb {
dbgu: serial@ee00 {
@@ -93,6 +82,12 @@
watchdog@fd40 {
status = "okay";
};
+
+   pmc: pmc@fc00 {
+   main: mainck {
+   clock-frequency = <16367660>;
+   };
+   };
};
 
nand0: nand@4000 {
diff --git a/arch/arm/boot/dts/tny_a9263.dts b/arch/arm/boot/dts/tny_a9263.dts
index 0751a6a..067eefb 100644
--- a/arch/arm/boot/dts/tny_a9263.dts
+++ b/arch/arm/boot/dts/tny_a9263.dts
@@ -20,17 +20,6 @@
reg = <0x2000 0x400>;
};
 
-   clocks {
-   #address-cells = <1>;
-   #size-cells = <1>;
-   ranges;
-
-   main_clock: clock@0 {
-   compatible = "atmel,osc", "fixed-clock";
-   clock-frequency = <1200>;
-   };
-   };
-
ahb {
apb {
dbgu: serial@ee00 {
@@ -41,6 +30,12 @@
atmel,vbus-gpio = < 11 GPIO_ACTIVE_HIGH>;
status = "okay";
};
+
+   pmc: pmc@fc00 {
+   main: mainck {
+   clock-frequency = <1200>;
+   };
+   };
};
 
nand0: nand@4000 {
diff --git a/arch/arm/boot/dts/usb_a9263.dts b/arch/arm/boot/dts/usb_a9263.dts
index 290e603..ae5b92d 100644
--- a/arch/arm/boot/dts/usb_a9263.dts
+++ b/arch/arm/boot/dts/usb_a9263.dts
@@ -20,17 +20,6 @@
reg = <0x2000 0x400>;
};
 
-   clocks {
-   #address-cells = <1>;
-   #size-cells = <1>;
-   ranges;
-
-   main_clock: clock@0 {
-   compatible = "atmel,osc", "fixed-clock";
-   clock-frequency = <1200>;
-   };
-   };
-
ahb {
apb {
dbgu: serial@ee00 {
@@ -61,6 +50,12 @@
atmel,wakeup-counter = <10>;
atmel,wakeup-rtt-timer;
};
+
+   pmc: pmc@fc00 {
+   main: mainck {
+   clock-frequency = <1200>;
+   };
+   };
};
 
nand0: nand@4000 {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2 38/42] ARM: at91/dt: move sam9263 boards to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
Define the main clock frequency in every at91sam9263 boards.
Remove the old main clock definition.

Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
 arch/arm/boot/dts/at91sam9263ek.dts |   17 ++---
 arch/arm/boot/dts/tny_a9263.dts |   17 ++---
 arch/arm/boot/dts/usb_a9263.dts |   17 ++---
 3 files changed, 18 insertions(+), 33 deletions(-)

diff --git a/arch/arm/boot/dts/at91sam9263ek.dts 
b/arch/arm/boot/dts/at91sam9263ek.dts
index 70f835b..b3aa143 100644
--- a/arch/arm/boot/dts/at91sam9263ek.dts
+++ b/arch/arm/boot/dts/at91sam9263ek.dts
@@ -20,17 +20,6 @@
reg = 0x2000 0x400;
};
 
-   clocks {
-   #address-cells = 1;
-   #size-cells = 1;
-   ranges;
-
-   main_clock: clock@0 {
-   compatible = atmel,osc, fixed-clock;
-   clock-frequency = 16367660;
-   };
-   };
-
ahb {
apb {
dbgu: serial@ee00 {
@@ -93,6 +82,12 @@
watchdog@fd40 {
status = okay;
};
+
+   pmc: pmc@fc00 {
+   main: mainck {
+   clock-frequency = 16367660;
+   };
+   };
};
 
nand0: nand@4000 {
diff --git a/arch/arm/boot/dts/tny_a9263.dts b/arch/arm/boot/dts/tny_a9263.dts
index 0751a6a..067eefb 100644
--- a/arch/arm/boot/dts/tny_a9263.dts
+++ b/arch/arm/boot/dts/tny_a9263.dts
@@ -20,17 +20,6 @@
reg = 0x2000 0x400;
};
 
-   clocks {
-   #address-cells = 1;
-   #size-cells = 1;
-   ranges;
-
-   main_clock: clock@0 {
-   compatible = atmel,osc, fixed-clock;
-   clock-frequency = 1200;
-   };
-   };
-
ahb {
apb {
dbgu: serial@ee00 {
@@ -41,6 +30,12 @@
atmel,vbus-gpio = pioB 11 GPIO_ACTIVE_HIGH;
status = okay;
};
+
+   pmc: pmc@fc00 {
+   main: mainck {
+   clock-frequency = 1200;
+   };
+   };
};
 
nand0: nand@4000 {
diff --git a/arch/arm/boot/dts/usb_a9263.dts b/arch/arm/boot/dts/usb_a9263.dts
index 290e603..ae5b92d 100644
--- a/arch/arm/boot/dts/usb_a9263.dts
+++ b/arch/arm/boot/dts/usb_a9263.dts
@@ -20,17 +20,6 @@
reg = 0x2000 0x400;
};
 
-   clocks {
-   #address-cells = 1;
-   #size-cells = 1;
-   ranges;
-
-   main_clock: clock@0 {
-   compatible = atmel,osc, fixed-clock;
-   clock-frequency = 1200;
-   };
-   };
-
ahb {
apb {
dbgu: serial@ee00 {
@@ -61,6 +50,12 @@
atmel,wakeup-counter = 10;
atmel,wakeup-rtt-timer;
};
+
+   pmc: pmc@fc00 {
+   main: mainck {
+   clock-frequency = 1200;
+   };
+   };
};
 
nand0: nand@4000 {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/