Skip to contentSkip to conversation

dt-bindings: arm: fsl: Add PDK2, PicoITX and DRC02 boards for the DHCOM i.MX6ULL SoM

PATCH Superseded Christoph Niedermaier 2 participants 8 messages Jan 20, 2023

Subsystems (4)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Christoph Niedermaier

author maintainer
#0 lore raw

PATCH v3 1/4 dt-bindings: arm: fsl: Add PDK2, PicoITX and DRC02 boards for the DHCOM i.MX6ULL SoM

Add DH electronics DHCOM PDK2, PicoITX and DRC02 boards for the DHCOM i.MX6ULL SoM.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Add Acked-by tag
V3: - No changes

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +10 -0
index 3ba354578e8f..5fa51e63975f 100644
@@ -645,6 +645,16 @@ properties:
           - const: armadeus,imx6ull-opos6ul     # OPOS6UL (i.MX6ULL) SoM
           - const: fsl,imx6ull
 
+      - description: i.MX6ULL DHCOM SoM based Boards
+        items:
+          - enum:
+              - dh,imx6ull-dhcom-pdk2
+              - dh,imx6ull-dhcom-picoitx
+              - dh,imx6ull-dhcom-drc02
+          - const: dh,imx6ull-dhcom-som # The DHCOR is soldered on the DHCOM
+          - const: dh,imx6ull-dhcor-som
+          - const: fsl,imx6ull
+
       - description: i.MX6ULL PHYTEC phyBOARD-Segin
         items:
           - enum:
Signature · 7 lines
2.11.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#1 lore raw

PATCH v3 2/4 ARM: dts: imx6ull-dhcom: Add DH electronics DHCOM i.MX6ULL SoM and PDK2 board

Add support for DH electronics DHCOM SoM and PDK2 rev. 400 carrier board. This is an SoM with i.MX6ULL and an evaluation kit. The baseboard provides Ethernet, UART, USB, CAN and optional display.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
To: [email protected]
---
V2: - Remove unnecessary status properties
- Reorder comments in front of a block
- Reorder compatible and reg to the beginning of a node
V3: - Change audio codec node name
- Add comment to the operating points

---
 arch/arm/boot/dts/Makefile               |   1 +
 arch/arm/boot/dts/imx6ull-dhcom-pdk2.dts | 222 +++++++++++
 arch/arm/boot/dts/imx6ull-dhcom-som.dtsi | 633 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/imx6ull-dhcor-som.dtsi | 255 +++++++++++++
 4 files changed, 1111 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcom-pdk2.dts
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcom-som.dtsi
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcor-som.dtsi
arch/arm/boot/dts/Makefile +1 -0
index 8029a2b3d078..6c2f4c72d72f 100644
@@ -741,6 +741,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
 	imx6ull-colibri-wifi-eval-v3.dtb \
 	imx6ull-colibri-wifi-iris.dtb \
 	imx6ull-colibri-wifi-iris-v2.dtb \
+	imx6ull-dhcom-pdk2.dtb \
 	imx6ull-jozacp.dtb \
 	imx6ull-kontron-bl.dtb \
 	imx6ull-myir-mys-6ulx-eval.dtb \
arch/arm/boot/dts/imx6ull-dhcom-pdk2.dts new file +222 -0

222 lines not on this page · raw message

arch/arm/boot/dts/imx6ull-dhcom-som.dtsi new file +633 -0

633 lines not on this page · raw message

arch/arm/boot/dts/imx6ull-dhcor-som.dtsi new file +255 -0

255 lines not on this page · raw message

Signature · 7 lines
2.11.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#3 lore raw

PATCH v3 3/4 ARM: dts: imx6ull-dhcom: Add DHCOM based PicoITX board

In reply to Christoph Niedermaier

Add DT for DH PicoITX unit, which is a bare-bones carrier board for the DHCOM. The board has ethernet port, USB, CAN, LED and a custom board-to-board expansion connector. For this board a DHCOM i.MX6ULL SoM configuration without WiFi/BT is used. The interface is used for the SD card instead. Make this adjustment by using a separate DT include file.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
To: [email protected]
---
V2: - Reorder comments in front of a block
- Reorder compatible and reg to the beginning of a node
V3: - No changes

