Commit 73b173e5 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Nicolas Ferre

ARM: at91/dt: sam9261 crystals under the clocks node

Having clocks grouped in a subnode is common practice, so move the crystals
under a clocks node for the at91sam9261 SoC and at91sam9261 based boards.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: default avatarBoris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 4c834452
...@@ -46,16 +46,18 @@ memory { ...@@ -46,16 +46,18 @@ memory {
reg = <0x20000000 0x08000000>; reg = <0x20000000 0x08000000>;
}; };
main_xtal: main_xtal { clocks {
compatible = "fixed-clock"; main_xtal: main_xtal {
#clock-cells = <0>; compatible = "fixed-clock";
clock-frequency = <0>; #clock-cells = <0>;
}; clock-frequency = <0>;
};
slow_xtal: slow_xtal { slow_xtal: slow_xtal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
};
}; };
ahb { ahb {
......
...@@ -20,14 +20,6 @@ memory { ...@@ -20,14 +20,6 @@ memory {
reg = <0x20000000 0x4000000>; reg = <0x20000000 0x4000000>;
}; };
slow_xtal {
clock-frequency = <32768>;
};
main_xtal {
clock-frequency = <18432000>;
};
clocks { clocks {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -37,6 +29,14 @@ main_clock: clock@0 { ...@@ -37,6 +29,14 @@ main_clock: clock@0 {
compatible = "atmel,osc", "fixed-clock"; compatible = "atmel,osc", "fixed-clock";
clock-frequency = <18432000>; clock-frequency = <18432000>;
}; };
slow_xtal {
clock-frequency = <32768>;
};
main_xtal {
clock-frequency = <18432000>;
};
}; };
ahb { ahb {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment