Skip to contentSkip to conversation

Add support for Ezurio MediaTek platforms

PATCH Superseded Gary Bisson 3 participants 12 messages Dec 2, 2025 – Dec 3, 2025

Subsystems (2)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover Add support for Ezurio MediaTek platforms

This series adds support for Ezurio MediaTek platforms called "Tungsten". It includes support for MT8370-based Tungsten 510 and MT8390-based Tungsten 700 SOMs.

Changes in v2:
- Use b4 to cc all maintainers properly
- Squashed patches 2/3 together
- Updated dts node names to be generic

Changes in v3:
- Added per-commit changelog
- Added missing Acked-by on 1st patch
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v4:
- Fixed remaining DTB warnings
- Link to v3: https://lore.kernel.org/r/[email protected]

Regards,

Gary Bisson (4):
dt-bindings: vendor-prefixes: Add Ezurio LLC
dt-bindings: arm: mediatek: Add Ezurio Tungsten entries
arm64: dts: mediatek: add device tree for Tungsten 510 board
arm64: dts: mediatek: add device tree for Tungsten 700 board

 .../devicetree/bindings/arm/mediatek.yaml     |    2 +
 .../devicetree/bindings/vendor-prefixes.yaml  |    2 +
 arch/arm64/boot/dts/mediatek/Makefile         |    2 +
 .../dts/mediatek/mt8370-tungsten-smarc.dts    |   14 +
 .../dts/mediatek/mt8390-tungsten-smarc.dts    |   22 +
 .../dts/mediatek/mt83x0-tungsten-smarc.dtsi   | 1481 +++++++++++++++++
 6 files changed, 1523 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8370-tungsten-smarc.dts
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8390-tungsten-smarc.dts
 create mode 100644 arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi

--
2.43.0

---
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Matthias Brugger <[email protected]>
To: AngeloGioacchino Del Regno <[email protected]>
To: Sean Wang <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
Gary Bisson (4):
dt-bindings: vendor-prefixes: Add Ezurio LLC
dt-bindings: arm: mediatek: Add Ezurio Tungsten entries
arm64: dts: mediatek: add device tree for Tungsten 510 board
arm64: dts: mediatek: add device tree for Tungsten 700 board

 .../devicetree/bindings/arm/mediatek.yaml          |    2 +
 .../devicetree/bindings/vendor-prefixes.yaml       |    2 +
 arch/arm64/boot/dts/mediatek/Makefile              |    2 +
 .../boot/dts/mediatek/mt8370-tungsten-smarc.dts    |   14 +
 .../boot/dts/mediatek/mt8390-tungsten-smarc.dts    |   22 +
 .../boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi   | 1510 ++++++++++++++++++++
 6 files changed, 1552 insertions(+)

---
base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
change-id: 20251201-review-750072579991

Best regards,

Signature · 1 line
Gary Bisson <[email protected]>
#1 lore raw

PATCH v4 1/4 dt-bindings: vendor-prefixes: Add Ezurio LLC

Ezurio is the new name of Laird Connectivity after it acquired Boundary Devices.

---
Changes in v2:
- None
Changes in v3:
- Added missing Acked-by from Krzysztof
Changes in v4:
- None

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index f1d1882009ba..e76e6c5be726 100644
@@ -547,6 +547,8 @@ patternProperties:
     description: Exegin Technologies Limited
   "^ezchip,.*":
     description: EZchip Semiconductor
+  "^ezurio,.*":
+    description: Ezurio LLC
   "^facebook,.*":
     description: Facebook
   "^fairchild,.*":
Signature · 1 line
2.43.0
#3 lore raw

PATCH v4 2/4 dt-bindings: arm: mediatek: Add Ezurio Tungsten entries

In reply to Gary Bisson

Add device tree bindings support for the Ezurio Tungsten 510 (MT8370) SMARC [1] / Ezurio Tungsten 700 (MT8390) SMARC [2] + Universal SMARC carrier board [3].

[1] https://www.ezurio.com/product/tungsten510-smarc
[2] https://www.ezurio.com/product/tungsten700-smarc
[3] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier

---
Changes in v2:
- Squashed both entries into 1 commit
Changed in v3:
- None
Changes in v4:
- None

---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +2 -0
index f04277873694..cffb0f6ac690 100644
@@ -431,12 +431,14 @@ properties:
           - const: mediatek,mt8365
       - items:
           - enum:
+              - ezurio,mt8370-tungsten-smarc
               - grinn,genio-510-sbc
               - mediatek,mt8370-evk
           - const: mediatek,mt8370
           - const: mediatek,mt8188
       - items:
           - enum:
+              - ezurio,mt8390-tungsten-smarc
               - grinn,genio-700-sbc
               - mediatek,mt8390-evk
           - const: mediatek,mt8390
Signature · 1 line
2.43.0
#6 lore raw

PATCH v4 3/4 arm64: dts: mediatek: add device tree for Tungsten 510 board

In reply to Gary Bisson

Add device tree to support Ezurio Tungsten 510 (MT8370) SMARC SOM [1] + Universal SMARC carrier board [2].
It includes support for the MIPI-DSI BD070LIC3 display which uses the Tianma TM070JDHG30 panel + TI SN65DSI84 MIPI-DSI to LVDS bridge [3].

[1] https://www.ezurio.com/product/tungsten510-smarc
[2] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier
[3] https://www.ezurio.com/product/bd070lic3-7-touchscreen-display

---
Changes in v2:
- Updated nodes to be generic (pmic, i2c, usb-typec) Changed in v3:
- None
Changed in v4:
- Fixed remaining DTB warnings

---
 arch/arm64/boot/dts/mediatek/Makefile              |    1 +
 .../boot/dts/mediatek/mt8370-tungsten-smarc.dts    |   14 +
 .../boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi   | 1510 ++++++++++++++++++++
 3 files changed, 1525 insertions(+)
arch/arm64/boot/dts/mediatek/Makefile +1 -0
index a4df4c21399e..30d169a31b10 100644
@@ -99,6 +99,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-genio-510-evk.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-tungsten-smarc.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-genio-700-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-kontron-3-5-sbc-i1200.dtb
arch/arm64/boot/dts/mediatek/mt8370-tungsten-smarc.dts new file +14 -0
new file mode 100644
index 000000000000..d713ef77df3a
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+/dts-v1/;
+#include "mt8370.dtsi"
+#include "mt83x0-tungsten-smarc.dtsi"
+
+/ {
+	model = "Ezurio Tungsten510 SMARC (MT8370)";
+	compatible = "ezurio,mt8370-tungsten-smarc", "mediatek,mt8370",
+		     "mediatek,mt8188";
+};
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +1510 -0

1,510 lines not on this page · raw message

Signature · 1 line
2.43.0
#10 lore raw

PATCH v4 4/4 arm64: dts: mediatek: add device tree for Tungsten 700 board

In reply to Gary Bisson

Add device tree to support Ezurio Tungsten 700 (MT8390) SMARC SOM [1] + Universal SMARC carrier board [2].
It includes support for the MIPI-DSI BD070LIC3 display which uses the Tianma TM070JDHG30 panel + TI SN65DSI84 MIPI-DSI to LVDS bridge [3].

[1] https://www.ezurio.com/product/tungsten700-smarc
[2] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier
[3] https://www.ezurio.com/product/bd070lic3-7-touchscreen-display

---
Changes in v2:
- None
Changed in v3:
- None
Changed in v4:
- None

---
 arch/arm64/boot/dts/mediatek/Makefile              |  1 +
 .../boot/dts/mediatek/mt8390-tungsten-smarc.dts    | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)
arch/arm64/boot/dts/mediatek/Makefile +1 -0
index 30d169a31b10..85f338344dd3 100644
@@ -102,6 +102,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-genio-510-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-tungsten-smarc.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-genio-700-evk.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-tungsten-smarc.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-kontron-3-5-sbc-i1200.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-radxa-nio-12l.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-radxa-nio-12l-8-hd-panel.dtbo
arch/arm64/boot/dts/mediatek/mt8390-tungsten-smarc.dts new file +22 -0
new file mode 100644
index 000000000000..f1cf2821107f
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+/dts-v1/;
+#include "mt8188.dtsi"
+#include "mt83x0-tungsten-smarc.dtsi"
+
+/ {
+	model = "Ezurio Tungsten700 SMARC (MT8390)";
+	compatible = "ezurio,mt8390-tungsten-smarc", "mediatek,mt8390",
+		     "mediatek,mt8188";
+};
+
+&cpu4 {
+	cpu-supply = <&mt6359_vcore_buck_reg>;
+};
+
+&cpu5 {
+	cpu-supply = <&mt6359_vcore_buck_reg>;
+};
Signature · 1 line
2.43.0
#7 lore raw

Re: [PATCH v4 3/4] arm64: dts: mediatek: add device tree for Tungsten 510 board

In reply to Gary Bisson

Il 02/12/25 23:08, Gary Bisson ha scritto:

Quoted 11 lines

Add device tree to support Ezurio Tungsten 510 (MT8370) SMARC SOM [1] + Universal SMARC carrier board [2].
It includes support for the MIPI-DSI BD070LIC3 display which uses the Tianma TM070JDHG30 panel + TI SN65DSI84 MIPI-DSI to LVDS bridge [3].

[1] https://www.ezurio.com/product/tungsten510-smarc
[2] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier
[3] https://www.ezurio.com/product/bd070lic3-7-touchscreen-display

Hello!

Thanks for the patch, that's mostly good. Though, there are a few comments, please check below.

Quoted 57 lines

---
Changes in v2:
- Updated nodes to be generic (pmic, i2c, usb-typec) Changed in v3:
- None
Changed in v4:
- Fixed remaining DTB warnings

---
  arch/arm64/boot/dts/mediatek/Makefile              |    1 +
  .../boot/dts/mediatek/mt8370-tungsten-smarc.dts    |   14 +
  .../boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi   | 1510 ++++++++++++++++++++
  3 files changed, 1525 insertions(+)
arch/arm64/boot/dts/mediatek/Makefile +1 -0
index a4df4c21399e..30d169a31b10 100644
@@ -99,6 +99,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-evk.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-genio-510-evk.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-tungsten-smarc.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-genio-700-evk.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-kontron-3-5-sbc-i1200.dtb
arch/arm64/boot/dts/mediatek/mt8370-tungsten-smarc.dts new file +14 -0
new file mode 100644
index 000000000000..d713ef77df3a
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+/dts-v1/;
+#include "mt8370.dtsi"
+#include "mt83x0-tungsten-smarc.dtsi"
+
+/ {
+	model = "Ezurio Tungsten510 SMARC (MT8370)";
+	compatible = "ezurio,mt8370-tungsten-smarc", "mediatek,mt8370",
+		     "mediatek,mt8188";
+};
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +6 -0
new file mode 100644
index 000000000000..d71148d78781
@@ -0,0 +1,1510 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+

..snip..