---
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/imx6ull-dhcom-picoitx.dts        | 101 +++++++++++++++++++++
 .../arm/boot/dts/imx6ull-dhcom-som-cfg-sdcard.dtsi |  97 ++++++++++++++++++++
 3 files changed, 199 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcom-picoitx.dts
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcom-som-cfg-sdcard.dtsi
arch/arm/boot/dts/Makefile +1 -0
index 6c2f4c72d72f..39da10e5a5b2 100644
@@ -742,6 +742,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
 	imx6ull-colibri-wifi-iris.dtb \
 	imx6ull-colibri-wifi-iris-v2.dtb \
 	imx6ull-dhcom-pdk2.dtb \
+	imx6ull-dhcom-picoitx.dtb \
 	imx6ull-jozacp.dtb \
 	imx6ull-kontron-bl.dtb \
 	imx6ull-myir-mys-6ulx-eval.dtb \
arch/arm/boot/dts/imx6ull-dhcom-picoitx.dts new file +101 -0

101 lines not on this page · raw message

arch/arm/boot/dts/imx6ull-dhcom-som-cfg-sdcard.dtsi new file +97 -0

97 lines not on this page · raw message

Signature · 7 lines
2.11.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#5 lore raw

PATCH v3 4/4 ARM: dts: imx6ull-dhcom: Add DHSOM based DRC02 board

In reply to Christoph Niedermaier

Add DT for DH DRC02 unit, which is a universal controller device. The system has two ethernet ports, two CANs, RS485 and RS232, USB, capacitive buttons and an OLED display. For this board a DHCOM i.MX6ULL SoM configuration without WiFi/BT is used. The interface is used for the SD card instead.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
To: [email protected]
---
V2: - Reorder comments in front of a block
- Reorder compatible and reg to the beginning of a node
V3: - Change 2nd ethernet ports to be provided by the SoM

---
 arch/arm/boot/dts/Makefile                |  1 +
 arch/arm/boot/dts/imx6ull-dhcom-drc02.dts | 99 +++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6ull-dhcom-drc02.dts
arch/arm/boot/dts/Makefile +1 -0
index 39da10e5a5b2..26f0a2ddaa48 100644
@@ -741,6 +741,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
 	imx6ull-colibri-wifi-eval-v3.dtb \
 	imx6ull-colibri-wifi-iris.dtb \
 	imx6ull-colibri-wifi-iris-v2.dtb \
+	imx6ull-dhcom-drc02.dtb \
 	imx6ull-dhcom-pdk2.dtb \
 	imx6ull-dhcom-picoitx.dtb \
 	imx6ull-jozacp.dtb \
arch/arm/boot/dts/imx6ull-dhcom-drc02.dts new file +99 -0

99 lines not on this page · raw message

Signature · 7 lines
2.11.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#7 lore raw
In reply to Christoph Niedermaier
Quoted 29 lines · Christoph Niedermaier

Add DH electronics DHCOM PDK2, PicoITX and DRC02 boards for the DHCOM i.MX6ULL SoM.

---
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Add Acked-by tag
V3: - No changes

---
  Documentation/devicetree/bindings/arm/fsl.yaml | 10 ++++++++++
  1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +0 -0
index 3ba354578e8f..5fa51e63975f 100644

Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 653

Quoted 9 lines
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
@@ -645,6 +645,16 @@ properties:
            - const: armadeus,imx6ull-opos6ul     # OPOS6UL (i.MX6ULL) SoM
            - const: fsl,imx6ull
 
+      - description: i.MX6ULL DHCOM SoM based Boards
+        items:
+          - enum:
+              - dh,imx6ull-dhcom-pdk2
+              - dh,imx6ull-dhcom-picoitx
+              - dh,imx6ull-dhcom-drc02

Please keep the list sorted (drc02 should be at the top)

#2 lore raw

Re: [PATCH V3 2/4] ARM: dts: imx6ull-dhcom: Add DH electronics DHCOM i.MX6ULL SoM and PDK2 board

In reply to Christoph Niedermaier

