* [PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node
@ 2018-12-20 17:02 Ioana Ciocoi Radulescu
2018-12-20 17:02 ` [PATCH 2/2] arm64: dts: lx2160a: Add dma-ranges property Ioana Ciocoi Radulescu
2019-01-12 2:42 ` [PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Ioana Ciocoi Radulescu @ 2018-12-20 17:02 UTC (permalink / raw)
To: shawnguo
Cc: mark.rutland, devicetree, catalin.marinas, linux-kernel, robh+dt,
linux-arm-kernel
Add the fsl-mc node in the LX2160A device tree.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 117 +++++++++++++++++++++++++
1 file changed, 117 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
index a79f5c1..2366fd6 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
@@ -762,5 +762,122 @@
<GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
dma-coherent;
};
+
+ fsl_mc: fsl-mc@80c000000 {
+ compatible = "fsl,qoriq-mc";
+ reg = <0x00000008 0x0c000000 0 0x40>,
+ <0x00000000 0x08340000 0 0x40000>;
+ msi-parent = <&its>;
+ /* iommu-map property is fixed up by u-boot */
+ iommu-map = <0 &smmu 0 0>;
+ dma-coherent;
+ #address-cells = <3>;
+ #size-cells = <1>;
+
+ /*
+ * Region type 0x0 - MC portals
+ * Region type 0x1 - QBMAN portals
+ */
+ ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
+ 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
+
+ /*
+ * Define the maximum number of MACs present on the SoC.
+ */
+ dpmacs {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ dpmac1: dpmac@1 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x1>;
+ };
+
+ dpmac2: dpmac@2 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x2>;
+ };
+
+ dpmac3: dpmac@3 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x3>;
+ };
+
+ dpmac4: dpmac@4 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x4>;
+ };
+
+ dpmac5: dpmac@5 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x5>;
+ };
+
+ dpmac6: dpmac@6 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x6>;
+ };
+
+ dpmac7: dpmac@7 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x7>;
+ };
+
+ dpmac8: dpmac@8 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x8>;
+ };
+
+ dpmac9: dpmac@9 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x9>;
+ };
+
+ dpmac10: dpmac@a {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0xa>;
+ };
+
+ dpmac11: dpmac@b {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0xb>;
+ };
+
+ dpmac12: dpmac@c {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0xc>;
+ };
+
+ dpmac13: dpmac@d {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0xd>;
+ };
+
+ dpmac14: dpmac@e {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0xe>;
+ };
+
+ dpmac15: dpmac@f {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0xf>;
+ };
+
+ dpmac16: dpmac@10 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x10>;
+ };
+
+ dpmac17: dpmac@11 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x11>;
+ };
+
+ dpmac18: dpmac@12 {
+ compatible = "fsl,qoriq-mc-dpmac";
+ reg = <0x12>;
+ };
+ };
+ };
};
};
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: lx2160a: Add dma-ranges property
2018-12-20 17:02 [PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node Ioana Ciocoi Radulescu
@ 2018-12-20 17:02 ` Ioana Ciocoi Radulescu
2019-01-12 2:42 ` [PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Ioana Ciocoi Radulescu @ 2018-12-20 17:02 UTC (permalink / raw)
To: shawnguo
Cc: mark.rutland, devicetree, catalin.marinas, linux-kernel, robh+dt,
linux-arm-kernel
Add missing property from the soc node in LX2160A dts.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
index 2366fd6..825624e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
@@ -398,6 +398,7 @@
#address-cells = <2>;
#size-cells = <2>;
ranges;
+ dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
crypto: crypto@8000000 {
compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node
2018-12-20 17:02 [PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node Ioana Ciocoi Radulescu
2018-12-20 17:02 ` [PATCH 2/2] arm64: dts: lx2160a: Add dma-ranges property Ioana Ciocoi Radulescu
@ 2019-01-12 2:42 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2019-01-12 2:42 UTC (permalink / raw)
To: Ioana Ciocoi Radulescu
Cc: mark.rutland, devicetree, catalin.marinas, linux-kernel, robh+dt,
linux-arm-kernel
On Thu, Dec 20, 2018 at 05:02:03PM +0000, Ioana Ciocoi Radulescu wrote:
> Add the fsl-mc node in the LX2160A device tree.
>
> Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Applied both, thanks.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-12 2:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-20 17:02 [PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node Ioana Ciocoi Radulescu
2018-12-20 17:02 ` [PATCH 2/2] arm64: dts: lx2160a: Add dma-ranges property Ioana Ciocoi Radulescu
2019-01-12 2:42 ` [PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node Shawn Guo
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).