Quoted 72 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +72 -0
+
+&disp_dsi0 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	status = "okay";
+
+	ports {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		port@0 {
+			reg = <0>;
+			dsi0_in: endpoint {
+				remote-endpoint = <&dither0_out>;
+			};
+		};
+
+		port@1 {
+			reg = <1>;
+			dsi0_out: endpoint {
+				remote-endpoint = <&sn65dsi84_bridge_in>;
+			};
+		};
+	};
+};
+
+&dither0_in {
+	remote-endpoint = <&postmask0_out>;
+};
+
+&dither0_out {
+	remote-endpoint = <&dsi0_in>;
+};
+
+&eth {
+	phy-mode ="rgmii-id";
+	phy-handle = <&ethernet_phy0>;
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&eth_default_pins>;
+	pinctrl-1 = <&eth_sleep_pins>;
+	mediatek,mac-wol;
+	snps,reset-gpio = <&pio 27 GPIO_ACTIVE_LOW>;
+	snps,reset-active-low;
+	snps,reset-delays-us = <0 11000 1000>;
+	status = "okay";
+};
+
+&eth_mdio {
+	ethernet_phy0: ethernet-phy@7 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x7>;
+		interrupts-extended = <&pio 148 IRQ_TYPE_LEVEL_LOW>;
+	};
+};
+
+&gamma0_out {
+	remote-endpoint = <&postmask0_in>;
+};
+
+&gpu {
+	mali-supply = <&mt6359_vproc2_buck_reg>;
+	status = "okay";
+};
+
+&i2c0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c0_pins>;
+	clock-frequency = <100000>;
+	status = "okay";
+
+	i2c-mux@73 {
+		compatible = "nxp,pca9546";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 332

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+		reg = <0x73>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&i2c0_mux_pins>;
+		reset-gpios = <&pio 6 GPIO_ACTIVE_LOW>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		i2c_mux_gp_0: i2c@0 {
+			clock-frequency = <100000>;
+			reg = <0>;

reg = <0>;
clock-frequency = ...

Quoted 98 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +98 -0
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_gp_1: i2c@1 {
+			clock-frequency = <100000>;
+			reg = <1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_gp_2: i2c@2 {
+			clock-frequency = <100000>;
+			reg = <2>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_gp_3: i2c@3 {
+			clock-frequency = <100000>;
+			reg = <3>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+	};
+};
+
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
+&i2c2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c2_pins>;
+	clock-frequency = <400000>;
+	status = "okay";
+
+	i2c-mux@73 {
+		compatible = "nxp,pca9546";
+		pinctrl-names = "default";
+		pinctrl-0 = <&i2c_mux_smarc_lcd_pins>;
+		reg = <0x73>;
+		reset-gpios = <&pio 5 GPIO_ACTIVE_LOW>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		i2c_mux_lcd_0: i2c@0 {
+			clock-frequency = <100000>;
+			reg = <0>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_lcd_1: i2c@1 {
+			clock-frequency = <100000>;
+			reg = <1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_lcd_2: i2c@2 {
+			clock-frequency = <100000>;
+			reg = <2>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_lcd_3: i2c@3 {
+			clock-frequency = <100000>;
+			reg = <3>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+	};
+};
+
+&i2c3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c3_pins>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
+&i2c4 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c4_pins>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
+&i2c_mux_gp_0 {
+	rv3028: rtc@52 {
+		compatible = "microcrystal,rv3028";
+		reg = <0x52>;
+		interrupts-extended = <&pio 42 IRQ_TYPE_LEVEL_LOW>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 440

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+		pinctrl-names = "default";
+		pinctrl-0 = <&rv3028_pins>;
+		#clock-cells = <0>;
+		wakeup-source;
+	};
+};
+
+&i2c_mux_gp_1 {
+	usb-typec@60 {
+		compatible = "ti,hd3ss3220";

reg always goes after compatible.

Quoted 18 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +18 -0
+		interrupts-extended = <&pio 45 IRQ_TYPE_LEVEL_LOW>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&hd3ss3220_pins>;
+		reg = <0x60>;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				hd3ss3220_in_ep: endpoint {
+					remote-endpoint = <&ss_ep>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 468

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+				hd3ss3220_out_ep: endpoint {
+					remote-endpoint = <&usb_role_switch>;
+				};
+			};
+		};
+	};
+};
+
+&i2c_mux_gp_2 {
+	codec@1a {

compatible
reg
clocks
gpio-cfg

supplies

P.S.: Please read
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html

Quoted 79 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +79 -0
+		#sound-dai-cells = <0>;
+		AVDD-supply = <&reg_1v8>;
+		CPVDD-supply = <&reg_1v8>;
+		DBVDD-supply = <&reg_3v3>;
+		DCVDD-supply = <&reg_1v8>;
+		MICVDD-supply = <&reg_3v3>;
+		PLLVDD-supply = <&reg_1v8>;
+		SPKVDD1-supply = <&reg_5v>;
+		SPKVDD2-supply = <&reg_5v>;
+		clocks = <&topckgen CLK_TOP_I2SO1>;
+		compatible = "wlf,wm8962";
+		gpio-cfg = <
+			0x0000 /* n/c */
+			0x0000 /* gpio2: */
+			0x0000 /* gpio3: */
+			0x0000 /* n/c */
+			0x8081 /* gpio5:HP detect */
+			0x8095 /* gpio6:Mic detect */
+		>;
+		reg = <0x1a>;
+	};
+};
+
+&i2c_mux_lcd_2 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	bridge@2c {
+		compatible = "ti,sn65dsi84";
+		reg = <0x2c>;
+		enable-gpios = <&pio 25 GPIO_ACTIVE_HIGH>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&dsi0_sn65dsi84_pins>;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+
+				sn65dsi84_bridge_in: endpoint {
+					remote-endpoint = <&dsi0_out>;
+					data-lanes = <1 2 3 4>;
+				};
+			};
+
+			port@2 {
+				reg = <2>;
+
+				sn65dsi84_bridge_out: endpoint {
+					remote-endpoint = <&dsi0_panel_in>;
+				};
+			};
+		};
+	};
+
+	touchscren@5d {
+		compatible = "goodix,gt911";
+		reg = <0x5d>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&ts_dsi0_goodix_pins>;
+		interrupts-extended = <&pio 146 IRQ_TYPE_LEVEL_HIGH>;
+		irq-gpios = <&pio 146 GPIO_ACTIVE_HIGH>;
+		reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
+	};
+};
+
+&mfg0 {
+	domain-supply = <&mt6359_vproc2_buck_reg>;
+};
+
+&mfg1 {
+	domain-supply = <&mt6359_vsram_others_ldo_reg>;
+};
+
+&mmc0 {
+	status = "okay";
+	pinctrl-names = "default", "state_uhs";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 557

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	pinctrl-0 = <&mmc0_default_pins>;
+	pinctrl-1 = <&mmc0_uhs_pins>;
+	bus-width = <8>;
+	max-frequency = <200000000>;
+	cap-mmc-highspeed;
+	cap-mmc-hw-reset;
+	mmc-hs200-1_8v;
+	mmc-hs400-1_8v;
+	supports-cqe;
+	cap-mmc-hw-reset;

You added cap-mmc-hw-reset twice.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 563

Quoted 6 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +6 -0
+	no-sdio;
+	no-sd;
+	hs400-ds-delay = <0x1481b>;
+	vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
+	vqmmc-supply = <&mt6359_vufs_ldo_reg>;
+	non-removable;

Also, please reorder by name:

bus-width ...
cap-mmc-highspeed;
cap-mmc-hw-reset;
hs400-ds-delay....
max-frequency ....
mmc-hs200-1_8v;
mmc-hs400-1_8v;
no-sd;
no-sdio;
non-removable;
supports-cqe;

pinctrl properties

power supplies

status

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+};
+
+&mmc1 {
+	status = "okay";
+	pinctrl-names = "default", "state_uhs";
+	pinctrl-0 = <&mmc1_default_pins>;
+	pinctrl-1 = <&mmc1_uhs_pins>;
+	bus-width = <4>;
+	max-frequency = <200000000>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 582

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	cap-sd-highspeed;
+	sd-uhs-sdr50;
+	sd-uhs-sdr104;
+	cd-gpios = <&pio 2 GPIO_ACTIVE_LOW>;
+	vqmmc-supply = <&mt6359_vsim1_ldo_reg>;
+	vmmc-supply = <&sdcard_en_3v3>;
+};
+
+&mmc2 {
+	status = "okay";

status at the end please

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 586

Quoted 4 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +4 -0
+	pinctrl-names = "default", "state_uhs", "state_eint";
+	pinctrl-0 = <&mmc2_default_pins>;
+	pinctrl-1 = <&mmc2_uhs_pins>;
+	pinctrl-2 = <&mmc2_eint_pins>;

Sorry, but I truly hate /delete-property/.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 590

Quoted 4 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +4 -0
+	/delete-property/ interrupts;
+	interrupt-names = "msdc", "sdio_wakeup";
+	interrupts-extended = <&gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>,
+			      <&pio 172 IRQ_TYPE_LEVEL_LOW>;

You're lucky in this case, though, because you're the first user of MMC2! :-)

The solution here is:
- Change the interrupts property in mt8188.dtsi on mmc@1125000 to interrupts-extended = <&gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>;
- Override it here without /delete-property/ interrupts;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi

Quoted 1 line
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +1 -0
+	bus-width = <4>;

Please order the properties by name (bar X-supply, Y-pwrseq, status that go at the end).

Quoted 11 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +11 -0
+	max-frequency = <200000000>;
+	cap-sd-highspeed;
+	sd-uhs-sdr104;
+	keep-power-in-suspend;
+	wakeup-source;
+	cap-sdio-irq;
+	no-mmc;
+	no-sd;
+	non-removable;
+	vmmc-supply = <&mt6359_vcn33_2_bt_ldo_reg>;
+	vqmmc-supply = <&mt6359_vcn18_ldo_reg>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 612

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	mmc-pwrseq = <&wifi_pwrseq>;
+};
+
+&mipi_tx_config0 {
+	status = "okay";
+};
+
+&mt6359codec {
+	mediatek,mic-type-0 = <1>;
+	mediatek,mic-type-1 = <3>;

You can drop mic-type-2 and dmic-mode, as the defaults for these are already zero.

Quoted 4 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +4 -0
+	mediatek,mic-type-2 = <0>;
+	mediatek,dmic-mode = <0>;
+};
+

..snip..

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 670

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+
+&mt6359_vproc2_buck_reg {
+	/* The name "vgpu" is required by mtk-regulator-coupler */
+	regulator-name = "vgpu";
+	regulator-min-microvolt = <550000>;
+	regulator-max-microvolt = <800000>;
+	regulator-coupled-with = <&mt6359_vsram_others_ldo_reg>;
+	regulator-coupled-max-spread = <225000>;
+	regulator-always-on;

You don't need regulator-always-on here.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 679

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+};
+
+&mt6359_vs2_buck_reg {
+	regulator-min-microvolt = <1600000>;
+	regulator-boot-on;
+};
+
+&mt6359_vpu_buck_reg {
+	regulator-name = "dvdd_adsp";

Is that for the MediaTek Audio DSP?

Thought Genio 500/700 were kind of "special" in having one just for that.

If so, you have to do this properly and add this to the ADSP power domain as a domain-supply, if this effectively enables basic power to the ADSP itself.

To do so, you must also change drivers/pmdomain/mediatek/mt8188-pm-domains.h and in MT8188_POWER_DOMAIN_ADSP you want to change .caps to

.caps = MTK_SCPD_KEEP_DEFAULT_OFF | MTK_SCPD_SRAM_ISO | MTK_SCPD_ACTIVE_WAKEUP |
MTK_SCPD_DOMAIN_SUPPLY,

...so that you can remove the regulator-always-on property here, and benefit from a nice bump in power efficiency (as you stop power leakages like so).

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	regulator-always-on;
+};
+
+&mt6359_vrf12_ldo_reg {
+	regulator-name = "va12_abb2_pmu";
+	regulator-always-on;
+};
+
+&mt6359_vsram_md_ldo_reg {
+	regulator-always-on;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 699

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+};
+
+&mt6359_vsram_others_ldo_reg {
+	/* The name "vsram_gpu" is required by mtk-regulator-coupler */
+	regulator-name = "vsram_gpu";
+	regulator-min-microvolt = <750000>;
+	regulator-max-microvolt = <800000>;
+	regulator-coupled-with = <&mt6359_vproc2_buck_reg>;
+	regulator-coupled-max-spread = <225000>;
+	regulator-always-on;

You don't need regulator-always-on here.

Quoted 20 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +20 -0
+};
+
+&mt6359_vsim1_ldo_reg {
+	regulator-name = "vsim1_pmu";
+	regulator-max-microvolt = <1800000>;
+	regulator-enable-ramp-delay = <480>;
+};
+
+&mt6359_vufs_ldo_reg {
+	regulator-name = "vufs18_pmu";
+	regulator-always-on;
+};
+
+&ovl0_in {
+	remote-endpoint = <&vdosys0_ep_main>;
+};
+
+&pcie {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pcie_default_pins>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 729

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	status = "okay";
+};
+
+&pciephy {
+	status = "okay";
+};
+
+&pmic {
+	interrupt-parent = <&pio>;
+	interrupts = <222 IRQ_TYPE_LEVEL_HIGH>;

Instead of interrupt-parent and interrupts, you can do:

interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 737

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +8 -0
+
+	keys {
+		compatible = "mediatek,mt6359-keys";
+		mediatek,long-press-mode = <1>;
+		power-off-time-sec = <0>;
+
+		power-key {
+			linux,keycodes = <116>;

At the top of the file, properly ordered:
#include <dt-bindings/input/linux-event-codes.h>

...then, here:
linux,keycodes = <KEY_POWER>;

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+			wakeup-source;
+		};
+	};
+};
+
+&postmask0_in {
+	remote-endpoint = <&gamma0_out>;
+};
+

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 756

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+&postmask0_out {
+	remote-endpoint = <&dither0_in>;
+};
+
+&scp_cluster {
+	status = "okay";
+};
+
+&scp_c0 {
+	firmware-name = "mediatek/mt8188/scp.img";

You don't need (and can't have) firmware-name upstream: drop it.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 764

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +8 -0
+	memory-region = <&scp_mem>;
+	status = "okay";
+};
+
+&spi0 {
+	pinctrl-0 = <&spi0_pins>;
+	pinctrl-names = "default";
+	mediatek,pad-select = <0>;

vendor properties always at the end, before status = "okay";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi

Quoted 2 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +2 -0
+	#address-cells = <1>;
+	#size-cells = <0>;

...but anyway, #address-cells, #size-cells are already declared in mt8188.dtsi and they even have the same values that you're assigning here. Drop those.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 773

Quoted 7 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +7 -0
+	status = "okay";
+};
+
+&spi1 {
+	pinctrl-0 = <&spi1_pins>;
+	pinctrl-names = "default";
+	mediatek,pad-select = <0>;

same comments apply here as well.

Quoted 5 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +5 -0
+	#address-cells = <1>;
+	#size-cells = <0>;
+	status = "okay";
+};
+