On 1/20/23 17:29, Christoph Niedermaier wrote:

[...]

Quoted 1 line
arch/arm/boot/dts/imx6ull-dhcor-som.dtsi +0 -0

[...]

Quoted 6 lines
arch/arm/boot/dts/imx6ull-dhcor-som.dtsi +6 -0
+/* BT on LGA (BT_REG_ON is connected to LGA pin E1) */
+&uart2 {
+	pinctrl-0 = <&pinctrl_uart2>;
+	pinctrl-names = "default";
+	uart-has-rtscts;
+	status = "okay";

arch/arm/boot/dts/imx6ull-dhcor-som.dtsi line 189

Quoted 10 lines
arch/arm/boot/dts/imx6ull-dhcor-som.dtsi +10 -0
+
+	/*
+	 * Actually, the maximum speed of the chip is 4MBdps, but there are
+	 * limitations that prevent this speed. It hasn't yet been figured out
+	 * what the reason for this is. Currently, the maximum speed of 3MBdps
+	 * can be used without any problems. If the limitation can be overcome,
+	 * the speed can be increased accordingly.
+	 */
+	bluetooth: bluetooth {
+		compatible = "brcm,bcm43430a1-bt"; /* muRata 1DX */

According to this, the muRata 1DX is BRCM43430A1 , please read on ...

Quoted 11 lines
arch/arm/boot/dts/imx6ull-dhcor-som.dtsi +11 -0
+		max-speed = <3000000>;
+		vbat-supply = <&vcc_3v3>;
+		vddio-supply = <&vcc_3v3>;
+	};
+};
+
+/* WiFi on LGA (WL_REG_ON is connected to LGA pin E3) */
+&usdhc1 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	bus-width = <4>;

arch/arm/boot/dts/imx6ull-dhcor-som.dtsi line 210

Quoted 10 lines
arch/arm/boot/dts/imx6ull-dhcor-som.dtsi +10 -0
+	no-1-8-v;
+	non-removable;
+	keep-power-in-suspend;
+	pinctrl-0 = <&pinctrl_usdhc1_wifi>;
+	pinctrl-names = "default";
+	wakeup-source;
+	status = "okay";
+
+	brcmf: wifi@1 {
+		compatible = "brcm,bcm4329-fmac"; /* muRata 1DX */

... according to:

$ git grep bcm43430a1 Documentation/
Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml:
      - brcm,bcm43430a1-bt
Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml:
              - brcm,bcm43430a1-fmac

This compatible should be:

compatible = "brcm,bcm43430a1-fmac", "brcm,bcm4329-fmac";

arch/arm/boot/dts/imx6ull-dhcor-som.dtsi

Quoted 3 lines
arch/arm/boot/dts/imx6ull-dhcor-som.dtsi +3 -0
+		reg = <1>;
+	};
+};

[...]

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

#4 lore raw

Re: [PATCH V3 3/4] ARM: dts: imx6ull-dhcom: Add DHCOM based PicoITX board

In reply to Christoph Niedermaier

On 1/20/23 17:29, Christoph Niedermaier wrote:

[...]

arch/arm/boot/dts/imx6ull-dhcom-picoitx.dts line 3

Quoted 5 lines

+++ b/arch/arm/boot/dts/imx6ull-dhcom-picoitx.dts

arch/arm/boot/dts/imx6ull-dhcom-picoitx.dts new file +3 -0
@@ -0,0 +1,101 @@
+// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
+/*
+ * Copyright (C) 2022 DH electronics GmbH

The copyrights should now be listed as 2023 instead of 2022 I think.

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

Reviewed-by on v3 4/4
#6 lore raw

Re: [PATCH V3 4/4] ARM: dts: imx6ull-dhcom: Add DHSOM based DRC02 board

In reply to Christoph Niedermaier
Quoted 7 lines · Christoph Niedermaier

Add DT for DH DRC02 unit, which is a universal controller device. The system has two ethernet ports, two CANs, RS485 and RS232, USB, capacitive buttons and an OLED display. For this board a DHCOM i.MX6ULL SoM configuration without WiFi/BT is used. The interface is used for the SD card instead.

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