diff mbox series

[13/19] powerpc: dts: add QorIQ DPAA 1 FMan for P5040

Message ID 1588251616-14976-14-git-send-email-madalin.bucur@oss.nxp.com
State Accepted
Commit a1ecc56bbf53ffe3255f23f1e4acc92c29d28824
Headers show
Series Enable DM_ETH on some DPAA1 PowerPC platforms | expand

Commit Message

Madalin Bucur (OSS) April 30, 2020, 1 p.m. UTC
The device tree fragments are copied over with little
modification from the Linux kernel source code.

Signed-off-by: Madalin Bucur <madalin.bucur at oss.nxp.com>
---
 arch/powerpc/dts/p5040si-post.dtsi | 69 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
 create mode 100644 arch/powerpc/dts/p5040si-post.dtsi
diff mbox series

Patch

diff --git a/arch/powerpc/dts/p5040si-post.dtsi b/arch/powerpc/dts/p5040si-post.dtsi
new file mode 100644
index 0000000..1efad2d
--- /dev/null
+++ b/arch/powerpc/dts/p5040si-post.dtsi
@@ -0,0 +1,69 @@ 
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * P5040 Silicon/SoC Device Tree Source (post include)
+ *
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2020 NXP
+ *
+ */
+
+&soc {
+
+/include/ "qoriq-clockgen1.dtsi"
+/include/ "qoriq-gpio-0.dtsi"
+
+/* include used FMan blocks */
+/include/ "qoriq-fman-0.dtsi"
+/include/ "qoriq-fman-0-1g-0.dtsi"
+/include/ "qoriq-fman-0-1g-1.dtsi"
+/include/ "qoriq-fman-0-1g-2.dtsi"
+/include/ "qoriq-fman-0-1g-3.dtsi"
+/include/ "qoriq-fman-0-1g-4.dtsi"
+/include/ "qoriq-fman-0-10g-0.dtsi"
+	fman at 400000 {
+		enet0: ethernet at e0000 {
+		};
+
+		enet1: ethernet at e2000 {
+		};
+
+		enet2: ethernet at e4000 {
+		};
+
+		enet3: ethernet at e6000 {
+		};
+
+		enet4: ethernet at e8000 {
+		};
+
+		enet5: ethernet at f0000 {
+		};
+	};
+
+/include/ "qoriq-fman-1.dtsi"
+/include/ "qoriq-fman-1-1g-0.dtsi"
+/include/ "qoriq-fman-1-1g-1.dtsi"
+/include/ "qoriq-fman-1-1g-2.dtsi"
+/include/ "qoriq-fman-1-1g-3.dtsi"
+/include/ "qoriq-fman-1-1g-4.dtsi"
+/include/ "qoriq-fman-1-10g-0.dtsi"
+	fman at 500000 {
+		enet6: ethernet at e0000 {
+		};
+
+		enet7: ethernet at e2000 {
+		};
+
+		enet8: ethernet at e4000 {
+		};
+
+		enet9: ethernet at e6000 {
+		};
+
+		enet10: ethernet at e8000 {
+		};
+
+		enet11: ethernet at f0000 {
+		};
+	};
+};