..snip..

Quoted 9 lines

+&uart0 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +8 -0
+	pinctrl-0 = <&uart0_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&uart1 {
+	pinctrl-0 = <&uart1_pins>;
+	pinctrl-names = "default";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 841

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	status = "okay";
+};
+
+&uart2 {
+	pinctrl-0 = <&uart2_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&ssusb0 {

Please reorder:

dr_mode
maximum-speed
usb-role-switch;
wakeup-source;
pinctrl-0
pinctrl-names
vusb33-supply
status

Quoted 59 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +59 -0
+	pinctrl-names = "default";
+	pinctrl-0 = <&usbotg_pins>;
+	maximum-speed = "high-speed";
+	usb-role-switch;
+	dr_mode = "otg";
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	wakeup-source;
+	status = "okay";
+
+	connector {
+		compatible = "usb-c-connector";
+		label = "USB-C";
+		data-role = "dual";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				hs_ep: endpoint {
+					remote-endpoint = <&usb_hs_ep>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+				ss_ep: endpoint {
+					remote-endpoint = <&hd3ss3220_in_ep>;
+				};
+			};
+		};
+	};
+
+	ports {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		port@0 {
+			reg = <0>;
+			usb_hs_ep: endpoint {
+				remote-endpoint = <&hs_ep>;
+			};
+		};
+
+		port@1 {
+			reg = <1>;
+			usb_role_switch: endpoint {
+				remote-endpoint = <&hd3ss3220_out_ep>;
+			};
+		};
+	};
+};
+
+&u2port0 {
+	status = "okay";
+};
+
+&u3phy0 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 910

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	status = "okay";
+};
+
+&xhci0 {
+	vbus-supply = <&usb_p0_vbus>;
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	status = "okay";
+};
+
+&ssusb1 {

Please reorder:

dr_mode
maximum-speed
wakeup-source
pinctrl-0
pinctrl-names
vusb33-supply
status

Quoted 17 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +17 -0
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	dr_mode = "host";
+	wakeup-source;
+	status = "okay";
+};
+
+&u2port1 {
+	status = "okay";
+};
+
+&u3port1 {
+	status = "okay";
+};
+
+&u3phy1 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 937

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	status = "okay";
+};
+
+&xhci1 {
+	vbus-supply = <&usb_p1_vbus>;
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	status = "okay";
+};
+
+&ssusb2 {

Please reorder:

dr_mode
maximum-speed
wakeup-source
vusb33-supply
status

Quoted 7 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +7 -0
+	maximum-speed = "high-speed";
+	dr_mode = "host";
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	status = "okay";
+	wakeup-source;
+};
+

..snip..

Quoted 18 lines

+&vdosys0 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +17 -0
+	port {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		vdosys0_ep_main: endpoint@0 {
+			reg = <0>;
+			remote-endpoint = <&ovl0_in>;
+		};
+	};
+};
+
+&watchdog {
+	pinctrl-names = "default";
+	pinctrl-0 = <&watchdog_pins>;
+};
+
+&pio {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 1010

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	audio_pins: audio-pins {
+		pins-aud-pmic {
+			pinmux = <
+				PINMUX_GPIO101__FUNC_O_AUD_CLK_MOSI
+				PINMUX_GPIO102__FUNC_O_AUD_SYNC_MOSI
+				PINMUX_GPIO103__FUNC_O_AUD_DAT_MOSI0
+				PINMUX_GPIO104__FUNC_O_AUD_DAT_MOSI1
+				PINMUX_GPIO105__FUNC_I0_AUD_DAT_MISO0
+				PINMUX_GPIO106__FUNC_I0_AUD_DAT_MISO1
+			>;

You don't need the extra lines...

			pinmux = <PINMUX_GPIO101__FUNC_O_AUD_CLK_MOSI
				  PINMUX_GPIO102__FUNC_O_AUD_SYNC_MOSI
				  PINMUX_GPIO103__FUNC_O_AUD_DAT_MOSI0
				  PINMUX_GPIO104__FUNC_O_AUD_DAT_MOSI1
				  PINMUX_GPIO105__FUNC_I0_AUD_DAT_MISO0
				  PINMUX_GPIO106__FUNC_I0_AUD_DAT_MISO1>;

here and everywhere else please :-)

Quoted 39 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +39 -0
+		};
+
+		pins-pcm-wifi {
+			pinmux = <
+				PINMUX_GPIO121__FUNC_B0_PCM_CLK
+				PINMUX_GPIO122__FUNC_B0_PCM_SYNC
+				PINMUX_GPIO123__FUNC_O_PCM_DO
+				PINMUX_GPIO124__FUNC_I0_PCM_DI
+			>;
+		};
+
+		pins-i2s {
+			pinmux = <
+				PINMUX_GPIO119__FUNC_O_I2SO1_MCK
+				PINMUX_GPIO112__FUNC_O_I2SO1_WS
+				PINMUX_GPIO120__FUNC_O_I2SO1_BCK
+				PINMUX_GPIO113__FUNC_O_I2SO1_D0
+				PINMUX_GPIO110__FUNC_I0_I2SIN_D0
+			>;
+		};
+	};
+
+	disp_pwm0_pins: disp-pwm0-pins {
+		pins {
+			pinmux = <PINMUX_GPIO29__FUNC_O_DISP_PWM0>;
+			bias-pull-down;
+		};
+	};
+
+	dsi0_sn65dsi84_pins: dsi0-sn65dsi84-pins {
+		pins-irq {
+			pinmux = <PINMUX_GPIO128__FUNC_B_GPIO128>;
+			bias-pull-down;
+			input-enable;
+		};
+
+		pins-enable {
+			pinmux = <PINMUX_GPIO25__FUNC_B_GPIO25>;
+			bias-pull-down;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 1059

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+		};
+	};
+
+	eth_default_pins: eth-default-pins {
+		pins-txd {
+			pinmux = <PINMUX_GPIO131__FUNC_O_GBE_TXD3>,
+				 <PINMUX_GPIO132__FUNC_O_GBE_TXD2>,
+				 <PINMUX_GPIO133__FUNC_O_GBE_TXD1>,
+				 <PINMUX_GPIO134__FUNC_O_GBE_TXD0>;
+			drive-strength = <MTK_DRIVE_8mA>;

Please don't use the MTK_DRIVE_x macros, we are in the process of removing them.

All those macros are defining the .. same number that you can read in the macro itself; as in:

MTK_DRIVE_(n)mA = n -> MTK_DRIVE_8mA = 8

So, remove all of them and use numbers directly.
In this specific case it is drive-strength = <8>; - please do this here and everywhere else.

Quoted 23 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +23 -0
+		};
+		pins-cc {
+			pinmux = <PINMUX_GPIO139__FUNC_B0_GBE_TXC>,
+				 <PINMUX_GPIO142__FUNC_O_GBE_TXEN>,
+				 <PINMUX_GPIO141__FUNC_I0_GBE_RXDV>;
+			drive-strength = <MTK_DRIVE_8mA>;
+		};
+		pins-rxd {
+			pinmux = <PINMUX_GPIO135__FUNC_I0_GBE_RXD3>,
+				 <PINMUX_GPIO136__FUNC_I0_GBE_RXD2>,
+				 <PINMUX_GPIO137__FUNC_I0_GBE_RXD1>,
+				 <PINMUX_GPIO138__FUNC_I0_GBE_RXD0>,
+				 <PINMUX_GPIO140__FUNC_I0_GBE_RXC>;
+			drive-strength = <MTK_DRIVE_8mA>;
+			bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
+		};
+		pins-mdio {
+			pinmux = <PINMUX_GPIO143__FUNC_O_GBE_MDC>,
+				 <PINMUX_GPIO144__FUNC_B1_GBE_MDIO>;
+			drive-strength = <MTK_DRIVE_8mA>;
+			input-enable;
+		};
+		pins-power {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 1092

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+			pinmux = <PINMUX_GPIO27__FUNC_B_GPIO27>; /* GP_EQOS_RESET */
+			output-high;
+		};
+		pins-intr {
+			pinmux = <PINMUX_GPIO148__FUNC_B_GPIO148>; /* GPIRQ_EQOS_PHY */
+			bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
+			input-enable;
+		};
+	};
+

Cheers,
Angelo

#8 lore raw

Re: [PATCH v4 3/4] arm64: dts: mediatek: add device tree for Tungsten 510 board

Il 03/12/25 07:50, AngeloGioacchino Del Regno ha scritto:

Quoted 60 lines

Il 02/12/25 23:08, Gary Bisson ha scritto:

Quoted 11 lines

Add device tree to support Ezurio Tungsten 510 (MT8370) SMARC SOM [1] + Universal SMARC carrier board [2].
It includes support for the MIPI-DSI BD070LIC3 display which uses the Tianma TM070JDHG30 panel + TI SN65DSI84 MIPI-DSI to LVDS bridge [3].

