ARM: dts: imx6sl-tolino-shine2hd: add second uart
authorAndreas Kemnade <andreas@kemnade.info>
Tue, 12 Jan 2021 23:15:46 +0000 (00:15 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 18 Jan 2021 07:07:16 +0000 (15:07 +0800)
There is another uart next to the console uart used by vendor uboot and
kernel, enable it and document its location.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts

index e17c75c360f234f7cba47a1d4514b66012af7ec7..6ea5f918d0593d6902b7c29b466952654f994a3c 100644 (file)
                        MX6SL_PAD_KEY_ROW7__GPIO4_IO07          0x79
                        MX6SL_PAD_ECSPI2_MOSI__GPIO4_IO13       0x79
                        MX6SL_PAD_KEY_COL5__GPIO4_IO02          0x79
-                       MX6SL_PAD_KEY_ROW6__GPIO4_IO05          0x79
                >;
        };
 
                >;
        };
 
+       pinctrl_uart4: uart4grp {
+               fsl,pins = <
+                       MX6SL_PAD_KEY_ROW6__UART4_TX_DATA 0x1b0b1
+                       MX6SL_PAD_KEY_COL6__UART4_RX_DATA 0x1b0b1
+               >;
+       };
+
        pinctrl_usbotg1: usbotg1grp {
                fsl,pins = <
                        MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059
        status = "okay";
 };
 
+&uart4 {
+       /* TP198, next to J4, SMD pads */
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart4>;
+       status = "okay";
+};
+
 &usdhc2 {
        pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
        pinctrl-0 = <&pinctrl_usdhc2>;