Re: [PATCH 1/3] PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10

2021-01-21 Thread Niel Fourie

Hi Stefan,

On 19/01/2021 16:06, Stefan Roese wrote:

Hi Niel,

On 08.01.21 11:53, Niel Fourie wrote:

Pulled in the kmcent2.dts and all its dependents from Linux 5.10,
commit 2c85ebc57b3e upstream. Replaced the license text with
SPDX License Identifiers.


I assume that you did not change the license itself (e.g. change MIT to
GPL etc) but only moved from non SPDX to SPDX indentifiers?


Yes, the licenses themselves were not changed, just replaced with SPDX 
identifiers.


I would suggest to also submit these changes to the Linux kernel (if
not done already). So that the files are identical in the next release
revision.

Is no license is changed:

Reviewed-by: Stefan Roese 


Thanks!



Best regards,
Niel Fourie

--
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-21 Fax: +49-8142-66989-80  Email: lu...@denx.de


Re: [PATCH 1/3] PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10

2021-01-19 Thread Stefan Roese

Hi Niel,

On 08.01.21 11:53, Niel Fourie wrote:

Pulled in the kmcent2.dts and all its dependents from Linux 5.10,
commit 2c85ebc57b3e upstream. Replaced the license text with
SPDX License Identifiers.


I assume that you did not change the license itself (e.g. change MIT to
GPL etc) but only moved from non SPDX to SPDX indentifiers?

I would suggest to also submit these changes to the Linux kernel (if
not done already). So that the files are identical in the next release
revision.

Is no license is changed:

Reviewed-by: Stefan Roese 

Thanks,
Stefan


Signed-off-by: Niel Fourie 
Cc: Holger Brunck 
Cc: Heiko Schocher 
Cc: Priyanka Jain 
---
  arch/powerpc/dts/elo3-dma-0.dtsi   |  55 ++
  arch/powerpc/dts/elo3-dma-1.dtsi   |  55 ++
  arch/powerpc/dts/kmcent2.dts   | 338 
  arch/powerpc/dts/qoriq-bman1.dtsi  |  14 +
  arch/powerpc/dts/qoriq-duart-0.dtsi|  24 +
  arch/powerpc/dts/qoriq-duart-1.dtsi|  24 +
  arch/powerpc/dts/qoriq-esdhc-0.dtsi|  13 +
  arch/powerpc/dts/qoriq-espi-0.dtsi |  14 +
  arch/powerpc/dts/qoriq-mpic.dtsi   |  79 +++
  arch/powerpc/dts/qoriq-qman3.dtsi  |  14 +
  arch/powerpc/dts/qoriq-sata2-0.dtsi|  12 +
  arch/powerpc/dts/qoriq-sata2-1.dtsi|  12 +
  arch/powerpc/dts/qoriq-sec5.0-0.dtsi   |  83 +++
  arch/powerpc/dts/qoriq-usb2-dr-0.dtsi  |  14 +
  arch/powerpc/dts/qoriq-usb2-mph-0.dtsi |  14 +
  arch/powerpc/dts/t1040si-post.dtsi | 727 +
  arch/powerpc/dts/t104xsi-pre.dtsi  |  88 +++
  17 files changed, 1580 insertions(+)
  create mode 100644 arch/powerpc/dts/elo3-dma-0.dtsi
  create mode 100644 arch/powerpc/dts/elo3-dma-1.dtsi
  create mode 100644 arch/powerpc/dts/kmcent2.dts
  create mode 100644 arch/powerpc/dts/qoriq-bman1.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-duart-0.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-duart-1.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-esdhc-0.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-espi-0.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-mpic.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-qman3.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-sata2-0.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-sata2-1.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-sec5.0-0.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-usb2-dr-0.dtsi
  create mode 100644 arch/powerpc/dts/qoriq-usb2-mph-0.dtsi
  create mode 100644 arch/powerpc/dts/t1040si-post.dtsi
  create mode 100644 arch/powerpc/dts/t104xsi-pre.dtsi

