arm64: dts: freescale: moduline-display: several fixes
Subsystems (2)
v2 cover arm64: dts: freescale: moduline-display: several fixes
A couple of issues where discovered:
- compatibles should integrate the SoM
- the eqos mac address is stored in eth_mac1
The first one is breaking, but it is early enough that it can be corrected without causing any issues.
---
Changes in v2:
- re-add the old compatible to fsl.yaml
- expand the reasoning for these changes in the commit messages
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Maud Spierings (3):
dt-bindings: arm: fsl: moduline-display: fix compatible
arm64: dts: freescale: moduline-display: fix compatible
arm64: dts: freescale: tx8p-ml81: fix eqos nvmem-cells
Documentation/devicetree/bindings/arm/fsl.yaml | 9 ++++++++- .../boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81.dtsi | 5 +++++ 3 files changed, 14 insertions(+), 2 deletions(-)
---
base-commit: 0f2995693867bfb26197b117cd55624ddc57582f
change-id: 20251114-disp_fix-2c90d35ab0dd
Best regards,
Signature · 1 line
Maud Spierings <[email protected]>
PATCH v2 1/3 dt-bindings: arm: fsl: moduline-display: fix compatible
The compatibles should include the SoM compatible, this board is based on the Ka-Ro TX8P-ML81 SoM, so add it to allow using shared code in the bootloader which uses upstream Linux devicetrees as a base.
Also add the hardware revision to the board compatible to handle revision specific quirks in the bootloader/userspace.
This is a breaking change, but it is early enough that it can be corrected without causing any issues.
--- Documentation/devicetree/bindings/arm/fsl.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/fsl.yaml +8 -1
@@ -1105,7 +1105,6 @@ properties: - gateworks,imx8mp-gw74xx # i.MX8MP Gateworks Board - gateworks,imx8mp-gw75xx-2x # i.MX8MP Gateworks Board - gateworks,imx8mp-gw82xx-2x # i.MX8MP Gateworks Board - - gocontroll,moduline-display # GOcontroll Moduline Display controller - prt,prt8ml # Protonic PRT8ML - skov,imx8mp-skov-basic # SKOV i.MX8MP baseboard without frontplate - skov,imx8mp-skov-revb-hdmi # SKOV i.MX8MP climate control without panel
@@ -1163,6 +1162,14 @@ properties: - const: engicam,icore-mx8mp # i.MX8MP Engicam i.Core MX8M Plus SoM - const: fsl,imx8mp + - description: Ka-Ro TX8P-ML81 SoM based boards + items: + - enum: + - gocontroll,moduline-display + - gocontroll,moduline-display-106 + - const: karo,tx8p-ml81 + - const: fsl,imx8mp + - description: Kontron i.MX8MP OSM-S SoM based Boards items: - const: kontron,imx8mp-bl-osm-s # Kontron BL i.MX8MP OSM-S Board
Signature · 1 line
2.52.0
Re: [PATCH v2 1/3] dt-bindings: arm: fsl: moduline-display: fix compatible
Quoted 7 lines · Maud Spierings
The compatibles should include the SoM compatible, this board is based on the Ka-Ro TX8P-ML81 SoM, so add it to allow using shared code in the bootloader which uses upstream Linux devicetrees as a base.
Also add the hardware revision to the board compatible to handle revision specific quirks in the bootloader/userspace.
Quoted 8 lines
This is a breaking change, but it is early enough that it can be corrected without causing any issues.
Fixes 24e67d28ef95 ("dt-bindings: arm: fsl: Add GOcontroll Moduline Display")Signed-off-by Maud Spierings <[email protected]>--- Documentation/devicetree/bindings/arm/fsl.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Best regards,
Krzysztof
PATCH v2 2/3 arm64: dts: freescale: moduline-display: fix compatible
In reply to Maud SpieringsThe compatibles should include the SoM compatible, this board is based on the Ka-Ro TX8P-ML81 SoM, so add it to allow using shared code in the bootloader which uses upstream Linux devicetrees as a base.
Also add the hardware revision to the board compatible to handle revision specific quirks in the bootloader/userspace.
This is a breaking change, but it is early enough that it can be corrected without causing any issues.
--- arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts +1 -1
@@ -9,7 +9,7 @@ #include "imx8mp-tx8p-ml81.dtsi" / { - compatible = "gocontroll,moduline-display", "fsl,imx8mp"; + compatible = "gocontroll,moduline-display-106", "karo,tx8p-ml81", "fsl,imx8mp"; chassis-type = "embedded"; hardware = "Moduline Display V1.06"; model = "GOcontroll Moduline Display baseboard";
Signature · 1 line
2.52.0
PATCH v2 3/3 arm64: dts: freescale: tx8p-ml81: fix eqos nvmem-cells
In reply to Maud SpieringsOn this SoM eqos is the primary ethernet interface, Ka-Ro fuses the address for it in eth_mac1, eth_mac2 seems to be left unfused. In their downstream u-boot they fetch it from eth_mac1 [1][2], by setting alias of eqos to ethernet0, the driver then fetches the mac address based on the alias number.
Set eqos to read from eth_mac1 instead of eth_mac2. Also set fec to point at eth_mac2 as it may be fused later even though it is disabled by default.
With this changed barebox is now capable of loading the correct address.
--- arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81.dtsi +5 -0
@@ -47,6 +47,7 @@ &eqos { <&clk IMX8MP_SYS_PLL2_100M>, <&clk IMX8MP_SYS_PLL2_50M>; assigned-clock-rates = <266000000>, <100000000>, <50000000>; + nvmem-cells = <ð_mac1>; phy-handle = <ðphy0>; phy-mode = "rmii"; pinctrl-0 = <&pinctrl_eqos>;
@@ -75,6 +76,10 @@ ethphy0: ethernet-phy@0 { }; }; +&fec { + nvmem-cells = <ð_mac2>; +}; + &gpio1 { gpio-line-names = "SODIMM_152", "SODIMM_42",
Signature · 1 line
2.52.0
Shawn Guo
AppliedQuoted 14 lines · On Mon, Dec 01, 2025 at 12:56:49PM +0100, Maud Spierings via B4 Relay wrote:
A couple of issues where discovered:
- compatibles should integrate the SoM
- the eqos mac address is stored ineth_mac1The first one is breaking, but it is early enough that it can be corrected without causing any issues.
Signed-off-by Maud Spierings <[email protected]>---
Changes in v2:
- re-add the old compatible tofsl.yaml
- expand the reasoning for these changes in the commit messages
- Link to v1: https://lore.kernel.org/r/[email protected]
Quoted 5 lines
---
Maud Spierings (3):
dt-bindings: arm: fsl: moduline-display: fix compatible
arm64: dts: freescale: moduline-display: fix compatible
arm64: dts: freescale: tx8p-ml81: fix eqos nvmem-cells
Applied all, thanks!