devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] TQMLS10xxA support
@ 2023-08-29  9:26 Gregor Herburger
  2023-08-29  9:26 ` [PATCH v2 1/6] arm64: dts: ls1043a: remove second dspi node Gregor Herburger
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Gregor Herburger @ 2023-08-29  9:26 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux,
	gregor.herburger, Conor Dooley

Hi,

this series adds initial support for the TQMLS1043A, TQMLS1046A and
TQMLS1088A SoM on the MBLS10xxA baseboard. These three modules share a
common layout and a common baseboard.

Patch 1 removes an non-existing spi controller
Patch 2 and 4 add the the compatible to dt bindings
Patch 3 and 5 add the .dts[i] files for SoMs and baseboard
Patch 6 updates MAINTAINERS

Changes in v2:
* Added Acked-Bys from Conor Dooley
* Renamed gpio nodes
* Removed trailing empty line

Best regards
Gregor

Gregor Herburger (6):
  arm64: dts: ls1043a: remove second dspi node
  dt-bindings: arm: fsl: Add TQ-Systems LS1043A/LS1046A based boards
  arm64: dts: freescale: add initial device tree for
    TQMLS1043A/TQMLS1046A
  dt-bindings: arm: fsl: Add TQ-Systems LS1088 based boards
  arm64: dts: freescale: add initial device tree for TQMLS1088A
  MAINTAINERS: add tqml device trees to TQ-Systems entry

 .../devicetree/bindings/arm/fsl.yaml          |  21 +++
 MAINTAINERS                                   |   2 +
 arch/arm64/boot/dts/freescale/Makefile        |   3 +
 .../fsl-ls1043a-tqmls1043a-mbls10xxa.dts      |  49 ++++++
 .../dts/freescale/fsl-ls1043a-tqmls1043a.dtsi |  32 ++++
 .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi |  14 --
 .../fsl-ls1046a-tqmls1046a-mbls10xxa.dts      |  56 +++++++
 .../dts/freescale/fsl-ls1046a-tqmls1046a.dtsi |  42 +++++
 .../fsl-ls1088a-tqmls1088a-mbls10xxa.dts      |  64 ++++++++
 .../dts/freescale/fsl-ls1088a-tqmls1088a.dtsi |  43 ++++++
 .../freescale/tqmls104xa-mbls10xxa-fman.dtsi  | 104 +++++++++++++
 .../freescale/tqmls1088a-mbls10xxa-mc.dtsi    | 146 ++++++++++++++++++
 .../dts/freescale/tqmls10xxa-mbls10xxa.dtsi   | 136 ++++++++++++++++
 arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi |  59 +++++++
 14 files changed, 757 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a-mbls10xxa.dts
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/tqmls1088a-mbls10xxa-mc.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi

--
2.34.1

---
Gregor Herburger (6):
      arm64: dts: ls1043a: remove second dspi node
      dt-bindings: arm: fsl: Add TQ-Systems LS1043A/LS1046A based boards
      arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A
      dt-bindings: arm: fsl: Add TQ-Systems LS1088 based boards
      arm64: dts: freescale: add initial device tree for TQMLS1088A
      MAINTAINERS: add tqml device trees to TQ-Systems entry

 Documentation/devicetree/bindings/arm/fsl.yaml     |  21 +++
 MAINTAINERS                                        |   2 +
 arch/arm64/boot/dts/freescale/Makefile             |   3 +
 .../freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts |  49 +++++++
 .../boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi |  32 +++++
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi     |  14 --
 .../freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts |  56 ++++++++
 .../boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi |  42 ++++++
 .../freescale/fsl-ls1088a-tqmls1088a-mbls10xxa.dts |  64 +++++++++
 .../boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi |  43 ++++++
 .../dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi   | 104 +++++++++++++++
 .../dts/freescale/tqmls1088a-mbls10xxa-mc.dtsi     | 146 +++++++++++++++++++++
 .../boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi   | 136 +++++++++++++++++++
 arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi      |  58 ++++++++
 14 files changed, 756 insertions(+), 14 deletions(-)
---
base-commit: 47d9bb711707d15b19fad18c8e2b4b027a264a3a
change-id: 20230829-for-ml-tqmls10xxa-v2-test-4e364c3f326c

Best regards,
-- 
Gregor Herburger <gregor.herburger@ew.tq-group.com>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v2 1/6] arm64: dts: ls1043a: remove second dspi node
  2023-08-29  9:26 [PATCH v2 0/6] TQMLS10xxA support Gregor Herburger
@ 2023-08-29  9:26 ` Gregor Herburger
  2023-08-29  9:26 ` [PATCH v2 2/6] dt-bindings: arm: fsl: Add TQ-Systems LS1043A/LS1046A based boards Gregor Herburger
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Gregor Herburger @ 2023-08-29  9:26 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux,
	gregor.herburger

According to the documentation the ls1043a has only one spi controller.
So remove the second one.

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
index f8acbefc805b..229bb4bebe42 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
@@ -526,20 +526,6 @@ dspi0: spi@2100000 {
 			status = "disabled";
 		};
 
-		dspi1: spi@2110000 {
-			compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			reg = <0x0 0x2110000 0x0 0x10000>;
-			interrupts = <0 65 0x4>;
-			clock-names = "dspi";
-			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
-					    QORIQ_CLK_PLL_DIV(1)>;
-			spi-num-chipselects = <5>;
-			big-endian;
-			status = "disabled";
-		};
-
 		i2c0: i2c@2180000 {
 			compatible = "fsl,ls1043a-i2c", "fsl,vf610-i2c";
 			#address-cells = <1>;

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 2/6] dt-bindings: arm: fsl: Add TQ-Systems LS1043A/LS1046A based boards
  2023-08-29  9:26 [PATCH v2 0/6] TQMLS10xxA support Gregor Herburger
  2023-08-29  9:26 ` [PATCH v2 1/6] arm64: dts: ls1043a: remove second dspi node Gregor Herburger
@ 2023-08-29  9:26 ` Gregor Herburger
  2023-08-29  9:26 ` [PATCH v2 3/6] arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A Gregor Herburger
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Gregor Herburger @ 2023-08-29  9:26 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux,
	gregor.herburger, Conor Dooley

TQMLS1043A and TQMLS1046A use the LS1043A LS1046A SOC on a common
layout.
MBLS10XXA is a starterkit baseboard usable for both SOMs.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
---
 Documentation/devicetree/bindings/arm/fsl.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index 9450b2c8a678..55e8279d834b 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -1389,6 +1389,13 @@ properties:
               - fsl,ls1043a-qds
           - const: fsl,ls1043a
 
