Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Peripherals/UART

1,029 bytes added, 15 April
no edit summary
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |DESK-MX8M-L-2.0.0 release
|-
! | style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000" |{{oldid|19171|2023/08/22}}| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |DESK-MX8M-L-4.0.0 release|-! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |2024/04/11! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |DESK-MX8M-L-4.01.0 release
|-
|}
Here below an example of device tree configuration used on standard DAVE's kit for the MITO 8M Mini SOM:
From <code>imx8mm-mito8mmini.dtsdtsi</code>:
<pre>
...
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1>;
assigned-clocks = <&clk IMX8MM_CLK_UART1>;
assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
fsl,uart-has-rtscts; status = "okaydisabled";
};
...
&iomuxc {
...
...
pinctrl_uart1_en: uart1_en {
fsl,pins = <
MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x19
>;
};
...
pinctrl_uart1: uart1grp {
...
</pre>
 
 
From <code>imx8mm-mito8mmini-sbcx.dts</code>:
 
<pre>
...
...
 
/ {
regulators: regulators {
...
...
/* enable ISL3330IAZ on SBCX at boot */
reg_uart1_en: uart1_en {
compatible = "regulator-fixed";
regulator-name = "uart1_en";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1_en>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
regulator-boot-on;
};
...
...
};
};
...
...
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1>;
fsl,uart-has-rtscts;
status = "okay";
};
...
...
&iomuxc {
...
...
pinctrl_uart1_en: uart1_en {
fsl,pins = <
MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x19
>;
};
 
...
...
</pre>
 
===Accessing the peripheral in ORCA SOM===
dave_user
417
edits