Commit ca60985c authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Jason Cooper

ARM: mvebu: use correct #interrupt-cells instead of #interrupts-cells

The Device Tree information for the GPIO banks of the Armada 370 and
Armada XP SOCs was incorrectly using #interrupts-cells instead of
controller when using GPIO interrupts, since the GPIO bank DT node
wasn't recognized as a valid interrupt controller by the OF code.
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent eee47b7c
...@@ -78,7 +78,7 @@ gpio0: gpio@18100 { ...@@ -78,7 +78,7 @@ gpio0: gpio@18100 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <82>, <83>, <84>, <85>; interrupts = <82>, <83>, <84>, <85>;
}; };
...@@ -89,7 +89,7 @@ gpio1: gpio@18140 { ...@@ -89,7 +89,7 @@ gpio1: gpio@18140 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <87>, <88>, <89>, <90>; interrupts = <87>, <88>, <89>, <90>;
}; };
...@@ -100,7 +100,7 @@ gpio2: gpio@18180 { ...@@ -100,7 +100,7 @@ gpio2: gpio@18180 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <91>; interrupts = <91>;
}; };
......
...@@ -63,7 +63,7 @@ gpio0: gpio@18100 { ...@@ -63,7 +63,7 @@ gpio0: gpio@18100 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <82>, <83>, <84>, <85>; interrupts = <82>, <83>, <84>, <85>;
}; };
...@@ -74,7 +74,7 @@ gpio1: gpio@18140 { ...@@ -74,7 +74,7 @@ gpio1: gpio@18140 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <87>, <88>, <89>; interrupts = <87>, <88>, <89>;
}; };
......
...@@ -64,7 +64,7 @@ gpio0: gpio@18100 { ...@@ -64,7 +64,7 @@ gpio0: gpio@18100 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <82>, <83>, <84>, <85>; interrupts = <82>, <83>, <84>, <85>;
}; };
...@@ -75,7 +75,7 @@ gpio1: gpio@18140 { ...@@ -75,7 +75,7 @@ gpio1: gpio@18140 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <87>, <88>, <89>, <90>; interrupts = <87>, <88>, <89>, <90>;
}; };
...@@ -86,7 +86,7 @@ gpio2: gpio@18180 { ...@@ -86,7 +86,7 @@ gpio2: gpio@18180 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <91>; interrupts = <91>;
}; };
......
...@@ -80,7 +80,7 @@ gpio0: gpio@18100 { ...@@ -80,7 +80,7 @@ gpio0: gpio@18100 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <82>, <83>, <84>, <85>; interrupts = <82>, <83>, <84>, <85>;
}; };
...@@ -91,7 +91,7 @@ gpio1: gpio@18140 { ...@@ -91,7 +91,7 @@ gpio1: gpio@18140 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <87>, <88>, <89>, <90>; interrupts = <87>, <88>, <89>, <90>;
}; };
...@@ -102,7 +102,7 @@ gpio2: gpio@18180 { ...@@ -102,7 +102,7 @@ gpio2: gpio@18180 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupts-cells = <2>; #interrupt-cells = <2>;
interrupts = <91>; interrupts = <91>;
}; };
......
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