+      - description: TQ-Systems LS1043A based Boards
+        items:
+          - enum:
+              - tq,ls1043a-tqmls1043a-mbls10xxa
+          - const: tq,ls1043a-tqmls1043a
+          - const: fsl,ls1043a
+
       - description: LS1046A based Boards
         items:
           - enum:
@@ -1397,6 +1404,13 @@ properties:
               - fsl,ls1046a-rdb
           - const: fsl,ls1046a
 
+      - description: TQ-Systems LS1046A based Boards
+        items:
+          - enum:
+              - tq,ls1046a-tqmls1046a-mbls10xxa
+          - const: tq,ls1046a-tqmls1046a
+          - const: fsl,ls1046a
+
       - description: LS1088A based Boards
         items:
           - enum:

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 3/6] arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A
  2023-08-29  9:26 [PATCH v2 0/6] TQMLS10xxA support Gregor Herburger
  2023-08-29  9:26 ` [PATCH v2 1/6] arm64: dts: ls1043a: remove second dspi node Gregor Herburger
  2023-08-29  9:26 ` [PATCH v2 2/6] dt-bindings: arm: fsl: Add TQ-Systems LS1043A/LS1046A based boards Gregor Herburger
@ 2023-08-29  9:26 ` Gregor Herburger
  2023-09-25  0:59   ` Shawn Guo
  2023-08-29  9:27 ` [PATCH v2 4/6] dt-bindings: arm: fsl: Add TQ-Systems LS1088 based boards Gregor Herburger
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Gregor Herburger @ 2023-08-29  9:26 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux,
	gregor.herburger

This adds support for the TQMLS1043A and TQMLS1046A SOM and the
MBLS10xxA baseboard. TQMLS1043A and TQMLS1046A share a common layout
and can be used on the MBLS10xxA.

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
---
 arch/arm64/boot/dts/freescale/Makefile             |   2 +
 .../freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts |  49 ++++++++
 .../boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi |  32 +++++
 .../freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts |  56 +++++++++
 .../boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi |  42 +++++++
 .../dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi   | 104 ++++++++++++++++
 .../boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi   | 136 +++++++++++++++++++++
 arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi      |  58 +++++++++
 8 files changed, 479 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index c6872b7e9471..8bb67d1e8f4d 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -15,9 +15,11 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-tqmls1043a-mbls10xxa.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-tqmls1046a-mbls10xxa.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-ten64.dtb
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts
new file mode 100644
index 000000000000..599101d06f74
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts
@@ -0,0 +1,49 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "fsl-ls1043a-tqmls1043a.dtsi"
+#include "tqmls10xxa-mbls10xxa.dtsi"
+
+/ {
+	model = "TQ-Systems GmbH LS1043A TQMLS1043A SoM on MBLS10xxA board";
+	compatible = "tq,ls1043a-tqmls1043a-mbls10xxa", "tq,ls1043a-tqmls1043a",
+		     "fsl,ls1043a";
+
+	aliases {
+		serial0 = &duart0;
+		serial1 = &duart1;
+		qsgmii-s1-p1 = &qsgmii1_phy1;
+		qsgmii-s1-p2 = &qsgmii1_phy2;
+		qsgmii-s1-p3 = &qsgmii1_phy3;
+		qsgmii-s1-p4 = &qsgmii1_phy4;
+		qsgmii-s2-p1 = &qsgmii2_phy1;
+		qsgmii-s2-p2 = &qsgmii2_phy2;
+		qsgmii-s2-p3 = &qsgmii2_phy3;
+		qsgmii-s2-p4 = &qsgmii2_phy4;
+	};
+
+	chosen {
+		stdout-path = &duart1;
+	};
+};
+
+&esdhc {
+	cd-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
+	wp-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>;
+};
+
+&usb2 {
+	status = "okay";
+};
+
+#include "fsl-ls1043-post.dtsi"
+#include "tqmls104xa-mbls10xxa-fman.dtsi"
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi
new file mode 100644
index 000000000000..12d5f3938e5d
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ * Device Tree Include file for LS1043A based SoM of TQ
+ */
+
+#include "fsl-ls1043a.dtsi"
+#include "tqmls10xxa.dtsi"
+
+&qspi {
+	num-cs = <2>;
+	status = "okay";
+
+	qflash0: flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		spi-max-frequency = <62500000>;
+		spi-rx-bus-width = <4>;
+		spi-tx-bus-width = <4>;
+
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+	};
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts
new file mode 100644
index 000000000000..12e1460bd3da
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts
@@ -0,0 +1,56 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "fsl-ls1046a-tqmls1046a.dtsi"
+#include "tqmls10xxa-mbls10xxa.dtsi"
+
+/ {
+	model = "TQ-Systems GmbH LS1046A TQMLS1046A SoM on MBLS10xxA board";
+	compatible = "tq,ls1046a-tqmls1046a-mbls10xxa", "tq,ls1046a-tqmls1046a",
+		     "fsl,ls1046a";
+
+	aliases {
+		serial0 = &duart0;
+		serial1 = &duart1;
+		qsgmii-s1-p1 = &qsgmii1_phy1;
+		qsgmii-s1-p2 = &qsgmii1_phy2;
+		qsgmii-s1-p3 = &qsgmii1_phy3;
+		qsgmii-s1-p4 = &qsgmii1_phy4;
+		qsgmii-s2-p1 = &qsgmii2_phy1;
+		qsgmii-s2-p2 = &qsgmii2_phy2;
+		qsgmii-s2-p3 = &qsgmii2_phy3;
+		qsgmii-s2-p4 = &qsgmii2_phy4;
+	};
+
+	chosen {
+		stdout-path = &duart1;
+	};
+};
+
+&dspi {
+	status = "okay";
+};
+
+&esdhc {
+	cd-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
+	wp-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>;
+};
+
+&usb2 {
+	status = "okay";
+};
+
+#include "fsl-ls1046-post.dtsi"
+#include "tqmls104xa-mbls10xxa-fman.dtsi"
+
+&enet7 {
+	status = "disabled";
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi
new file mode 100644
index 000000000000..4a8f8bc688f5
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ * Device Tree Include file for LS1046A based SoM of TQ
+ */
+
+#include "fsl-ls1046a.dtsi"
+#include "tqmls10xxa.dtsi"
+
+&qspi {
+	num-cs = <2>;
+	status = "okay";
+
+	qflash0: flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		spi-max-frequency = <62500000>;
+		spi-rx-bus-width = <4>;
+		spi-tx-bus-width = <4>;
+
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+	};
+
+	qflash1: flash@1 {
+		compatible = "jedec,spi-nor";
+		reg = <1>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		spi-max-frequency = <62500000>;
+		spi-rx-bus-width = <4>;
+		spi-tx-bus-width = <4>;
+	};
+};
diff --git a/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi b/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi
new file mode 100644
index 000000000000..4c38dd541143
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi
@@ -0,0 +1,104 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2019,2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ * Device Tree Include file for MBLS10xxA from TQ (FMAN related sections)
+ */
+
+#include <dt-bindings/net/ti-dp83867.h>
+
+&enet0 {
+	status = "disabled";
+};
+
+&enet1 {
+	status = "disabled";
+};
+
+&enet2 {
+	phy-handle = <&rgmii_phy1>;
+	phy-connection-type = "rgmii";
+	phy-mode = "rgmii-id";
+	status = "okay";
+};
+
+&enet3 {
+	phy-handle = <&rgmii_phy2>;
+	phy-connection-type = "rgmii";
+	phy-mode = "rgmii-id";
+	status = "okay";
+};
+
+&enet4 {
+	status = "disabled";
+};
+
+&enet5 {
+	status = "disabled";
+};
+
+&enet6 {
+	status = "disabled";
+};
+
+&mdio0 {
+	status = "okay";
+
+	qsgmii2_phy1: ethernet-phy@0 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x00>;
+	};
+
+	qsgmii2_phy2: ethernet-phy@1 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x01>;
+	};
+
+	qsgmii2_phy3: ethernet-phy@2 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x02>;
+	};
+
+	qsgmii2_phy4: ethernet-phy@3 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x03>;
+	};
+
+	rgmii_phy2: ethernet-phy@c {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x0c>;
+		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
+	};
+
+	rgmii_phy1: ethernet-phy@e {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x0e>;
+		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
+	};
+
+	qsgmii1_phy1: ethernet-phy@1c {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1c>;
+	};
+
+	qsgmii1_phy2: ethernet-phy@1d {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1d>;
+	};
+
+	qsgmii1_phy3: ethernet-phy@1e {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1e>;
+	};
+
+	qsgmii1_phy4: ethernet-phy@1f {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1f>;
+	};
+};
diff --git a/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi b/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi
new file mode 100644
index 000000000000..65b4ed28a3d4
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi
@@ -0,0 +1,136 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ * Device Tree Include file for MBLS10xxA from TQ
+ */
+
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
+
+/ {
+	gpio-keys-polled {
+		compatible = "gpio-keys-polled";
+		poll-interval = <100>;
+		autorepeat;
+
+		button-0 {
+			label = "button0";
+			gpios = <&gpioexp3 5 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_F1>;
+		};
+
+		button-1 {
+			label = "button1";
+			gpios = <&gpioexp3 6 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_F2>;
+		};
+	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		led-user {
+			gpios = <&gpioexp3 13 GPIO_ACTIVE_LOW>;
+			color = <LED_COLOR_ID_GREEN>;
+			function = LED_FUNCTION_HEARTBEAT;
+			linux,default-trigger = "heartbeat";
+		};
+	};
+
+	reg_3v3: regulator-3v3 {
+		compatible = "regulator-fixed";
+		regulator-name = "V_3V3_MB";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+};
+
+&duart0 {
+	status = "okay";
+};
+
+&duart1 {
+	status = "okay";
+};
+
+&esdhc {
+	status = "okay";
+};
+
+&i2c3 {
+	status = "okay";
+
+	i2c-mux@70 {
+		compatible = "nxp,pca9544";
+		reg = <0x70>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		i2c@0 {
+			reg = <0x0>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			gpioexp1: gpio@20 {
+				compatible = "nxp,pca9555";
+				reg = <0x20>;
+				vcc-supply = <&reg_3v3>;
+				gpio-controller;
+				#gpio-cells = <2>;
+			};
+
+			gpioexp2: gpio@21 {
+				compatible = "nxp,pca9555";
+				reg = <0x21>;
+				vcc-supply = <&reg_3v3>;
+				gpio-controller;
+				#gpio-cells = <2>;
+			};
+
+			gpioexp3: gpio@22 {
+				compatible = "nxp,pca9555";
+				reg = <0x22>;
+				vcc-supply = <&reg_3v3>;
+				gpio-controller;
+				#gpio-cells = <2>;
+			};
+		};
+
+		sfp1_i2c: i2c@1 {
+			reg = <0x1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		sfp2_i2c: i2c@2 {
+			reg = <0x2>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		i2c@3 {
+			reg = <0x3>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+	};
+};
+
+&sata {
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	dr_mode = "otg";
+	status = "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi b/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi
new file mode 100644
index 000000000000..138f8778afde
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi
@@ -0,0 +1,58 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ * Device Tree Include file for TQMLs10xxA SoM of TQ
+ */
+
+/ {
+	reg_vcc3v3: regulator-vcc3v3 {
+		compatible = "regulator-fixed";
+		regulator-name = "VCC3V3";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-always-on;
+	};
+};
+
+&i2c0 {
+	status = "okay";
+
+	temperature-sensor@18 {
+		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
+		reg = <0x18>;
+	};
+
+	eeprom@50 {
+		compatible = "nxp,se97b", "atmel,24c02";
+		reg = <0x50>;
+		pagesize = <16>;
+		vcc-supply = <&reg_vcc3v3>;
+		read-only;
+	};
+
+	rtc@51 {
+		compatible = "nxp,pcf85063a";
+		reg = <0x51>;
+	};
+
+	eeprom@57 {
+		compatible = "atmel,24c64";
+		reg = <0x57>;
+		pagesize = <32>;
+		vcc-supply = <&reg_vcc3v3>;
+	};
+};
+
+&esdhc {
+	/* eSDHC or eMMC: set by bootloader */
+	non-removable;
+	disable-wp;
+	mmc-hs200-1_8v;
+	sd-uhs-sdr104;
+	sd-uhs-sdr50;
+	sd-uhs-sdr25;
+	sd-uhs-sdr12;
+};

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 4/6] dt-bindings: arm: fsl: Add TQ-Systems LS1088 based boards
  2023-08-29  9:26 [PATCH v2 0/6] TQMLS10xxA support Gregor Herburger
                   ` (2 preceding siblings ...)
  2023-08-29  9:26 ` [PATCH v2 3/6] arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A Gregor Herburger
@ 2023-08-29  9:27 ` Gregor Herburger
  2023-08-29  9:27 ` [PATCH v2 5/6] arm64: dts: freescale: add initial device tree for TQMLS1088A Gregor Herburger
  2023-08-29  9:27 ` [PATCH v2 6/6] MAINTAINERS: add tqml device trees to TQ-Systems entry Gregor Herburger
  5 siblings, 0 replies; 11+ messages in thread
