aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sama5d3_uart.dtsi
diff options
context:
space:
mode:
authorBoris BREZILLON <b.brezillon@overkiz.com>2013-10-18 17:48:27 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-12-02 09:31:28 -0500
commitd2e8190b7916ed5d8a8b5145b3dd85ca07412edd (patch)
tree5cca8cb40b573e7ee731ab61d896ad3bd57ccace /arch/arm/boot/dts/sama5d3_uart.dtsi
parentd1ff2300228e54f1d748f810a28134f4e6f160c7 (diff)
ARM: at91/dt: define sama5d3 clocks
Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/sama5d3_uart.dtsi')
-rw-r--r--arch/arm/boot/dts/sama5d3_uart.dtsi21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sama5d3_uart.dtsi b/arch/arm/boot/dts/sama5d3_uart.dtsi
index 98fcb2d57446..49d4d76ca6f4 100644
--- a/arch/arm/boot/dts/sama5d3_uart.dtsi
+++ b/arch/arm/boot/dts/sama5d3_uart.dtsi
@@ -9,6 +9,7 @@
9 9
10#include <dt-bindings/pinctrl/at91.h> 10#include <dt-bindings/pinctrl/at91.h>
11#include <dt-bindings/interrupt-controller/irq.h> 11#include <dt-bindings/interrupt-controller/irq.h>
12#include <dt-bindings/clk/at91.h>
12 13
13/ { 14/ {
14 ahb { 15 ahb {
@@ -31,12 +32,30 @@
31 }; 32 };
32 }; 33 };
33 34
35 pmc: pmc@fffffc00 {
36 periphck {
37 uart0_clk: uart0_clk {
38 #clock-cells = <0>;
39 reg = <16>;
40 atmel,clk-output-range = <0 66000000>;
41 };
42
43 uart1_clk: uart1_clk {
44 #clock-cells = <0>;
45 reg = <17>;
46 atmel,clk-output-range = <0 66000000>;
47 };
48 };
49 };
50
34 uart0: serial@f0024000 { 51 uart0: serial@f0024000 {
35 compatible = "atmel,at91sam9260-usart"; 52 compatible = "atmel,at91sam9260-usart";
36 reg = <0xf0024000 0x200>; 53 reg = <0xf0024000 0x200>;
37 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; 54 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
38 pinctrl-names = "default"; 55 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_uart0>; 56 pinctrl-0 = <&pinctrl_uart0>;
57 clocks = <&uart0_clk>;
58 clock-names = "usart";
40 status = "disabled"; 59 status = "disabled";
41 }; 60 };
42 61
@@ -46,6 +65,8 @@
46 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>; 65 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
47 pinctrl-names = "default"; 66 pinctrl-names = "default";
48 pinctrl-0 = <&pinctrl_uart1>; 67 pinctrl-0 = <&pinctrl_uart1>;
68 clocks = <&uart1_clk>;
69 clock-names = "usart";
49 status = "disabled"; 70 status = "disabled";
50 }; 71 };
51 }; 72 };