[PATCH linux dev-5.3 1/4] ARM: dts: aspeed-g6: Add timer description

Cédric Le Goater clg at kaod.org
Thu Nov 7 01:28:34 AEDT 2019


On 06/11/2019 10:17, Joel Stanley wrote:
> The AST2600 has 8 32-bit timers on the APB bus.
> 
> Signed-off-by: Joel Stanley <joel at jms.id.au>


Reviewed-by: Cédric Le Goater <clg at kaod.org>

> ---
>  arch/arm/boot/dts/aspeed-g6.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi
> index 6db29ee769d5..e574254f298d 100644
> --- a/arch/arm/boot/dts/aspeed-g6.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g6.dtsi
> @@ -310,6 +310,21 @@
>  				status = "disabled";
>  			};
>  
> +			timer: timer at 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 at 1e783000 {
>  				compatible = "ns16550a";
>  				reg = <0x1e783000 0x20>;
> 
x


More information about the openbmc mailing list