Skip to contentSkip to conversation

Add support for the phyGATE-Tauri-L IoT Gateway

PATCH Applied Yannic Moog 3 participants 7 messages Sep 25, 2023 – Dec 20, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover Add support for the phyGATE-Tauri-L IoT Gateway

The phyGATE-Tauri-L is a SBC that uses the phyCORE-i.MX8MM SoM, but has a different carrier board.
This series adds support for the board and most of its interfaces. Notably, RS485 support is missing.

---
Changes in v2:
- change license of tauri devicetree file.
- fix devicetree style issues, no functional change

---
Yannic Moog (2):
dt-bindings: arm: fsl: add phyGATE-Tauri-L board
arm64: dts: freescale: add phyGATE-Tauri i.MX 8M Mini Support

 Documentation/devicetree/bindings/arm/fsl.yaml     |   4 +-
 arch/arm64/boot/dts/freescale/Makefile             |   1 +
 .../boot/dts/freescale/imx8mm-phygate-tauri-l.dts  | 489 +++++++++++++++++++++
 3 files changed, 493 insertions(+), 1 deletion(-)

---
base-commit: 2dde18cd1d8fac735875f2e4987f11817cc0bc2c
change-id: 20230828-tauri_upstream_support-08fac2175150

Best regards,

Signature · 1 line
Yannic Moog <[email protected]>
#1 lore raw

PATCH v2 1/2 dt-bindings: arm: fsl: add phyGATE-Tauri-L board

Add dt compatible for the phyGATE-Tauri-L board. It uses the phyCORE-i.MX8MM SoM

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/fsl.yaml +3 -1
index 2510eaa8906d..570794ce2813 100644
@@ -974,7 +974,9 @@ properties:
 
       - description: PHYTEC phyCORE-i.MX8MM SoM based boards
         items:
-          - const: phytec,imx8mm-phyboard-polis-rdk # phyBOARD-Polis RDK
+          - enum:
+              - phytec,imx8mm-phyboard-polis-rdk # phyBOARD-Polis RDK
+              - phytec,imx8mm-phygate-tauri-l    # phyGATE-Tauri-L Gateway
           - const: phytec,imx8mm-phycore-som        # phyCORE-i.MX8MM SoM
           - const: fsl,imx8mm
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/2 arm64: dts: freescale: add phyGATE-Tauri i.MX 8M Mini Support

In reply to Yannic Moog

phyGATE-Tauri uses a phyCORE-i.MX8MM SoM. Add device tree for the board.

---
v2:
- change license from GPL-2 to (GPL-2+ OR MIT)
- reorder properties for can, reg_usdhc2_vmmc nodes
- rename can-clock to clock-can
- use linux-event-codes header for gpio key

---
 arch/arm64/boot/dts/freescale/Makefile             |   1 +
 .../boot/dts/freescale/imx8mm-phygate-tauri-l.dts  | 489 +++++++++++++++++++++
 2 files changed, 490 insertions(+)
arch/arm64/boot/dts/freescale/Makefile +1 -0
index a750be13ace8..68e5a878e359 100644
@@ -66,6 +66,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-mx8menlo.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-nitrogen-r2.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phg.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-tqma8mqml-mba8mx.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw71xx-0x.dtb
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts new file +489 -0

489 lines not on this page · raw message

Signature · 1 line
2.34.1
#3 lore raw

Re: [PATCH v2 2/2] arm64: dts: freescale: add phyGATE-Tauri i.MX 8M Mini Support

Quoted 1 line · Yannic Moog

phyGATE-Tauri uses a phyCORE-i.MX8MM SoM. Add device tree for the board.

[...]

arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts line 123

Quoted 2 lines
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts new file +2 -0
+	tpm: tpm@1 {
+		compatible = "tcg,tpm_tis-spi";

What's the chip used on this board? Going forward, the DT schema for TPMs requires the exact chip name in addition to the generic "tcg,tpm_tis-spi".

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts new file +8 -0
+		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+		interrupt-parent = <&gpio2>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_tpm>;
+		reg = <1>;
+		spi-max-frequency = <38000000>;
+	};
+};
#4 lore raw

Re: [PATCH v2 2/2] arm64: dts: freescale: add phyGATE-Tauri i.MX 8M Mini Support

Hello Lukas,

Quoted 8 lines · Lukas Wunner
Quoted 1 line · Yannic Moog

phyGATE-Tauri uses a phyCORE-i.MX8MM SoM. Add device tree for the board.

[...]

arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts line 123

Quoted 2 lines
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts new file +2 -0
+	tpm: tpm@1 {
+		compatible = "tcg,tpm_tis-spi";

What's the chip used on this board?  Going forward, the DT schema for TPMs requires the exact chip name in addition to the generic "tcg,tpm_tis-spi".

TPM SLB 9670 is used on the board. Thank you for highlighting this.

Yannic

Quoted 10 lines

arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts line 131

Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts new file +8 -0
+		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+		interrupt-parent = <&gpio2>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_tpm>;
+		reg = <1>;
+		spi-max-frequency = <38000000>;
+	};
+};

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#5 lore raw

Re: [PATCH v2 2/2] arm64: dts: freescale: add phyGATE-Tauri i.MX 8M Mini Support

Quoted 11 lines · Yannic Moog
Quoted 8 lines · Lukas Wunner
Quoted 1 line · Yannic Moog

phyGATE-Tauri uses a phyCORE-i.MX8MM SoM. Add device tree for the board.

[...]

arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts line 123

Quoted 2 lines
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts new file +2 -0
+	tpm: tpm@1 {
+		compatible = "tcg,tpm_tis-spi";

What's the chip used on this board? Going forward, the DT schema for TPMs requires the exact chip name in addition to the generic "tcg,tpm_tis-spi".

TPM SLB 9670 is used on the board. Thank you for highlighting this.

Thanks Yannic, I've added this to my fixups to avoid TPM warnings with "make dtbs_check", they will be submitted it in the near future.

One more question, I assume the TPM mentioned in

arch/arm/boot/dts/imx6ull-phytec-tauri.dtsi

and introduced by

commit 0b08af343ab0 ("ARM: dts: imx6ull: Add support for PHYTEC phyGATE-Tauri-S with i.MX 6ULL")

is likewise an Infineon SLB9670? (cc += Alexander)

Thanks,

Lukas

Applied
#6 lore raw
In reply to Yannic Moog
Quoted 11 lines · Yannic Moog

The phyGATE-Tauri-L is a SBC that uses the phyCORE-i.MX8MM SoM, but has a different carrier board.
This series adds support for the board and most of its interfaces. Notably, RS485 support is missing.

---
Changes in v2:
- change license of tauri devicetree file.
- fix devicetree style issues, no functional change

Quoted 4 lines

---
Yannic Moog (2):
dt-bindings: arm: fsl: add phyGATE-Tauri-L board
arm64: dts: freescale: add phyGATE-Tauri i.MX 8M Mini Support

Applied both, thanks!