ARM: dts: STi: Fix pinconf setup for STiH416 serial2
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Tue, 9 Jul 2013 07:26:24 +0000 (08:26 +0100)
committerOlof Johansson <olof@lixom.net>
Tue, 23 Jul 2013 02:34:55 +0000 (19:34 -0700)
commit334ab91d5818256befbf083755d0bb9e7dbd2325
treefb6bcd718828cfbf41ba9f2a53ef9b763bc56d6c
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
ARM: dts: STi: Fix pinconf setup for STiH416 serial2

This patch fixes a bug in pinctrl setup of serial2 device, Some of the
pins in the pinctrl node of serial2 do not belong to that
pin-controller. This patch divides them in the pins into there
respective pin controller nodes.

Without this patch serial on StiH416-B2000 Board will not work as it
fails with:

"st-pinctrl pin-controller-rear.3: failed to get pin(99) name
st-pinctrl pin-controller-rear.3: maps: function serial2 group serial2-0
num 4
pinconfig core: failed to register map default (3): no group/pin given"

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/stih416-pinctrl.dtsi
arch/arm/boot/dts/stih416.dtsi