Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: iomem: pinctrl: Move the comments to avoid copy-paste horrors
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
- Loading branch information
1 parent
54257f8
commit 1ac1462
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
/* Pins 21 (TX) and 22 (RX) of connector P9 */ | ||
uart2_pins: uart2_pins { | ||
pinctrl-single,pins = < | ||
AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE1) /* (A17) spi0_sclk.uart2_rxd */ | ||
AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* (B17) spi0_d0.uart2_txd */ | ||
/* (A17) spi0_sclk.uart2_rxd */ | ||
AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE1) | ||
/* (B17) spi0_d0.uart2_txd */ | ||
AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT_PULLDOWN, MUX_MODE1) | ||
>; | ||
}; | ||
|
||
/* Pins 11 (RX) and 13 (TX) of connector P9 */ | ||
uart4_pins: uart4_pins { | ||
pinctrl-single,pins = < | ||
AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE6) /* (T17) gpmc_wait0.uart4_rxd */ | ||
AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_OUTPUT_PULLDOWN, MUX_MODE6) /* (U17) gpmc_wpn.uart4_txd */ | ||
/* (T17) gpmc_wait0.uart4_rxd */ | ||
AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE6) | ||
/* (U17) gpmc_wpn.uart4_txd */ | ||
AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_OUTPUT_PULLDOWN, MUX_MODE6) | ||
>; | ||
}; |