diff options
author | Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> | 2022-03-25 10:06:09 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2022-04-21 14:03:15 +0300 |
commit | 2d983a375511bfd8dd2e8df0a3add9fe36484944 (patch) | |
tree | c4e2665337a3d09d667b00f7aafd3a0e55da7337 | |
parent | 60f68df3971b7314bdf7246ca548aac1c12401f5 (diff) | |
download | lwn-2d983a375511bfd8dd2e8df0a3add9fe36484944.tar.gz lwn-2d983a375511bfd8dd2e8df0a3add9fe36484944.zip |
ARM: dts: am335x: Guardian: Enable UART port two
* Add support for uart2 port
Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-12-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am335x-guardian.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-guardian.dts b/arch/arm/boot/dts/am335x-guardian.dts index fab844815065..9f60f5430f36 100644 --- a/arch/arm/boot/dts/am335x-guardian.dts +++ b/arch/arm/boot/dts/am335x-guardian.dts @@ -383,6 +383,12 @@ status = "okay"; }; +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + status = "okay"; +}; + &usb0 { dr_mode = "peripheral"; }; @@ -582,6 +588,15 @@ >; }; + uart2_pins: pinmux_uart2_pins { + pinctrl-single,pins = < + /* K18 uart2_rxd.mirx_txd */ + AM33XX_IOPAD(0x92c, PIN_INPUT_PULLUP | MUX_MODE1) + /* L18 uart2_txd.mirx_rxd */ + AM33XX_IOPAD(0x930, PIN_OUTPUT_PULLDOWN | MUX_MODE1) + >; + }; + nandflash_pins: pinmux_nandflash_pins { pinctrl-single,pins = < /* (U7) gpmc_ad0.gpmc_ad0 */ |