[PATCH 05/11] powerpc: dts: t4240: add QorIQ DPAA 1 FMan v3 nodes

2021-04-10 Thread Camelia Groza
Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T4240 SoC.
The device tree nodes are copied over with little modification
from the Linux kernel source code.

Signed-off-by: Camelia Groza 
---
 arch/powerpc/dts/t4240si-post.dtsi | 101 +
 1 file changed, 101 insertions(+)
 create mode 100644 arch/powerpc/dts/t4240si-post.dtsi

diff --git a/arch/powerpc/dts/t4240si-post.dtsi 
b/arch/powerpc/dts/t4240si-post.dtsi
new file mode 100644
index ..f614d19965d3
--- /dev/null
+++ b/arch/powerpc/dts/t4240si-post.dtsi
@@ -0,0 +1,101 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * T4240 Silicon/SoC Device Tree Source (post include)
+ *
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2021 NXP
+ *
+ */
+ {
+/include/ "qoriq-clockgen2.dtsi"
+/include/ "qoriq-gpio-0.dtsi"
+/include/ "qoriq-gpio-1.dtsi"
+/include/ "qoriq-gpio-2.dtsi"
+/include/ "qoriq-gpio-3.dtsi"
+
+/include/ "qoriq-fman3-0.dtsi"
+/include/ "qoriq-fman3-0-1g-0.dtsi"
+/include/ "qoriq-fman3-0-1g-1.dtsi"
+/include/ "qoriq-fman3-0-1g-2.dtsi"
+/include/ "qoriq-fman3-0-1g-3.dtsi"
+/include/ "qoriq-fman3-0-1g-4.dtsi"
+/include/ "qoriq-fman3-0-1g-5.dtsi"
+/include/ "qoriq-fman3-0-10g-0.dtsi"
+/include/ "qoriq-fman3-0-10g-1.dtsi"
+   fman@40 {
+   enet0: ethernet@e {
+   };
+
+   enet1: ethernet@e2000 {
+   };
+
+   enet2: ethernet@e4000 {
+   };
+
+   enet3: ethernet@e6000 {
+   };
+
+   enet4: ethernet@e8000 {
+   };
+
+   enet5: ethernet@ea000 {
+   };
+
+   enet6: ethernet@f {
+   };
+
+   enet7: ethernet@f2000 {
+   };
+
+   mdio@fc000 {
+   status = "disabled";
+   };
+
+   mdio@fd000 {
+   status = "disabled";
+   };
+   };
+
+/include/ "qoriq-fman3-1.dtsi"
+/include/ "qoriq-fman3-1-1g-0.dtsi"
+/include/ "qoriq-fman3-1-1g-1.dtsi"
+/include/ "qoriq-fman3-1-1g-2.dtsi"
+/include/ "qoriq-fman3-1-1g-3.dtsi"
+/include/ "qoriq-fman3-1-1g-4.dtsi"
+/include/ "qoriq-fman3-1-1g-5.dtsi"
+/include/ "qoriq-fman3-1-10g-0.dtsi"
+/include/ "qoriq-fman3-1-10g-1.dtsi"
+   fman@50 {
+   enet8: ethernet@e {
+   };
+
+   enet9: ethernet@e2000 {
+   };
+
+   enet10: ethernet@e4000 {
+   };
+
+   enet11: ethernet@e6000 {
+   };
+
+   enet12: ethernet@e8000 {
+   };
+
+   enet13: ethernet@ea000 {
+   };
+
+   enet14: ethernet@f {
+   };
+
+   enet15: ethernet@f2000 {
+   };
+
+   mdio@fc000 {
+   interrupts = <100 1 0 0>;
+   };
+
+   mdio@fd000 {
+   interrupts = <101 1 0 0>;
+   };
+   };
+};
-- 
2.17.1



[PATCH 05/11] powerpc: dts: t4240: add QorIQ DPAA 1 FMan v3 nodes

2021-04-09 Thread Camelia Groza
From: Camelia Groza 

Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T4240 SoC.
The device tree nodes are copied over with little modification
from the Linux kernel source code.

Signed-off-by: Camelia Groza 
---
 arch/powerpc/dts/t4240si-post.dtsi | 101 +
 1 file changed, 101 insertions(+)
 create mode 100644 arch/powerpc/dts/t4240si-post.dtsi

diff --git a/arch/powerpc/dts/t4240si-post.dtsi 
b/arch/powerpc/dts/t4240si-post.dtsi
new file mode 100644
index ..f614d19965d3
--- /dev/null
+++ b/arch/powerpc/dts/t4240si-post.dtsi
@@ -0,0 +1,101 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * T4240 Silicon/SoC Device Tree Source (post include)
+ *
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2021 NXP
+ *
+ */
+ {
+/include/ "qoriq-clockgen2.dtsi"
+/include/ "qoriq-gpio-0.dtsi"
+/include/ "qoriq-gpio-1.dtsi"
+/include/ "qoriq-gpio-2.dtsi"
+/include/ "qoriq-gpio-3.dtsi"
+
+/include/ "qoriq-fman3-0.dtsi"
+/include/ "qoriq-fman3-0-1g-0.dtsi"
+/include/ "qoriq-fman3-0-1g-1.dtsi"
+/include/ "qoriq-fman3-0-1g-2.dtsi"
+/include/ "qoriq-fman3-0-1g-3.dtsi"
+/include/ "qoriq-fman3-0-1g-4.dtsi"
+/include/ "qoriq-fman3-0-1g-5.dtsi"
+/include/ "qoriq-fman3-0-10g-0.dtsi"
+/include/ "qoriq-fman3-0-10g-1.dtsi"
+   fman@40 {
+   enet0: ethernet@e {
+   };
+
+   enet1: ethernet@e2000 {
+   };
+
+   enet2: ethernet@e4000 {
+   };
+
+   enet3: ethernet@e6000 {
+   };
+
+   enet4: ethernet@e8000 {
+   };
+
+   enet5: ethernet@ea000 {
+   };
+
+   enet6: ethernet@f {
+   };
+
+   enet7: ethernet@f2000 {
+   };
+
+   mdio@fc000 {
+   status = "disabled";
+   };
+
+   mdio@fd000 {
+   status = "disabled";
+   };
+   };
+
+/include/ "qoriq-fman3-1.dtsi"
+/include/ "qoriq-fman3-1-1g-0.dtsi"
+/include/ "qoriq-fman3-1-1g-1.dtsi"
+/include/ "qoriq-fman3-1-1g-2.dtsi"
+/include/ "qoriq-fman3-1-1g-3.dtsi"
+/include/ "qoriq-fman3-1-1g-4.dtsi"
+/include/ "qoriq-fman3-1-1g-5.dtsi"
+/include/ "qoriq-fman3-1-10g-0.dtsi"
+/include/ "qoriq-fman3-1-10g-1.dtsi"
+   fman@50 {
+   enet8: ethernet@e {
+   };
+
+   enet9: ethernet@e2000 {
+   };
+
+   enet10: ethernet@e4000 {
+   };
+
+   enet11: ethernet@e6000 {
+   };
+
+   enet12: ethernet@e8000 {
+   };
+
+   enet13: ethernet@ea000 {
+   };
+
+   enet14: ethernet@f {
+   };
+
+   enet15: ethernet@f2000 {
+   };
+
+   mdio@fc000 {
+   interrupts = <100 1 0 0>;
+   };
+
+   mdio@fd000 {
+   interrupts = <101 1 0 0>;
+   };
+   };
+};
-- 
2.17.1