]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am335x-sl50: Enable UART1.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 16 Jan 2017 16:57:32 +0000 (17:57 +0100)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Jan 2017 18:34:21 +0000 (10:34 -0800)
The UART1 is connected to the infrared (IR) receiver module, so enable it
to be able to comunicate with it.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-sl50.dts

index 34f49001050de4b0d35cc56aea627121ddc24040..89ddf26b94d3923bbc1bef2d6dfd4fd78685ad49 100644 (file)
@@ -136,6 +136,13 @@ AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0)       /* uart0_txd.uart0_txd */
                >;
        };
 
+       uart1_pins: pinmux_uart1_pins {
+               pinctrl-single,pins = <
+                       AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0)       /* uart1_rxd.uart1_rxd */
+                       AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* uart1_txd.uart1_txd */
+               >;
+       };
+
        uart4_pins: pinmux_uart4_pins {
                pinctrl-single,pins = <
                        AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE6)       /* gpmc_wait0.uart4_rxd */
@@ -381,6 +388,12 @@ &uart0 {
        pinctrl-0 = <&uart0_pins>;
 };
 
+&uart1 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart1_pins>;
+};
+
 &uart4 {
        status = "okay";
        pinctrl-names = "default";