]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 f46352790a41dc0a3603b1c48d3700820683edd3..72e9148ca096c6c786deb35ce03380fc5b29a31a 100644 (file)
@@ -31,6 +31,18 @@ main_xtal {
 
        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 5d83df4675a116efa9d8192b9b468d477151a2b7..8e3cf5109f989c578e01ce26b5786303893ac9a5 100644 (file)
@@ -27,6 +27,18 @@ main_xtal {
 
        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 8cf0a9e08571270ebe101de43e073af6150d28fd..7b403db4cd34376d90bbb43de2b72f35463c14c4 100644 (file)
@@ -36,6 +36,18 @@ dbgu: serial@ffffee00 {
                                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 34a49995eda381545bdcdc498b1c4ec778cb7a8f..de3fa3ab34d63ae81a98bedf6c6802d359ef9b8e 100644 (file)
@@ -23,6 +23,18 @@ dbgu: serial@fffff200 {
                                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 7b1125be99c467221f442122073afb1b15ac34e8..0a753b4c74e7f96cecdf5c1bd13bd69f97d9264a 100644 (file)
@@ -36,6 +36,18 @@ dbgu: serial@ffffee00 {
                                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";