[1] https://www.ezurio.com/product/tungsten510-smarc
[2] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier
[3] https://www.ezurio.com/product/bd070lic3-7-touchscreen-display

Hello!

Thanks for the patch, that's mostly good. Though, there are a few comments, please check below.

Quoted 42 lines

---
Changes in v2:
- Updated nodes to be generic (pmic, i2c, usb-typec)
Changed in v3:
- None
Changed in v4:
- Fixed remaining DTB warnings
---
  arch/arm64/boot/dts/mediatek/Makefile              |    1 + .../boot/dts/mediatek/mt8370-tungsten-smarc.dts    |   14 + .../boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi   | 1510 ++++++++++++++++++++

  3 files changed, 1525 insertions(+)
arch/arm64/boot/dts/mediatek/Makefile +0 -0
index a4df4c21399e..30d169a31b10 100644
@@ -99,6 +99,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb

  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-evk.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-genio-510-evk.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-tungsten-smarc.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-genio-700-evk.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-kontron-3-5-sbc-i1200.dtb

arch/arm64/boot/dts/mediatek/mt8370-tungsten-smarc.dts new file +11 -0
new file mode 100644
index 000000000000..d713ef77df3a
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+/dts-v1/;
+#include "mt8370.dtsi"
+#include "mt83x0-tungsten-smarc.dtsi"
+
+/ {
+    model = "Ezurio Tungsten510 SMARC (MT8370)";
Quoted 8 lines

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt8370-tungsten-smarc.dts new file +3 -0
+    compatible = "ezurio,mt8370-tungsten-smarc", "mediatek,mt8370",
+             "mediatek,mt8188";
+};
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +0 -0
new file mode 100644
index 000000000000..d71148d78781

Sorry for the double email, I noticed that right after sending the first one.

Please, no wildcards in names.

Rename this file to mt8390-tungsten-smarc.dtsi.

Cheers!

Quoted 904 lines
Quoted 7 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +6 -0
@@ -0,0 +1,1510 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+

..snip..

Quoted 72 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +72 -0
+
+&disp_dsi0 {
+    #address-cells = <1>;
+    #size-cells = <0>;
+    status = "okay";
+
+    ports {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        port@0 {
+            reg = <0>;
+            dsi0_in: endpoint {
+                remote-endpoint = <&dither0_out>;
+            };
+        };
+
+        port@1 {
+            reg = <1>;
+            dsi0_out: endpoint {
+                remote-endpoint = <&sn65dsi84_bridge_in>;
+            };
+        };
+    };
+};
+
+&dither0_in {
+    remote-endpoint = <&postmask0_out>;
+};
+
+&dither0_out {
+    remote-endpoint = <&dsi0_in>;
+};
+
+&eth {
+    phy-mode ="rgmii-id";
+    phy-handle = <&ethernet_phy0>;
+    pinctrl-names = "default", "sleep";
+    pinctrl-0 = <&eth_default_pins>;
+    pinctrl-1 = <&eth_sleep_pins>;
+    mediatek,mac-wol;
+    snps,reset-gpio = <&pio 27 GPIO_ACTIVE_LOW>;
+    snps,reset-active-low;
+    snps,reset-delays-us = <0 11000 1000>;
+    status = "okay";
+};
+
+&eth_mdio {
+    ethernet_phy0: ethernet-phy@7 {
+        compatible = "ethernet-phy-ieee802.3-c22";
+        reg = <0x7>;
+        interrupts-extended = <&pio 148 IRQ_TYPE_LEVEL_LOW>;
+    };
+};
+
+&gamma0_out {
+    remote-endpoint = <&postmask0_in>;
+};
+
+&gpu {
+    mali-supply = <&mt6359_vproc2_buck_reg>;
+    status = "okay";
+};
+
+&i2c0 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&i2c0_pins>;
+    clock-frequency = <100000>;
+    status = "okay";
+
+    i2c-mux@73 {
+        compatible = "nxp,pca9546";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 332

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+        reg = <0x73>;
+        pinctrl-names = "default";
+        pinctrl-0 = <&i2c0_mux_pins>;
+        reset-gpios = <&pio 6 GPIO_ACTIVE_LOW>;
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        i2c_mux_gp_0: i2c@0 {
+            clock-frequency = <100000>;
+            reg = <0>;

reg = <0>;
clock-frequency = ...

Quoted 98 lines

+            #address-cells = <1>;
+            #size-cells = <0>;
+        };

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +95 -0
+
+        i2c_mux_gp_1: i2c@1 {
+            clock-frequency = <100000>;
+            reg = <1>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+        };
+
+        i2c_mux_gp_2: i2c@2 {
+            clock-frequency = <100000>;
+            reg = <2>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+        };
+
+        i2c_mux_gp_3: i2c@3 {
+            clock-frequency = <100000>;
+            reg = <3>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+        };
+    };
+};
+
+&i2c1 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&i2c1_pins>;
+    clock-frequency = <400000>;
+    status = "okay";
+};
+
+&i2c2 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&i2c2_pins>;
+    clock-frequency = <400000>;
+    status = "okay";
+
+    i2c-mux@73 {
+        compatible = "nxp,pca9546";
+        pinctrl-names = "default";
+        pinctrl-0 = <&i2c_mux_smarc_lcd_pins>;
+        reg = <0x73>;
+        reset-gpios = <&pio 5 GPIO_ACTIVE_LOW>;
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        i2c_mux_lcd_0: i2c@0 {
+            clock-frequency = <100000>;
+            reg = <0>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+        };
+
+        i2c_mux_lcd_1: i2c@1 {
+            clock-frequency = <100000>;
+            reg = <1>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+        };
+
+        i2c_mux_lcd_2: i2c@2 {
+            clock-frequency = <100000>;
+            reg = <2>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+        };
+
+        i2c_mux_lcd_3: i2c@3 {
+            clock-frequency = <100000>;
+            reg = <3>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+        };
+    };
+};
+
+&i2c3 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&i2c3_pins>;
+    clock-frequency = <400000>;
+    status = "okay";
+};
+
+&i2c4 {
+    pinctrl-names = "default";
+    pinctrl-0 = <&i2c4_pins>;
+    clock-frequency = <400000>;
+    status = "okay";
+};
+
+&i2c_mux_gp_0 {
+    rv3028: rtc@52 {
+        compatible = "microcrystal,rv3028";
+        reg = <0x52>;
+        interrupts-extended = <&pio 42 IRQ_TYPE_LEVEL_LOW>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 440

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+        pinctrl-names = "default";
+        pinctrl-0 = <&rv3028_pins>;
+        #clock-cells = <0>;
+        wakeup-source;
+    };
+};
+
+&i2c_mux_gp_1 {
+    usb-typec@60 {
+        compatible = "ti,hd3ss3220";

reg always goes after compatible.

Quoted 18 lines

+        interrupts-extended = <&pio 45 IRQ_TYPE_LEVEL_LOW>; +        pinctrl-names = "default";
+        pinctrl-0 = <&hd3ss3220_pins>;
+        reg = <0x60>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +14 -0
+
+        ports {
+            #address-cells = <1>;
+            #size-cells = <0>;
+
+            port@0 {
+                reg = <0>;
+                hd3ss3220_in_ep: endpoint {
+                    remote-endpoint = <&ss_ep>;
+                };
+            };
+
+            port@1 {
+                reg = <1>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 468

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+                hd3ss3220_out_ep: endpoint {
+                    remote-endpoint = <&usb_role_switch>;
+                };
+            };
+        };
+    };
+};
+
+&i2c_mux_gp_2 {
+    codec@1a {

compatible
reg
clocks
gpio-cfg

supplies

P.S.: Please read
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html

Quoted 79 lines

+        #sound-dai-cells = <0>;
+        AVDD-supply = <&reg_1v8>;
+        CPVDD-supply = <&reg_1v8>;
+        DBVDD-supply = <&reg_3v3>;
+        DCVDD-supply = <&reg_1v8>;
+        MICVDD-supply = <&reg_3v3>;
+        PLLVDD-supply = <&reg_1v8>;
+        SPKVDD1-supply = <&reg_5v>;
+        SPKVDD2-supply = <&reg_5v>;
+        clocks = <&topckgen CLK_TOP_I2SO1>;
+        compatible = "wlf,wm8962";
+        gpio-cfg = <
+            0x0000 /* n/c */
+            0x0000 /* gpio2: */
+            0x0000 /* gpio3: */
+            0x0000 /* n/c */
+            0x8081 /* gpio5:HP detect */
+            0x8095 /* gpio6:Mic detect */
+        >;
+        reg = <0x1a>;
+    };

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +58 -0
+};
+
+&i2c_mux_lcd_2 {
+    #address-cells = <1>;
+    #size-cells = <0>;
+
+    bridge@2c {
+        compatible = "ti,sn65dsi84";
+        reg = <0x2c>;
+        enable-gpios = <&pio 25 GPIO_ACTIVE_HIGH>;
+        pinctrl-names = "default";
+        pinctrl-0 = <&dsi0_sn65dsi84_pins>;
+
+        ports {
+            #address-cells = <1>;
+            #size-cells = <0>;
+
+            port@0 {
+                reg = <0>;
+
+                sn65dsi84_bridge_in: endpoint {
+                    remote-endpoint = <&dsi0_out>;
+                    data-lanes = <1 2 3 4>;
+                };
+            };
+
+            port@2 {
+                reg = <2>;
+
+                sn65dsi84_bridge_out: endpoint {
+                    remote-endpoint = <&dsi0_panel_in>;
+                };
+            };
+        };
+    };
+
+    touchscren@5d {
+        compatible = "goodix,gt911";
+        reg = <0x5d>;
+        pinctrl-names = "default";
+        pinctrl-0 = <&ts_dsi0_goodix_pins>;
+        interrupts-extended = <&pio 146 IRQ_TYPE_LEVEL_HIGH>;
+        irq-gpios = <&pio 146 GPIO_ACTIVE_HIGH>;
+        reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
+    };
+};
+
+&mfg0 {
+    domain-supply = <&mt6359_vproc2_buck_reg>;
+};
+
+&mfg1 {
+    domain-supply = <&mt6359_vsram_others_ldo_reg>;
+};
+
+&mmc0 {
+    status = "okay";
+    pinctrl-names = "default", "state_uhs";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 557

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+    pinctrl-0 = <&mmc0_default_pins>;
+    pinctrl-1 = <&mmc0_uhs_pins>;
+    bus-width = <8>;
+    max-frequency = <200000000>;
+    cap-mmc-highspeed;
+    cap-mmc-hw-reset;
+    mmc-hs200-1_8v;
+    mmc-hs400-1_8v;
+    supports-cqe;
+    cap-mmc-hw-reset;

You added cap-mmc-hw-reset twice.

Quoted 6 lines

+    no-sdio;
+    no-sd;
+    hs400-ds-delay = <0x1481b>;
+    vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
+    vqmmc-supply = <&mt6359_vufs_ldo_reg>;
+    non-removable;

Also, please reorder by name:

bus-width ...
cap-mmc-highspeed;
cap-mmc-hw-reset;
hs400-ds-delay....
max-frequency ....
mmc-hs200-1_8v;
mmc-hs400-1_8v;
no-sd;
no-sdio;
non-removable;
supports-cqe;

pinctrl properties

power supplies

status

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+};
+
+&mmc1 {
+    status = "okay";
+    pinctrl-names = "default", "state_uhs";
+    pinctrl-0 = <&mmc1_default_pins>;
+    pinctrl-1 = <&mmc1_uhs_pins>;
+    bus-width = <4>;
+    max-frequency = <200000000>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 582

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+    cap-sd-highspeed;
+    sd-uhs-sdr50;
+    sd-uhs-sdr104;
+    cd-gpios = <&pio 2 GPIO_ACTIVE_LOW>;
+    vqmmc-supply = <&mt6359_vsim1_ldo_reg>;
+    vmmc-supply = <&sdcard_en_3v3>;
+};
+
+&mmc2 {
+    status = "okay";

status at the end please

Quoted 4 lines

+    pinctrl-names = "default", "state_uhs", "state_eint"; +    pinctrl-0 = <&mmc2_default_pins>;
+    pinctrl-1 = <&mmc2_uhs_pins>;
+    pinctrl-2 = <&mmc2_eint_pins>;

Sorry, but I truly hate /delete-property/.

Quoted 4 lines

+    /delete-property/ interrupts;
+    interrupt-names = "msdc", "sdio_wakeup";
+    interrupts-extended = <&gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>, +                  <&pio 172 IRQ_TYPE_LEVEL_LOW>;

You're lucky in this case, though, because you're the first user of MMC2! :-)

