* [PATCH 01/19] arm64: dts: imx95-tqma9596sa: fix TPM5 pinctrl node name
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 02/19] arm64: dts: imx95-tqma9596sa: reduce maximum FlexSPI frequency to 66MHz Alexander Stein
` (10 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: Markus Niebel, linux, devicetree, imx, linux-arm-kernel,
linux-kernel
From: Markus Niebel <Markus.Niebel@ew.tq-group.com>
tpm4grp will be overwritten. Fix node name
Fixes: d2c4d71b6cde ("arm64: dt: imx95: Add TQMa95xxSA")
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 180124cc5bce1..c3bb61ea67961 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -617,7 +617,7 @@ pinctrl_tpm4: tpm4grp {
fsl,pins = <IMX95_PAD_GPIO_IO05__TPM4_CH0 0x51e>;
};
- pinctrl_tpm5: tpm4grp {
+ pinctrl_tpm5: tpm5grp {
fsl,pins = <IMX95_PAD_GPIO_IO06__TPM5_CH0 0x51e>;
};
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 02/19] arm64: dts: imx95-tqma9596sa: reduce maximum FlexSPI frequency to 66MHz
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
2025-10-30 12:49 ` [PATCH 01/19] arm64: dts: imx95-tqma9596sa: fix TPM5 pinctrl node name Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 03/19] arm64: dts: imx95-tqma9596sa: increase flexspi slew rate Alexander Stein
` (9 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
66 MHz is the maximum FlexPI clock frequency in normal/overdrive mode
when RXCLKSRC = 0 (Default)
Fixes: d2c4d71b6cde ("arm64: dt: imx95: Add TQMa95xxSA")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index c3bb61ea67961..16c40d11d3b5d 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -115,7 +115,7 @@ &flexspi1 {
flash0: flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <80000000>;
+ spi-max-frequency = <66000000>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
vcc-supply = <®_1v8>;
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 03/19] arm64: dts: imx95-tqma9596sa: increase flexspi slew rate
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
2025-10-30 12:49 ` [PATCH 01/19] arm64: dts: imx95-tqma9596sa: fix TPM5 pinctrl node name Alexander Stein
2025-10-30 12:49 ` [PATCH 02/19] arm64: dts: imx95-tqma9596sa: reduce maximum FlexSPI frequency to 66MHz Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 04/19] arm64: dts: imx95-tqma9596sa: move flexcan pinctrl to SOM Alexander Stein
` (8 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
Switch to fast slew rate.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 16c40d11d3b5d..52355a65a62da 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -497,12 +497,12 @@ pinctrl_flexcan3: flexcan3grp {
};
pinctrl_flexspi1: flexspi1grp {
- fsl,pins = <IMX95_PAD_SD3_CLK__FLEXSPI1_A_SCLK 0x11e>,
- <IMX95_PAD_SD3_CMD__FLEXSPI1_A_SS0_B 0x11e>,
- <IMX95_PAD_SD3_DATA0__FLEXSPI1_A_DATA_BIT0 0x11e>,
- <IMX95_PAD_SD3_DATA1__FLEXSPI1_A_DATA_BIT1 0x11e>,
- <IMX95_PAD_SD3_DATA2__FLEXSPI1_A_DATA_BIT2 0x11e>,
- <IMX95_PAD_SD3_DATA3__FLEXSPI1_A_DATA_BIT3 0x11e>;
+ fsl,pins = <IMX95_PAD_SD3_CLK__FLEXSPI1_A_SCLK 0x19e>,
+ <IMX95_PAD_SD3_CMD__FLEXSPI1_A_SS0_B 0x19e>,
+ <IMX95_PAD_SD3_DATA0__FLEXSPI1_A_DATA_BIT0 0x19e>,
+ <IMX95_PAD_SD3_DATA1__FLEXSPI1_A_DATA_BIT1 0x19e>,
+ <IMX95_PAD_SD3_DATA2__FLEXSPI1_A_DATA_BIT2 0x19e>,
+ <IMX95_PAD_SD3_DATA3__FLEXSPI1_A_DATA_BIT3 0x19e>;
};
pinctrl_gpio1: gpio1grp {
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 04/19] arm64: dts: imx95-tqma9596sa: move flexcan pinctrl to SOM
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (2 preceding siblings ...)
2025-10-30 12:49 ` [PATCH 03/19] arm64: dts: imx95-tqma9596sa: increase flexspi slew rate Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 05/19] arm64: dts: imx95-tqma9596sa: move lpspi3 " Alexander Stein
` (7 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel,
Markus Niebel
The muxing for flexcan is determined by SOM, so add it at this level.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
.../boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts | 4 ----
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 10 ++++++++++
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index 5b6b2bb80b288..e3c7554b7f709 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -172,15 +172,11 @@ pcie2-clk-en-hog {
};
&flexcan1 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_flexcan1>;
xceiver-supply = <®_3v3>;
status = "okay";
};
&flexcan3 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_flexcan3>;
xceiver-supply = <®_3v3>;
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 52355a65a62da..759a09a912be1 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -106,6 +106,16 @@ &netc_timer {
status = "okay";
};
+&flexcan1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_flexcan1>;
+};
+
+&flexcan3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_flexcan3>;
+};
+
&flexspi1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_flexspi1>;
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 05/19] arm64: dts: imx95-tqma9596sa: move lpspi3 pinctrl to SOM
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (3 preceding siblings ...)
2025-10-30 12:49 ` [PATCH 04/19] arm64: dts: imx95-tqma9596sa: move flexcan pinctrl to SOM Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 06/19] arm64: dts: imx95-tqma9596sa: move USDHC2 config " Alexander Stein
` (6 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel,
Markus Niebel
The muxing is determined by SOM, so add it at this level.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
.../boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts | 3 ---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 6 ++++++
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index e3c7554b7f709..43ed55e57d2a3 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -200,9 +200,6 @@ eeprom2: eeprom@57 {
};
&lpspi3 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_lpspi3>;
- cs-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>, <&gpio2 7 GPIO_ACTIVE_LOW>;
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 759a09a912be1..8da9e368c1f4d 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -317,6 +317,12 @@ &lpi2c6 {
status = "okay";
};
+&lpspi3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_lpspi3>;
+ cs-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>, <&gpio2 7 GPIO_ACTIVE_LOW>;
+};
+
/* SER0 */
&lpuart1 {
pinctrl-names = "default";
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 06/19] arm64: dts: imx95-tqma9596sa: move USDHC2 config to SOM
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (4 preceding siblings ...)
2025-10-30 12:49 ` [PATCH 05/19] arm64: dts: imx95-tqma9596sa: move lpspi3 " Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 07/19] arm64: dts: imx95-tqma9596sa: move sai " Alexander Stein
` (5 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: Markus Niebel, linux, devicetree, imx, linux-arm-kernel,
linux-kernel
From: Markus Niebel <Markus.Niebel@ew.tq-group.com>
The muxing and other features are mostly determined by SOM,
so add it at this level.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
.../dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts | 10 ----------
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 12 ++++++++++++
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index 43ed55e57d2a3..02bbaaf298930 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -301,17 +301,7 @@ &usb2 {
/* X16 */
&usdhc2 {
- pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
- pinctrl-0 = <&pinctrl_usdhc2>;
- pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
- pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
- pinctrl-3 = <&pinctrl_usdhc2>;
- vmmc-supply = <®_sdvmmc>;
- cd-gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
- no-1-8-v;
no-mmc;
no-sdio;
- disable-wp;
- bus-width = <4>;
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 8da9e368c1f4d..166439e251c53 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -453,6 +453,18 @@ &usdhc1 {
status = "okay";
};
+&usdhc2 {
+ pinctrl-names = "default", "state_100mhz", "state_200mhz";
+ pinctrl-0 = <&pinctrl_usdhc2>;
+ pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
+ pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
+ vmmc-supply = <®_sdvmmc>;
+ cd-gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
+ no-1-8-v;
+ disable-wp;
+ bus-width = <4>;
+};
+
&wdog3 {
status = "okay";
};
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 07/19] arm64: dts: imx95-tqma9596sa: move sai config to SOM
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (5 preceding siblings ...)
2025-10-30 12:49 ` [PATCH 06/19] arm64: dts: imx95-tqma9596sa: move USDHC2 config " Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 08/19] arm64: dts: imx95-tqma9596sa: move pcie " Alexander Stein
` (4 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
The muxing and other features are mostly determined by SOM, so add it
at this level.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
.../freescale/imx95-tqma9596sa-mb-smarc-2.dts | 30 -----------------
.../boot/dts/freescale/imx95-tqma9596sa.dtsi | 33 +++++++++++++++++++
2 files changed, 33 insertions(+), 30 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index 02bbaaf298930..5c94d8cf28c4c 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -254,39 +254,9 @@ ®_sdvmmc {
};
&sai3 {
- #sound-dai-cells = <0>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_sai3>;
- assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>,
- <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>,
- <&scmi_clk IMX95_CLK_AUDIOPLL1>,
- <&scmi_clk IMX95_CLK_AUDIOPLL2>,
- <&scmi_clk IMX95_CLK_SAI3>;
- assigned-clock-parents = <0>, <0>, <0>, <0>,
- <&scmi_clk IMX95_CLK_AUDIOPLL1>;
- assigned-clock-rates = <3932160000>,
- <3612672000>, <393216000>,
- <361267200>, <12288000>;
- fsl,sai-mclk-direction-output;
status = "okay";
};
-&sai5 {
- #sound-dai-cells = <0>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_sai5>;
- assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>,
- <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>,
- <&scmi_clk IMX95_CLK_AUDIOPLL1>,
- <&scmi_clk IMX95_CLK_AUDIOPLL2>,
- <&scmi_clk IMX95_CLK_SAI5>;
- assigned-clock-parents = <0>, <0>, <0>, <0>,
- <&scmi_clk IMX95_CLK_AUDIOPLL1>;
- assigned-clock-rates = <3932160000>,
- <3612672000>, <393216000>,
- <361267200>, <12288000>;
-};
-
/* X4 */
&usb2 {
srp-disable;
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 166439e251c53..e7edeec712dcb 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -391,6 +391,39 @@ ethphy3: ethernet-phy@3 {
};
};
+&sai3 {
+ #sound-dai-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sai3>;
+ assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>,
+ <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>,
+ <&scmi_clk IMX95_CLK_AUDIOPLL1>,
+ <&scmi_clk IMX95_CLK_AUDIOPLL2>,
+ <&scmi_clk IMX95_CLK_SAI3>;
+ assigned-clock-parents = <0>, <0>, <0>, <0>,
+ <&scmi_clk IMX95_CLK_AUDIOPLL1>;
+ assigned-clock-rates = <3932160000>,
+ <3612672000>, <393216000>,
+ <361267200>, <12288000>;
+ fsl,sai-mclk-direction-output;
+};
+
+&sai5 {
+ #sound-dai-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sai5>;
+ assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>,
+ <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>,
+ <&scmi_clk IMX95_CLK_AUDIOPLL1>,
+ <&scmi_clk IMX95_CLK_AUDIOPLL2>,
+ <&scmi_clk IMX95_CLK_SAI5>;
+ assigned-clock-parents = <0>, <0>, <0>, <0>,
+ <&scmi_clk IMX95_CLK_AUDIOPLL1>;
+ assigned-clock-rates = <3932160000>,
+ <3612672000>, <393216000>,
+ <361267200>, <12288000>;
+};
+
&scmi_bbm {
linux,code = <KEY_POWER>;
};
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 08/19] arm64: dts: imx95-tqma9596sa: move pcie config to SOM
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (6 preceding siblings ...)
2025-10-30 12:49 ` [PATCH 07/19] arm64: dts: imx95-tqma9596sa: move sai " Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 09/19] arm64: dts: imx95-tqma9596sa: update pcie config Alexander Stein
` (3 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
The muxing and other features are mostly determined by SOM, so add it
at this level.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
.../freescale/imx95-tqma9596sa-mb-smarc-2.dts | 16 --------------
.../boot/dts/freescale/imx95-tqma9596sa.dtsi | 22 +++++++++++++++++++
2 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index 5c94d8cf28c4c..8caf0c68ba9fc 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -225,27 +225,11 @@ &lpuart8 {
/* X44 mPCIe */
&pcie0 {
- pinctrl-0 = <&pinctrl_pcie0>;
- pinctrl-names = "default";
- clocks = <&scmi_clk IMX95_CLK_HSIO>,
- <&pcieclk 1>,
- <&scmi_clk IMX95_CLK_HSIOPLL_VCO>,
- <&scmi_clk IMX95_CLK_HSIOPCIEAUX>;
- clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux";
- reset-gpio = <&expander2 9 GPIO_ACTIVE_LOW>;
status = "okay";
};
/* X22 PCIe x1 socket */
&pcie1 {
- pinctrl-0 = <&pinctrl_pcie1>;
- pinctrl-names = "default";
- clocks = <&scmi_clk IMX95_CLK_HSIO>,
- <&pcieclk 0>,
- <&scmi_clk IMX95_CLK_HSIOPLL_VCO>,
- <&scmi_clk IMX95_CLK_HSIOPCIEAUX>;
- clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux";
- reset-gpio = <&expander2 10 GPIO_ACTIVE_LOW>;
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index e7edeec712dcb..832c753abcd75 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -391,6 +391,28 @@ ethphy3: ethernet-phy@3 {
};
};
+&pcie0 {
+ pinctrl-0 = <&pinctrl_pcie0>;
+ pinctrl-names = "default";
+ clocks = <&scmi_clk IMX95_CLK_HSIO>,
+ <&pcieclk 1>,
+ <&scmi_clk IMX95_CLK_HSIOPLL_VCO>,
+ <&scmi_clk IMX95_CLK_HSIOPCIEAUX>;
+ clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux";
+ reset-gpio = <&expander2 9 GPIO_ACTIVE_LOW>;
+};
+
+&pcie1 {
+ pinctrl-0 = <&pinctrl_pcie1>;
+ pinctrl-names = "default";
+ clocks = <&scmi_clk IMX95_CLK_HSIO>,
+ <&pcieclk 0>,
+ <&scmi_clk IMX95_CLK_HSIOPLL_VCO>,
+ <&scmi_clk IMX95_CLK_HSIOPCIEAUX>;
+ clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux";
+ reset-gpio = <&expander2 10 GPIO_ACTIVE_LOW>;
+};
+
&sai3 {
#sound-dai-cells = <0>;
pinctrl-names = "default";
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 09/19] arm64: dts: imx95-tqma9596sa: update pcie config
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (7 preceding siblings ...)
2025-10-30 12:49 ` [PATCH 08/19] arm64: dts: imx95-tqma9596sa: move pcie " Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 12:49 ` [PATCH 10/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for flexspi Alexander Stein
` (2 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
Fix pcie clock config and switch from deprecated reset-gpio to
reset-gpios.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
.../boot/dts/freescale/imx95-tqma9596sa.dtsi | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 832c753abcd75..36da8ff8d1835 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -395,22 +395,24 @@ &pcie0 {
pinctrl-0 = <&pinctrl_pcie0>;
pinctrl-names = "default";
clocks = <&scmi_clk IMX95_CLK_HSIO>,
- <&pcieclk 1>,
+ <&scmi_clk IMX95_CLK_HSIOPLL>,
<&scmi_clk IMX95_CLK_HSIOPLL_VCO>,
- <&scmi_clk IMX95_CLK_HSIOPCIEAUX>;
- clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux";
- reset-gpio = <&expander2 9 GPIO_ACTIVE_LOW>;
+ <&scmi_clk IMX95_CLK_HSIOPCIEAUX>,
+ <&pcieclk 1>;
+ clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux", "ref";
+ reset-gpios = <&expander2 9 GPIO_ACTIVE_LOW>;
};
&pcie1 {
pinctrl-0 = <&pinctrl_pcie1>;
pinctrl-names = "default";
clocks = <&scmi_clk IMX95_CLK_HSIO>,
- <&pcieclk 0>,
+ <&scmi_clk IMX95_CLK_HSIOPLL>,
<&scmi_clk IMX95_CLK_HSIOPLL_VCO>,
- <&scmi_clk IMX95_CLK_HSIOPCIEAUX>;
- clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux";
- reset-gpio = <&expander2 10 GPIO_ACTIVE_LOW>;
+ <&scmi_clk IMX95_CLK_HSIOPCIEAUX>,
+ <&pcieclk 0>;
+ clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux", "ref";
+ reset-gpios = <&expander2 10 GPIO_ACTIVE_LOW>;
};
&sai3 {
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 10/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for flexspi
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (8 preceding siblings ...)
2025-10-30 12:49 ` [PATCH 09/19] arm64: dts: imx95-tqma9596sa: update pcie config Alexander Stein
@ 2025-10-30 12:49 ` Alexander Stein
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
2025-11-16 10:06 ` [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Shawn Guo
11 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 12:49 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
A sleep pin mux is not useful if it is the same as the normal pin mux.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 36da8ff8d1835..b7136982700a9 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -117,9 +117,8 @@ &flexcan3 {
};
&flexspi1 {
- pinctrl-names = "default", "sleep";
+ pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexspi1>;
- pinctrl-1 = <&pinctrl_flexspi1>;
status = "okay";
flash0: flash@0 {
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (9 preceding siblings ...)
2025-10-30 12:49 ` [PATCH 10/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for flexspi Alexander Stein
@ 2025-10-30 13:52 ` Alexander Stein
2025-10-30 13:52 ` [PATCH 12/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for usdhci Alexander Stein
` (7 more replies)
2025-11-16 10:06 ` [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Shawn Guo
11 siblings, 8 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
A sleep pin mux is not useful if it is the same as the normal pin mux.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index b7136982700a9..a6ab94208028a 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -165,9 +165,8 @@ &gpio2 {
&lpi2c1 {
clock-frequency = <400000>;
- pinctrl-names = "default", "sleep";
+ pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpi2c1>;
- pinctrl-1 = <&pinctrl_lpi2c1>;
status = "okay";
tmp1075: temperature-sensor@4a {
@@ -264,9 +263,8 @@ expander1: gpio@75 {
/* I2C_CAM0 */
&lpi2c3 {
clock-frequency = <400000>;
- pinctrl-names = "default", "sleep";
+ pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpi2c3>;
- pinctrl-1 = <&pinctrl_lpi2c3>;
status = "okay";
dp_bridge: dp-bridge@f {
@@ -301,18 +299,16 @@ dp_dsi_in: endpoint {
/* I2C_CAM1 */
&lpi2c4 {
clock-frequency = <400000>;
- pinctrl-names = "default", "sleep";
+ pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpi2c4>;
- pinctrl-1 = <&pinctrl_lpi2c4>;
status = "okay";
};
/* I2C_LCD */
&lpi2c6 {
clock-frequency = <400000>;
- pinctrl-names = "default", "sleep";
+ pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpi2c6>;
- pinctrl-1 = <&pinctrl_lpi2c6>;
status = "okay";
};
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 12/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for usdhci
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
@ 2025-10-30 13:52 ` Alexander Stein
2025-10-30 13:52 ` [PATCH 13/19] arm64: dts: imx95-tqma9596sa: add gpio bus recovery for i2c Alexander Stein
` (6 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
A sleep pin mux is not useful if it is the same as the normal pin mux.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index a6ab94208028a..cc251505f6280 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -493,11 +493,10 @@ &usb3_phy {
};
&usdhc1 {
- pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
+ pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc1>;
pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
- pinctrl-3 = <&pinctrl_usdhc1>;
bus-width = <8>;
non-removable;
no-sdio;
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 13/19] arm64: dts: imx95-tqma9596sa: add gpio bus recovery for i2c
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
2025-10-30 13:52 ` [PATCH 12/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for usdhci Alexander Stein
@ 2025-10-30 13:52 ` Alexander Stein
2025-10-30 13:52 ` [PATCH 14/19] arm64: dts: imx95-tqma9596sa: whitespace fixes Alexander Stein
` (5 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
Add pinctrl group for GPIO based bus recovery.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
.../boot/dts/freescale/imx95-tqma9596sa.dtsi | 30 +++++++++++++++++--
1 file changed, 27 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index cc251505f6280..9c892cd8ff215 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -263,8 +263,11 @@ expander1: gpio@75 {
/* I2C_CAM0 */
&lpi2c3 {
clock-frequency = <400000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_lpi2c3>;
+ pinctrl-1 = <&pinctrl_lpi2c3_gpio>;
+ sda-gpios = <&gpio2 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ scl-gpios = <&gpio2 29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay";
dp_bridge: dp-bridge@f {
@@ -299,16 +302,22 @@ dp_dsi_in: endpoint {
/* I2C_CAM1 */
&lpi2c4 {
clock-frequency = <400000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_lpi2c4>;
+ pinctrl-1 = <&pinctrl_lpi2c4_gpio>;
+ sda-gpios = <&gpio2 30 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ scl-gpios = <&gpio2 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay";
};
/* I2C_LCD */
&lpi2c6 {
clock-frequency = <400000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_lpi2c6>;
+ pinctrl-1 = <&pinctrl_lpi2c6_gpio>;
+ sda-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ scl-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay";
};
@@ -606,16 +615,31 @@ pinctrl_lpi2c3: lpi2c3grp {
<IMX95_PAD_GPIO_IO29__LPI2C3_SCL 0x4000191e>;
};
+ pinctrl_lpi2c3_gpio: lpi2c3-gpiogrp {
+ fsl,pins = <IMX95_PAD_GPIO_IO28__GPIO2_IO_BIT28 0x4000191e>,
+ <IMX95_PAD_GPIO_IO29__GPIO2_IO_BIT29 0x4000191e>;
+ };
+
pinctrl_lpi2c4: lpi2c4grp {
fsl,pins = <IMX95_PAD_GPIO_IO30__LPI2C4_SDA 0x4000191e>,
<IMX95_PAD_GPIO_IO31__LPI2C4_SCL 0x4000191e>;
};
+ pinctrl_lpi2c4_gpio: lpi2c4-gpiogrp {
+ fsl,pins = <IMX95_PAD_GPIO_IO30__GPIO2_IO_BIT30 0x4000191e>,
+ <IMX95_PAD_GPIO_IO31__GPIO2_IO_BIT31 0x4000191e>;
+ };
+
pinctrl_lpi2c6: lpi2c6grp {
fsl,pins = <IMX95_PAD_GPIO_IO02__LPI2C6_SDA 0x4000191e>,
<IMX95_PAD_GPIO_IO03__LPI2C6_SCL 0x4000191e>;
};
+ pinctrl_lpi2c6_gpio: lpi2c6-gpiogrp {
+ fsl,pins = <IMX95_PAD_GPIO_IO02__GPIO2_IO_BIT2 0x4000191e>,
+ <IMX95_PAD_GPIO_IO03__GPIO2_IO_BIT3 0x4000191e>;
+ };
+
pinctrl_lpspi3: lpspi3grp {
fsl,pins = <IMX95_PAD_GPIO_IO07__GPIO2_IO_BIT7 0x51e>,
<IMX95_PAD_GPIO_IO08__GPIO2_IO_BIT8 0x51e>,
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 14/19] arm64: dts: imx95-tqma9596sa: whitespace fixes
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
2025-10-30 13:52 ` [PATCH 12/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for usdhci Alexander Stein
2025-10-30 13:52 ` [PATCH 13/19] arm64: dts: imx95-tqma9596sa: add gpio bus recovery for i2c Alexander Stein
@ 2025-10-30 13:52 ` Alexander Stein
2025-10-30 13:52 ` [PATCH 15/19] arm64: dts: imx95-tqma9596sa: add EEPROM pagesize Alexander Stein
` (4 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
Use tabs instead of spaces for indentation.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index 9c892cd8ff215..a4c6083ab43b1 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -621,8 +621,8 @@ pinctrl_lpi2c3_gpio: lpi2c3-gpiogrp {
};
pinctrl_lpi2c4: lpi2c4grp {
- fsl,pins = <IMX95_PAD_GPIO_IO30__LPI2C4_SDA 0x4000191e>,
- <IMX95_PAD_GPIO_IO31__LPI2C4_SCL 0x4000191e>;
+ fsl,pins = <IMX95_PAD_GPIO_IO30__LPI2C4_SDA 0x4000191e>,
+ <IMX95_PAD_GPIO_IO31__LPI2C4_SCL 0x4000191e>;
};
pinctrl_lpi2c4_gpio: lpi2c4-gpiogrp {
@@ -631,8 +631,8 @@ pinctrl_lpi2c4_gpio: lpi2c4-gpiogrp {
};
pinctrl_lpi2c6: lpi2c6grp {
- fsl,pins = <IMX95_PAD_GPIO_IO02__LPI2C6_SDA 0x4000191e>,
- <IMX95_PAD_GPIO_IO03__LPI2C6_SCL 0x4000191e>;
+ fsl,pins = <IMX95_PAD_GPIO_IO02__LPI2C6_SDA 0x4000191e>,
+ <IMX95_PAD_GPIO_IO03__LPI2C6_SCL 0x4000191e>;
};
pinctrl_lpi2c6_gpio: lpi2c6-gpiogrp {
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 15/19] arm64: dts: imx95-tqma9596sa: add EEPROM pagesize
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
` (2 preceding siblings ...)
2025-10-30 13:52 ` [PATCH 14/19] arm64: dts: imx95-tqma9596sa: whitespace fixes Alexander Stein
@ 2025-10-30 13:52 ` Alexander Stein
2025-10-30 13:52 ` [PATCH 16/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: Add MicIn routing Alexander Stein
` (3 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: Markus Niebel, linux, devicetree, imx, linux-arm-kernel,
linux-kernel
From: Markus Niebel <Markus.Niebel@ew.tq-group.com>
The special ID device of the EEPROMS needs pagesize, too.
Otherwise only slow byte write is possible.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
index a4c6083ab43b1..43418844701b1 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi
@@ -203,6 +203,7 @@ m24c64: eeprom@54 {
eeprom@58 {
compatible = "atmel,24c64d-wl";
reg = <0x58>;
+ pagesize = <32>;
vcc-supply = <®_1v8>;
};
@@ -210,6 +211,7 @@ eeprom@58 {
eeprom@5c {
compatible = "atmel,24c64d-wl";
reg = <0x5c>;
+ pagesize = <32>;
vcc-supply = <®_1v8>;
};
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 16/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: Add MicIn routing
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
` (3 preceding siblings ...)
2025-10-30 13:52 ` [PATCH 15/19] arm64: dts: imx95-tqma9596sa: add EEPROM pagesize Alexander Stein
@ 2025-10-30 13:52 ` Alexander Stein
2025-10-30 13:52 ` [PATCH 17/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: mark LPUART1 as reserved Alexander Stein
` (2 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
MicIn is connected to IN3_L. Add routing including the Mic Bias.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
.../boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index 8caf0c68ba9fc..d1c3d55b14469 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -144,6 +144,13 @@ sound {
model = "tqm-tlv320aic32";
audio-codec = <&tlv320aic3x04>;
audio-cpu = <&sai3>;
+ audio-routing =
+ "IN3_L", "Mic Jack",
+ "Mic Jack", "Mic Bias",
+ "IN1_L", "Line In Jack",
+ "IN1_R", "Line In Jack",
+ "Line Out Jack", "LOL",
+ "Line Out Jack", "LOR";
};
};
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 17/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: mark LPUART1 as reserved
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
` (4 preceding siblings ...)
2025-10-30 13:52 ` [PATCH 16/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: Add MicIn routing Alexander Stein
@ 2025-10-30 13:52 ` Alexander Stein
2025-10-30 13:53 ` [PATCH 18/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: remove superfluous line Alexander Stein
2025-10-30 13:53 ` [PATCH 19/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: add aliases for SPI Alexander Stein
7 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
LPUART1 is not disabled, but used by system manager (SM) and should not
be used by Linux.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index d1c3d55b14469..15d117d785445 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -212,7 +212,7 @@ &lpspi3 {
/* SER0 */
&lpuart1 {
- status = "disabled";
+ status = "reserved";
};
/* SER3 */
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 18/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: remove superfluous line
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
` (5 preceding siblings ...)
2025-10-30 13:52 ` [PATCH 17/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: mark LPUART1 as reserved Alexander Stein
@ 2025-10-30 13:53 ` Alexander Stein
2025-10-30 13:53 ` [PATCH 19/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: add aliases for SPI Alexander Stein
7 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: Markus Niebel, linux, devicetree, imx, linux-arm-kernel,
linux-kernel
From: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Remove empty line, no functional changes.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index 15d117d785445..d3a9360b8c548 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -259,7 +259,6 @@ &usb2 {
status = "okay";
};
-
/* X16 */
&usdhc2 {
no-mmc;
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 19/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: add aliases for SPI
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
` (6 preceding siblings ...)
2025-10-30 13:53 ` [PATCH 18/19] arm64: dts: imx95-tqma9596sa-mb-smarc-2: remove superfluous line Alexander Stein
@ 2025-10-30 13:53 ` Alexander Stein
7 siblings, 0 replies; 21+ messages in thread
From: Alexander Stein @ 2025-10-30 13:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein
Cc: Markus Niebel, linux, devicetree, imx, linux-arm-kernel,
linux-kernel
From: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Add missing alias for SPI controllers.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
index d3a9360b8c548..97726eded0f86 100644
--- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa-mb-smarc-2.dts
@@ -39,6 +39,8 @@ aliases {
serial5 = &lpuart6;
serial6 = &lpuart7;
serial7 = &lpuart8;
+ spi0 = &flexspi1;
+ spi1 = &lpspi3;
};
chosen {
--
2.43.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [PATCH 00/19] TQMa95xxSA DT fixes and cleanup
2025-10-30 12:49 [PATCH 00/19] TQMa95xxSA DT fixes and cleanup Alexander Stein
` (10 preceding siblings ...)
2025-10-30 13:52 ` [PATCH 11/19] arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c Alexander Stein
@ 2025-11-16 10:06 ` Shawn Guo
11 siblings, 0 replies; 21+ messages in thread
From: Shawn Guo @ 2025-11-16 10:06 UTC (permalink / raw)
To: Alexander Stein
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, linux,
devicetree, imx, linux-arm-kernel, linux-kernel
On Thu, Oct 30, 2025 at 01:49:07PM +0100, Alexander Stein wrote:
> Alexander Stein (14):
> arm64: dts: imx95-tqma9596sa: reduce maximum FlexSPI frequency to
> 66MHz
> arm64: dts: imx95-tqma9596sa: increase flexspi slew rate
> arm64: dts: imx95-tqma9596sa: move flexcan pinctrl to SOM
> arm64: dts: imx95-tqma9596sa: move lpspi3 pinctrl to SOM
> arm64: dts: imx95-tqma9596sa: move sai config to SOM
> arm64: dts: imx95-tqma9596sa: move pcie config to SOM
> arm64: dts: imx95-tqma9596sa: update pcie config
> arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for flexspi
> arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for i2c
> arm64: dts: imx95-tqma9596sa: remove superfluous pinmux for usdhci
> arm64: dts: imx95-tqma9596sa: add gpio bus recovery for i2c
> arm64: dts: imx95-tqma9596sa: whitespace fixes
> arm64: dts: imx95-tqma9596sa-mb-smarc-2: Add MicIn routing
> arm64: dts: imx95-tqma9596sa-mb-smarc-2: mark LPUART1 as reserved
>
> Markus Niebel (5):
> arm64: dts: imx95-tqma9596sa: fix TPM5 pinctrl node name
> arm64: dts: imx95-tqma9596sa: move USDHC2 config to SOM
> arm64: dts: imx95-tqma9596sa: add EEPROM pagesize
> arm64: dts: imx95-tqma9596sa-mb-smarc-2: remove superfluous line
> arm64: dts: imx95-tqma9596sa-mb-smarc-2: add aliases for SPI
Applied all, thanks!
^ permalink raw reply [flat|nested] 21+ messages in thread