ARM: dts: at91: fixes dbgu pinctrl, set pullup on rx, clear pullup on tx
Remove pullup on dbgu DTXD signal, it is a push-pull output thus the pullup is pointless. Add pullup on dbgu DRXD signal, it prevents the DRXD signal to be left floating and so consuming a useless extra amount of power in crowbarred state if nothing is externally connected to dbgu. Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
parent
3d9cc1ab76
commit
138c2b2f17
|
@ -481,8 +481,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A */
|
<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
|
||||||
AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA31 periph with pullup */
|
AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -412,8 +412,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A */
|
<AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
|
||||||
AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB15 periph with pullup */
|
AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -302,8 +302,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>,
|
<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
|
||||||
<AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
|
<AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -412,8 +412,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC30 periph A */
|
<AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
|
||||||
AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC31 periph with pullup */
|
AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -478,8 +478,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
|
<AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
|
||||||
AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB13 periph A */
|
AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -500,8 +500,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
|
<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
|
||||||
AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph with pullup */
|
AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -438,8 +438,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>,
|
<AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
|
||||||
<AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
|
<AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -460,8 +460,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
|
<AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
|
||||||
AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph A with pullup */
|
AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -549,8 +549,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB30 periph A */
|
<AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
|
||||||
AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB31 periph A with pullup */
|
AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1461,8 +1461,8 @@
|
||||||
dbgu {
|
dbgu {
|
||||||
pinctrl_dbgu: dbgu-0 {
|
pinctrl_dbgu: dbgu-0 {
|
||||||
atmel,pins =
|
atmel,pins =
|
||||||
<AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>, /* conflicts with D14 and TDI */
|
<AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* conflicts with D14 and TDI */
|
||||||
<AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with D15 and TDO */
|
AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* conflicts with D15 and TDO */
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue