* [PATCH 0/2] Stingray Smart NIC DT support
@ 2018-07-10 21:25 Ray Jui
2018-07-10 21:25 ` [PATCH 1/2] arm64: dts: stingray: add PAXC support Ray Jui
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Ray Jui @ 2018-07-10 21:25 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-kernel, bcm-kernel-feedback-list, Ray Jui
This patch series adds DT support for Stingray smart NIC boards
This patch series is based off v4.18-rc3 and is available on GIHUB:
repo: https://github.com/Broadcom/arm64-linux.git
branch: sr-smartnic-dt-v1
Ray Jui (1):
arm64: dts: stingray: add PAXC support
Vladimir Olovyannikov (1):
arm64: dts: stingray: add bcm958802a802x dts
arch/arm64/boot/dts/broadcom/stingray/Makefile | 2 +
.../boot/dts/broadcom/stingray/bcm958802a802x.dts | 26 +++++++++++
.../boot/dts/broadcom/stingray/stingray-pcie.dtsi | 54 ++++++++++++++++++++++
.../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 11 +++++
4 files changed, 93 insertions(+)
create mode 100644 arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts
create mode 100644 arch/arm64/boot/dts/broadcom/stingray/stingray-pcie.dtsi
--
2.1.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] arm64: dts: stingray: add PAXC support
2018-07-10 21:25 [PATCH 0/2] Stingray Smart NIC DT support Ray Jui
@ 2018-07-10 21:25 ` Ray Jui
2018-07-10 21:25 ` [PATCH 2/2] arm64: dts: stingray: add bcm958802a802x dts Ray Jui
2018-07-13 14:25 ` [PATCH 0/2] Stingray Smart NIC DT support Florian Fainelli
2 siblings, 0 replies; 4+ messages in thread
From: Ray Jui @ 2018-07-10 21:25 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-kernel, bcm-kernel-feedback-list, Ray Jui,
Peter Spreadborough
Add PAXC support to Broadcom Stingray SoC
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Peter Spreadborough <peter.spreadborough@broadcom.com>
---
.../boot/dts/broadcom/stingray/stingray-pcie.dtsi | 54 ++++++++++++++++++++++
.../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 11 +++++
2 files changed, 65 insertions(+)
create mode 100644 arch/arm64/boot/dts/broadcom/stingray/stingray-pcie.dtsi
diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray-pcie.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray-pcie.dtsi
new file mode 100644
index 0000000..33a472a
--- /dev/null
+++ b/arch/arm64/boot/dts/broadcom/stingray/stingray-pcie.dtsi
@@ -0,0 +1,54 @@
+// SPDX-License-Identifier: (GPL-2.0 or BSD-3-Clause)
+/*
+ *Copyright(c) 2018 Broadcom
+ */
+
+pcie8: pcie@60400000 {
+ compatible = "brcm,iproc-pcie-paxc-v2";
+ reg = <0 0x60400000 0 0x1000>;
+ linux,pci-domain = <8>;
+
+ bus-range = <0x0 0x1>;
+
+ #address-cells = <3>;
+ #size-cells = <2>;
+ device_type = "pci";
+ ranges = <0x83000000 0 0x10000000 0 0x10000000 0 0x20000000>;
+
+ dma-coherent;
+
+ msi-map = <0x100 &gic_its 0x2000 0x1>, /* PF0 */
+ <0x108 &gic_its 0x2040 0x8>, /* PF0-VF0-7 */
+ <0x101 &gic_its 0x2080 0x1>, /* PF1 */
+ <0x110 &gic_its 0x20c8 0x8>, /* PF1-VF8-15 */
+ <0x102 &gic_its 0x2100 0x1>, /* PF2 */
+ <0x118 &gic_its 0x2150 0x8>, /* PF2-VF16-23 */
+ <0x103 &gic_its 0x2180 0x1>, /* PF3 */
+ <0x120 &gic_its 0x21d8 0x8>, /* PF3-VF24-31 */
+ <0x104 &gic_its 0x2200 0x1>, /* PF4 */
+ <0x128 &gic_its 0x2260 0x8>, /* PF4-VF32-39 */
+ <0x105 &gic_its 0x2280 0x1>, /* PF5 */
+ <0x130 &gic_its 0x22e8 0x8>, /* PF5-VF40-47 */
+ <0x106 &gic_its 0x2300 0x1>, /* PF6 */
+ <0x138 &gic_its 0x2370 0x8>, /* PF6-VF48-55 */
+ <0x107 &gic_its 0x2380 0x1>, /* PF7 */
+ <0x140 &gic_its 0x23f8 0x8>; /* PF7-VF56-63 */
+
+ phys = <&pcie_phy 8>;
+ phy-names = "pcie-phy";
+};
+
+pcie-ss {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x0 0x0 0x40000000 0x800>;
+
+ pcie_phy: phy@0 {
+ compatible = "brcm,sr-pcie-phy";
+ reg = <0x0 0x200>;
+ brcm,sr-cdru = <&cdru>;
+ brcm,sr-mhb = <&mhb>;
+ #phy-cells = <1>;
+ };
+};
diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
index e8be784..4ad4797 100644
--- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
+++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
@@ -146,6 +146,11 @@
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
};
+ mhb: syscon@60401000 {
+ compatible = "brcm,sr-mhb", "syscon";
+ reg = <0 0x60401000 0 0x38c>;
+ };
+
scr {
compatible = "simple-bus";
#address-cells = <1>;
@@ -265,6 +270,11 @@
status = "okay";
};
+ cdru: syscon@1d000 {
+ compatible = "brcm,sr-cdru", "syscon";
+ reg = <0x0001d000 0x400>;
+ };
+
gpio_crmu: gpio@24800 {
compatible = "brcm,iproc-gpio";
reg = <0x00024800 0x4c>;
@@ -276,6 +286,7 @@
#include "stingray-fs4.dtsi"
#include "stingray-sata.dtsi"
+ #include "stingray-pcie.dtsi"
hsls {
compatible = "simple-bus";
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm64: dts: stingray: add bcm958802a802x dts
2018-07-10 21:25 [PATCH 0/2] Stingray Smart NIC DT support Ray Jui
2018-07-10 21:25 ` [PATCH 1/2] arm64: dts: stingray: add PAXC support Ray Jui
@ 2018-07-10 21:25 ` Ray Jui
2018-07-13 14:25 ` [PATCH 0/2] Stingray Smart NIC DT support Florian Fainelli
2 siblings, 0 replies; 4+ messages in thread
From: Ray Jui @ 2018-07-10 21:25 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon
Cc: devicetree, linux-kernel, bcm-kernel-feedback-list, Ray Jui,
Vladimir Olovyannikov, Pramod Kumar
From: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
Add bcm958802a802x dts to be used on all Stingray smart NIC PS225 board
variants
Signed-off-by: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
---
arch/arm64/boot/dts/broadcom/stingray/Makefile | 2 ++
.../boot/dts/broadcom/stingray/bcm958802a802x.dts | 26 ++++++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts
diff --git a/arch/arm64/boot/dts/broadcom/stingray/Makefile b/arch/arm64/boot/dts/broadcom/stingray/Makefile
index c4d06cf..20c7d0a 100644
--- a/arch/arm64/boot/dts/broadcom/stingray/Makefile
+++ b/arch/arm64/boot/dts/broadcom/stingray/Makefile
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742k.dtb
dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742t.dtb
+
+dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958802a802x.dtb
diff --git a/arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts b/arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts
new file mode 100644
index 0000000..a41facd
--- /dev/null
+++ b/arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: (GPL-2.0 or BSD-3-Clause)
+/*
+ *Copyright(c) 2018 Broadcom
+ */
+
+/dts-v1/;
+
+#include "stingray-board-base.dtsi"
+
+/ {
+ compatible = "brcm,bcm958802a802x", "brcm,stingray";
+ model = "Stingray PS225xx (BCM958802A802x)";
+};
+
+&enet {
+ status = "disabled";
+};
+
+&sdio0 {
+ no-1-8-v;
+ status = "okay";
+};
+
+&uart0 {
+ status = "okay";
+};
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Stingray Smart NIC DT support
2018-07-10 21:25 [PATCH 0/2] Stingray Smart NIC DT support Ray Jui
2018-07-10 21:25 ` [PATCH 1/2] arm64: dts: stingray: add PAXC support Ray Jui
2018-07-10 21:25 ` [PATCH 2/2] arm64: dts: stingray: add bcm958802a802x dts Ray Jui
@ 2018-07-13 14:25 ` Florian Fainelli
2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2018-07-13 14:25 UTC (permalink / raw)
To: Ray Jui, linux-arm-kernel, Florian Fainelli, Rob Herring,
Mark Rutland, Catalin Marinas, Will Deacon
Cc: devicetree, linux-kernel, bcm-kernel-feedback-list
On 07/10/2018 02:25 PM, Ray Jui wrote:
> This patch series adds DT support for Stingray smart NIC boards
>
> This patch series is based off v4.18-rc3 and is available on GIHUB:
> repo: https://github.com/Broadcom/arm64-linux.git
> branch: sr-smartnic-dt-v1
Series applied to devicetree-arm64/next, thanks. I will be sending an
update set of 4.19 pull requests with those included.
--
Florian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-07-13 14:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-10 21:25 [PATCH 0/2] Stingray Smart NIC DT support Ray Jui
2018-07-10 21:25 ` [PATCH 1/2] arm64: dts: stingray: add PAXC support Ray Jui
2018-07-10 21:25 ` [PATCH 2/2] arm64: dts: stingray: add bcm958802a802x dts Ray Jui
2018-07-13 14:25 ` [PATCH 0/2] Stingray Smart NIC DT support 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).