From: Gregor Herburger @ 2023-08-29  9:27 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux,
	gregor.herburger, Conor Dooley

TQMLS1088a uses a common board layout with TQMLS1043A/TQMLS1046A.
MBLS10XXA is a starterkit baseboard usable for these SOMs.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
---
 Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index 55e8279d834b..509ba52aa3cf 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -1418,6 +1418,13 @@ properties:
               - fsl,ls1088a-rdb
           - const: fsl,ls1088a
 
+      - description: TQ-Systems LS1088A based Boards
+        items:
+          - enum:
+              - tq,ls1088a-tqmls1088a-mbls10xxa
+          - const: tq,ls1088a-tqmls1088a
+          - const: fsl,ls1088a
+
       - description: LS2080A based Boards
         items:
           - enum:

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 5/6] arm64: dts: freescale: add initial device tree for TQMLS1088A
  2023-08-29  9:26 [PATCH v2 0/6] TQMLS10xxA support Gregor Herburger
                   ` (3 preceding siblings ...)
  2023-08-29  9:27 ` [PATCH v2 4/6] dt-bindings: arm: fsl: Add TQ-Systems LS1088 based boards Gregor Herburger
@ 2023-08-29  9:27 ` Gregor Herburger
  2023-08-29  9:27 ` [PATCH v2 6/6] MAINTAINERS: add tqml device trees to TQ-Systems entry Gregor Herburger
  5 siblings, 0 replies; 11+ messages in thread
