Commit 90c40257 authored by Linus Walleij's avatar Linus Walleij

ARM: ux500: use symbolic names for interrupt flags

This switches to including <dt-bindings/interrupt-controller/irq.h>
and referencing the apropriate flags from there instead of
open-coding the flag numerals everywhere in the ux500 device
trees.
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 807e8838
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
* http://www.gnu.org/copyleft/gpl.html * http://www.gnu.org/copyleft/gpl.html
*/ */
#include <dt-bindings/interrupt-controller/irq.h>
#include "skeleton.dtsi" #include "skeleton.dtsi"
/ { / {
...@@ -31,33 +32,33 @@ intc: interrupt-controller@a0411000 { ...@@ -31,33 +32,33 @@ intc: interrupt-controller@a0411000 {
L2: l2-cache { L2: l2-cache {
compatible = "arm,pl310-cache"; compatible = "arm,pl310-cache";
reg = <0xa0412000 0x1000>; reg = <0xa0412000 0x1000>;
interrupts = <0 13 4>; interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>;
cache-unified; cache-unified;
cache-level = <2>; cache-level = <2>;
}; };
pmu { pmu {
compatible = "arm,cortex-a9-pmu"; compatible = "arm,cortex-a9-pmu";
interrupts = <0 7 0x4>; interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
}; };
timer@a0410600 { timer@a0410600 {
compatible = "arm,cortex-a9-twd-timer"; compatible = "arm,cortex-a9-twd-timer";
reg = <0xa0410600 0x20>; reg = <0xa0410600 0x20>;
interrupts = <1 13 0x304>; interrupts = <1 13 0x304>; /* IRQ level high per-CPU */
}; };
rtc@80154000 { rtc@80154000 {
compatible = "arm,rtc-pl031", "arm,primecell"; compatible = "arm,rtc-pl031", "arm,primecell";
reg = <0x80154000 0x1000>; reg = <0x80154000 0x1000>;
interrupts = <0 18 0x4>; interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
}; };
gpio0: gpio@8012e000 { gpio0: gpio@8012e000 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0x8012e000 0x80>; reg = <0x8012e000 0x80>;
interrupts = <0 119 0x4>; interrupts = <0 119 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -70,7 +71,7 @@ gpio1: gpio@8012e080 { ...@@ -70,7 +71,7 @@ gpio1: gpio@8012e080 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0x8012e080 0x80>; reg = <0x8012e080 0x80>;
interrupts = <0 120 0x4>; interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -83,7 +84,7 @@ gpio2: gpio@8000e000 { ...@@ -83,7 +84,7 @@ gpio2: gpio@8000e000 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0x8000e000 0x80>; reg = <0x8000e000 0x80>;
interrupts = <0 121 0x4>; interrupts = <0 121 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -96,7 +97,7 @@ gpio3: gpio@8000e080 { ...@@ -96,7 +97,7 @@ gpio3: gpio@8000e080 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0x8000e080 0x80>; reg = <0x8000e080 0x80>;
interrupts = <0 122 0x4>; interrupts = <0 122 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -109,7 +110,7 @@ gpio4: gpio@8000e100 { ...@@ -109,7 +110,7 @@ gpio4: gpio@8000e100 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0x8000e100 0x80>; reg = <0x8000e100 0x80>;
interrupts = <0 123 0x4>; interrupts = <0 123 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -122,7 +123,7 @@ gpio5: gpio@8000e180 { ...@@ -122,7 +123,7 @@ gpio5: gpio@8000e180 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0x8000e180 0x80>; reg = <0x8000e180 0x80>;
interrupts = <0 124 0x4>; interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -135,7 +136,7 @@ gpio6: gpio@8011e000 { ...@@ -135,7 +136,7 @@ gpio6: gpio@8011e000 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0x8011e000 0x80>; reg = <0x8011e000 0x80>;
interrupts = <0 125 0x4>; interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -148,7 +149,7 @@ gpio7: gpio@8011e080 { ...@@ -148,7 +149,7 @@ gpio7: gpio@8011e080 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0x8011e080 0x80>; reg = <0x8011e080 0x80>;
interrupts = <0 126 0x4>; interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -161,7 +162,7 @@ gpio8: gpio@a03fe000 { ...@@ -161,7 +162,7 @@ gpio8: gpio@a03fe000 {
compatible = "stericsson,db8500-gpio", compatible = "stericsson,db8500-gpio",
"st,nomadik-gpio"; "st,nomadik-gpio";
reg = <0xa03fe000 0x80>; reg = <0xa03fe000 0x80>;
interrupts = <0 127 0x4>; interrupts = <0 127 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
st,supports-sleepmode; st,supports-sleepmode;
...@@ -179,7 +180,7 @@ usb_per5@a03e0000 { ...@@ -179,7 +180,7 @@ usb_per5@a03e0000 {
compatible = "stericsson,db8500-musb", compatible = "stericsson,db8500-musb",
"mentor,musb"; "mentor,musb";
reg = <0xa03e0000 0x10000>; reg = <0xa03e0000 0x10000>;
interrupts = <0 23 0x4>; interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "mc"; interrupt-names = "mc";
dr_mode = "otg"; dr_mode = "otg";
...@@ -215,7 +216,7 @@ dma: dma-controller@801C0000 { ...@@ -215,7 +216,7 @@ dma: dma-controller@801C0000 {
compatible = "stericsson,db8500-dma40", "stericsson,dma40"; compatible = "stericsson,db8500-dma40", "stericsson,dma40";
reg = <0x801C0000 0x1000 0x40010000 0x800>; reg = <0x801C0000 0x1000 0x40010000 0x800>;
reg-names = "base", "lcpa"; reg-names = "base", "lcpa";
interrupts = <0 25 0x4>; interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <3>; #dma-cells = <3>;
memcpy-channels = <56 57 58 59 60>; memcpy-channels = <56 57 58 59 60>;
...@@ -225,7 +226,7 @@ prcmu: prcmu@80157000 { ...@@ -225,7 +226,7 @@ prcmu: prcmu@80157000 {
compatible = "stericsson,db8500-prcmu"; compatible = "stericsson,db8500-prcmu";
reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>; reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>;
reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm";
interrupts = <0 47 0x4>; interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
interrupt-controller; interrupt-controller;
...@@ -240,7 +241,8 @@ prcmu-timer-4@80157450 { ...@@ -240,7 +241,8 @@ prcmu-timer-4@80157450 {
thermal@801573c0 { thermal@801573c0 {
compatible = "stericsson,db8500-thermal"; compatible = "stericsson,db8500-thermal";
reg = <0x801573c0 0x40>; reg = <0x801573c0 0x40>;
interrupts = <21 0x4>, <22 0x4>; interrupts = <21 IRQ_TYPE_LEVEL_HIGH>,
<22 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH";
status = "disabled"; status = "disabled";
}; };
...@@ -354,21 +356,21 @@ db8500_esram34_ret_reg: db8500_esram34_ret { ...@@ -354,21 +356,21 @@ db8500_esram34_ret_reg: db8500_esram34_ret {
ab8500 { ab8500 {
compatible = "stericsson,ab8500"; compatible = "stericsson,ab8500";
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
interrupts = <0 40 0x4>; interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
ab8500-rtc { ab8500-rtc {
compatible = "stericsson,ab8500-rtc"; compatible = "stericsson,ab8500-rtc";
interrupts = <17 0x4 interrupts = <17 IRQ_TYPE_LEVEL_HIGH
18 0x4>; 18 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "60S", "ALARM"; interrupt-names = "60S", "ALARM";
}; };
ab8500-gpadc { ab8500-gpadc {
compatible = "stericsson,ab8500-gpadc"; compatible = "stericsson,ab8500-gpadc";
interrupts = <32 0x4 interrupts = <32 IRQ_TYPE_LEVEL_HIGH
39 0x4>; 39 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "HW_CONV_END", "SW_CONV_END"; interrupt-names = "HW_CONV_END", "SW_CONV_END";
vddadc-supply = <&ab8500_ldo_tvout_reg>; vddadc-supply = <&ab8500_ldo_tvout_reg>;
}; };
...@@ -401,13 +403,13 @@ ab8500_chargalg { ...@@ -401,13 +403,13 @@ ab8500_chargalg {
ab8500_usb { ab8500_usb {
compatible = "stericsson,ab8500-usb"; compatible = "stericsson,ab8500-usb";
interrupts = < 90 0x4 interrupts = < 90 IRQ_TYPE_LEVEL_HIGH
96 0x4 96 IRQ_TYPE_LEVEL_HIGH
14 0x4 14 IRQ_TYPE_LEVEL_HIGH
15 0x4 15 IRQ_TYPE_LEVEL_HIGH
79 0x4 79 IRQ_TYPE_LEVEL_HIGH
74 0x4 74 IRQ_TYPE_LEVEL_HIGH
75 0x4>; 75 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "ID_WAKEUP_R", interrupt-names = "ID_WAKEUP_R",
"ID_WAKEUP_F", "ID_WAKEUP_F",
"VBUS_DET_F", "VBUS_DET_F",
...@@ -422,8 +424,8 @@ ab8500_usb { ...@@ -422,8 +424,8 @@ ab8500_usb {
ab8500-ponkey { ab8500-ponkey {
compatible = "stericsson,ab8500-poweron-key"; compatible = "stericsson,ab8500-poweron-key";
interrupts = <6 0x4 interrupts = <6 IRQ_TYPE_LEVEL_HIGH
7 0x4>; 7 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "ONKEY_DBF", "ONKEY_DBR"; interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
}; };
...@@ -518,7 +520,7 @@ ab8500_ldo_ana_reg: ab8500_ldo_ana { ...@@ -518,7 +520,7 @@ ab8500_ldo_ana_reg: ab8500_ldo_ana {
i2c@80004000 { i2c@80004000 {
compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
reg = <0x80004000 0x1000>; reg = <0x80004000 0x1000>;
interrupts = <0 21 0x4>; interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
arm,primecell-periphid = <0x180024>; arm,primecell-periphid = <0x180024>;
#address-cells = <1>; #address-cells = <1>;
...@@ -531,7 +533,7 @@ i2c@80004000 { ...@@ -531,7 +533,7 @@ i2c@80004000 {
i2c@80122000 { i2c@80122000 {
compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
reg = <0x80122000 0x1000>; reg = <0x80122000 0x1000>;
interrupts = <0 22 0x4>; interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
arm,primecell-periphid = <0x180024>; arm,primecell-periphid = <0x180024>;
#address-cells = <1>; #address-cells = <1>;
...@@ -544,7 +546,7 @@ i2c@80122000 { ...@@ -544,7 +546,7 @@ i2c@80122000 {
i2c@80128000 { i2c@80128000 {
compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
reg = <0x80128000 0x1000>; reg = <0x80128000 0x1000>;
interrupts = <0 55 0x4>; interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
arm,primecell-periphid = <0x180024>; arm,primecell-periphid = <0x180024>;
#address-cells = <1>; #address-cells = <1>;
...@@ -557,7 +559,7 @@ i2c@80128000 { ...@@ -557,7 +559,7 @@ i2c@80128000 {
i2c@80110000 { i2c@80110000 {
compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
reg = <0x80110000 0x1000>; reg = <0x80110000 0x1000>;
interrupts = <0 12 0x4>; interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>;
arm,primecell-periphid = <0x180024>; arm,primecell-periphid = <0x180024>;
#address-cells = <1>; #address-cells = <1>;
...@@ -570,7 +572,7 @@ i2c@80110000 { ...@@ -570,7 +572,7 @@ i2c@80110000 {
i2c@8012a000 { i2c@8012a000 {
compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
reg = <0x8012a000 0x1000>; reg = <0x8012a000 0x1000>;
interrupts = <0 51 0x4>; interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
arm,primecell-periphid = <0x180024>; arm,primecell-periphid = <0x180024>;
#address-cells = <1>; #address-cells = <1>;
...@@ -583,7 +585,7 @@ i2c@8012a000 { ...@@ -583,7 +585,7 @@ i2c@8012a000 {
ssp@80002000 { ssp@80002000 {
compatible = "arm,pl022", "arm,primecell"; compatible = "arm,pl022", "arm,primecell";
reg = <0x80002000 0x1000>; reg = <0x80002000 0x1000>;
interrupts = <0 14 0x4>; interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -597,7 +599,7 @@ ssp@80002000 { ...@@ -597,7 +599,7 @@ ssp@80002000 {
uart@80120000 { uart@80120000 {
compatible = "arm,pl011", "arm,primecell"; compatible = "arm,pl011", "arm,primecell";
reg = <0x80120000 0x1000>; reg = <0x80120000 0x1000>;
interrupts = <0 11 0x4>; interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */ dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */
<&dma 13 0 0x0>; /* Logical - MemToDev */ <&dma 13 0 0x0>; /* Logical - MemToDev */
...@@ -609,7 +611,7 @@ uart@80120000 { ...@@ -609,7 +611,7 @@ uart@80120000 {
uart@80121000 { uart@80121000 {
compatible = "arm,pl011", "arm,primecell"; compatible = "arm,pl011", "arm,primecell";
reg = <0x80121000 0x1000>; reg = <0x80121000 0x1000>;
interrupts = <0 19 0x4>; interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */ dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */
<&dma 12 0 0x0>; /* Logical - MemToDev */ <&dma 12 0 0x0>; /* Logical - MemToDev */
...@@ -621,7 +623,7 @@ uart@80121000 { ...@@ -621,7 +623,7 @@ uart@80121000 {
uart@80007000 { uart@80007000 {
compatible = "arm,pl011", "arm,primecell"; compatible = "arm,pl011", "arm,primecell";
reg = <0x80007000 0x1000>; reg = <0x80007000 0x1000>;
interrupts = <0 26 0x4>; interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */ dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */
<&dma 11 0 0x0>; /* Logical - MemToDev */ <&dma 11 0 0x0>; /* Logical - MemToDev */
...@@ -633,7 +635,7 @@ uart@80007000 { ...@@ -633,7 +635,7 @@ uart@80007000 {
sdi0_per1@80126000 { sdi0_per1@80126000 {
compatible = "arm,pl18x", "arm,primecell"; compatible = "arm,pl18x", "arm,primecell";
reg = <0x80126000 0x1000>; reg = <0x80126000 0x1000>;
interrupts = <0 60 0x4>; interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */ dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */
<&dma 29 0 0x0>; /* Logical - MemToDev */ <&dma 29 0 0x0>; /* Logical - MemToDev */
...@@ -645,7 +647,7 @@ sdi0_per1@80126000 { ...@@ -645,7 +647,7 @@ sdi0_per1@80126000 {
sdi1_per2@80118000 { sdi1_per2@80118000 {
compatible = "arm,pl18x", "arm,primecell"; compatible = "arm,pl18x", "arm,primecell";
reg = <0x80118000 0x1000>; reg = <0x80118000 0x1000>;
interrupts = <0 50 0x4>; interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */ dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */
<&dma 32 0 0x0>; /* Logical - MemToDev */ <&dma 32 0 0x0>; /* Logical - MemToDev */
...@@ -657,7 +659,7 @@ sdi1_per2@80118000 { ...@@ -657,7 +659,7 @@ sdi1_per2@80118000 {
sdi2_per3@80005000 { sdi2_per3@80005000 {
compatible = "arm,pl18x", "arm,primecell"; compatible = "arm,pl18x", "arm,primecell";
reg = <0x80005000 0x1000>; reg = <0x80005000 0x1000>;
interrupts = <0 41 0x4>; interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */ dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */
<&dma 28 0 0x0>; /* Logical - MemToDev */ <&dma 28 0 0x0>; /* Logical - MemToDev */
...@@ -669,14 +671,14 @@ sdi2_per3@80005000 { ...@@ -669,14 +671,14 @@ sdi2_per3@80005000 {
sdi3_per2@80119000 { sdi3_per2@80119000 {
compatible = "arm,pl18x", "arm,primecell"; compatible = "arm,pl18x", "arm,primecell";
reg = <0x80119000 0x1000>; reg = <0x80119000 0x1000>;
interrupts = <0 59 0x4>; interrupts = <0 59 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
}; };
sdi4_per2@80114000 { sdi4_per2@80114000 {
compatible = "arm,pl18x", "arm,primecell"; compatible = "arm,pl18x", "arm,primecell";
reg = <0x80114000 0x1000>; reg = <0x80114000 0x1000>;
interrupts = <0 99 0x4>; interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */ dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */
<&dma 42 0 0x0>; /* Logical - MemToDev */ <&dma 42 0 0x0>; /* Logical - MemToDev */
...@@ -688,14 +690,14 @@ sdi4_per2@80114000 { ...@@ -688,14 +690,14 @@ sdi4_per2@80114000 {
sdi5_per3@80008000 { sdi5_per3@80008000 {
compatible = "arm,pl18x", "arm,primecell"; compatible = "arm,pl18x", "arm,primecell";
reg = <0x80008000 0x1000>; reg = <0x80008000 0x1000>;
interrupts = <0 100 0x4>; interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
}; };
msp0: msp@80123000 { msp0: msp@80123000 {
compatible = "stericsson,ux500-msp-i2s"; compatible = "stericsson,ux500-msp-i2s";
reg = <0x80123000 0x1000>; reg = <0x80123000 0x1000>;
interrupts = <0 31 0x4>; interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
v-ape-supply = <&db8500_vape_reg>; v-ape-supply = <&db8500_vape_reg>;
status = "disabled"; status = "disabled";
}; };
...@@ -703,7 +705,7 @@ msp0: msp@80123000 { ...@@ -703,7 +705,7 @@ msp0: msp@80123000 {
msp1: msp@80124000 { msp1: msp@80124000 {
compatible = "stericsson,ux500-msp-i2s"; compatible = "stericsson,ux500-msp-i2s";
reg = <0x80124000 0x1000>; reg = <0x80124000 0x1000>;
interrupts = <0 62 0x4>; interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>;
v-ape-supply = <&db8500_vape_reg>; v-ape-supply = <&db8500_vape_reg>;
status = "disabled"; status = "disabled";
}; };
...@@ -712,7 +714,7 @@ msp1: msp@80124000 { ...@@ -712,7 +714,7 @@ msp1: msp@80124000 {
msp2: msp@80117000 { msp2: msp@80117000 {
compatible = "stericsson,ux500-msp-i2s"; compatible = "stericsson,ux500-msp-i2s";
reg = <0x80117000 0x1000>; reg = <0x80117000 0x1000>;
interrupts = <0 98 0x4>; interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
v-ape-supply = <&db8500_vape_reg>; v-ape-supply = <&db8500_vape_reg>;
status = "disabled"; status = "disabled";
}; };
...@@ -720,7 +722,7 @@ msp2: msp@80117000 { ...@@ -720,7 +722,7 @@ msp2: msp@80117000 {
msp3: msp@80125000 { msp3: msp@80125000 {
compatible = "stericsson,ux500-msp-i2s"; compatible = "stericsson,ux500-msp-i2s";
reg = <0x80125000 0x1000>; reg = <0x80125000 0x1000>;
interrupts = <0 62 0x4>; interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>;
v-ape-supply = <&db8500_vape_reg>; v-ape-supply = <&db8500_vape_reg>;
status = "disabled"; status = "disabled";
}; };
...@@ -759,7 +761,7 @@ vmmci: regulator-gpio { ...@@ -759,7 +761,7 @@ vmmci: regulator-gpio {
cryp@a03cb000 { cryp@a03cb000 {
compatible = "stericsson,ux500-cryp"; compatible = "stericsson,ux500-cryp";
reg = <0xa03cb000 0x1000>; reg = <0xa03cb000 0x1000>;
interrupts = <0 15 0x4>; interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
v-ape-supply = <&db8500_vape_reg>; v-ape-supply = <&db8500_vape_reg>;
}; };
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
* http://www.gnu.org/copyleft/gpl.html * http://www.gnu.org/copyleft/gpl.html
*/ */
#include <dt-bindings/interrupt-controller/irq.h>
#include "dbx5x0.dtsi" #include "dbx5x0.dtsi"
/ { / {
...@@ -45,14 +46,14 @@ tc3589x@42 { ...@@ -45,14 +46,14 @@ tc3589x@42 {
compatible = "tc3589x"; compatible = "tc3589x";
reg = <0x42>; reg = <0x42>;
interrupt-parent = <&gpio6>; interrupt-parent = <&gpio6>;
interrupts = <25 0x1>; interrupts = <25 IRQ_TYPE_EDGE_RISING>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
tc3589x_gpio: tc3589x_gpio { tc3589x_gpio: tc3589x_gpio {
compatible = "tc3589x-gpio"; compatible = "tc3589x-gpio";
interrupts = <0 0x1>; interrupts = <0 IRQ_TYPE_EDGE_RISING>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -105,7 +105,7 @@ external-bus@50000000 { ...@@ -105,7 +105,7 @@ external-bus@50000000 {
ethernet@0 { ethernet@0 {
compatible = "smsc,lan9115"; compatible = "smsc,lan9115";
reg = <0 0x10000>; reg = <0 0x10000>;
interrupts = <12 0x1>; interrupts = <12 IRQ_TYPE_EDGE_RISING>;
interrupt-parent = <&gpio4>; interrupt-parent = <&gpio4>;
vdd33a-supply = <&en_3v3_reg>; vdd33a-supply = <&en_3v3_reg>;
vddvario-supply = <&db8500_vape_reg>; vddvario-supply = <&db8500_vape_reg>;
......
...@@ -9,13 +9,15 @@ ...@@ -9,13 +9,15 @@
* http://www.gnu.org/copyleft/gpl.html * http://www.gnu.org/copyleft/gpl.html
*/ */
#include <dt-bindings/interrupt-controller/irq.h>
/ { / {
soc { soc {
i2c@80004000 { i2c@80004000 {
stmpe1601: stmpe1601@40 { stmpe1601: stmpe1601@40 {
compatible = "st,stmpe1601"; compatible = "st,stmpe1601";
reg = <0x40>; reg = <0x40>;
interrupts = <26 0x2>; interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
interrupt-parent = <&gpio6>; interrupt-parent = <&gpio6>;
interrupt-controller; interrupt-controller;
......
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