diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-06-17 09:30:18 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-07-09 12:02:43 -0400 |
commit | 6503ab5fc702b932f64fe090f8c8cc01e2255a9b (patch) | |
tree | 7ca898945fb8cba86b24204238f421d6f6bb638a | |
parent | 73b173e5c59f0114546f16ab807fef9f9404d221 (diff) |
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: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r-- | arch/arm/boot/dts/at91sam9n12.dtsi | 20 | ||||
-rw-r--r-- | arch/arm/boot/dts/at91sam9n12ek.dts | 16 |
2 files changed, 19 insertions, 17 deletions
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index 287795985e32..67efd442fd85 100644 --- a/arch/arm/boot/dts/at91sam9n12.dtsi +++ b/arch/arm/boot/dts/at91sam9n12.dtsi | |||
@@ -50,16 +50,18 @@ | |||
50 | reg = <0x20000000 0x10000000>; | 50 | reg = <0x20000000 0x10000000>; |
51 | }; | 51 | }; |
52 | 52 | ||
53 | slow_xtal: slow_xtal { | 53 | clocks { |
54 | compatible = "fixed-clock"; | 54 | slow_xtal: slow_xtal { |
55 | #clock-cells = <0>; | 55 | compatible = "fixed-clock"; |
56 | clock-frequency = <0>; | 56 | #clock-cells = <0>; |
57 | }; | 57 | clock-frequency = <0>; |
58 | }; | ||
58 | 59 | ||
59 | main_xtal: main_xtal { | 60 | main_xtal: main_xtal { |
60 | compatible = "fixed-clock"; | 61 | compatible = "fixed-clock"; |
61 | #clock-cells = <0>; | 62 | #clock-cells = <0>; |
62 | clock-frequency = <0>; | 63 | clock-frequency = <0>; |
64 | }; | ||
63 | }; | 65 | }; |
64 | 66 | ||
65 | ahb { | 67 | ahb { |
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 64bbe46e4f90..32f1aad889d2 100644 --- a/arch/arm/boot/dts/at91sam9n12ek.dts +++ b/arch/arm/boot/dts/at91sam9n12ek.dts | |||
@@ -21,14 +21,6 @@ | |||
21 | reg = <0x20000000 0x8000000>; | 21 | reg = <0x20000000 0x8000000>; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | slow_xtal { | ||
25 | clock-frequency = <32768>; | ||
26 | }; | ||
27 | |||
28 | main_xtal { | ||
29 | clock-frequency = <16000000>; | ||
30 | }; | ||
31 | |||
32 | clocks { | 24 | clocks { |
33 | #address-cells = <1>; | 25 | #address-cells = <1>; |
34 | #size-cells = <1>; | 26 | #size-cells = <1>; |
@@ -38,6 +30,14 @@ | |||
38 | compatible = "atmel,osc", "fixed-clock"; | 30 | compatible = "atmel,osc", "fixed-clock"; |
39 | clock-frequency = <16000000>; | 31 | clock-frequency = <16000000>; |
40 | }; | 32 | }; |
33 | |||
34 | slow_xtal { | ||
35 | clock-frequency = <32768>; | ||
36 | }; | ||
37 | |||
38 | main_xtal { | ||
39 | clock-frequency = <16000000>; | ||
40 | }; | ||
41 | }; | 41 | }; |
42 | 42 | ||
43 | ahb { | 43 | ahb { |