linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency
@ 2015-03-19  0:31 Brian Norris
  2015-03-19  0:31 ` [PATCH 2/2] ARM: dts: brcmstb: add IRQ0 controller Brian Norris
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Brian Norris @ 2015-03-19  0:31 UTC (permalink / raw)
  To: linux-arm-kernel

This value makes much more sense in decimal.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 arch/arm/boot/dts/bcm7445.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/bcm7445.dtsi b/arch/arm/boot/dts/bcm7445.dtsi
index 0ca0f4e523d0..b183dc99111a 100644
--- a/arch/arm/boot/dts/bcm7445.dtsi
+++ b/arch/arm/boot/dts/bcm7445.dtsi
@@ -76,7 +76,7 @@
 			reg-shift = <2>;
 			reg-io-width = <4>;
 			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
-			clock-frequency = <0x4d3f640>;
+			clock-frequency = <81000000>;
 		};
 
 		sun_top_ctrl: syscon at 404000 {
-- 
1.9.1

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

* [PATCH 2/2] ARM: dts: brcmstb: add IRQ0 controller
  2015-03-19  0:31 [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency Brian Norris
@ 2015-03-19  0:31 ` Brian Norris
  2015-03-19 16:35   ` Florian Fainelli
  2015-03-19  2:39 ` [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency Gregory Fong
  2015-03-19 16:34 ` Florian Fainelli
  2 siblings, 1 reply; 5+ messages in thread
From: Brian Norris @ 2015-03-19  0:31 UTC (permalink / raw)
  To: linux-arm-kernel

This L2 controller handles multiplexing a few different interrupts. We
also need it for configuring the interrupt forwarding masks for the
UART.

With this, we can *now* boot BCM7445 to a prompt using the upstream
kernel + DTB.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 arch/arm/boot/dts/bcm7445.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/bcm7445.dtsi b/arch/arm/boot/dts/bcm7445.dtsi
index b183dc99111a..9eaeac8dce1b 100644
--- a/arch/arm/boot/dts/bcm7445.dtsi
+++ b/arch/arm/boot/dts/bcm7445.dtsi
@@ -96,6 +96,18 @@
 				     "syscon";
 			reg = <0x452000 0x100>;
 		};
+
+		irq0_intc: interrupt-controller at f040a780 {
+			compatible = "brcm,bcm7120-l2-intc";
+			interrupt-parent = <&gic>;
+			#interrupt-cells = <1>;
+			reg = <0x40a780 0x8>;
+			interrupt-controller;
+			interrupts = <GIC_SPI 0x45 0x0>,
+				     <GIC_SPI 0x43 0x0>;
+			brcm,int-map-mask = <0x25c>, <0x7000000>;
+			brcm,int-fwd-mask = <0x70000>;
+		};
 	};
 
 	smpboot {
-- 
1.9.1

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

* [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency
  2015-03-19  0:31 [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency Brian Norris
  2015-03-19  0:31 ` [PATCH 2/2] ARM: dts: brcmstb: add IRQ0 controller Brian Norris
@ 2015-03-19  2:39 ` Gregory Fong
  2015-03-19 16:34 ` Florian Fainelli
  2 siblings, 0 replies; 5+ messages in thread
From: Gregory Fong @ 2015-03-19  2:39 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Mar 18, 2015 at 5:31 PM, Brian Norris
<computersforpeace@gmail.com> wrote:
> This value makes much more sense in decimal.
>
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Acked-by: Gregory Fong <gregory.0xf0@gmail.com>

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

* [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency
  2015-03-19  0:31 [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency Brian Norris
  2015-03-19  0:31 ` [PATCH 2/2] ARM: dts: brcmstb: add IRQ0 controller Brian Norris
  2015-03-19  2:39 ` [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency Gregory Fong
@ 2015-03-19 16:34 ` Florian Fainelli
  2 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2015-03-19 16:34 UTC (permalink / raw)
  To: linux-arm-kernel

On 18/03/15 17:31, Brian Norris wrote:
> This value makes much more sense in decimal.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Applied to devicetree/next, thanks!
-- 
Florian

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

* [PATCH 2/2] ARM: dts: brcmstb: add IRQ0 controller
  2015-03-19  0:31 ` [PATCH 2/2] ARM: dts: brcmstb: add IRQ0 controller Brian Norris
@ 2015-03-19 16:35   ` Florian Fainelli
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2015-03-19 16:35 UTC (permalink / raw)
  To: linux-arm-kernel

On 18/03/15 17:31, Brian Norris wrote:
> This L2 controller handles multiplexing a few different interrupts. We
> also need it for configuring the interrupt forwarding masks for the
> UART.
> 
> With this, we can *now* boot BCM7445 to a prompt using the upstream
> kernel + DTB.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Applied to devicetree/next, thanks!
-- 
Florian

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

end of thread, other threads:[~2015-03-19 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19  0:31 [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency Brian Norris
2015-03-19  0:31 ` [PATCH 2/2] ARM: dts: brcmstb: add IRQ0 controller Brian Norris
2015-03-19 16:35   ` Florian Fainelli
2015-03-19  2:39 ` [PATCH 1/2] ARM: dts: brcmstb: un-hexify clock frequency Gregory Fong
2015-03-19 16:34 ` Florian Fainelli

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).