The solution here is:
 - Change the interrupts property in mt8188.dtsi on mmc@1125000 to interrupts-extended = <&gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>;
 - Override it here without /delete-property/ interrupts;

Quoted 1 line

+    bus-width = <4>;

Please order the properties by name (bar X-supply, Y-pwrseq, status that go at the end).

Quoted 12 lines

+    max-frequency = <200000000>;
+    cap-sd-highspeed;
+    sd-uhs-sdr104;
+    keep-power-in-suspend;
+    wakeup-source;
+    cap-sdio-irq;
+    no-mmc;
+    no-sd;
+    non-removable;
+    vmmc-supply = <&mt6359_vcn33_2_bt_ldo_reg>;
+    vqmmc-supply = <&mt6359_vcn18_ldo_reg>;
+    mmc-pwrseq = <&wifi_pwrseq>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 612

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+};
+
+&mipi_tx_config0 {
+    status = "okay";
+};
+
+&mt6359codec {
+    mediatek,mic-type-0 = <1>;
+    mediatek,mic-type-1 = <3>;

You can drop mic-type-2 and dmic-mode, as the defaults for these are already zero.

Quoted 4 lines

+    mediatek,mic-type-2 = <0>;
+    mediatek,dmic-mode = <0>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +2 -0
+};
+

..snip..

Quoted 9 lines

+
+&mt6359_vproc2_buck_reg {
+    /* The name "vgpu" is required by mtk-regulator-coupler */ +    regulator-name = "vgpu";
+    regulator-min-microvolt = <550000>;
+    regulator-max-microvolt = <800000>;
+    regulator-coupled-with = <&mt6359_vsram_others_ldo_reg>; +    regulator-coupled-max-spread = <225000>;
+    regulator-always-on;

You don't need regulator-always-on here.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 679

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+};
+
+&mt6359_vs2_buck_reg {
+    regulator-min-microvolt = <1600000>;
+    regulator-boot-on;
+};
+
+&mt6359_vpu_buck_reg {
+    regulator-name = "dvdd_adsp";

Is that for the MediaTek Audio DSP?

Thought Genio 500/700 were kind of "special" in having one just for that.

If so, you have to do this properly and add this to the ADSP power domain as a domain-supply, if this effectively enables basic power to the ADSP itself.

To do so, you must also change drivers/pmdomain/mediatek/mt8188-pm-domains.h and in MT8188_POWER_DOMAIN_ADSP you want to change .caps to

.caps = MTK_SCPD_KEEP_DEFAULT_OFF | MTK_SCPD_SRAM_ISO | MTK_SCPD_ACTIVE_WAKEUP |
    MTK_SCPD_DOMAIN_SUPPLY,

...so that you can remove the regulator-always-on property here, and benefit from a nice bump in power efficiency (as you stop power leakages like so).

Quoted 10 lines

+    regulator-always-on;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+};
+
+&mt6359_vrf12_ldo_reg {
+    regulator-name = "va12_abb2_pmu";
+    regulator-always-on;
+};
+
+&mt6359_vsram_md_ldo_reg {
+    regulator-always-on;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 699

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+};
+
+&mt6359_vsram_others_ldo_reg {
+    /* The name "vsram_gpu" is required by mtk-regulator-coupler */
+    regulator-name = "vsram_gpu";
+    regulator-min-microvolt = <750000>;
+    regulator-max-microvolt = <800000>;
+    regulator-coupled-with = <&mt6359_vproc2_buck_reg>;
+    regulator-coupled-max-spread = <225000>;
+    regulator-always-on;

You don't need regulator-always-on here.

Quoted 20 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +20 -0
+};
+
+&mt6359_vsim1_ldo_reg {
+    regulator-name = "vsim1_pmu";
+    regulator-max-microvolt = <1800000>;
+    regulator-enable-ramp-delay = <480>;
+};
+
+&mt6359_vufs_ldo_reg {
+    regulator-name = "vufs18_pmu";
+    regulator-always-on;
+};
+
+&ovl0_in {
+    remote-endpoint = <&vdosys0_ep_main>;
+};
+
+&pcie {
+    pinctrl-names = "default";
+    pinctrl-0 = <&pcie_default_pins>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 729

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+    status = "okay";
+};
+
+&pciephy {
+    status = "okay";
+};
+
+&pmic {
+    interrupt-parent = <&pio>;
+    interrupts = <222 IRQ_TYPE_LEVEL_HIGH>;

Instead of interrupt-parent and interrupts, you can do:

interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 737

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +8 -0
+
+    keys {
+        compatible = "mediatek,mt6359-keys";
+        mediatek,long-press-mode = <1>;
+        power-off-time-sec = <0>;
+
+        power-key {
+            linux,keycodes = <116>;

At the top of the file, properly ordered:
#include <dt-bindings/input/linux-event-codes.h>

...then, here:
linux,keycodes = <KEY_POWER>;

Quoted 9 lines

+            wakeup-source;
+        };
+    };

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +6 -0
+};
+
+&postmask0_in {
+    remote-endpoint = <&gamma0_out>;
+};
+

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 756

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+&postmask0_out {
+    remote-endpoint = <&dither0_in>;
+};
+
+&scp_cluster {
+    status = "okay";
+};
+
+&scp_c0 {
+    firmware-name = "mediatek/mt8188/scp.img";

You don't need (and can't have) firmware-name upstream: drop it.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 764

Quoted 8 lines

+    memory-region = <&scp_mem>;
+    status = "okay";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +6 -0
+};
+
+&spi0 {
+    pinctrl-0 = <&spi0_pins>;
+    pinctrl-names = "default";
+    mediatek,pad-select = <0>;

vendor properties always at the end, before status = "okay";

Quoted 2 lines

+    #address-cells = <1>;
+    #size-cells = <0>;

...but anyway, #address-cells, #size-cells are already declared in mt8188.dtsi and they even have the same values that you're assigning here. Drop those.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 773

Quoted 7 lines

+    status = "okay";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +6 -0
+};
+
+&spi1 {
+    pinctrl-0 = <&spi1_pins>;
+    pinctrl-names = "default";
+    mediatek,pad-select = <0>;

same comments apply here as well.

Quoted 5 lines

+    #address-cells = <1>;
+    #size-cells = <0>;
+    status = "okay";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +2 -0
+};
+

..snip..

Quoted 9 lines

+&uart0 {
+    pinctrl-0 = <&uart0_pins>;
+    pinctrl-names = "default";
+    status = "okay";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +5 -0
+};
+
+&uart1 {
+    pinctrl-0 = <&uart1_pins>;
+    pinctrl-names = "default";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 841

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+    status = "okay";
+};
+
+&uart2 {
+    pinctrl-0 = <&uart2_pins>;
+    pinctrl-names = "default";
+    status = "okay";
+};
+
+&ssusb0 {

Please reorder:

dr_mode
maximum-speed
usb-role-switch;
wakeup-source;
pinctrl-0
pinctrl-names
vusb33-supply
status

Quoted 59 lines

+    pinctrl-names = "default";
+    pinctrl-0 = <&usbotg_pins>;
+    maximum-speed = "high-speed";
+    usb-role-switch;
+    dr_mode = "otg";
+    vusb33-supply = <&mt6359_vusb_ldo_reg>;
+    wakeup-source;
+    status = "okay";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +51 -0
+
+    connector {
+        compatible = "usb-c-connector";
+        label = "USB-C";
+        data-role = "dual";
+
+        ports {
+            #address-cells = <1>;
+            #size-cells = <0>;
+
+            port@0 {
+                reg = <0>;
+                hs_ep: endpoint {
+                    remote-endpoint = <&usb_hs_ep>;
+                };
+            };
+
+            port@1 {
+                reg = <1>;
+                ss_ep: endpoint {
+                    remote-endpoint = <&hd3ss3220_in_ep>;
+                };
+            };
+        };
+    };
+
+    ports {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        port@0 {
+            reg = <0>;
+            usb_hs_ep: endpoint {
+                remote-endpoint = <&hs_ep>;
+            };
+        };
+
+        port@1 {
+            reg = <1>;
+            usb_role_switch: endpoint {
+                remote-endpoint = <&hd3ss3220_out_ep>;
+            };
+        };
+    };
+};
+
+&u2port0 {
+    status = "okay";
+};
+
+&u3phy0 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 910

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+    status = "okay";
+};
+
+&xhci0 {
+    vbus-supply = <&usb_p0_vbus>;
+    vusb33-supply = <&mt6359_vusb_ldo_reg>;
+    status = "okay";
+};
+
+&ssusb1 {

Please reorder:

dr_mode
maximum-speed
wakeup-source
pinctrl-0
pinctrl-names
vusb33-supply
status

Quoted 17 lines

+    pinctrl-0 = <&usb1_pins>;
+    pinctrl-names = "default";
+    vusb33-supply = <&mt6359_vusb_ldo_reg>;
+    dr_mode = "host";
+    wakeup-source;
+    status = "okay";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +11 -0
+};
+
+&u2port1 {
+    status = "okay";
+};
+
+&u3port1 {
+    status = "okay";
+};
+
+&u3phy1 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 937

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+    status = "okay";
+};
+
+&xhci1 {
+    vbus-supply = <&usb_p1_vbus>;
+    vusb33-supply = <&mt6359_vusb_ldo_reg>;
+    status = "okay";
+};
+
+&ssusb2 {

Please reorder:

dr_mode
maximum-speed
wakeup-source
vusb33-supply
status

Quoted 7 lines

+    maximum-speed = "high-speed";
+    dr_mode = "host";
+    vusb33-supply = <&mt6359_vusb_ldo_reg>;
+    status = "okay";
+    wakeup-source;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +2 -0
+};
+

..snip..

Quoted 18 lines

