Commit 6503ab5f authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Nicolas Ferre

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

Having clocks grouped in a subnode is common practice, so move the crystals
under a clocks node for the at91sam9n12 SoC and at91sam9n12 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 73b173e5
...@@ -50,16 +50,18 @@ memory { ...@@ -50,16 +50,18 @@ memory {
reg = <0x20000000 0x10000000>; reg = <0x20000000 0x10000000>;
}; };
slow_xtal: slow_xtal { clocks {
compatible = "fixed-clock"; slow_xtal: slow_xtal {
#clock-cells = <0>; compatible = "fixed-clock";
clock-frequency = <0>; #clock-cells = <0>;
}; clock-frequency = <0>;
};
main_xtal: main_xtal { main_xtal: main_xtal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
};
}; };
ahb { ahb {
......
...@@ -21,14 +21,6 @@ memory { ...@@ -21,14 +21,6 @@ memory {
reg = <0x20000000 0x8000000>; reg = <0x20000000 0x8000000>;
}; };
slow_xtal {
clock-frequency = <32768>;
};
main_xtal {
clock-frequency = <16000000>;
};
clocks { clocks {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -38,6 +30,14 @@ main_clock: clock@0 { ...@@ -38,6 +30,14 @@ main_clock: clock@0 {
compatible = "atmel,osc", "fixed-clock"; compatible = "atmel,osc", "fixed-clock";
clock-frequency = <16000000>; clock-frequency = <16000000>;
}; };
slow_xtal {
clock-frequency = <32768>;
};
main_xtal {
clock-frequency = <16000000>;
};
}; };
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