diff options
author | Peter Rosin <peda@axentia.se> | 2018-03-21 16:35:50 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-21 21:46:59 +0100 |
commit | 5e04822f7db504cd2cdc9074bc79c84657222567 (patch) | |
tree | 3675e87591cdca02b358ca0876552a4b691a69ed /arch/arm/boot/dts/sama5d4.dtsi | |
parent | e8fd0adf105e132fd84545997bbef3d5edc2c9c1 (diff) | |
download | linux-5e04822f7db504cd2cdc9074bc79c84657222567.tar.bz2 |
ARM: dts: at91: fixes uart pinctrl, set pullup on rx, clear pullup on tx
Remove pullup on uart TX signals, they are push-pull outputs thus
pullups are pointless.
Add pullup on uart RX signals, they prevent the RX signals to be left
floating and so consuming a useless extra amount of power in crowbarred
state if nothing is connected to RX.
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sama5d4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sama5d4.dtsi | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi index c7105096c623..0cf9beddd556 100644 --- a/arch/arm/boot/dts/sama5d4.dtsi +++ b/arch/arm/boot/dts/sama5d4.dtsi @@ -1926,8 +1926,8 @@ uart0 { pinctrl_uart0: uart0-0 { atmel,pins = - <AT91_PIOE 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* RXD */ - AT91_PIOE 30 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* TXD */ + <AT91_PIOE 29 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* RXD */ + AT91_PIOE 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* TXD */ >; }; }; @@ -1935,8 +1935,8 @@ uart1 { pinctrl_uart1: uart1-0 { atmel,pins = - <AT91_PIOC 25 AT91_PERIPH_C AT91_PINCTRL_NONE /* RXD */ - AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* TXD */ + <AT91_PIOC 25 AT91_PERIPH_C AT91_PINCTRL_PULL_UP /* RXD */ + AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_NONE /* TXD */ >; }; }; @@ -1944,8 +1944,8 @@ usart0 { pinctrl_usart0: usart0-0 { atmel,pins = - <AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* RXD */ - AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* TXD */ + <AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* RXD */ + AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* TXD */ >; }; pinctrl_usart0_rts: usart0_rts-0 { @@ -1959,8 +1959,8 @@ usart1 { pinctrl_usart1: usart1-0 { atmel,pins = - <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* RXD */ - AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* TXD */ + <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* RXD */ + AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* TXD */ >; }; pinctrl_usart1_rts: usart1_rts-0 { @@ -1974,8 +1974,8 @@ usart2 { pinctrl_usart2: usart2-0 { atmel,pins = - <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* RXD - conflicts with G0_CRS, ISI_HSYNC */ - AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* TXD - conflicts with G0_COL, PCK2 */ + <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* RXD - conflicts with G0_CRS, ISI_HSYNC */ + AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE /* TXD - conflicts with G0_COL, PCK2 */ >; }; pinctrl_usart2_rts: usart2_rts-0 { @@ -1989,8 +1989,8 @@ usart3 { pinctrl_usart3: usart3-0 { atmel,pins = - <AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* RXD */ - AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* TXD */ + <AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* RXD */ + AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* TXD */ >; }; }; @@ -1998,8 +1998,8 @@ usart4 { pinctrl_usart4: usart4-0 { atmel,pins = - <AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_NONE /* RXD */ - AT91_PIOE 27 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* TXD */ + <AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* RXD */ + AT91_PIOE 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* TXD */ >; }; pinctrl_usart4_rts: usart4_rts-0 { |