+&vdosys0 {
+    port {
+        #address-cells = <1>;
+        #size-cells = <0>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +14 -0
+
+        vdosys0_ep_main: endpoint@0 {
+            reg = <0>;
+            remote-endpoint = <&ovl0_in>;
+        };
+    };
+};
+
+&watchdog {
+    pinctrl-names = "default";
+    pinctrl-0 = <&watchdog_pins>;
+};
+
+&pio {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 1010

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+    audio_pins: audio-pins {
+        pins-aud-pmic {
+            pinmux = <
+                PINMUX_GPIO101__FUNC_O_AUD_CLK_MOSI
+                PINMUX_GPIO102__FUNC_O_AUD_SYNC_MOSI
+                PINMUX_GPIO103__FUNC_O_AUD_DAT_MOSI0
+                PINMUX_GPIO104__FUNC_O_AUD_DAT_MOSI1
+                PINMUX_GPIO105__FUNC_I0_AUD_DAT_MISO0
+                PINMUX_GPIO106__FUNC_I0_AUD_DAT_MISO1
+            >;

You don't need the extra lines...

            pinmux = <PINMUX_GPIO101__FUNC_O_AUD_CLK_MOSI PINMUX_GPIO102__FUNC_O_AUD_SYNC_MOSI PINMUX_GPIO103__FUNC_O_AUD_DAT_MOSI0 PINMUX_GPIO104__FUNC_O_AUD_DAT_MOSI1 PINMUX_GPIO105__FUNC_I0_AUD_DAT_MISO0 PINMUX_GPIO106__FUNC_I0_AUD_DAT_MISO1>;

here and everywhere else please :-)

Quoted 39 lines

+        };

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +38 -0
+
+        pins-pcm-wifi {
+            pinmux = <
+                PINMUX_GPIO121__FUNC_B0_PCM_CLK
+                PINMUX_GPIO122__FUNC_B0_PCM_SYNC
+                PINMUX_GPIO123__FUNC_O_PCM_DO
+                PINMUX_GPIO124__FUNC_I0_PCM_DI
+            >;
+        };
+
+        pins-i2s {
+            pinmux = <
+                PINMUX_GPIO119__FUNC_O_I2SO1_MCK
+                PINMUX_GPIO112__FUNC_O_I2SO1_WS
+                PINMUX_GPIO120__FUNC_O_I2SO1_BCK
+                PINMUX_GPIO113__FUNC_O_I2SO1_D0
+                PINMUX_GPIO110__FUNC_I0_I2SIN_D0
+            >;
+        };
+    };
+
+    disp_pwm0_pins: disp-pwm0-pins {
+        pins {
+            pinmux = <PINMUX_GPIO29__FUNC_O_DISP_PWM0>;
+            bias-pull-down;
+        };
+    };
+
+    dsi0_sn65dsi84_pins: dsi0-sn65dsi84-pins {
+        pins-irq {
+            pinmux = <PINMUX_GPIO128__FUNC_B_GPIO128>;
+            bias-pull-down;
+            input-enable;
+        };
+
+        pins-enable {
+            pinmux = <PINMUX_GPIO25__FUNC_B_GPIO25>;
+            bias-pull-down;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 1059

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+        };
+    };
+
+    eth_default_pins: eth-default-pins {
+        pins-txd {
+            pinmux = <PINMUX_GPIO131__FUNC_O_GBE_TXD3>,
+                 <PINMUX_GPIO132__FUNC_O_GBE_TXD2>,
+                 <PINMUX_GPIO133__FUNC_O_GBE_TXD1>,
+                 <PINMUX_GPIO134__FUNC_O_GBE_TXD0>;
+            drive-strength = <MTK_DRIVE_8mA>;

Please don't use the MTK_DRIVE_x macros, we are in the process of removing them.

All those macros are defining the .. same number that you can read in the macro itself; as in:

MTK_DRIVE_(n)mA = n -> MTK_DRIVE_8mA = 8

So, remove all of them and use numbers directly.
In this specific case it is drive-strength = <8>; - please do this here and everywhere else.

Quoted 25 lines

+        };
+        pins-cc {
+            pinmux = <PINMUX_GPIO139__FUNC_B0_GBE_TXC>,
+                 <PINMUX_GPIO142__FUNC_O_GBE_TXEN>,
+                 <PINMUX_GPIO141__FUNC_I0_GBE_RXDV>;
+            drive-strength = <MTK_DRIVE_8mA>;
+        };
+        pins-rxd {
+            pinmux = <PINMUX_GPIO135__FUNC_I0_GBE_RXD3>,
+                 <PINMUX_GPIO136__FUNC_I0_GBE_RXD2>,
+                 <PINMUX_GPIO137__FUNC_I0_GBE_RXD1>,
+                 <PINMUX_GPIO138__FUNC_I0_GBE_RXD0>,
+                 <PINMUX_GPIO140__FUNC_I0_GBE_RXC>;
+            drive-strength = <MTK_DRIVE_8mA>;
+            bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
+        };
+        pins-mdio {
+            pinmux = <PINMUX_GPIO143__FUNC_O_GBE_MDC>,
+                 <PINMUX_GPIO144__FUNC_B1_GBE_MDIO>;
+            drive-strength = <MTK_DRIVE_8mA>;
+            input-enable;
+        };
+        pins-power {
+            pinmux = <PINMUX_GPIO27__FUNC_B_GPIO27>; /* GP_EQOS_RESET */ +            output-high;

Quoted 8 lines

+        };
+        pins-intr {
+            pinmux = <PINMUX_GPIO148__FUNC_B_GPIO148>; /* GPIRQ_EQOS_PHY */ +            bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
+            input-enable;
+        };
+    };
+

Cheers,
Angelo

maintainer Reviewed-by on v4 4/4
#11 lore raw

Re: [PATCH v4 4/4] arm64: dts: mediatek: add device tree for Tungsten 700 board

In reply to Gary Bisson

Il 02/12/25 23:08, Gary Bisson ha scritto:

Quoted 41 lines

Add device tree to support Ezurio Tungsten 700 (MT8390) SMARC SOM [1] + Universal SMARC carrier board [2].
It includes support for the MIPI-DSI BD070LIC3 display which uses the Tianma TM070JDHG30 panel + TI SN65DSI84 MIPI-DSI to LVDS bridge [3].

[1] https://www.ezurio.com/product/tungsten700-smarc
[2] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier
[3] https://www.ezurio.com/product/bd070lic3-7-touchscreen-display

---
Changes in v2:
- None
Changed in v3:
- None
Changed in v4:
- None

---
  arch/arm64/boot/dts/mediatek/Makefile              |  1 +
  .../boot/dts/mediatek/mt8390-tungsten-smarc.dts    | 22 ++++++++++++++++++++++
  2 files changed, 23 insertions(+)
arch/arm64/boot/dts/mediatek/Makefile +1 -0
index 30d169a31b10..85f338344dd3 100644
@@ -102,6 +102,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-genio-510-evk.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-tungsten-smarc.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-genio-700-evk.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-tungsten-smarc.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-kontron-3-5-sbc-i1200.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-radxa-nio-12l.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-radxa-nio-12l-8-hd-panel.dtbo
arch/arm64/boot/dts/mediatek/mt8390-tungsten-smarc.dts new file +0 -0
new file mode 100644
index 000000000000..f1cf2821107f

arch/arm64/boot/dts/mediatek/mt8390-tungsten-smarc.dts line 8

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt8390-tungsten-smarc.dts new file +8 -0
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+/dts-v1/;
+#include "mt8188.dtsi"
+#include "mt83x0-tungsten-smarc.dtsi"

I just noticed: please, no wildcards in names - this has to be named mt8390-tungsten-smarc.dtsi instead.

Quoted 5 lines
arch/arm64/boot/dts/mediatek/mt8390-tungsten-smarc.dts new file +4 -0
+
+/ {
+	model = "Ezurio Tungsten700 SMARC (MT8390)";
+	compatible = "ezurio,mt8390-tungsten-smarc", "mediatek,mt8390",

arch/arm64/boot/dts/mediatek/mt8390-tungsten-smarc.dts line 22

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt8390-tungsten-smarc.dts new file +10 -0
+		     "mediatek,mt8188";
+};
+
+&cpu4 {
+	cpu-supply = <&mt6359_vcore_buck_reg>;
+};
+
+&cpu5 {
+	cpu-supply = <&mt6359_vcore_buck_reg>;
+};

You could also just put the cpu4 and cpu5 supplies in the common mt8390-tungsten-smarc.dtsi file instead.

That's based on your own preference, so..

maintainer Reviewed-by on v4 2/4
#4 lore raw

Re: [PATCH v4 2/4] dt-bindings: arm: mediatek: Add Ezurio Tungsten entries

In reply to Gary Bisson

Il 02/12/25 23:08, Gary Bisson ha scritto:

Quoted 10 lines

Add device tree bindings support for the Ezurio Tungsten 510 (MT8370) SMARC [1] / Ezurio Tungsten 700 (MT8390) SMARC [2] + Universal SMARC carrier board [3].

[1] https://www.ezurio.com/product/tungsten510-smarc
[2] https://www.ezurio.com/product/tungsten700-smarc
[3] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier

Acked-by on v4 2/4
#5 lore raw

Re: [PATCH v4 2/4] dt-bindings: arm: mediatek: Add Ezurio Tungsten entries

In reply to Gary Bisson
Quoted 10 lines · Gary Bisson

Add device tree bindings support for the Ezurio Tungsten 510 (MT8370) SMARC [1] / Ezurio Tungsten 700 (MT8390) SMARC [2] + Universal SMARC carrier board [3].

[1] https://www.ezurio.com/product/tungsten510-smarc
[2] https://www.ezurio.com/product/tungsten700-smarc
[3] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier

Best regards,
Krzysztof

#9 lore raw

Re: [PATCH v4 3/4] arm64: dts: mediatek: add device tree for Tungsten 510 board

In reply to AngeloGioacchino Del Regno

Hi Angelo,

Quoted 10 lines · AngeloGioacchino Del Regno

Il 02/12/25 23:08, Gary Bisson ha scritto:

Quoted 9 lines

Add device tree to support Ezurio Tungsten 510 (MT8370) SMARC SOM [1] + Universal SMARC carrier board [2].
It includes support for the MIPI-DSI BD070LIC3 display which uses the Tianma TM070JDHG30 panel + TI SN65DSI84 MIPI-DSI to LVDS bridge [3].

[1] https://www.ezurio.com/product/tungsten510-smarc
[2] https://www.ezurio.com/system-on-module/accessories/universal-smarc-carrier
[3] https://www.ezurio.com/product/bd070lic3-7-touchscreen-display

Quoted 7 lines
Quoted 2 lines

Hello!

Thanks for the patch, that's mostly good. Though, there are a few comments, please check below.

Thanks for the quick response, some comments inline below.

Quoted 291 lines
Quoted 57 lines

---
Changes in v2:
- Updated nodes to be generic (pmic, i2c, usb-typec) Changed in v3:
- None
Changed in v4:
- Fixed remaining DTB warnings

---
  arch/arm64/boot/dts/mediatek/Makefile              |    1 +
  .../boot/dts/mediatek/mt8370-tungsten-smarc.dts    |   14 +
  .../boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi   | 1510 ++++++++++++++++++++
  3 files changed, 1525 insertions(+)
arch/arm64/boot/dts/mediatek/Makefile +1 -0
index a4df4c21399e..30d169a31b10 100644
@@ -99,6 +99,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-evk.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-genio-510-evk.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt8370-tungsten-smarc.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-genio-700-evk.dtb
  dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-kontron-3-5-sbc-i1200.dtb
arch/arm64/boot/dts/mediatek/mt8370-tungsten-smarc.dts new file +14 -0
new file mode 100644
index 000000000000..d713ef77df3a
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+/dts-v1/;
+#include "mt8370.dtsi"
+#include "mt83x0-tungsten-smarc.dtsi"
+
+/ {
+	model = "Ezurio Tungsten510 SMARC (MT8370)";
+	compatible = "ezurio,mt8370-tungsten-smarc", "mediatek,mt8370",
+		     "mediatek,mt8188";
+};
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +6 -0
new file mode 100644
index 000000000000..d71148d78781
@@ -0,0 +1,1510 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 Ezurio LLC
+ * Author: Gary Bisson <[email protected]>
+ */
+

..snip..