diff --git a/arch/powerpc/dts/elo3-dma-0.dtsi b/arch/powerpc/dts/elo3-dma-0.dtsi
new file mode 100644
index 00..c3f7737256
--- /dev/null
+++ b/arch/powerpc/dts/elo3-dma-0.dtsi
@@ -0,0 +1,55 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * QorIQ Elo3 DMA device tree stub [ controller @ offset 0x10 ]
+ *
+ * Copyright 2013 Freescale Semiconductor Inc.
+ */
+
+dma0: dma@100300 {
+   #address-cells = <1>;
+   #size-cells = <1>;
+   compatible = "fsl,elo3-dma";
+   reg = <0x100300 0x4>,
+ <0x100600 0x4>;
+   ranges = <0x0 0x100100 0x500>;
+   dma-channel@0 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x0 0x80>;
+   interrupts = <28 2 0 0>;
+   };
+   dma-channel@80 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x80 0x80>;
+   interrupts = <29 2 0 0>;
+   };
+   dma-channel@100 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x100 0x80>;
+   interrupts = <30 2 0 0>;
+   };
+   dma-channel@180 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x180 0x80>;
+   interrupts = <31 2 0 0>;
+   };
+   dma-channel@300 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x300 0x80>;
+   interrupts = <76 2 0 0>;
+   };
+   dma-channel@380 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x380 0x80>;
+   interrupts = <77 2 0 0>;
+   };
+   dma-channel@400 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x400 0x80>;
+   interrupts = <78 2 0 0>;
+   };
+   dma-channel@480 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x480 0x80>;
+   interrupts = <79 2 0 0>;
+   };
+};
diff --git a/arch/powerpc/dts/elo3-dma-1.dtsi b/arch/powerpc/dts/elo3-dma-1.dtsi
new file mode 100644
index 00..a61c88649c
--- /dev/null
+++ b/arch/powerpc/dts/elo3-dma-1.dtsi
@@ -0,0 +1,55 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * QorIQ Elo3 DMA device tree stub [ controller @ offset 0x101000 ]
+ *
+ * Copyright 2013 Freescale Semiconductor Inc.
+ */
+
+dma1: dma@101300 {
+   #address-cells = <1>;
+   #size-cells = <1>;
+   compatible = "fsl,elo3-dma";
+   reg = <0x101300 0x4>,
+   

[PATCH 1/3] PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10

2021-01-08 Thread Niel Fourie
Pulled in the kmcent2.dts and all its dependents from Linux 5.10,
commit 2c85ebc57b3e upstream. Replaced the license text with
SPDX License Identifiers.

Signed-off-by: Niel Fourie 
Cc: Holger Brunck 
Cc: Heiko Schocher 
Cc: Priyanka Jain 
---
 arch/powerpc/dts/elo3-dma-0.dtsi   |  55 ++
 arch/powerpc/dts/elo3-dma-1.dtsi   |  55 ++
 arch/powerpc/dts/kmcent2.dts   | 338 
 arch/powerpc/dts/qoriq-bman1.dtsi  |  14 +
 arch/powerpc/dts/qoriq-duart-0.dtsi|  24 +
 arch/powerpc/dts/qoriq-duart-1.dtsi|  24 +
 arch/powerpc/dts/qoriq-esdhc-0.dtsi|  13 +
 arch/powerpc/dts/qoriq-espi-0.dtsi |  14 +
 arch/powerpc/dts/qoriq-mpic.dtsi   |  79 +++
 arch/powerpc/dts/qoriq-qman3.dtsi  |  14 +
 arch/powerpc/dts/qoriq-sata2-0.dtsi|  12 +
 arch/powerpc/dts/qoriq-sata2-1.dtsi|  12 +
 arch/powerpc/dts/qoriq-sec5.0-0.dtsi   |  83 +++
 arch/powerpc/dts/qoriq-usb2-dr-0.dtsi  |  14 +
 arch/powerpc/dts/qoriq-usb2-mph-0.dtsi |  14 +
 arch/powerpc/dts/t1040si-post.dtsi | 727 +
 arch/powerpc/dts/t104xsi-pre.dtsi  |  88 +++
 17 files changed, 1580 insertions(+)
 create mode 100644 arch/powerpc/dts/elo3-dma-0.dtsi
 create mode 100644 arch/powerpc/dts/elo3-dma-1.dtsi
 create mode 100644 arch/powerpc/dts/kmcent2.dts
 create mode 100644 arch/powerpc/dts/qoriq-bman1.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-duart-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-duart-1.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-esdhc-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-espi-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-mpic.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-qman3.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-sata2-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-sata2-1.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-sec5.0-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-usb2-dr-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-usb2-mph-0.dtsi
 create mode 100644 arch/powerpc/dts/t1040si-post.dtsi
 create mode 100644 arch/powerpc/dts/t104xsi-pre.dtsi

diff --git a/arch/powerpc/dts/elo3-dma-0.dtsi b/arch/powerpc/dts/elo3-dma-0.dtsi
new file mode 100644
index 00..c3f7737256
--- /dev/null
+++ b/arch/powerpc/dts/elo3-dma-0.dtsi
@@ -0,0 +1,55 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * QorIQ Elo3 DMA device tree stub [ controller @ offset 0x10 ]
+ *
+ * Copyright 2013 Freescale Semiconductor Inc.
+ */
+
+dma0: dma@100300 {
+   #address-cells = <1>;
+   #size-cells = <1>;
+   compatible = "fsl,elo3-dma";
+   reg = <0x100300 0x4>,
+ <0x100600 0x4>;
+   ranges = <0x0 0x100100 0x500>;
+   dma-channel@0 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x0 0x80>;
+   interrupts = <28 2 0 0>;
+   };
+   dma-channel@80 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x80 0x80>;
+   interrupts = <29 2 0 0>;
+   };
+   dma-channel@100 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x100 0x80>;
+   interrupts = <30 2 0 0>;
+   };
+   dma-channel@180 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x180 0x80>;
+   interrupts = <31 2 0 0>;
+   };
+   dma-channel@300 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x300 0x80>;
+   interrupts = <76 2 0 0>;
+   };
+   dma-channel@380 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x380 0x80>;
+   interrupts = <77 2 0 0>;
+   };
+   dma-channel@400 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x400 0x80>;
+   interrupts = <78 2 0 0>;
+   };
+   dma-channel@480 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x480 0x80>;
+   interrupts = <79 2 0 0>;
+   };
+};
diff --git a/arch/powerpc/dts/elo3-dma-1.dtsi b/arch/powerpc/dts/elo3-dma-1.dtsi
new file mode 100644
index 00..a61c88649c
--- /dev/null
+++ b/arch/powerpc/dts/elo3-dma-1.dtsi
@@ -0,0 +1,55 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * QorIQ Elo3 DMA device tree stub [ controller @ offset 0x101000 ]
+ *
+ * Copyright 2013 Freescale Semiconductor Inc.
+ */
+
+dma1: dma@101300 {
+   #address-cells = <1>;
+   #size-cells = <1>;
+   compatible = "fsl,elo3-dma";
+   reg = <0x101300 0x4>,
+ <0x101600 0x4>;
+   ranges = <0x0 0x101100 0x500>;
+   dma-channel@0 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x0 0x80>;
+   interrupts = <32 2 0 0>;
+   };
+   dma-channel@80 {
+   compatible = "fsl,eloplus-dma-channel";
+   reg = <0x80 0x80>;
+   interrupts = <33 2 0 0>;
+   };
+   dma-channel@100 {
+