Skip to contentSkip to conversation

ARM: dts: NSP: add PL330 support and XMC board

PATCH In review Jon Mason 2 participants 4 messages Jun 7, 2016 – Jun 13, 2016

Subsystems (3)
lore
Share & tools
lore

Jon Mason

author
#0 lore raw

cover ARM: dts: NSP: add PL330 support and XMC board

Add support for the PL330 DMA engine and the XMC form factor for Broadcom Northstar Plus SoCs

Jon Mason (2):
ARM: dts: NSP: Add XMC board support
ARM: dts: NSP: Add PL330 support

 arch/arm/boot/dts/Makefile         |   1 +
 arch/arm/boot/dts/bcm-nsp.dtsi     |  17 ++++++
 arch/arm/boot/dts/bcm958525xmc.dts | 109 +++++++++++++++++++++++++++++++++++++
 3 files changed, 127 insertions(+)
 create mode 100644 arch/arm/boot/dts/bcm958525xmc.dts
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/2 ARM: dts: NSP: Add XMC board support

From: Jon Mason <[email protected]>

The BCM958525XMC board is a smaller form factor typically used as controller boards for switches. This smaller board has less devices pinned out, so only a few need be populated in the device tree.

---
 arch/arm/boot/dts/Makefile         |   1 +
 arch/arm/boot/dts/bcm958525xmc.dts | 109 +++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)
 create mode 100644 arch/arm/boot/dts/bcm958525xmc.dts
arch/arm/boot/dts/Makefile +1 -0
index 2afa97e..3626be8 100644
@@ -97,6 +97,7 @@ dtb-$(CONFIG_ARCH_BCM_MOBILE) += \
 	bcm28155-ap.dtb \
 	bcm21664-garnet.dtb
 dtb-$(CONFIG_ARCH_BCM_NSP) += \
+	bcm958525xmc.dtb \
 	bcm958625hr.dtb \
 	bcm958625k.dtb
 dtb-$(CONFIG_ARCH_BERLIN) += \
arch/arm/boot/dts/bcm958525xmc.dts new file +109 -0

109 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#2 lore raw

PATCH 2/2 ARM: dts: NSP: Add PL330 support

In reply to Jon Mason

From: Jon Mason <[email protected]>

Add PL330 support to the the Broadcom Northstar Plus device tree.

---
 arch/arm/boot/dts/bcm-nsp.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
arch/arm/boot/dts/bcm-nsp.dtsi +17 -0
index 1759e65..8d7b35a 100644
@@ -192,6 +192,23 @@
 			status = "disabled";
 		};
 
+		dma at 20000 {
+			compatible = "arm,pl330", "arm,primecell";
+			reg = <0x20000 0x1000>;
+			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&iprocslow>;
+			clock-names = "apb_pclk";
+			#dma-cells = <1>;
+		};
+
 		nand: nand at 26000 {
 			compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
 			reg = <0x026000 0x600>,
Signature · 1 line
1.9.1
#3 lore raw
In reply to Jon Mason
Quoted 7 lines · Jon Mason

Add support for the PL330 DMA engine and the XMC form factor for Broadcom Northstar Plus SoCs

Jon Mason (2):
ARM: dts: NSP: Add XMC board support
ARM: dts: NSP: Add PL330 support

Series applied, thanks Jon

Signature · 1 line
Florian