linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: zx: Change gic node to fix boot failure
@ 2016-10-12  2:14 Jun Nie
  2016-10-12  2:14 ` [PATCH 2/2] arm64: dts: zx: Add clock controller nodes Jun Nie
  2016-10-12  2:37 ` [PATCH 1/2] arm64: dts: zx: Change gic node to fix boot failure Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Jun Nie @ 2016-10-12  2:14 UTC (permalink / raw)
  To: linux-arm-kernel

GICR for multiple CPU can be described with start address and stride,
or with multiple address. Current multiple address and stride are
both used. Fix it.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
---
 arch/arm64/boot/dts/zte/zx296718.dtsi | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/zte/zx296718.dtsi b/arch/arm64/boot/dts/zte/zx296718.dtsi
index a223066..6b239a3 100644
--- a/arch/arm64/boot/dts/zte/zx296718.dtsi
+++ b/arch/arm64/boot/dts/zte/zx296718.dtsi
@@ -239,16 +239,11 @@
 		compatible = "arm,gic-v3";
 		#interrupt-cells = <3>;
 		#address-cells = <0>;
-		#redistributor-regions = <6>;
-		redistributor-stride = <0x0 0x40000>;
+		#redistributor-regions = <1>;
+		redistributor-stride = <0x20000>;
 		interrupt-controller;
 		reg = <0x02a00000 0x10000>,
-		      <0x02b00000 0x20000>,
-		      <0x02b20000 0x20000>,
-		      <0x02b40000 0x20000>,
-		      <0x02b60000 0x20000>,
-		      <0x02b80000 0x20000>,
-		      <0x02ba0000 0x20000>;
+		      <0x02b00000 0xc0000>;
 		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-12  2:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12  2:14 [PATCH 1/2] arm64: dts: zx: Change gic node to fix boot failure Jun Nie
2016-10-12  2:14 ` [PATCH 2/2] arm64: dts: zx: Add clock controller nodes Jun Nie
2016-10-12  2:39   ` Shawn Guo
2016-10-12  2:37 ` [PATCH 1/2] arm64: dts: zx: Change gic node to fix boot failure Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).