Commit 5401cc43 authored by Matt Porter's avatar Matt Porter Committed by Christian Daudt

ARM: dts: bcm281xx: use existing defines for irqs

Use the standard interrupt-controller and ARM GIC constants to
improve the readability of bcm281xx DT irq properties.
Signed-off-by: default avatarMatt Porter <matt.porter@linaro.org>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarChristian Daudt <csd@broadcom.com>
parent 74375653
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "skeleton.dtsi" #include "skeleton.dtsi"
/ { / {
...@@ -41,7 +44,7 @@ uart@3e000000 { ...@@ -41,7 +44,7 @@ uart@3e000000 {
status = "disabled"; status = "disabled";
reg = <0x3e000000 0x1000>; reg = <0x3e000000 0x1000>;
clock-frequency = <13000000>; clock-frequency = <13000000>;
interrupts = <0x0 67 0x4>; interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
}; };
...@@ -56,7 +59,7 @@ L2: l2-cache { ...@@ -56,7 +59,7 @@ L2: l2-cache {
timer@35006000 { timer@35006000 {
compatible = "bcm,kona-timer"; compatible = "bcm,kona-timer";
reg = <0x35006000 0x1000>; reg = <0x35006000 0x1000>;
interrupts = <0x0 7 0x4>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
......
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