From: Gregor Herburger @ 2023-08-29  9:27 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux,
	gregor.herburger

This adds support for TQMLS1088A SOM on MBLS10xxA baseboard.

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
---
 arch/arm64/boot/dts/freescale/Makefile             |   1 +
 .../freescale/fsl-ls1088a-tqmls1088a-mbls10xxa.dts |  64 +++++++++
 .../boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi |  43 ++++++
 .../dts/freescale/tqmls1088a-mbls10xxa-mc.dtsi     | 146 +++++++++++++++++++++
 4 files changed, 254 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index 8bb67d1e8f4d..b632b17a8391 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-tqmls1046a-mbls10xxa.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-ten64.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-tqmls1088a-mbls10xxa.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2081a-rdb.dtb
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a-mbls10xxa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a-mbls10xxa.dts
new file mode 100644
index 000000000000..e567918f6afc
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a-mbls10xxa.dts
@@ -0,0 +1,64 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "fsl-ls1088a-tqmls1088a.dtsi"
+#include "tqmls10xxa-mbls10xxa.dtsi"
+
+/ {
+	model = "TQ-Systems GmbH LS1088A TQMLS1088A SoM on MBLS10xxA board";
+	compatible = "tq,ls1088a-tqmls1088a-mbls10xxa", "tq,ls1088a-tqmls1088a",
+		     "fsl,ls1088a";
+
+	aliases {
+		dpmac1 = &dpmac1;
+		dpmac2 = &dpmac2;
+		dpmac3 = &dpmac3;
+		dpmac4 = &dpmac4;
+		dpmac5 = &dpmac5;
+		dpmac6 = &dpmac6;
+		dpmac7 = &dpmac7;
+		dpmac8 = &dpmac8;
+		dpmac9 = &dpmac9;
+		dpmac10 = &dpmac10;
+		qsgmii-s1-p1 = &qsgmii1_phy1;
+		qsgmii-s1-p2 = &qsgmii1_phy2;
+		qsgmii-s1-p3 = &qsgmii1_phy3;
+		qsgmii-s1-p4 = &qsgmii1_phy4;
+		qsgmii-s2-p1 = &qsgmii2_phy1;
+		qsgmii-s2-p2 = &qsgmii2_phy2;
+		qsgmii-s2-p3 = &qsgmii2_phy3;
+		qsgmii-s2-p4 = &qsgmii2_phy4;
+		rgmii-s1 = &rgmii_phy1;
+		rgmii-s2 = &rgmii_phy2;
+		serial0 = &duart0;
+		serial1 = &duart1;
+	};
+
+	chosen {
+		stdout-path = &duart1;
+	};
+};
+
+&esdhc {
+	cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
+	wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
+};
+
+&sfp1_i2c {
+	status = "okay";
+};
+
+&sfp2_i2c {
+	status = "okay";
+};
+
+#include "tqmls1088a-mbls10xxa-mc.dtsi"
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi
new file mode 100644
index 000000000000..40da8d4807de
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi
@@ -0,0 +1,43 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ * Device Tree Include file for LS1088A based SoM of TQ
+ */
+
+#include "fsl-ls1088a.dtsi"
+#include "tqmls10xxa.dtsi"
+
+&qspi {
+	num-cs = <2>;
+	status = "okay";
+
+	qflash0: flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		spi-max-frequency = <62500000>;
+		spi-rx-bus-width = <4>;
+		spi-tx-bus-width = <4>;
+
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+	};
+
+	qflash1: flash@1 {
+		compatible = "jedec,spi-nor";
+		reg = <1>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		spi-max-frequency = <62500000>;
+		spi-rx-bus-width = <4>;
+		spi-tx-bus-width = <4>;
+	};
+};
+
diff --git a/arch/arm64/boot/dts/freescale/tqmls1088a-mbls10xxa-mc.dtsi b/arch/arm64/boot/dts/freescale/tqmls1088a-mbls10xxa-mc.dtsi
new file mode 100644
index 000000000000..2471bb109e8e
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/tqmls1088a-mbls10xxa-mc.dtsi
@@ -0,0 +1,146 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Gregor Herburger, Timo Herbrecher
+ *
+ * Device Tree Include file for MBLS10xxA from TQ (MC related sections)
+ */
+
+#include <dt-bindings/net/ti-dp83867.h>
+
+/ {
+	sfp1: sfp1 {
+		compatible = "sff,sfp";
+		i2c-bus = <&sfp1_i2c>;
+		mod-def0-gpios = <&gpioexp2 2 GPIO_ACTIVE_LOW>;
+		los-gpios = <&gpioexp2 3 GPIO_ACTIVE_HIGH>;
+		tx-fault-gpios = <&gpioexp2 0 GPIO_ACTIVE_HIGH>;
+		tx-disable-gpios = <&gpioexp2 1 GPIO_ACTIVE_HIGH>;
+	};
+
+	sfp2: sfp2 {
+		compatible = "sff,sfp";
+		i2c-bus = <&sfp2_i2c>;
+		mod-def0-gpios = <&gpioexp2 10 GPIO_ACTIVE_LOW>;
+		los-gpios = <&gpioexp2 11 GPIO_ACTIVE_HIGH>;
+		tx-fault-gpios = <&gpioexp2 8 GPIO_ACTIVE_HIGH>;
+		tx-disable-gpios = <&gpioexp2 9 GPIO_ACTIVE_HIGH>;
+	};
+};
+
+&dpmac1 {
+	pcs-handle = <&pcs1>;
+};
+
+&dpmac2 {
+	pcs-handle = <&pcs2>;
+};
+
+&dpmac3 {
+	pcs-handle = <&pcs3_0>;
+};
+
+&dpmac4 {
+	pcs-handle = <&pcs3_1>;
+};
+
+&dpmac5 {
+	pcs-handle = <&pcs3_2>;
+};
+
+&dpmac6 {
+	pcs-handle = <&pcs3_3>;
+};
+
+&dpmac7 {
+	pcs-handle = <&pcs7_0>;
+};
+
+&dpmac8 {
+	pcs-handle = <&pcs7_1>;
+};
+
+&dpmac9 {
+	pcs-handle = <&pcs7_2>;
+};
+
+&dpmac10 {
+	pcs-handle = <&pcs7_3>;
+};
+
+&emdio1 {
+	status = "okay";
+
+	qsgmii2_phy1: ethernet-phy@0 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x00>;
+	};
+
+	qsgmii2_phy2: ethernet-phy@1 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x01>;
+	};
+
+	qsgmii2_phy3: ethernet-phy@2 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x02>;
+	};
+
+	qsgmii2_phy4: ethernet-phy@3 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x03>;
+	};
+
+	rgmii_phy2: ethernet-phy@c {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x0c>;
+		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
+	};
+
+	rgmii_phy1: ethernet-phy@e {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x0e>;
+		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
+		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
+	};
+
+	qsgmii1_phy1: ethernet-phy@1c {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1c>;
+	};
+
+	qsgmii1_phy2: ethernet-phy@1d {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1d>;
+	};
+
+	qsgmii1_phy3: ethernet-phy@1e {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1e>;
+	};
+
+	qsgmii1_phy4: ethernet-phy@1f {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1f>;
+	};
+};
+
+&pcs_mdio1 {
+	status = "okay";
+};
+
+&pcs_mdio2 {
+	status = "okay";
+};
+
+&pcs_mdio3 {
+	status = "okay";
+};
+
+&pcs_mdio7 {
+	status = "okay";
+};

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v2 6/6] MAINTAINERS: add tqml device trees to TQ-Systems entry
  2023-08-29  9:26 [PATCH v2 0/6] TQMLS10xxA support Gregor Herburger
                   ` (4 preceding siblings ...)
  2023-08-29  9:27 ` [PATCH v2 5/6] arm64: dts: freescale: add initial device tree for TQMLS1088A Gregor Herburger
@ 2023-08-29  9:27 ` Gregor Herburger
  2023-09-25  1:04   ` Shawn Guo
  5 siblings, 1 reply; 11+ messages in thread
From: Gregor Herburger @ 2023-08-29  9:27 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux,
	gregor.herburger

Update file entries for TQ-Systems Layerscape modules.

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
---
 MAINTAINERS | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 38ea23fa1b00..c1e9a5415d30 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -21788,9 +21788,11 @@ W:	https://www.tq-group.com/en/products/tq-embedded/
 F:	arch/arm/boot/dts/imx*mba*.dts*
 F:	arch/arm/boot/dts/imx*tqma*.dts*
 F:	arch/arm/boot/dts/mba*.dtsi
+F:	arch/arm64/boot/dts/freescale/fsl-*tqml*.dts*
 F:	arch/arm64/boot/dts/freescale/imx*mba*.dts*
 F:	arch/arm64/boot/dts/freescale/imx*tqma*.dts*
 F:	arch/arm64/boot/dts/freescale/mba*.dtsi
+F:	arch/arm64/boot/dts/freescale/tqml*.dts*
 F:	drivers/gpio/gpio-tqmx86.c
 F:	drivers/mfd/tqmx86.c
 F:	drivers/watchdog/tqmx86_wdt.c

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 3/6] arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A
  2023-08-29  9:26 ` [PATCH v2 3/6] arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A Gregor Herburger
@ 2023-09-25  0:59   ` Shawn Guo
  0 siblings, 0 replies; 11+ messages in thread
From: Shawn Guo @ 2023-09-25  0:59 UTC (permalink / raw)
  To: Gregor Herburger
  Cc: Li Yang, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-kernel, devicetree, linux-kernel, linux

On Tue, Aug 29, 2023 at 11:26:59AM +0200, Gregor Herburger wrote:
> This adds support for the TQMLS1043A and TQMLS1046A SOM and the
> MBLS10xxA baseboard. TQMLS1043A and TQMLS1046A share a common layout
> and can be used on the MBLS10xxA.
> 
> Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
> ---
>  arch/arm64/boot/dts/freescale/Makefile             |   2 +
>  .../freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts |  49 ++++++++
>  .../boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi |  32 +++++
>  .../freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts |  56 +++++++++
>  .../boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi |  42 +++++++
>  .../dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi   | 104 ++++++++++++++++
>  .../boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi   | 136 +++++++++++++++++++++
>  arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi      |  58 +++++++++
>  8 files changed, 479 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> index c6872b7e9471..8bb67d1e8f4d 100644
> --- a/arch/arm64/boot/dts/freescale/Makefile
> +++ b/arch/arm64/boot/dts/freescale/Makefile
> @@ -15,9 +15,11 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb
> +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-tqmls1043a-mbls10xxa.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb
> +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-tqmls1046a-mbls10xxa.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-ten64.dtb
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts
> new file mode 100644
> index 000000000000..599101d06f74
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts
> @@ -0,0 +1,49 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
> + * D-82229 Seefeld, Germany.
> + * Author: Gregor Herburger, Timo Herbrecher
> + *
> + */
> +
> +/dts-v1/;
> +
> +#include <dt-bindings/gpio/gpio.h>
> +
> +#include "fsl-ls1043a-tqmls1043a.dtsi"
> +#include "tqmls10xxa-mbls10xxa.dtsi"
> +
> +/ {
> +	model = "TQ-Systems GmbH LS1043A TQMLS1043A SoM on MBLS10xxA board";
> +	compatible = "tq,ls1043a-tqmls1043a-mbls10xxa", "tq,ls1043a-tqmls1043a",
> +		     "fsl,ls1043a";
> +
> +	aliases {
> +		serial0 = &duart0;
> +		serial1 = &duart1;
> +		qsgmii-s1-p1 = &qsgmii1_phy1;

Sort the list alphabetically.

Shawn

> +		qsgmii-s1-p2 = &qsgmii1_phy2;
> +		qsgmii-s1-p3 = &qsgmii1_phy3;
> +		qsgmii-s1-p4 = &qsgmii1_phy4;
> +		qsgmii-s2-p1 = &qsgmii2_phy1;
> +		qsgmii-s2-p2 = &qsgmii2_phy2;
> +		qsgmii-s2-p3 = &qsgmii2_phy3;
> +		qsgmii-s2-p4 = &qsgmii2_phy4;
> +	};
> +
> +	chosen {
> +		stdout-path = &duart1;
> +	};
> +};
> +
> +&esdhc {
> +	cd-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
> +	wp-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>;
> +};
> +
> +&usb2 {
> +	status = "okay";
> +};
> +
> +#include "fsl-ls1043-post.dtsi"
> +#include "tqmls104xa-mbls10xxa-fman.dtsi"
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi
> new file mode 100644
> index 000000000000..12d5f3938e5d
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi
> @@ -0,0 +1,32 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
> + * D-82229 Seefeld, Germany.
> + * Author: Gregor Herburger, Timo Herbrecher
> + *
> + * Device Tree Include file for LS1043A based SoM of TQ
> + */
> +
> +#include "fsl-ls1043a.dtsi"
> +#include "tqmls10xxa.dtsi"
> +
> +&qspi {
> +	num-cs = <2>;
> +	status = "okay";
> +
> +	qflash0: flash@0 {
> +		compatible = "jedec,spi-nor";
> +		reg = <0>;
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		spi-max-frequency = <62500000>;
> +		spi-rx-bus-width = <4>;
> +		spi-tx-bus-width = <4>;
> +
> +		partitions {
> +			compatible = "fixed-partitions";
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +		};
> +	};
> +};
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts
> new file mode 100644
> index 000000000000..12e1460bd3da
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts
> @@ -0,0 +1,56 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
> + * D-82229 Seefeld, Germany.
> + * Author: Gregor Herburger, Timo Herbrecher
> + */
> +
> +/dts-v1/;
> +
> +#include <dt-bindings/gpio/gpio.h>
> +
> +#include "fsl-ls1046a-tqmls1046a.dtsi"
> +#include "tqmls10xxa-mbls10xxa.dtsi"
> +
> +/ {
> +	model = "TQ-Systems GmbH LS1046A TQMLS1046A SoM on MBLS10xxA board";
> +	compatible = "tq,ls1046a-tqmls1046a-mbls10xxa", "tq,ls1046a-tqmls1046a",
> +		     "fsl,ls1046a";
> +
> +	aliases {
> +		serial0 = &duart0;
> +		serial1 = &duart1;
> +		qsgmii-s1-p1 = &qsgmii1_phy1;
> +		qsgmii-s1-p2 = &qsgmii1_phy2;
> +		qsgmii-s1-p3 = &qsgmii1_phy3;
> +		qsgmii-s1-p4 = &qsgmii1_phy4;
> +		qsgmii-s2-p1 = &qsgmii2_phy1;
> +		qsgmii-s2-p2 = &qsgmii2_phy2;
> +		qsgmii-s2-p3 = &qsgmii2_phy3;
> +		qsgmii-s2-p4 = &qsgmii2_phy4;
> +	};
> +
> +	chosen {
> +		stdout-path = &duart1;
> +	};
> +};
> +
> +&dspi {
> +	status = "okay";
> +};
> +
> +&esdhc {
> +	cd-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
> +	wp-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>;
> +};
> +
> +&usb2 {
> +	status = "okay";
> +};
> +
> +#include "fsl-ls1046-post.dtsi"
> +#include "tqmls104xa-mbls10xxa-fman.dtsi"
> +
> +&enet7 {
> +	status = "disabled";
> +};
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi
> new file mode 100644
> index 000000000000..4a8f8bc688f5
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi
> @@ -0,0 +1,42 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
> + * D-82229 Seefeld, Germany.
> + * Author: Gregor Herburger, Timo Herbrecher
> + *
> + * Device Tree Include file for LS1046A based SoM of TQ
> + */
> +
> +#include "fsl-ls1046a.dtsi"
> +#include "tqmls10xxa.dtsi"
> +
> +&qspi {
> +	num-cs = <2>;
> +	status = "okay";
> +
> +	qflash0: flash@0 {
> +		compatible = "jedec,spi-nor";
> +		reg = <0>;
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		spi-max-frequency = <62500000>;
> +		spi-rx-bus-width = <4>;
> +		spi-tx-bus-width = <4>;
> +
> +		partitions {
> +			compatible = "fixed-partitions";
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +		};
> +	};
> +
> +	qflash1: flash@1 {
> +		compatible = "jedec,spi-nor";
> +		reg = <1>;
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		spi-max-frequency = <62500000>;
> +		spi-rx-bus-width = <4>;
> +		spi-tx-bus-width = <4>;
> +	};
> +};
> diff --git a/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi b/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi
> new file mode 100644
> index 000000000000..4c38dd541143
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi
> @@ -0,0 +1,104 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (c) 2019,2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
> + * D-82229 Seefeld, Germany.
> + * Author: Gregor Herburger, Timo Herbrecher
> + *
> + * Device Tree Include file for MBLS10xxA from TQ (FMAN related sections)
> + */
> +
> +#include <dt-bindings/net/ti-dp83867.h>
> +
> +&enet0 {
> +	status = "disabled";
> +};
> +
> +&enet1 {
> +	status = "disabled";
> +};
> +
> +&enet2 {
> +	phy-handle = <&rgmii_phy1>;
> +	phy-connection-type = "rgmii";
> +	phy-mode = "rgmii-id";
> +	status = "okay";
> +};
> +
> +&enet3 {
> +	phy-handle = <&rgmii_phy2>;
> +	phy-connection-type = "rgmii";
> +	phy-mode = "rgmii-id";
> +	status = "okay";
> +};
> +
> +&enet4 {
> +	status = "disabled";
> +};
> +
> +&enet5 {
> +	status = "disabled";
> +};
> +
> +&enet6 {
> +	status = "disabled";
> +};
> +
> +&mdio0 {
> +	status = "okay";
> +
> +	qsgmii2_phy1: ethernet-phy@0 {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x00>;
> +	};
> +
> +	qsgmii2_phy2: ethernet-phy@1 {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x01>;
> +	};
> +
> +	qsgmii2_phy3: ethernet-phy@2 {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x02>;
> +	};
> +
> +	qsgmii2_phy4: ethernet-phy@3 {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x03>;
> +	};
> +
> +	rgmii_phy2: ethernet-phy@c {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x0c>;
> +		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
> +		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
> +		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
> +	};
> +
> +	rgmii_phy1: ethernet-phy@e {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x0e>;
> +		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
> +		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
> +		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
> +	};
> +
> +	qsgmii1_phy1: ethernet-phy@1c {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x1c>;
> +	};
> +
> +	qsgmii1_phy2: ethernet-phy@1d {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x1d>;
> +	};
> +
> +	qsgmii1_phy3: ethernet-phy@1e {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x1e>;
> +	};
> +
> +	qsgmii1_phy4: ethernet-phy@1f {
> +		compatible = "ethernet-phy-ieee802.3-c22";
> +		reg = <0x1f>;
> +	};
> +};
> diff --git a/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi b/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi
> new file mode 100644
> index 000000000000..65b4ed28a3d4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi
> @@ -0,0 +1,136 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
> + * D-82229 Seefeld, Germany.
> + * Author: Gregor Herburger, Timo Herbrecher
> + *
> + * Device Tree Include file for MBLS10xxA from TQ
> + */
> +
> +#include <dt-bindings/input/input.h>
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/leds/common.h>
> +
> +/ {
> +	gpio-keys-polled {
> +		compatible = "gpio-keys-polled";
> +		poll-interval = <100>;
> +		autorepeat;
> +
> +		button-0 {
> +			label = "button0";
> +			gpios = <&gpioexp3 5 GPIO_ACTIVE_LOW>;
> +			linux,code = <KEY_F1>;
> +		};
> +
> +		button-1 {
> +			label = "button1";
> +			gpios = <&gpioexp3 6 GPIO_ACTIVE_LOW>;
> +			linux,code = <KEY_F2>;
> +		};
> +	};
> +
> +	leds {
> +		compatible = "gpio-leds";
> +
> +		led-user {
> +			gpios = <&gpioexp3 13 GPIO_ACTIVE_LOW>;
> +			color = <LED_COLOR_ID_GREEN>;
> +			function = LED_FUNCTION_HEARTBEAT;
> +			linux,default-trigger = "heartbeat";
> +		};
> +	};
> +
> +	reg_3v3: regulator-3v3 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "V_3V3_MB";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +	};
> +};
> +
> +&duart0 {
> +	status = "okay";
> +};
> +
> +&duart1 {
> +	status = "okay";
> +};
> +
> +&esdhc {
> +	status = "okay";
> +};
> +
> +&i2c3 {
> +	status = "okay";
> +
> +	i2c-mux@70 {
> +		compatible = "nxp,pca9544";
> +		reg = <0x70>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		i2c@0 {
> +			reg = <0x0>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +
> +			gpioexp1: gpio@20 {
> +				compatible = "nxp,pca9555";
> +				reg = <0x20>;
> +				vcc-supply = <&reg_3v3>;
> +				gpio-controller;
> +				#gpio-cells = <2>;
> +			};
> +
> +			gpioexp2: gpio@21 {
> +				compatible = "nxp,pca9555";
> +				reg = <0x21>;
> +				vcc-supply = <&reg_3v3>;
> +				gpio-controller;
> +				#gpio-cells = <2>;
> +			};
> +
> +			gpioexp3: gpio@22 {
> +				compatible = "nxp,pca9555";
> +				reg = <0x22>;
> +				vcc-supply = <&reg_3v3>;
> +				gpio-controller;
> +				#gpio-cells = <2>;
> +			};
> +		};
> +
> +		sfp1_i2c: i2c@1 {
> +			reg = <0x1>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			status = "disabled";
> +		};
> +
> +		sfp2_i2c: i2c@2 {
> +			reg = <0x2>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			status = "disabled";
> +		};
> +
> +		i2c@3 {
> +			reg = <0x3>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +	};
> +};
> +
> +&sata {
> +	status = "okay";
> +};
> +
> +&usb0 {
> +	status = "okay";
> +};
> +
> +&usb1 {
> +	dr_mode = "otg";
> +	status = "okay";
> +};
> diff --git a/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi b/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi
> new file mode 100644
> index 000000000000..138f8778afde
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi
> @@ -0,0 +1,58 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
> + * D-82229 Seefeld, Germany.
> + * Author: Gregor Herburger, Timo Herbrecher
> + *
> + * Device Tree Include file for TQMLs10xxA SoM of TQ
> + */
> +
> +/ {
> +	reg_vcc3v3: regulator-vcc3v3 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "VCC3V3";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +		regulator-always-on;
> +	};
> +};
> +
> +&i2c0 {
> +	status = "okay";
> +
> +	temperature-sensor@18 {
> +		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
> +		reg = <0x18>;
> +	};
> +
> +	eeprom@50 {
> +		compatible = "nxp,se97b", "atmel,24c02";
> +		reg = <0x50>;
> +		pagesize = <16>;
> +		vcc-supply = <&reg_vcc3v3>;
> +		read-only;
> +	};
> +
> +	rtc@51 {
> +		compatible = "nxp,pcf85063a";
> +		reg = <0x51>;
> +	};
> +
> +	eeprom@57 {
> +		compatible = "atmel,24c64";
> +		reg = <0x57>;
> +		pagesize = <32>;
> +		vcc-supply = <&reg_vcc3v3>;
> +	};
> +};
> +
> +&esdhc {
> +	/* eSDHC or eMMC: set by bootloader */
> +	non-removable;
> +	disable-wp;
> +	mmc-hs200-1_8v;
> +	sd-uhs-sdr104;
> +	sd-uhs-sdr50;
> +	sd-uhs-sdr25;
> +	sd-uhs-sdr12;
> +};
> 
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 6/6] MAINTAINERS: add tqml device trees to TQ-Systems entry
  2023-08-29  9:27 ` [PATCH v2 6/6] MAINTAINERS: add tqml device trees to TQ-Systems entry Gregor Herburger
@ 2023-09-25  1:04   ` Shawn Guo
  2023-09-25  5:30     ` Arnd Bergmann
  0 siblings, 1 reply; 11+ messages in thread
From: Shawn Guo @ 2023-09-25  1:04 UTC (permalink / raw)
  To: Gregor Herburger, Arnd Bergmann
  Cc: Li Yang, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-kernel, devicetree, linux-kernel, linux

+ Arnd

On Tue, Aug 29, 2023 at 11:27:02AM +0200, Gregor Herburger wrote:
> Update file entries for TQ-Systems Layerscape modules.
> 
> Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
> ---
>  MAINTAINERS | 2 ++

I do not have a branch for this file, so you may want to send the
change to Arnd directly.

Shawn

>  1 file changed, 2 insertions(+)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 38ea23fa1b00..c1e9a5415d30 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -21788,9 +21788,11 @@ W:	https://www.tq-group.com/en/products/tq-embedded/
>  F:	arch/arm/boot/dts/imx*mba*.dts*
>  F:	arch/arm/boot/dts/imx*tqma*.dts*
>  F:	arch/arm/boot/dts/mba*.dtsi
> +F:	arch/arm64/boot/dts/freescale/fsl-*tqml*.dts*
>  F:	arch/arm64/boot/dts/freescale/imx*mba*.dts*
>  F:	arch/arm64/boot/dts/freescale/imx*tqma*.dts*
>  F:	arch/arm64/boot/dts/freescale/mba*.dtsi
> +F:	arch/arm64/boot/dts/freescale/tqml*.dts*
>  F:	drivers/gpio/gpio-tqmx86.c
>  F:	drivers/mfd/tqmx86.c
>  F:	drivers/watchdog/tqmx86_wdt.c
> 
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 6/6] MAINTAINERS: add tqml device trees to TQ-Systems entry
  2023-09-25  1:04   ` Shawn Guo
@ 2023-09-25  5:30     ` Arnd Bergmann
  2023-09-25  6:48       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2023-09-25  5:30 UTC (permalink / raw)
  To: Shawn Guo, Gregor Herburger
  Cc: Leo Li, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-kernel, devicetree, linux-kernel, linux

On Mon, Sep 25, 2023, at 03:04, Shawn Guo wrote:
> + Arnd
>
> On Tue, Aug 29, 2023 at 11:27:02AM +0200, Gregor Herburger wrote:
>> Update file entries for TQ-Systems Layerscape modules.
>> 
>> Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
>> ---
>
> I do not have a branch for this file, so you may want to send the
> change to Arnd directly.

The MAINTAINERS files can usually go into the same branch
as arch/arm/mach-*/ and arch/arm64/Kconfig changes. If you have
nothing for that, merging this one along with the corresponding
arch/arm64/boot/dts changes is also fine.

We used to have a separate branch just for the maintainer
file updates a long time ago, but they rarely cause conflicts.

Whichever way you end up doing it, please ensure that the person
sending the pull request or patch addresses it to:soc@kernel.org
cc:linux-arm-kernel@lists.infradead.org to make it end up in
patchwork, otherwise I'm more likely to miss it or expect that
I'll get it as part of the normal pull requests.

     Arnd

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v2 6/6] MAINTAINERS: add tqml device trees to TQ-Systems entry
  2023-09-25  5:30     ` Arnd Bergmann
