diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-03-18 18:31:36 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-04-20 23:04:24 +0200 |
commit | 9437fbb7ab2c979b5b464c031d50a243706799ab (patch) | |
tree | 4056c538b54275fc2fbf878e38888677794831c8 /target/linux/bcm53xx/patches-4.4/047-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch | |
parent | 3ff31f8a7822aad352d2714cafce7db9ea15541d (diff) | |
download | upstream-9437fbb7ab2c979b5b464c031d50a243706799ab.tar.gz upstream-9437fbb7ab2c979b5b464c031d50a243706799ab.tar.bz2 upstream-9437fbb7ab2c979b5b464c031d50a243706799ab.zip |
bcm53xx: backport BCM5301X patches
This fixes GIC interrupts (required before switching to 4.9), adds few
new entires & introduces DTS for Archer C5.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/047-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch')
-rw-r--r-- | target/linux/bcm53xx/patches-4.4/047-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/047-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch b/target/linux/bcm53xx/patches-4.4/047-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch new file mode 100644 index 0000000000..b112cba682 --- /dev/null +++ b/target/linux/bcm53xx/patches-4.4/047-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch @@ -0,0 +1,40 @@ +From f22c635e585471d01a38b829c0753c1467b5058e Mon Sep 17 00:00:00 2001 +From: Jon Mason <jonmason@broadcom.com> +Date: Mon, 6 Mar 2017 11:24:44 -0500 +Subject: [PATCH] ARM: dts: BCM5301X: Add TWD WD Support to DT + +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> +Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> +--- + arch/arm/boot/dts/bcm5301x.dtsi | 15 ++++++++++++--- + 1 file changed, 12 insertions(+), 3 deletions(-) + +--- a/arch/arm/boot/dts/bcm5301x.dtsi ++++ b/arch/arm/boot/dts/bcm5301x.dtsi +@@ -70,10 +70,19 @@ + clocks = <&periph_clk>; + }; + +- local-timer@20600 { ++ timer@20600 { + compatible = "arm,cortex-a9-twd-timer"; +- reg = <0x20600 0x100>; +- interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>; ++ reg = <0x20600 0x20>; ++ interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | ++ IRQ_TYPE_EDGE_RISING)>; ++ 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_EDGE_RISING)>; + clocks = <&periph_clk>; + }; + |