Commit 973b9324 authored by Patrice Chotard's avatar Patrice Chotard

ARM: dts: STiH416-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>
parent d9c12685
...@@ -58,7 +58,7 @@ pin-controller-sbc { ...@@ -58,7 +58,7 @@ pin-controller-sbc {
pio0: gpio@fe610000 { pio0: gpio@fe610000 {
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>;
...@@ -66,7 +66,7 @@ pio0: gpio@fe610000 { ...@@ -66,7 +66,7 @@ pio0: gpio@fe610000 {
}; };
pio1: gpio@fe611000 { pio1: gpio@fe611000 {
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@fe611000 { ...@@ -74,7 +74,7 @@ pio1: gpio@fe611000 {
}; };
pio2: gpio@fe612000 { pio2: gpio@fe612000 {
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@fe612000 { ...@@ -82,7 +82,7 @@ pio2: gpio@fe612000 {
}; };
pio3: gpio@fe613000 { pio3: gpio@fe613000 {
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@fe613000 { ...@@ -90,7 +90,7 @@ pio3: gpio@fe613000 {
}; };
pio4: gpio@fe614000 { pio4: gpio@fe614000 {
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>;
...@@ -98,7 +98,7 @@ pio4: gpio@fe614000 { ...@@ -98,7 +98,7 @@ pio4: gpio@fe614000 {
}; };
pio40: gpio@fe615000 { pio40: gpio@fe615000 {
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>;
...@@ -254,7 +254,7 @@ pin-controller-front { ...@@ -254,7 +254,7 @@ pin-controller-front {
pio5: gpio@fee00000 { pio5: gpio@fee00000 {
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>;
...@@ -262,7 +262,7 @@ pio5: gpio@fee00000 { ...@@ -262,7 +262,7 @@ pio5: gpio@fee00000 {
}; };
pio6: gpio@fee01000 { pio6: gpio@fee01000 {
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>;
...@@ -270,7 +270,7 @@ pio6: gpio@fee01000 { ...@@ -270,7 +270,7 @@ pio6: gpio@fee01000 {
}; };
pio7: gpio@fee02000 { pio7: gpio@fee02000 {
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>;
...@@ -278,7 +278,7 @@ pio7: gpio@fee02000 { ...@@ -278,7 +278,7 @@ pio7: gpio@fee02000 {
}; };
pio8: gpio@fee03000 { pio8: gpio@fee03000 {
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>;
...@@ -286,7 +286,7 @@ pio8: gpio@fee03000 { ...@@ -286,7 +286,7 @@ pio8: gpio@fee03000 {
}; };
pio9: gpio@fee04000 { pio9: gpio@fee04000 {
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>;
...@@ -294,7 +294,7 @@ pio9: gpio@fee04000 { ...@@ -294,7 +294,7 @@ pio9: gpio@fee04000 {
}; };
pio10: gpio@fee05000 { pio10: gpio@fee05000 {
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>;
...@@ -302,7 +302,7 @@ pio10: gpio@fee05000 { ...@@ -302,7 +302,7 @@ pio10: gpio@fee05000 {
}; };
pio11: gpio@fee06000 { pio11: gpio@fee06000 {
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>;
...@@ -310,7 +310,7 @@ pio11: gpio@fee06000 { ...@@ -310,7 +310,7 @@ pio11: gpio@fee06000 {
}; };
pio12: gpio@fee07000 { pio12: gpio@fee07000 {
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>;
...@@ -318,7 +318,7 @@ pio12: gpio@fee07000 { ...@@ -318,7 +318,7 @@ pio12: gpio@fee07000 {
}; };
pio30: gpio@fee08000 { pio30: gpio@fee08000 {
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>;
...@@ -326,7 +326,7 @@ pio30: gpio@fee08000 { ...@@ -326,7 +326,7 @@ pio30: gpio@fee08000 {
}; };
pio31: gpio@fee09000 { pio31: gpio@fee09000 {
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>;
...@@ -404,7 +404,7 @@ pin-controller-rear { ...@@ -404,7 +404,7 @@ pin-controller-rear {
pio13: gpio@fe820000 { pio13: gpio@fe820000 {
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>;
...@@ -412,7 +412,7 @@ pio13: gpio@fe820000 { ...@@ -412,7 +412,7 @@ pio13: gpio@fe820000 {
}; };
pio14: gpio@fe821000 { pio14: gpio@fe821000 {
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>;
...@@ -420,7 +420,7 @@ pio14: gpio@fe821000 { ...@@ -420,7 +420,7 @@ pio14: gpio@fe821000 {
}; };
pio15: gpio@fe822000 { pio15: gpio@fe822000 {
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>;
...@@ -428,7 +428,7 @@ pio15: gpio@fe822000 { ...@@ -428,7 +428,7 @@ pio15: gpio@fe822000 {
}; };
pio16: gpio@fe823000 { pio16: gpio@fe823000 {
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>;
...@@ -436,7 +436,7 @@ pio16: gpio@fe823000 { ...@@ -436,7 +436,7 @@ pio16: gpio@fe823000 {
}; };
pio17: gpio@fe824000 { pio17: gpio@fe824000 {
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>;
...@@ -444,7 +444,7 @@ pio17: gpio@fe824000 { ...@@ -444,7 +444,7 @@ pio17: gpio@fe824000 {
}; };
pio18: gpio@fe825000 { pio18: gpio@fe825000 {
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>;
...@@ -605,7 +605,7 @@ pin-controller-fvdp-fe { ...@@ -605,7 +605,7 @@ pin-controller-fvdp-fe {
pio100: gpio@fd6b0000 { pio100: gpio@fd6b0000 {
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>;
...@@ -613,7 +613,7 @@ pio100: gpio@fd6b0000 { ...@@ -613,7 +613,7 @@ pio100: gpio@fd6b0000 {
}; };
pio101: gpio@fd6b1000 { pio101: gpio@fd6b1000 {
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>;
...@@ -621,7 +621,7 @@ pio101: gpio@fd6b1000 { ...@@ -621,7 +621,7 @@ pio101: gpio@fd6b1000 {
}; };
pio102: gpio@fd6b2000 { pio102: gpio@fd6b2000 {
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>;
...@@ -642,7 +642,7 @@ pin-controller-fvdp-lite { ...@@ -642,7 +642,7 @@ pin-controller-fvdp-lite {
pio103: gpio@fd330000 { pio103: gpio@fd330000 {
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>;
...@@ -650,7 +650,7 @@ pio103: gpio@fd330000 { ...@@ -650,7 +650,7 @@ pio103: gpio@fd330000 {
}; };
pio104: gpio@fd331000 { pio104: gpio@fd331000 {
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>;
...@@ -658,7 +658,7 @@ pio104: gpio@fd331000 { ...@@ -658,7 +658,7 @@ pio104: gpio@fd331000 {
}; };
pio105: gpio@fd332000 { pio105: gpio@fd332000 {
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>;
...@@ -666,7 +666,7 @@ pio105: gpio@fd332000 { ...@@ -666,7 +666,7 @@ pio105: gpio@fd332000 {
}; };
pio106: gpio@fd333000 { pio106: gpio@fd333000 {
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>;
...@@ -675,7 +675,7 @@ pio106: gpio@fd333000 { ...@@ -675,7 +675,7 @@ pio106: gpio@fd333000 {
pio107: gpio@fd334000 { pio107: gpio@fd334000 {
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>;
......
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