All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Stanley <joel@jms.id.au>
To: openbmc@lists.ozlabs.org, "Cédric Le Goater" <clg@kaod.org>
Cc: Andrew Jeffery <andrew@aj.id.au>
Subject: [PATCH linux dev-5.3 1/4] ARM: dts: aspeed-g6: Add timer description
Date: Wed,  6 Nov 2019 19:47:02 +1030	[thread overview]
Message-ID: <20191106091705.7416-2-joel@jms.id.au> (raw)
In-Reply-To: <20191106091705.7416-1-joel@jms.id.au>

The AST2600 has 8 32-bit timers on the APB bus.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 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@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>;
-- 
2.24.0.rc1

  reply	other threads:[~2019-11-06  9:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06  9:17 [PATCH linux dev-5.3 0/4] ast2600 timer support Joel Stanley
2019-11-06  9:17 ` Joel Stanley [this message]
2019-11-06 14:28   ` [PATCH linux dev-5.3 1/4] ARM: dts: aspeed-g6: Add timer description Cédric Le Goater
2019-11-06  9:17 ` [PATCH linux dev-5.3 2/4] clocksource: fttmr010: Parametrise shutdown Joel Stanley
2019-11-06 14:32   ` Cédric Le Goater
2019-11-06  9:17 ` [PATCH linux dev-5.3 3/4] clocksource: fttmr010: Set interrupt and shutdown Joel Stanley
2019-11-06 14:34   ` Cédric Le Goater
2019-11-06  9:17 ` [PATCH linux dev-5.3 4/4] clocksource: fttmr010: Add support for ast2600 Joel Stanley
2019-11-06 14:40   ` Cédric Le Goater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191106091705.7416-2-joel@jms.id.au \
    --to=joel@jms.id.au \
    --cc=andrew@aj.id.au \
    --cc=clg@kaod.org \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.