ARM: dts: aspeed: ast2600: Set arch timer always-on
authorEddie James <eajames@linux.ibm.com>
Thu, 26 Mar 2020 14:17:21 +0000 (09:17 -0500)
committerJoel Stanley <joel@jms.id.au>
Tue, 5 May 2020 07:07:16 +0000 (16:37 +0930)
According to ASPEED, FTTMR010 is not intended to be used in the AST2600.
The arch timer should be used, but Linux doesn't enable high-res timers
without being assured that the arch timer is always on, so set that
property in the devicetree.

The FTTMR010 device is described by set to disabled.

This fixes highres timer support for AST2600.

Fixes: 2ca5646b5c2f ("ARM: dts: aspeed: Add AST2600 and EVB")
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g6.dtsi

index 07781b24194dde14ace099f7c008af7173cf3bd7..cb9d104c3ec57c3ef4b6d85d0b292a414046b418 100644 (file)
@@ -65,6 +65,7 @@
                             <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
                clocks = <&syscon ASPEED_CLK_HPLL>;
                arm,cpu-registers-not-fw-configured;
+               always-on;
        };
 
        ahb {
                                                <&gic  GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&syscon ASPEED_CLK_APB1>;
                                clock-names = "PCLK";
+                               status = "disabled";
                         };
 
                        uart1: serial@1e783000 {