Quoted 72 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +72 -0
+
+&disp_dsi0 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	status = "okay";
+
+	ports {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		port@0 {
+			reg = <0>;
+			dsi0_in: endpoint {
+				remote-endpoint = <&dither0_out>;
+			};
+		};
+
+		port@1 {
+			reg = <1>;
+			dsi0_out: endpoint {
+				remote-endpoint = <&sn65dsi84_bridge_in>;
+			};
+		};
+	};
+};
+
+&dither0_in {
+	remote-endpoint = <&postmask0_out>;
+};
+
+&dither0_out {
+	remote-endpoint = <&dsi0_in>;
+};
+
+&eth {
+	phy-mode ="rgmii-id";
+	phy-handle = <&ethernet_phy0>;
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&eth_default_pins>;
+	pinctrl-1 = <&eth_sleep_pins>;
+	mediatek,mac-wol;
+	snps,reset-gpio = <&pio 27 GPIO_ACTIVE_LOW>;
+	snps,reset-active-low;
+	snps,reset-delays-us = <0 11000 1000>;
+	status = "okay";
+};
+
+&eth_mdio {
+	ethernet_phy0: ethernet-phy@7 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x7>;
+		interrupts-extended = <&pio 148 IRQ_TYPE_LEVEL_LOW>;
+	};
+};
+
+&gamma0_out {
+	remote-endpoint = <&postmask0_in>;
+};
+
+&gpu {
+	mali-supply = <&mt6359_vproc2_buck_reg>;
+	status = "okay";
+};
+
+&i2c0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c0_pins>;
+	clock-frequency = <100000>;
+	status = "okay";
+
+	i2c-mux@73 {
+		compatible = "nxp,pca9546";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 332

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+		reg = <0x73>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&i2c0_mux_pins>;
+		reset-gpios = <&pio 6 GPIO_ACTIVE_LOW>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		i2c_mux_gp_0: i2c@0 {
+			clock-frequency = <100000>;
+			reg = <0>;

reg = <0>;
clock-frequency = ...

Quoted 98 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +98 -0
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_gp_1: i2c@1 {
+			clock-frequency = <100000>;
+			reg = <1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_gp_2: i2c@2 {
+			clock-frequency = <100000>;
+			reg = <2>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_gp_3: i2c@3 {
+			clock-frequency = <100000>;
+			reg = <3>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+	};
+};
+
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
+&i2c2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c2_pins>;
+	clock-frequency = <400000>;
+	status = "okay";
+
+	i2c-mux@73 {
+		compatible = "nxp,pca9546";
+		pinctrl-names = "default";
+		pinctrl-0 = <&i2c_mux_smarc_lcd_pins>;
+		reg = <0x73>;
+		reset-gpios = <&pio 5 GPIO_ACTIVE_LOW>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		i2c_mux_lcd_0: i2c@0 {
+			clock-frequency = <100000>;
+			reg = <0>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_lcd_1: i2c@1 {
+			clock-frequency = <100000>;
+			reg = <1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_lcd_2: i2c@2 {
+			clock-frequency = <100000>;
+			reg = <2>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c_mux_lcd_3: i2c@3 {
+			clock-frequency = <100000>;
+			reg = <3>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+	};
+};
+
+&i2c3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c3_pins>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
+&i2c4 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c4_pins>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
+&i2c_mux_gp_0 {
+	rv3028: rtc@52 {
+		compatible = "microcrystal,rv3028";
+		reg = <0x52>;
+		interrupts-extended = <&pio 42 IRQ_TYPE_LEVEL_LOW>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 440

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+		pinctrl-names = "default";
+		pinctrl-0 = <&rv3028_pins>;
+		#clock-cells = <0>;
+		wakeup-source;
+	};
+};
+
+&i2c_mux_gp_1 {
+	usb-typec@60 {
+		compatible = "ti,hd3ss3220";

reg always goes after compatible.

Quoted 18 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +18 -0
+		interrupts-extended = <&pio 45 IRQ_TYPE_LEVEL_LOW>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&hd3ss3220_pins>;
+		reg = <0x60>;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				hd3ss3220_in_ep: endpoint {
+					remote-endpoint = <&ss_ep>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 468

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+				hd3ss3220_out_ep: endpoint {
+					remote-endpoint = <&usb_role_switch>;
+				};
+			};
+		};
+	};
+};
+
+&i2c_mux_gp_2 {
+	codec@1a {

compatible
reg
clocks
gpio-cfg

Quoted 4 lines

supplies

P.S.: Please read
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html

Noted, thanks. However for the wm8962 the gpio-cfg is recommended at the per its doc, hope that's ok ("Documentation/devicetree/bindings/sound/wlf,wm8962.yaml).

Quoted 113 lines
Quoted 79 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +79 -0
+		#sound-dai-cells = <0>;
+		AVDD-supply = <&reg_1v8>;
+		CPVDD-supply = <&reg_1v8>;
+		DBVDD-supply = <&reg_3v3>;
+		DCVDD-supply = <&reg_1v8>;
+		MICVDD-supply = <&reg_3v3>;
+		PLLVDD-supply = <&reg_1v8>;
+		SPKVDD1-supply = <&reg_5v>;
+		SPKVDD2-supply = <&reg_5v>;
+		clocks = <&topckgen CLK_TOP_I2SO1>;
+		compatible = "wlf,wm8962";
+		gpio-cfg = <
+			0x0000 /* n/c */
+			0x0000 /* gpio2: */
+			0x0000 /* gpio3: */
+			0x0000 /* n/c */
+			0x8081 /* gpio5:HP detect */
+			0x8095 /* gpio6:Mic detect */
+		>;
+		reg = <0x1a>;
+	};
+};
+
+&i2c_mux_lcd_2 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	bridge@2c {
+		compatible = "ti,sn65dsi84";
+		reg = <0x2c>;
+		enable-gpios = <&pio 25 GPIO_ACTIVE_HIGH>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&dsi0_sn65dsi84_pins>;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+
+				sn65dsi84_bridge_in: endpoint {
+					remote-endpoint = <&dsi0_out>;
+					data-lanes = <1 2 3 4>;
+				};
+			};
+
+			port@2 {
+				reg = <2>;
+
+				sn65dsi84_bridge_out: endpoint {
+					remote-endpoint = <&dsi0_panel_in>;
+				};
+			};
+		};
+	};
+
+	touchscren@5d {
+		compatible = "goodix,gt911";
+		reg = <0x5d>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&ts_dsi0_goodix_pins>;
+		interrupts-extended = <&pio 146 IRQ_TYPE_LEVEL_HIGH>;
+		irq-gpios = <&pio 146 GPIO_ACTIVE_HIGH>;
+		reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
+	};
+};
+
+&mfg0 {
+	domain-supply = <&mt6359_vproc2_buck_reg>;
+};
+
+&mfg1 {
+	domain-supply = <&mt6359_vsram_others_ldo_reg>;
+};
+
+&mmc0 {
+	status = "okay";
+	pinctrl-names = "default", "state_uhs";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 557

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	pinctrl-0 = <&mmc0_default_pins>;
+	pinctrl-1 = <&mmc0_uhs_pins>;
+	bus-width = <8>;
+	max-frequency = <200000000>;
+	cap-mmc-highspeed;
+	cap-mmc-hw-reset;
+	mmc-hs200-1_8v;
+	mmc-hs400-1_8v;
+	supports-cqe;
+	cap-mmc-hw-reset;

You added cap-mmc-hw-reset twice.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 563

Quoted 6 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +6 -0
+	no-sdio;
+	no-sd;
+	hs400-ds-delay = <0x1481b>;
+	vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
+	vqmmc-supply = <&mt6359_vufs_ldo_reg>;
+	non-removable;

Also, please reorder by name:

bus-width ...
cap-mmc-highspeed;
cap-mmc-hw-reset;
hs400-ds-delay....
max-frequency ....
mmc-hs200-1_8v;
mmc-hs400-1_8v;
no-sd;
no-sdio;
non-removable;
supports-cqe;

Quoted 5 lines

pinctrl properties

power supplies

status

Will do, note that this is a copy/paste of the already-upstream mt8390-genio-common.dtsi.

Quoted 36 lines
Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+};
+
+&mmc1 {
+	status = "okay";
+	pinctrl-names = "default", "state_uhs";
+	pinctrl-0 = <&mmc1_default_pins>;
+	pinctrl-1 = <&mmc1_uhs_pins>;
+	bus-width = <4>;
+	max-frequency = <200000000>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 582

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	cap-sd-highspeed;
+	sd-uhs-sdr50;
+	sd-uhs-sdr104;
+	cd-gpios = <&pio 2 GPIO_ACTIVE_LOW>;
+	vqmmc-supply = <&mt6359_vsim1_ldo_reg>;
+	vmmc-supply = <&sdcard_en_3v3>;
+};
+
+&mmc2 {
+	status = "okay";

status at the end please

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 586

Quoted 4 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +4 -0
+	pinctrl-names = "default", "state_uhs", "state_eint";
+	pinctrl-0 = <&mmc2_default_pins>;
+	pinctrl-1 = <&mmc2_uhs_pins>;
+	pinctrl-2 = <&mmc2_eint_pins>;

Sorry, but I truly hate /delete-property/.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 590

Quoted 4 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +4 -0
+	/delete-property/ interrupts;
+	interrupt-names = "msdc", "sdio_wakeup";
+	interrupts-extended = <&gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>,
+			      <&pio 172 IRQ_TYPE_LEVEL_LOW>;

You're lucky in this case, though, because you're the first user of MMC2! :-)

Quoted 4 lines

The solution here is:
- Change the interrupts property in mt8188.dtsi on mmc@1125000 to interrupts-extended = <&gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>;
- Override it here without /delete-property/ interrupts;

Ok, will do a mt8188 patch then, I'll modify all mmc nodes that way to be consistent.

Quoted 48 lines

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi

Quoted 1 line
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +1 -0
+	bus-width = <4>;

Please order the properties by name (bar X-supply, Y-pwrseq, status that go at the end).

Quoted 11 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +11 -0
+	max-frequency = <200000000>;
+	cap-sd-highspeed;
+	sd-uhs-sdr104;
+	keep-power-in-suspend;
+	wakeup-source;
+	cap-sdio-irq;
+	no-mmc;
+	no-sd;
+	non-removable;
+	vmmc-supply = <&mt6359_vcn33_2_bt_ldo_reg>;
+	vqmmc-supply = <&mt6359_vcn18_ldo_reg>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 612

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	mmc-pwrseq = <&wifi_pwrseq>;
+};
+
+&mipi_tx_config0 {
+	status = "okay";
+};
+
+&mt6359codec {
+	mediatek,mic-type-0 = <1>;
+	mediatek,mic-type-1 = <3>;

You can drop mic-type-2 and dmic-mode, as the defaults for these are already zero.

Quoted 4 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +4 -0
+	mediatek,mic-type-2 = <0>;
+	mediatek,dmic-mode = <0>;
+};
+

..snip..

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 670

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+
+&mt6359_vproc2_buck_reg {
+	/* The name "vgpu" is required by mtk-regulator-coupler */
+	regulator-name = "vgpu";
+	regulator-min-microvolt = <550000>;
+	regulator-max-microvolt = <800000>;
+	regulator-coupled-with = <&mt6359_vsram_others_ldo_reg>;
+	regulator-coupled-max-spread = <225000>;
+	regulator-always-on;

You don't need regulator-always-on here.

Quoted 11 lines

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 679

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +9 -0
+};
+
+&mt6359_vs2_buck_reg {
+	regulator-min-microvolt = <1600000>;
+	regulator-boot-on;
+};
+
+&mt6359_vpu_buck_reg {
+	regulator-name = "dvdd_adsp";

Is that for the MediaTek Audio DSP?

Yes and no, this design matches the EVK one from MTK on that rail, which means the same rail is used as:
- DVDD_ADSP
- DVDD_SRAM_CORE
- DVDD_SRAM_MM
- AVDD075_DRV_DSI

Quoted 5 lines

Thought Genio 500/700 were kind of "special" in having one just for that.

If so, you have to do this properly and add this to the ADSP power domain as a domain-supply, if this effectively enables basic power to the ADSP itself.

Quoted 8 lines

To do so, you must also change drivers/pmdomain/mediatek/mt8188-pm-domains.h and in MT8188_POWER_DOMAIN_ADSP you want to change .caps to

.caps = MTK_SCPD_KEEP_DEFAULT_OFF | MTK_SCPD_SRAM_ISO | MTK_SCPD_ACTIVE_WAKEUP |
MTK_SCPD_DOMAIN_SUPPLY,

...so that you can remove the regulator-always-on property here, and benefit from a nice bump in power efficiency (as you stop power leakages like so).

Considering the comment above, is it ok to leave it as-is (like it is done in the mt8390-genio-common.dtsi)? Or would you like to change the reg name to make it more obvious it's not only for adsp?

Quoted 86 lines
Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	regulator-always-on;
+};
+
+&mt6359_vrf12_ldo_reg {
+	regulator-name = "va12_abb2_pmu";
+	regulator-always-on;
+};
+
+&mt6359_vsram_md_ldo_reg {
+	regulator-always-on;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 699

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+};
+
+&mt6359_vsram_others_ldo_reg {
+	/* The name "vsram_gpu" is required by mtk-regulator-coupler */
+	regulator-name = "vsram_gpu";
+	regulator-min-microvolt = <750000>;
+	regulator-max-microvolt = <800000>;
+	regulator-coupled-with = <&mt6359_vproc2_buck_reg>;
+	regulator-coupled-max-spread = <225000>;
+	regulator-always-on;

You don't need regulator-always-on here.

Quoted 20 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +20 -0
+};
+
+&mt6359_vsim1_ldo_reg {
+	regulator-name = "vsim1_pmu";
+	regulator-max-microvolt = <1800000>;
+	regulator-enable-ramp-delay = <480>;
+};
+
+&mt6359_vufs_ldo_reg {
+	regulator-name = "vufs18_pmu";
+	regulator-always-on;
+};
+
+&ovl0_in {
+	remote-endpoint = <&vdosys0_ep_main>;
+};
+
+&pcie {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pcie_default_pins>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 729

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	status = "okay";
+};
+
+&pciephy {
+	status = "okay";
+};
+
+&pmic {
+	interrupt-parent = <&pio>;
+	interrupts = <222 IRQ_TYPE_LEVEL_HIGH>;

Instead of interrupt-parent and interrupts, you can do:

interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 737

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +8 -0
+
+	keys {
+		compatible = "mediatek,mt6359-keys";
+		mediatek,long-press-mode = <1>;
+		power-off-time-sec = <0>;
+
+		power-key {
+			linux,keycodes = <116>;

At the top of the file, properly ordered:
#include <dt-bindings/input/linux-event-codes.h>

...then, here:
linux,keycodes = <KEY_POWER>;

Quoted 13 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +13 -0
+			wakeup-source;
+		};
+	};
+};
+
+&postmask0_in {
+	remote-endpoint = <&gamma0_out>;
+};
+
+&postmask0_out {
+	remote-endpoint = <&dither0_in>;
+};
+
Quoted 8 lines

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 756

Quoted 6 lines

+&scp_cluster {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +5 -0
+	status = "okay";
+};
+
+&scp_c0 {
+	firmware-name = "mediatek/mt8188/scp.img";

You don't need (and can't have) firmware-name upstream: drop it.

Oops, that's a copy/paste from the collabora tree ;)

Quoted 57 lines

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 764

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +8 -0
+	memory-region = <&scp_mem>;
+	status = "okay";
+};
+
+&spi0 {
+	pinctrl-0 = <&spi0_pins>;
+	pinctrl-names = "default";
+	mediatek,pad-select = <0>;

vendor properties always at the end, before status = "okay";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi

Quoted 2 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +2 -0
+	#address-cells = <1>;
+	#size-cells = <0>;

...but anyway, #address-cells, #size-cells are already declared in mt8188.dtsi and they even have the same values that you're assigning here. Drop those.

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 773

Quoted 7 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +7 -0
+	status = "okay";
+};
+
+&spi1 {
+	pinctrl-0 = <&spi1_pins>;
+	pinctrl-names = "default";
+	mediatek,pad-select = <0>;

same comments apply here as well.

Quoted 5 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +5 -0
+	#address-cells = <1>;
+	#size-cells = <0>;
+	status = "okay";
+};
+

