提交 6503ab5f 编写于 作者: A Alexandre Belloni 提交者: 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: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: NBoris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
上级 73b173e5
...@@ -50,16 +50,18 @@ ...@@ -50,16 +50,18 @@
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 @@ ...@@ -21,14 +21,6 @@
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 @@ ...@@ -38,6 +30,14 @@
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册