Hi,
My goal is to enable the UART4 interface on the Verdin. Both the online UART article and the manual list that this uart is used a the debug port of the Cortex-M4, unless you properly modify the device tree.
My question is about properly modifying the device tree.
The device tree in the toradex git folder for the verdin has the following UART4 entry:
serial@30a60000 {
compatible = "fsl,imx8mm-uart\0fsl,imx6q-uart";
reg = <0x30a60000 0x10000>;
interrupts = <0x00 0x1d 0x04>;
clocks = <0x02 0xbf 0x02 0xbf>;
clock-names = "ipg\0per";
dmas = <0x2a 0x1c 0x04 0x00 0x2a 0x1d 0x04 0x00>;
dma-names = "rx\0tx";
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <0x3e>;
};
This is very similar to the other uart entries, besides the status being disabled. Updating the status to “okay” results in kernal panic during the boot sequency. I am wondering where it is specified that this is the debug interface for the Cortex-M4 and what modifications I should make to properly modify the device tree.