arm64: dts: Add UART4 peripheral.
authorJosep Orga <jorga@somdevices.com>
Tue, 10 Jan 2023 17:15:19 +0000 (18:15 +0100)
committerJosep Orga <jorga@somdevices.com>
Tue, 10 Jan 2023 17:15:19 +0000 (18:15 +0100)
Signed-off-by: Josep Orga <jorga@somdevices.com>
arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi

index 3eaaf86..a6d8da9 100644 (file)
        status = "okay";
 };
 
+&uart4 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart4>;
+       assigned-clocks = <&clk IMX8MM_CLK_UART4>;
+       assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
+       status = "okay";
+};
+
 &usbotg1 {
        dr_mode = "otg";
        over-current-active-low;
                >;
        };
 
+       pinctrl_uart4: uart4grp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_UART4_RXD_UART4_DCE_RX                             0x140
+                       MX8MM_IOMUXC_UART4_TXD_UART4_DCE_TX                             0x140
+               >;
+       };
+
        pinctrl_usbotg1: usbotg1grp {
                fsl,pins = <
                        MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12              0x16