aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9x5_usart3.dtsi
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-05-12 12:23:35 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-05-22 12:03:13 -0400
commita80d3ec609c34828a821e1da45f06ad15f1218a5 (patch)
tree75cd20fd17932889d7e1d5b6f29f756abea9c71f /arch/arm/boot/dts/at91sam9x5_usart3.dtsi
parentb099c604d31d4f0cecd212e0830d33e84ded2f1b (diff)
ARM: at91/dt: define sam9x5 clocks
Define sam9x5 clocks in sam9x5 dt files and make use of them in peripheral definitions. Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9x5_usart3.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9x5_usart3.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5_usart3.dtsi b/arch/arm/boot/dts/at91sam9x5_usart3.dtsi
index 6801106fa1f8..140217a54384 100644
--- a/arch/arm/boot/dts/at91sam9x5_usart3.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5_usart3.dtsi
@@ -42,12 +42,23 @@
42 }; 42 };
43 }; 43 };
44 44
45 pmc: pmc@fffffc00 {
46 periphck {
47 usart3_clk: usart3_clk {
48 #clock-cells = <0>;
49 reg = <8>;
50 };
51 };
52 };
53
45 usart3: serial@f8028000 { 54 usart3: serial@f8028000 {
46 compatible = "atmel,at91sam9260-usart"; 55 compatible = "atmel,at91sam9260-usart";
47 reg = <0xf8028000 0x200>; 56 reg = <0xf8028000 0x200>;
48 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; 57 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
49 pinctrl-names = "default"; 58 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_usart3>; 59 pinctrl-0 = <&pinctrl_usart3>;
60 clocks = <&usart3_clk>;
61 clock-names = "usart";
51 status = "disabled"; 62 status = "disabled";
52 }; 63 };
53 }; 64 };