Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1399602 > unrolled thread

[PATCH v2 0/3] ARM: dts: bcm5301x: Add TWD, I2C, and syscon

Started byJon Mason <jon.mason@broadcom.com>
First post2016-05-12 01:20 +0200
Last post2016-05-12 01:20 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/3] ARM: dts: bcm5301x: Add TWD, I2C, and syscon Jon Mason <jon.mason@broadcom.com> - 2016-05-12 01:20 +0200
    [PATCH v2 1/3] ARM: dts: bcm5301x: Add TWD WD Support to DT Jon Mason <jon.mason@broadcom.com> - 2016-05-12 01:20 +0200

#1399602 — [PATCH v2 0/3] ARM: dts: bcm5301x: Add TWD, I2C, and syscon

FromJon Mason <jon.mason@broadcom.com>
Date2016-05-12 01:20 +0200
Subject[PATCH v2 0/3] ARM: dts: bcm5301x: Add TWD, I2C, and syscon
Message-ID<rxLA6-1qt-13@gated-at.bofh.it>
Reviving, correcting, and resending this patch series from December
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/395155.html

In v2:
* Corrected TWD DT names, per Sergei Shtylyov
* Modified syscon size, per Arnd Bergmann (or atleast my rough
  understanding of what he was trying to say)

Jon Mason (3):
  ARM: dts: bcm5301x: Add TWD WD Support to DT
  ARM: dts: bcm5301x: Add I2C support to the DT
  arm: dts: bcm5301x: Add syscon based reboot in DT

 arch/arm/boot/dts/bcm5301x.dtsi | 36 +++++++++++++++++++++++++++++++++---
 1 file changed, 33 insertions(+), 3 deletions(-)

-- 
1.9.1

[toc] | [next] | [standalone]


#1399603 — [PATCH v2 1/3] ARM: dts: bcm5301x: Add TWD WD Support to DT

FromJon Mason <jon.mason@broadcom.com>
Date2016-05-12 01:20 +0200
Subject[PATCH v2 1/3] ARM: dts: bcm5301x: Add TWD WD Support to DT
Message-ID<rxLA6-1qt-21@gated-at.bofh.it>
In reply to#1399602
Add support for the ARM TWD Watchdog to the bcm5301x device tree.  The
ARM TWD timer allocated the register space for the WDT, so this patch
necessitated shrinking that.  Also, the GIC masks were added for these.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
---
 arch/arm/boot/dts/bcm5301x.dtsi | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index 65a1309..4b9887f 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -66,10 +66,19 @@
 			clocks = <&periph_clk>;
 		};
 
-		local-timer@20600 {
+		timer@20600 {
 			compatible = "arm,cortex-a9-twd-timer";
-			reg = <0x20600 0x100>;
-			interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>;
+			reg = <0x20600 0x20>;
+			interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
+						  IRQ_TYPE_LEVEL_HIGH)>;
+			clocks = <&periph_clk>;
+		};
+
+		watchdog@20620 {
+			compatible = "arm,cortex-a9-twd-wdt";
+			reg = <0x20620 0x20>;
+			interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
+						  IRQ_TYPE_LEVEL_HIGH)>;
 			clocks = <&periph_clk>;
 		};
 
-- 
1.9.1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web