..snip..

Quoted 9 lines

+&uart0 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +8 -0
+	pinctrl-0 = <&uart0_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&uart1 {
+	pinctrl-0 = <&uart1_pins>;
+	pinctrl-names = "default";

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 841

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	status = "okay";
+};
+
+&uart2 {
+	pinctrl-0 = <&uart2_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&ssusb0 {

Please reorder:

Quoted 8 lines

dr_mode
maximum-speed
usb-role-switch;
wakeup-source;
pinctrl-0
pinctrl-names
vusb33-supply
status

Ok, will rework all ports.

Quoted 217 lines
Quoted 59 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +59 -0
+	pinctrl-names = "default";
+	pinctrl-0 = <&usbotg_pins>;
+	maximum-speed = "high-speed";
+	usb-role-switch;
+	dr_mode = "otg";
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	wakeup-source;
+	status = "okay";
+
+	connector {
+		compatible = "usb-c-connector";
+		label = "USB-C";
+		data-role = "dual";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				hs_ep: endpoint {
+					remote-endpoint = <&usb_hs_ep>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+				ss_ep: endpoint {
+					remote-endpoint = <&hd3ss3220_in_ep>;
+				};
+			};
+		};
+	};
+
+	ports {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		port@0 {
+			reg = <0>;
+			usb_hs_ep: endpoint {
+				remote-endpoint = <&hs_ep>;
+			};
+		};
+
+		port@1 {
+			reg = <1>;
+			usb_role_switch: endpoint {
+				remote-endpoint = <&hd3ss3220_out_ep>;
+			};
+		};
+	};
+};
+
+&u2port0 {
+	status = "okay";
+};
+
+&u3phy0 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 910

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	status = "okay";
+};
+
+&xhci0 {
+	vbus-supply = <&usb_p0_vbus>;
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	status = "okay";
+};
+
+&ssusb1 {

Please reorder:

dr_mode
maximum-speed
wakeup-source
pinctrl-0
pinctrl-names
vusb33-supply
status

Quoted 17 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +17 -0
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	dr_mode = "host";
+	wakeup-source;
+	status = "okay";
+};
+
+&u2port1 {
+	status = "okay";
+};
+
+&u3port1 {
+	status = "okay";
+};
+
+&u3phy1 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 937

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	status = "okay";
+};
+
+&xhci1 {
+	vbus-supply = <&usb_p1_vbus>;
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	status = "okay";
+};
+
+&ssusb2 {

Please reorder:

dr_mode
maximum-speed
wakeup-source
vusb33-supply
status

Quoted 7 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +7 -0
+	maximum-speed = "high-speed";
+	dr_mode = "host";
+	vusb33-supply = <&mt6359_vusb_ldo_reg>;
+	status = "okay";
+	wakeup-source;
+};
+

..snip..

Quoted 18 lines

+&vdosys0 {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +17 -0
+	port {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		vdosys0_ep_main: endpoint@0 {
+			reg = <0>;
+			remote-endpoint = <&ovl0_in>;
+		};
+	};
+};
+
+&watchdog {
+	pinctrl-names = "default";
+	pinctrl-0 = <&watchdog_pins>;
+};
+
+&pio {

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 1010

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+	audio_pins: audio-pins {
+		pins-aud-pmic {
+			pinmux = <
+				PINMUX_GPIO101__FUNC_O_AUD_CLK_MOSI
+				PINMUX_GPIO102__FUNC_O_AUD_SYNC_MOSI
+				PINMUX_GPIO103__FUNC_O_AUD_DAT_MOSI0
+				PINMUX_GPIO104__FUNC_O_AUD_DAT_MOSI1
+				PINMUX_GPIO105__FUNC_I0_AUD_DAT_MISO0
+				PINMUX_GPIO106__FUNC_I0_AUD_DAT_MISO1
+			>;

You don't need the extra lines...

			pinmux = <PINMUX_GPIO101__FUNC_O_AUD_CLK_MOSI
				  PINMUX_GPIO102__FUNC_O_AUD_SYNC_MOSI
				  PINMUX_GPIO103__FUNC_O_AUD_DAT_MOSI0
				  PINMUX_GPIO104__FUNC_O_AUD_DAT_MOSI1
				  PINMUX_GPIO105__FUNC_I0_AUD_DAT_MISO0
				  PINMUX_GPIO106__FUNC_I0_AUD_DAT_MISO1>;

here and everywhere else please :-)

Quoted 39 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +39 -0
+		};
+
+		pins-pcm-wifi {
+			pinmux = <
+				PINMUX_GPIO121__FUNC_B0_PCM_CLK
+				PINMUX_GPIO122__FUNC_B0_PCM_SYNC
+				PINMUX_GPIO123__FUNC_O_PCM_DO
+				PINMUX_GPIO124__FUNC_I0_PCM_DI
+			>;
+		};
+
+		pins-i2s {
+			pinmux = <
+				PINMUX_GPIO119__FUNC_O_I2SO1_MCK
+				PINMUX_GPIO112__FUNC_O_I2SO1_WS
+				PINMUX_GPIO120__FUNC_O_I2SO1_BCK
+				PINMUX_GPIO113__FUNC_O_I2SO1_D0
+				PINMUX_GPIO110__FUNC_I0_I2SIN_D0
+			>;
+		};
+	};
+
+	disp_pwm0_pins: disp-pwm0-pins {
+		pins {
+			pinmux = <PINMUX_GPIO29__FUNC_O_DISP_PWM0>;
+			bias-pull-down;
+		};
+	};
+
+	dsi0_sn65dsi84_pins: dsi0-sn65dsi84-pins {
+		pins-irq {
+			pinmux = <PINMUX_GPIO128__FUNC_B_GPIO128>;
+			bias-pull-down;
+			input-enable;
+		};
+
+		pins-enable {
+			pinmux = <PINMUX_GPIO25__FUNC_B_GPIO25>;
+			bias-pull-down;

arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi line 1059

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi new file +10 -0
+		};
+	};
+
+	eth_default_pins: eth-default-pins {
+		pins-txd {
+			pinmux = <PINMUX_GPIO131__FUNC_O_GBE_TXD3>,
+				 <PINMUX_GPIO132__FUNC_O_GBE_TXD2>,
+				 <PINMUX_GPIO133__FUNC_O_GBE_TXD1>,
+				 <PINMUX_GPIO134__FUNC_O_GBE_TXD0>;
+			drive-strength = <MTK_DRIVE_8mA>;

Please don't use the MTK_DRIVE_x macros, we are in the process of removing them.

Quoted 8 lines

All those macros are defining the .. same number that you can read in the macro itself; as in:

MTK_DRIVE_(n)mA = n -> MTK_DRIVE_8mA = 8

So, remove all of them and use numbers directly.
In this specific case it is drive-strength = <8>; - please do this here and everywhere else.

Ok. Should be able to offer a new revision later today.

Thanks,
Gary