@@ -16,19 +16,14 @@
reg = <0x20000000 0x4000000>;
};
- clocks {
- #address-cells = <1>;
- #size-cells = <1>;
- ranges;
-
- main_clock: clock@0 {
- compatible = "atmel,osc", "fixed-clock";
- clock-frequency = <18432000>;
- };
- };
-
ahb {
apb {
+ pmc: pmc@fffffc00 {
+ main: mainck {
+ clock-frequency = <18432000>;
+ };
+ };
+
dbgu: serial@fffff200 {
status = "okay";
};
@@ -16,17 +16,6 @@
reg = <0x20000000 0x4000000>;
};
- clocks {
- #address-cells = <1>;
- #size-cells = <1>;
- ranges;
-
- main_clock: clock@0 {
- compatible = "atmel,osc", "fixed-clock";
- clock-frequency = <18432000>;
- };
- };
-
ahb {
apb {
dbgu: serial@fffff200 {
@@ -45,6 +34,11 @@
ssc1: ssc@fffd4000 {
status = "okay";
};
+ pmc: pmc@fffffc00 {
+ main: mainck {
+ clock-frequency = <18432000>;
+ };
+ };
};
usb0: ohci@00300000 {
Define the main clock frequency in every at91rm9200 boards. Remove the old main clock definition. Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> --- arch/arm/boot/dts/at91rm9200ek.dts | 17 ++++++----------- arch/arm/boot/dts/mpa1600.dts | 16 +++++----------- 2 files changed, 11 insertions(+), 22 deletions(-)