Skip to contentSkip to conversation

Update PHYTEC's i.MX8MM DTSs

PATCH Applied Andrej Picej 2 participants 17 messages Feb 18, 2025 – Feb 23, 2025

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

v3 cover Update PHYTEC's i.MX8MM DTSs

Hi all,

these patches aim to get PHYTEC downstream kernel device-tree changes into the mainline for the phyCORE-i.MX8MM SoM and boards (phyBOARD-Polis and phyGATE-Tauri-L).

Changes mainly fix suspending/resuming with different wakeup-sources and add missing regulators. Last 4 patches add additional overlays. Some are meant to be used with PHYTEC's "option tree" to add/disable optional SoM components (idea behind it is outlined in [1]).

[1] https://lore.kernel.org/all/[email protected]/

v1 at: https://lore.kernel.org/all/[email protected]/
v2 at: https://lore.kernel.org/all/[email protected]/

Change log in corresponding patches (the only notable v3 change is in
- [PATCH 13/15] arm64: dts: imx8mm-phycore-som: Add overlay for rproc where we fixed DTS check warning. Other changes just updated overlays copyright year to 2025.

Best regards,
Andrej

Andrej Picej (3):
arm64: dts: imx8mm-phycore-som: Fix bluetooth wakeup source
arm64: dts: imx8mm-phyboard-polis: Set RTC as wakeup-source
arm64: dts: imx8mm-phygate-tauri-l: Set RTC as wakeup-source

Dominik Haller (1):
arm64: dts: imx8mm-phycore-som: Add overlay for rproc

Janine Hagemann (1):
arm64: dts: imx8mm-phyboard-polis: Add overlay for PEB-EVAL-01

Teresa Remmet (5):
arm64: dts: imx8mm-phycore-som: Keep LDO3 on in suspend
arm64: dts: imx8mm-phycore-som: Remove magic-packet property
arm64: dts: imx8mm-phyboard-polis: Add support for PEB-AV-10
arm64: dts: imx8mm-phycore-som: Add no-eth phy overlay
arm64: dts: imx8mm-phycore-som: Add overlay to disable SPI NOR flash

Yannic Moog (3):
arm64: dts: imx8mm-phycore-som: add descriptions to nodes
arm64: dts: imx8mm-phyboard-polis: add RTC description
arm64: dts: imx8mm: move bulk of rtc properties to carrierboards

Yashwanth Varakala (2):
arm64: dts: imx8mm-phycore-som: Assign regulator for dsi to lvds
bridge
arm64: dts: imx8mm-phyboard-polis: Assign missing regulator for
bluetooth

 arch/arm64/boot/dts/freescale/Makefile        |  13 +
 .../imx8mm-phyboard-polis-peb-av-10.dtso      | 237 ++++++++++++++++++
 .../imx8mm-phyboard-polis-peb-eval-01.dtso    |  72 ++++++
 .../freescale/imx8mm-phyboard-polis-rdk.dts   |  17 +-
 .../dts/freescale/imx8mm-phycore-no-eth.dtso  |  12 +
 .../freescale/imx8mm-phycore-no-spiflash.dtso |  16 ++
 .../dts/freescale/imx8mm-phycore-rpmsg.dtso   |  58 +++++
 .../dts/freescale/imx8mm-phycore-som.dtsi     |  22 +-
 .../dts/freescale/imx8mm-phygate-tauri-l.dts  |  11 +
 9 files changed, 442 insertions(+), 16 deletions(-)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-no-eth.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-no-spiflash.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-rpmsg.dtso
Signature · 1 line
2.34.1
#1 lore raw

PATCH v3 1/15 arm64: dts: imx8mm-phycore-som: Keep LDO3 on in suspend

From: Teresa Remmet <[email protected]>

LDO3 is also used as switch for enabling VDD_3V3_S and need to be kept on during suspend. Disabling this can lead to an unwanted reset during resume.

Set LDO3 to 2,5V as the voltage should be fix.

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +4 -2
index 6069678244f3..7761acc5c510 100644
@@ -161,11 +161,13 @@ reg_vcc_enet: ldo3 {
 				regulator-always-on;
 				regulator-boot-on;
 				regulator-max-microvolt = <2500000>;
-				regulator-min-microvolt = <1500000>;
+				regulator-min-microvolt = <2500000>;
 				regulator-name = "VCC_ENET_2V5 (LDO3)";
 
 				regulator-state-mem {
-					regulator-off-in-suspend;
+					regulator-on-in-suspend;
+					regulator-suspend-max-microvolt = <2500000>;
+					regulator-suspend-min-microvolt = <2500000>;
 				};
 			};
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH v3 2/15 arm64: dts: imx8mm-phycore-som: Fix bluetooth wakeup source

In reply to Andrej Picej

Not using pull-up on the host wake-up line triggers the wake up immediately after device enters suspend. Fix this by enabling internal pull-up and setting interrupt triggering on the falling edge.

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +2 -2
index 5eacbd9611ee..31d5c57d3c24 100644
@@ -255,7 +255,7 @@ bluetooth {
 		device-wakeup-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
 		interrupt-names = "host-wakeup";
 		interrupt-parent = <&gpio2>;
-		interrupts = <9 IRQ_TYPE_EDGE_BOTH>;
+		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
 		max-speed = <2000000>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_bt>;
@@ -332,7 +332,7 @@ pinctrl_bt: btgrp {
 		fsl,pins = <
 			MX8MM_IOMUXC_SD1_DATA4_GPIO2_IO6	0x00
 			MX8MM_IOMUXC_SD1_DATA6_GPIO2_IO8	0x00
-			MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9	0x00
+			MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9	0x140
 		>;
 	};
 
Signature · 1 line
2.34.1
#3 lore raw

PATCH v3 3/15 arm64: dts: imx8mm-phycore-som: Remove magic-packet property

In reply to Andrej Picej

From: Teresa Remmet <[email protected]>

Remove device tree property "fsl,magic-packet" as WoL is not working on the SoM and so not required. This also saves a significant amount of power during suspend as the ethernet phy is not powered down otherwise.

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +0 -1
index 7761acc5c510..8de5a46512b0 100644
@@ -69,7 +69,6 @@ opp-750000000 {
 
 /* Ethernet */
 &fec1 {
-	fsl,magic-packet;
 	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy0>;
 	pinctrl-names = "default";
Signature · 1 line
2.34.1
#4 lore raw

PATCH v3 4/15 arm64: dts: imx8mm-phycore-som: Assign regulator for dsi to lvds bridge

In reply to Andrej Picej

From: Yashwanth Varakala <[email protected]>

Add a missing voltage regulator of 1.8v to the sn65dsi83 (dsi_lvds bridge) node. Due to the absence of this regulator, a fallback dummy regulator is used and that triggers a warning message from the kernel. Assigning the appropriate regulator avoids the warning.

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +1 -0
index 8de5a46512b0..7e859c65317a 100644
@@ -286,6 +286,7 @@ sn65dsi83: bridge@2d {
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_sn65dsi83>;
 		reg = <0x2d>;
+		vcc-supply = <&reg_vdd_1v8>;
 		status = "disabled";
 	};
 
Signature · 1 line
2.34.1
#5 lore raw

PATCH v3 5/15 arm64: dts: imx8mm-phycore-som: add descriptions to nodes

In reply to Andrej Picej

From: Yannic Moog <[email protected]>

Add missing EEPROM and RTC descriptions. Also use eMMC with lower-case "e".

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +3 -1
index 7e859c65317a..cced82226c6d 100644
@@ -290,6 +290,7 @@ sn65dsi83: bridge@2d {
 		status = "disabled";
 	};
 
+	/* EEPROM */
 	eeprom@51 {
 		compatible = "atmel,24c32";
 		pagesize = <32>;
@@ -297,6 +298,7 @@ eeprom@51 {
 		vcc-supply = <&reg_vdd_3v3_s>;
 	};
 
+	/* RTC */
 	rv3028: rtc@52 {
 		compatible = "microcrystal,rv3028";
 		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
@@ -307,7 +309,7 @@ rv3028: rtc@52 {
 	};
 };
 
-/* EMMC */
+/* eMMC */
 &usdhc3 {
 	assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>;
 	assigned-clock-rates = <400000000>;
Signature · 1 line
2.34.1
#6 lore raw

PATCH v3 6/15 arm64: dts: imx8mm-phyboard-polis: add RTC description

In reply to Andrej Picej

From: Yannic Moog <[email protected]>

Add RTC description.

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +1 -0
index 31d5c57d3c24..6c95257119d6 100644
@@ -219,6 +219,7 @@ &pcie_phy {
 	status = "okay";
 };
 
+/* RTC */
 &rv3028 {
 	aux-voltage-chargeable = <1>;
 	trickle-resistor-ohms = <3000>;
Signature · 1 line
2.34.1
#7 lore raw

PATCH v3 7/15 arm64: dts: imx8mm-phyboard-polis: Set RTC as wakeup-source

In reply to Andrej Picej

RV-3028 RTC can be used to wakeup the system on phyBOARD-Polis-i.MX8MM, mark the device as wakeup source.

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +1 -0
index 6c95257119d6..7aaf705c7e47 100644
@@ -223,6 +223,7 @@ &pcie_phy {
 &rv3028 {
 	aux-voltage-chargeable = <1>;
 	trickle-resistor-ohms = <3000>;
+	wakeup-source;
 };
 
 &snvs_pwrkey {
Signature · 1 line
2.34.1
#8 lore raw

PATCH v3 8/15 arm64: dts: imx8mm-phygate-tauri-l: Set RTC as wakeup-source

In reply to Andrej Picej

RV-3028 RTC can be used to wakeup the system on phyGATE-Tauri-L-i.MX8MM, mark the device as wakeup source.

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts +1 -0
index c3835b2d860a..c9bf4ac254bb 100644
@@ -217,6 +217,7 @@ &pwm4 {
 &rv3028 {
 	aux-voltage-chargeable = <1>;
 	trickle-resistor-ohms = <3000>;
+	wakeup-source;
 };
 
 &uart1 {
Signature · 1 line
2.34.1
#9 lore raw

PATCH v3 9/15 arm64: dts: imx8mm: move bulk of rtc properties to carrierboards

In reply to Andrej Picej

From: Yannic Moog <[email protected]>

Move properties from SoM's dtsi to carrierboard's dts as they are actually defined by the carrier board design.

---
Changes in v3:
- no change

---
 .../boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts   | 10 ++++++++++
 arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi  | 10 ----------
 .../boot/dts/freescale/imx8mm-phygate-tauri-l.dts      | 10 ++++++++++
 3 files changed, 20 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +10 -0
index 7aaf705c7e47..17e5dd40b5d7 100644
@@ -221,6 +221,10 @@ &pcie_phy {
 
 /* RTC */
 &rv3028 {
+	interrupt-parent = <&gpio1>;
+	interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
+	pinctrl-0 = <&pinctrl_rtc>;
+	pinctrl-names = "default";
 	aux-voltage-chargeable = <1>;
 	trickle-resistor-ohms = <3000>;
 	wakeup-source;
@@ -410,6 +414,12 @@ MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19	0x40
 		>;
 	};
 
+	pinctrl_rtc: rtcgrp {
+		fsl,pins = <
+			MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x1c0
+		>;
+	};
+
 	pinctrl_tpm: tpmgrp {
 		fsl,pins = <
 			MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11      0x140
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +0 -10
index cced82226c6d..672baba4c8d0 100644
@@ -301,10 +301,6 @@ eeprom@51 {
 	/* RTC */
 	rv3028: rtc@52 {
 		compatible = "microcrystal,rv3028";
-		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
-		interrupt-parent = <&gpio1>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&pinctrl_rtc>;
 		reg = <0x52>;
 	};
 };
@@ -377,12 +373,6 @@ MX8MM_IOMUXC_I2C1_SCL_GPIO5_IO14		0x1e0
 		>;
 	};
 
-	pinctrl_rtc: rtcgrp {
-		fsl,pins = <
-			MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x1c0
-		>;
-	};
-
 	pinctrl_sn65dsi83: sn65dsi83grp {
 		fsl,pins = <
 			MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10		0x0
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts +10 -0
index c9bf4ac254bb..755cf9cacd22 100644
@@ -215,6 +215,10 @@ &pwm4 {
 
 /* RTC */
 &rv3028 {
+	interrupt-parent = <&gpio1>;
+	interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
+	pinctrl-0 = <&pinctrl_rtc>;
+	pinctrl-names = "default";
 	aux-voltage-chargeable = <1>;
 	trickle-resistor-ohms = <3000>;
 	wakeup-source;
@@ -395,6 +399,12 @@ MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19     0x40
 		>;
 	};
 
+	pinctrl_rtc: rtcgrp {
+		fsl,pins = <
+			MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x1c0
+		>;
+	};
+
 	pinctrl_tempsense: tempsensegrp {
 		fsl,pins = <
 			MX8MM_IOMUXC_SAI3_TXFS_GPIO4_IO31	0x00
Signature · 1 line
2.34.1
#10 lore raw

PATCH v3 10/15 arm64: dts: imx8mm-phyboard-polis: Assign missing regulator for bluetooth

In reply to Andrej Picej

From: Yashwanth Varakala <[email protected]>

Assign the missing regulator to the bluetooth node. Absence of this regulator triggers the warning message from kernel as driver uses a fallback dummy regulator when there is no regulator assigned.

---
Changes in v3:
- no change

---
 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +1 -0
index 17e5dd40b5d7..be470cfb03d7 100644
@@ -266,6 +266,7 @@ bluetooth {
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_bt>;
 		shutdown-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
+		vbat-supply = <&reg_vcc_3v3>;
 		vddio-supply = <&reg_vcc_3v3>;
 	};
 };
Signature · 1 line
2.34.1
#11 lore raw

PATCH v3 11/15 arm64: dts: imx8mm-phyboard-polis: Add support for PEB-AV-10

In reply to Andrej Picej

From: Teresa Remmet <[email protected]>

PEB-AV-10 is an Audio/Video extension module which extends phyBOARD-Polis i.MX8MM.
With MIPI DSI to LVDS bridge already populated on SoM the PEB-AV-10 adds support for:
- connecting 10" display,
- audio with TLV320AIC and
- EEPROM.

---
Changes in v3:
- updated copyright year.

---
 arch/arm64/boot/dts/freescale/Makefile        |   5 +
 .../imx8mm-phyboard-polis-peb-av-10.dtso      | 237 ++++++++++++++++++
 2 files changed, 242 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso
arch/arm64/boot/dts/freescale/Makefile +5 -0
index 839432153cc7..69b1ab8cd6f6 100644
@@ -122,6 +122,11 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-mx8menlo.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-nitrogen-r2.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phg.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb
+
+imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo
+
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb
+
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-prt8mm.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-tqma8mqml-mba8mx.dtb
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso new file +237 -0

237 lines not on this page · raw message

Signature · 1 line
2.34.1
#12 lore raw

PATCH v3 12/15 arm64: dts: imx8mm-phyboard-polis: Add overlay for PEB-EVAL-01

In reply to Andrej Picej

From: Janine Hagemann <[email protected]>

Add support for the PEB-EVAL-01 expansion board for phyBOARD-Polis-i.MX8MM.

---
Changes in v3:
- updated copyright year.

---
 arch/arm64/boot/dts/freescale/Makefile        |  2 +
 .../imx8mm-phyboard-polis-peb-eval-01.dtso    | 72 +++++++++++++++++++
 2 files changed, 74 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dtso
arch/arm64/boot/dts/freescale/Makefile +2 -0
index 69b1ab8cd6f6..7e0fef7ed9de 100644
@@ -124,8 +124,10 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-phg.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb
 
 imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo
+imx8mm-phyboard-polis-peb-eval-01-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-eval-01.dtbo
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-eval-01.dtb
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-prt8mm.dtb
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dtso new file +72 -0

72 lines not on this page · raw message

Signature · 1 line
2.34.1
#13 lore raw

PATCH v3 13/15 arm64: dts: imx8mm-phycore-som: Add overlay for rproc

In reply to Andrej Picej

From: Dominik Haller <[email protected]>

Adds a devicetree overlay containing reserved memory regions used for intercore communication between A53 and M4 cores.

---
Changes in v3:
- updated copyright year,
- added address-cells and size-cells to the root node to fix a dts check warning.

---
 arch/arm64/boot/dts/freescale/Makefile        |  2 +
 .../dts/freescale/imx8mm-phycore-rpmsg.dtso   | 58 +++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-rpmsg.dtso
arch/arm64/boot/dts/freescale/Makefile +2 -0
index 7e0fef7ed9de..a10c8b5c2c4a 100644
@@ -125,9 +125,11 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb
 
 imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo
 imx8mm-phyboard-polis-peb-eval-01-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-eval-01.dtbo
+imx8mm-phycore-rpmsg-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-rpmsg.dtbo
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-eval-01.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-rpmsg.dtb
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-prt8mm.dtb
arch/arm64/boot/dts/freescale/imx8mm-phycore-rpmsg.dtso new file +58 -0

58 lines not on this page · raw message

Signature · 1 line
2.34.1
#14 lore raw

PATCH v3 14/15 arm64: dts: imx8mm-phycore-som: Add no-eth phy overlay

In reply to Andrej Picej

From: Teresa Remmet <[email protected]>

There are SoM variants with no eth phy populated. Add overlay to be able to support this.

---
Changes in v3:
- updated copyright year.

---
 arch/arm64/boot/dts/freescale/Makefile               |  2 ++
 .../boot/dts/freescale/imx8mm-phycore-no-eth.dtso    | 12 ++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-no-eth.dtso
arch/arm64/boot/dts/freescale/Makefile +2 -0
index a10c8b5c2c4a..7f3d8fb8123b 100644
@@ -125,10 +125,12 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb
 
 imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo
 imx8mm-phyboard-polis-peb-eval-01-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-eval-01.dtbo
+imx8mm-phycore-no-eth-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-no-eth.dtbo
 imx8mm-phycore-rpmsg-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-rpmsg.dtbo
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-eval-01.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-no-eth.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-rpmsg.dtb
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb
arch/arm64/boot/dts/freescale/imx8mm-phycore-no-eth.dtso new file +12 -0
new file mode 100644
index 000000000000..0fb4b6da6c10
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2025 PHYTEC Messtechnik GmbH
+ * Author: Teresa Remmet <[email protected]>
+ */
+
+/dts-v1/;
+/plugin/;
+
+&ethphy0 {
+	status = "disabled";
+};
Signature · 1 line
2.34.1
#15 lore raw

PATCH v3 15/15 arm64: dts: imx8mm-phycore-som: Add overlay to disable SPI NOR flash

In reply to Andrej Picej

From: Teresa Remmet <[email protected]>

There are SoM variants with no SPI NOR flash populated. Add overlay to be able to support this.

---
Changes in v3:
- updated copyright year.

---
 arch/arm64/boot/dts/freescale/Makefile           |  2 ++
 .../freescale/imx8mm-phycore-no-spiflash.dtso    | 16 ++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-no-spiflash.dtso
arch/arm64/boot/dts/freescale/Makefile +2 -0
index 7f3d8fb8123b..664438aa2e26 100644
@@ -126,11 +126,13 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb
 imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo
 imx8mm-phyboard-polis-peb-eval-01-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-eval-01.dtbo
 imx8mm-phycore-no-eth-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-no-eth.dtbo
+imx8mm-phycore-no-spiflash-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-no-spiflash.dtbo
 imx8mm-phycore-rpmsg-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-rpmsg.dtbo
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-eval-01.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-no-eth.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-no-spiflash.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-rpmsg.dtb
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb
arch/arm64/boot/dts/freescale/imx8mm-phycore-no-spiflash.dtso new file +16 -0
new file mode 100644
index 000000000000..7bfc366c1689
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2025 PHYTEC Messtechnik GmbH
+ * Author: Teresa Remmet <[email protected]>
+ */
+
+/dts-v1/;
+/plugin/;
+
+&flexspi {
+	status = "disabled";
+};
+
+&som_flash {
+	status = "disabled";
+};
Signature · 1 line
2.34.1
Applied
#16 lore raw
In reply to Andrej Picej
Quoted 23 lines · Andrej Picej

Andrej Picej (3):
arm64: dts: imx8mm-phycore-som: Fix bluetooth wakeup source
arm64: dts: imx8mm-phyboard-polis: Set RTC as wakeup-source
arm64: dts: imx8mm-phygate-tauri-l: Set RTC as wakeup-source

Dominik Haller (1):
arm64: dts: imx8mm-phycore-som: Add overlay for rproc

Janine Hagemann (1):
arm64: dts: imx8mm-phyboard-polis: Add overlay for PEB-EVAL-01

Teresa Remmet (5):
arm64: dts: imx8mm-phycore-som: Keep LDO3 on in suspend
arm64: dts: imx8mm-phycore-som: Remove magic-packet property
arm64: dts: imx8mm-phyboard-polis: Add support for PEB-AV-10
arm64: dts: imx8mm-phycore-som: Add no-eth phy overlay
arm64: dts: imx8mm-phycore-som: Add overlay to disable SPI NOR flash

Yannic Moog (3):
arm64: dts: imx8mm-phycore-som: add descriptions to nodes
arm64: dts: imx8mm-phyboard-polis: add RTC description
arm64: dts: imx8mm: move bulk of rtc properties to carrierboards

Quoted 5 lines

Yashwanth Varakala (2):
arm64: dts: imx8mm-phycore-som: Assign regulator for dsi to lvds
bridge
arm64: dts: imx8mm-phyboard-polis: Assign missing regulator for
bluetooth

Applied all, thanks!