ARM: dts: aspeed-g6: Add timer description
authorJoel Stanley <joel@jms.id.au>
Wed, 6 Nov 2019 09:17:02 +0000 (19:47 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 7 Nov 2019 10:53:56 +0000 (21:23 +1030)
The AST2600 has 8 32-bit timers on the APB bus.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g6.dtsi

index c800e4cf866db0627f8aeab966b185218d950c54..5f6142d99eeb68c427333b3a52a40e17bdc90526 100644 (file)
                                status = "disabled";
                        };
 
+                       timer: timer@1e782000 {
+                               compatible = "aspeed,ast2600-timer";
+                               reg = <0x1e782000 0x90>;
+                               interrupts-extended = <&gic  GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
+                                               <&gic  GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
+                                               <&gic  GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
+                                               <&gic  GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
+                                               <&gic  GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
+                                               <&gic  GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
+                                               <&gic  GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
+                                               <&gic  GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&syscon ASPEED_CLK_APB1>;
+                               clock-names = "PCLK";
+                        };
+
                        uart1: serial@1e783000 {
                                compatible = "ns16550a";
                                reg = <0x1e783000 0x20>;