@ 2023-09-25  6:48       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-25  6:48 UTC (permalink / raw)
  To: Arnd Bergmann, Shawn Guo, Gregor Herburger
  Cc: Leo Li, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-kernel, devicetree, linux-kernel, linux

On 25/09/2023 07:30, Arnd Bergmann wrote:
> On Mon, Sep 25, 2023, at 03:04, Shawn Guo wrote:
>> + Arnd
>>
>> On Tue, Aug 29, 2023 at 11:27:02AM +0200, Gregor Herburger wrote:
>>> Update file entries for TQ-Systems Layerscape modules.
>>>
>>> Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
>>> ---
>>
>> I do not have a branch for this file, so you may want to send the
>> change to Arnd directly.
> 
> The MAINTAINERS files can usually go into the same branch
> as arch/arm/mach-*/ and arch/arm64/Kconfig changes. If you have
> nothing for that, merging this one along with the corresponding
> arch/arm64/boot/dts changes is also fine.
> 
> We used to have a separate branch just for the maintainer
> file updates a long time ago, but they rarely cause conflicts.
> 
> Whichever way you end up doing it, please ensure that the person
> sending the pull request or patch addresses it to:soc@kernel.org
> cc:linux-arm-kernel@lists.infradead.org to make it end up in
> patchwork, otherwise I'm more likely to miss it or expect that
> I'll get it as part of the normal pull requests.

Plus, there is no really reason to split such trivial maintainer change
into separate commit.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-25  6:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-29  9:26 [PATCH v2 0/6] TQMLS10xxA support Gregor Herburger
2023-08-29  9:26 ` [PATCH v2 1/6] arm64: dts: ls1043a: remove second dspi node Gregor Herburger
2023-08-29  9:26 ` [PATCH v2 2/6] dt-bindings: arm: fsl: Add TQ-Systems LS1043A/LS1046A based boards Gregor Herburger
2023-08-29  9:26 ` [PATCH v2 3/6] arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A Gregor Herburger
2023-09-25  0:59   ` Shawn Guo
2023-08-29  9:27 ` [PATCH v2 4/6] dt-bindings: arm: fsl: Add TQ-Systems LS1088 based boards Gregor Herburger
2023-08-29  9:27 ` [PATCH v2 5/6] arm64: dts: freescale: add initial device tree for TQMLS1088A Gregor Herburger
2023-08-29  9:27 ` [PATCH v2 6/6] MAINTAINERS: add tqml device trees to TQ-Systems entry Gregor Herburger
2023-09-25  1:04   ` Shawn Guo
2023-09-25  5:30     ` Arnd Bergmann
2023-09-25  6:48       ` Krzysztof Kozlowski

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).