diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-06-08 11:08:57 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-12-31 09:50:06 -0500 |
commit | 51f0aeb2d21f1b68433208e8243bfe69aaf185e5 (patch) | |
tree | a541eea76086225c0a5df8d3ad22908353da65b8 | |
parent | 194ce525fbebe176a1d0bd187df4fd6851d9f80a (diff) |
ARM: dts: at91: at91sam9261ek: use TCB0 as timers
Use tcb0 for timers as selected in at91_dt_defconfig.
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r-- | arch/arm/boot/dts/at91sam9261ek.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts index 9733db3f739b..a29fc0494076 100644 --- a/arch/arm/boot/dts/at91sam9261ek.dts +++ b/arch/arm/boot/dts/at91sam9261ek.dts | |||
@@ -15,6 +15,14 @@ | |||
15 | chosen { | 15 | chosen { |
16 | bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs rw"; | 16 | bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs rw"; |
17 | stdout-path = "serial0:115200n8"; | 17 | stdout-path = "serial0:115200n8"; |
18 | |||
19 | clocksource { | ||
20 | timer = <&timer0>; | ||
21 | }; | ||
22 | |||
23 | clockevent { | ||
24 | timer = <&timer1>; | ||
25 | }; | ||
18 | }; | 26 | }; |
19 | 27 | ||
20 | memory { | 28 | memory { |
@@ -125,6 +133,18 @@ | |||
125 | }; | 133 | }; |
126 | 134 | ||
127 | apb { | 135 | apb { |
136 | tcb0: timer@fffa0000 { | ||
137 | timer0: timer@0 { | ||
138 | compatible = "atmel,tcb-timer"; | ||
139 | reg = <0>, <1>; | ||
140 | }; | ||
141 | |||
142 | timer1: timer@2 { | ||
143 | compatible = "atmel,tcb-timer"; | ||
144 | reg = <2>; | ||
145 | }; | ||
146 | }; | ||
147 | |||
128 | usb1: gadget@fffa4000 { | 148 | usb1: gadget@fffa4000 { |
129 | atmel,vbus-gpio = <&pioB 29 GPIO_ACTIVE_HIGH>; | 149 | atmel,vbus-gpio = <&pioB 29 GPIO_ACTIVE_HIGH>; |
130 | status = "okay"; | 150 | status = "okay"; |