arm64: dts: freescale: imx9[135]-toradex-osm-dev: Fix SDIO_B interface
Subsystems (2)
cover arm64: dts: freescale: imx9[135]-toradex-osm-dev: Fix SDIO_B interface
From: Francesco Dolcini <[email protected]>
On the OSM Development Board, OSM SDIO_B goes to the M.2 Key E slot for a Wi-Fi/Bluetooth module. The slot has no card detect signal, its supply is not software controlled, and the SDIO_B signals are fixed at 1.8V.
This was noticed from an anomalous interrupt rate on an idle system:
with the slot empty, mmc2 fired about 45 interrupts per second, because the empty slot was polled every second.
Describe the slot as non-removable, keep the module powered in suspend, and add the fixed 1.8V I/O supply, on both the OSM iMX93/iMX91 and the OSM iMX95 variants of the board.
Francesco Dolcini (2):
arm64: dts: freescale: imx93-imx91-toradex-osm-dev: Fix SDIO_B
definition
arm64: dts: freescale: imx95-toradex-osm-dev: Fix SDIO_B definition
.../boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi | 1 + .../boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi | 3 +++ arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts | 3 +++ arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi | 1 + 4 files changed, 8 insertions(+)
Signature · 1 line
2.47.3
PATCH 1/2 arm64: dts: freescale: imx93-imx91-toradex-osm-dev: Fix SDIO_B definition
From: Francesco Dolcini <[email protected]>
On the OSM Development Board, SDIO_B goes to the M.2 Key E slot for a Wi-Fi/Bluetooth module. The slot has no card detect signal and M.2 modules are not hot-pluggable. The slot supply is not software controlled, so the module stays powered in suspend. The SDIO_B signals are fixed at 1.8V, supplied by the on-module +V1.8 rail.
Describe the slot as non-removable, keep the module powered in suspend, and add the fixed 1.8V I/O supply. Without this, the empty slot is polled every second.
--- .../boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi | 1 + .../boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi | 3 +++ 2 files changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-common.dtsi +1 -0
@@ -517,6 +517,7 @@ &usdhc3 { pinctrl-1 = <&pinctrl_sdio_b>; pinctrl-2 = <&pinctrl_sdio_b>; disable-wp; + vqmmc-supply = <®_1v8>; }; &wdog3 {
arch/arm64/boot/dts/freescale/imx93-imx91-toradex-osm-dev-common.dtsi +3 -0
@@ -316,5 +316,8 @@ &usdhc2 { /* OSM SDIO_B */ &usdhc3 { + keep-power-in-suspend; + non-removable; + status = "okay"; };
Signature · 1 line
2.47.3
PATCH 2/2 arm64: dts: freescale: imx95-toradex-osm-dev: Fix SDIO_B definition
In reply to Francesco DolciniFrom: Francesco Dolcini <[email protected]>
On the OSM Development Board, SDIO_B goes to the M.2 Key E slot for a Wi-Fi/Bluetooth module. The slot has no card detect signal and M.2 modules are not hot-pluggable. The slot supply is not software controlled, so the module stays powered in suspend. The SDIO_B signals are fixed at 1.8V, supplied by the on-module +V1.8 rail.
Describe the slot as non-removable, keep the module powered in suspend, and add the fixed 1.8V I/O supply. Without this, the empty slot is polled every second.
--- arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts | 3 +++ arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi | 1 + 2 files changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx95-toradex-osm-dev.dts +3 -0
@@ -401,5 +401,8 @@ &usdhc2 { /* OSM SDIO_B */ &usdhc3 { + keep-power-in-suspend; + non-removable; + status = "okay"; };
arch/arm64/boot/dts/freescale/imx95-toradex-osm.dtsi +1 -0
@@ -669,6 +669,7 @@ &usdhc3 { pinctrl-1 = <&pinctrl_sdio_b>; pinctrl-2 = <&pinctrl_sdio_b_200mhz>; disable-wp; + vqmmc-supply = <®_1p8v>; }; &wdog3 {
Signature · 1 line
2.47.3
[email protected]
AppliedFrom: Frank Li <[email protected]>
Quoted 11 lines · Francesco Dolcini
From: Francesco Dolcini <[email protected]>
On the OSM Development Board, OSM
SDIO_Bgoes to the M.2 Key E slot for a Wi-Fi/Bluetooth module. The slot has no card detect signal, its supply is not software controlled, and theSDIO_Bsignals are fixed at 1.8V.This was noticed from an anomalous interrupt rate on an idle system:
with the slot empty, mmc2 fired about 45 interrupts per second, because the empty slot was polled every second.[...]
Applied, thanks!
[1/2] arm64: dts: freescale: imx93-imx91-toradex-osm-dev: Fix SDIO_B definition
commit: a9f5577f21dbdd097f8bd0bade4777cbc2c5b804
[2/2] arm64: dts: freescale: imx95-toradex-osm-dev: Fix SDIO_B definition
commit: 25e472ca356c0395d7af26cb325b80bb09b2a183drop tag "freescale", every one know imx is chip of nxp.
Best regards,
--
Frank Li <[email protected]>