Commit 4e6ee336 authored by Patrice Chotard's avatar Patrice Chotard

ARM: dts: STiH407-pinctrl: Update gpio-cells to 2

This patch allows to use second parameter to the gpio
specifier, which is used to specify whether the gpio is
active high or low.
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 76c1c9cf
...@@ -58,7 +58,7 @@ pin-controller-sbc { ...@@ -58,7 +58,7 @@ pin-controller-sbc {
pio0: gpio@09610000 { pio0: gpio@09610000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x0 0x100>; reg = <0x0 0x100>;
...@@ -66,7 +66,7 @@ pio0: gpio@09610000 { ...@@ -66,7 +66,7 @@ pio0: gpio@09610000 {
}; };
pio1: gpio@09611000 { pio1: gpio@09611000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x1000 0x100>; reg = <0x1000 0x100>;
...@@ -74,7 +74,7 @@ pio1: gpio@09611000 { ...@@ -74,7 +74,7 @@ pio1: gpio@09611000 {
}; };
pio2: gpio@09612000 { pio2: gpio@09612000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x2000 0x100>; reg = <0x2000 0x100>;
...@@ -82,7 +82,7 @@ pio2: gpio@09612000 { ...@@ -82,7 +82,7 @@ pio2: gpio@09612000 {
}; };
pio3: gpio@09613000 { pio3: gpio@09613000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x3000 0x100>; reg = <0x3000 0x100>;
...@@ -90,7 +90,7 @@ pio3: gpio@09613000 { ...@@ -90,7 +90,7 @@ pio3: gpio@09613000 {
}; };
pio4: gpio@09614000 { pio4: gpio@09614000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x4000 0x100>; reg = <0x4000 0x100>;
...@@ -99,7 +99,7 @@ pio4: gpio@09614000 { ...@@ -99,7 +99,7 @@ pio4: gpio@09614000 {
pio5: gpio@09615000 { pio5: gpio@09615000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x5000 0x100>; reg = <0x5000 0x100>;
...@@ -380,7 +380,7 @@ pin-controller-front0 { ...@@ -380,7 +380,7 @@ pin-controller-front0 {
pio10: pio@09200000 { pio10: pio@09200000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x0 0x100>; reg = <0x0 0x100>;
...@@ -388,7 +388,7 @@ pio10: pio@09200000 { ...@@ -388,7 +388,7 @@ pio10: pio@09200000 {
}; };
pio11: pio@09201000 { pio11: pio@09201000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x1000 0x100>; reg = <0x1000 0x100>;
...@@ -396,7 +396,7 @@ pio11: pio@09201000 { ...@@ -396,7 +396,7 @@ pio11: pio@09201000 {
}; };
pio12: pio@09202000 { pio12: pio@09202000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x2000 0x100>; reg = <0x2000 0x100>;
...@@ -404,7 +404,7 @@ pio12: pio@09202000 { ...@@ -404,7 +404,7 @@ pio12: pio@09202000 {
}; };
pio13: pio@09203000 { pio13: pio@09203000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x3000 0x100>; reg = <0x3000 0x100>;
...@@ -412,7 +412,7 @@ pio13: pio@09203000 { ...@@ -412,7 +412,7 @@ pio13: pio@09203000 {
}; };
pio14: pio@09204000 { pio14: pio@09204000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x4000 0x100>; reg = <0x4000 0x100>;
...@@ -420,7 +420,7 @@ pio14: pio@09204000 { ...@@ -420,7 +420,7 @@ pio14: pio@09204000 {
}; };
pio15: pio@09205000 { pio15: pio@09205000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x5000 0x100>; reg = <0x5000 0x100>;
...@@ -428,7 +428,7 @@ pio15: pio@09205000 { ...@@ -428,7 +428,7 @@ pio15: pio@09205000 {
}; };
pio16: pio@09206000 { pio16: pio@09206000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x6000 0x100>; reg = <0x6000 0x100>;
...@@ -436,7 +436,7 @@ pio16: pio@09206000 { ...@@ -436,7 +436,7 @@ pio16: pio@09206000 {
}; };
pio17: pio@09207000 { pio17: pio@09207000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x7000 0x100>; reg = <0x7000 0x100>;
...@@ -444,7 +444,7 @@ pio17: pio@09207000 { ...@@ -444,7 +444,7 @@ pio17: pio@09207000 {
}; };
pio18: pio@09208000 { pio18: pio@09208000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x8000 0x100>; reg = <0x8000 0x100>;
...@@ -452,7 +452,7 @@ pio18: pio@09208000 { ...@@ -452,7 +452,7 @@ pio18: pio@09208000 {
}; };
pio19: pio@09209000 { pio19: pio@09209000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x9000 0x100>; reg = <0x9000 0x100>;
...@@ -932,7 +932,7 @@ pin-controller-front1 { ...@@ -932,7 +932,7 @@ pin-controller-front1 {
pio20: pio@09210000 { pio20: pio@09210000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x0 0x100>; reg = <0x0 0x100>;
...@@ -965,7 +965,7 @@ pin-controller-rear { ...@@ -965,7 +965,7 @@ pin-controller-rear {
pio30: gpio@09220000 { pio30: gpio@09220000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x0 0x100>; reg = <0x0 0x100>;
...@@ -973,7 +973,7 @@ pio30: gpio@09220000 { ...@@ -973,7 +973,7 @@ pio30: gpio@09220000 {
}; };
pio31: gpio@09221000 { pio31: gpio@09221000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x1000 0x100>; reg = <0x1000 0x100>;
...@@ -981,7 +981,7 @@ pio31: gpio@09221000 { ...@@ -981,7 +981,7 @@ pio31: gpio@09221000 {
}; };
pio32: gpio@09222000 { pio32: gpio@09222000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x2000 0x100>; reg = <0x2000 0x100>;
...@@ -989,7 +989,7 @@ pio32: gpio@09222000 { ...@@ -989,7 +989,7 @@ pio32: gpio@09222000 {
}; };
pio33: gpio@09223000 { pio33: gpio@09223000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x3000 0x100>; reg = <0x3000 0x100>;
...@@ -997,7 +997,7 @@ pio33: gpio@09223000 { ...@@ -997,7 +997,7 @@ pio33: gpio@09223000 {
}; };
pio34: gpio@09224000 { pio34: gpio@09224000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x4000 0x100>; reg = <0x4000 0x100>;
...@@ -1005,7 +1005,7 @@ pio34: gpio@09224000 { ...@@ -1005,7 +1005,7 @@ pio34: gpio@09224000 {
}; };
pio35: gpio@09225000 { pio35: gpio@09225000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x5000 0x100>; reg = <0x5000 0x100>;
...@@ -1104,7 +1104,7 @@ pin-controller-flash { ...@@ -1104,7 +1104,7 @@ pin-controller-flash {
pio40: gpio@09230000 { pio40: gpio@09230000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0 0x100>; reg = <0 0x100>;
...@@ -1112,7 +1112,7 @@ pio40: gpio@09230000 { ...@@ -1112,7 +1112,7 @@ pio40: gpio@09230000 {
}; };
pio41: gpio@09231000 { pio41: gpio@09231000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x1000 0x100>; reg = <0x1000 0x100>;
...@@ -1120,7 +1120,7 @@ pio41: gpio@09231000 { ...@@ -1120,7 +1120,7 @@ pio41: gpio@09231000 {
}; };
pio42: gpio@09232000 { pio42: gpio@09232000 {
gpio-controller; gpio-controller;
#gpio-cells = <1>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x2000 0x100>; reg = <0x2000 0x100>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment