OSDN Git Service

ARM: dts: at91: calao: use TCB0 as timers
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 8 Jun 2016 16:11:33 +0000 (18:11 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 31 Dec 2017 14:50:08 +0000 (15:50 +0100)
Use tcb0 for timers as selected in at91_dt_defconfig.

[tested on usb_a9g20 and usb_a9263]
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-qil_a9260.dts
arch/arm/boot/dts/tny_a9260_common.dtsi
arch/arm/boot/dts/tny_a9263.dts
arch/arm/boot/dts/usb_a9260_common.dtsi
arch/arm/boot/dts/usb_a9263.dts

index f463527..72e9148 100644 (file)
 
        ahb {
                apb {
+                       tcb0: timer@fffa0000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>, <1>;
+                               };
+
+                               timer@2 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <2>;
+                               };
+                       };
+
                        usb1: gadget@fffa4000 {
                                atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
                                status = "okay";
index 5d83df4..8e3cf51 100644 (file)
 
        ahb {
                apb {
+                       tcb0: timer@fffa0000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>, <1>;
+                               };
+
+                               timer@2 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <2>;
+                               };
+                       };
+
                        dbgu: serial@fffff200 {
                                status = "okay";
                        };
index 8cf0a9e..7b403db 100644 (file)
                                status = "okay";
                        };
 
+                       tcb0: timer@fff7c000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>, <1>;
+                               };
+
+                               timer@2 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <2>;
+                               };
+                       };
+
                        usb1: gadget@fff78000 {
                                atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
                                status = "okay";
index 34a4999..de3fa3a 100644 (file)
                                status = "okay";
                        };
 
+                       tcb0: timer@fffa0000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>, <1>;
+                               };
+
+                               timer@2 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <2>;
+                               };
+                       };
+
                        macb0: ethernet@fffc4000 {
                                phy-mode = "rmii";
                                status = "okay";
index 7b1125b..0a753b4 100644 (file)
                                status = "okay";
                        };
 
+                       tcb0: timer@fff7c000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>, <1>;
+                               };
+
+                               timer@2 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <2>;
+                               };
+                       };
+
                        macb0: ethernet@fffbc000 {
                                phy-mode = "rmii";
                                status = "okay";