aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/db8500.dtsi
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-05-28 22:49:33 -0400
committerLee Jones <lee.jones@linaro.org>2012-07-13 04:14:37 -0400
commit732973c87fa48011d7f86230691686d53bf22548 (patch)
treece8acb94623b69a581cbffca45ad2f81ec002d58 /arch/arm/boot/dts/db8500.dtsi
parent215891eca1c17aceb4cd8d598659fa86f0f33f8d (diff)
ARM: ux500: Correctly reference IRQs supplied by the AB8500 from Device Tree
The AB8500 driver has now been provided with IRQ domain support. This means we can request IRQs from any of it's uses via Device Tree. This patch advertises the AB8500 as an Interrupt Controller and provides the correct calls in the format the driver expects. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/db8500.dtsi')
-rw-r--r--arch/arm/boot/dts/db8500.dtsi24
1 files changed, 13 insertions, 11 deletions
diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi
index 9669e7279683..d698bd8de609 100644
--- a/arch/arm/boot/dts/db8500.dtsi
+++ b/arch/arm/boot/dts/db8500.dtsi
@@ -312,24 +312,26 @@
312 compatible = "stericsson,ab8500"; 312 compatible = "stericsson,ab8500";
313 reg = <5>; /* mailbox 5 is i2c */ 313 reg = <5>; /* mailbox 5 is i2c */
314 interrupts = <0 40 0x4>; 314 interrupts = <0 40 0x4>;
315 interrupt-controller;
316 #interrupt-cells = <2>;
315 317
316 ab8500-gpadc { 318 ab8500-gpadc {
317 compatible = "stericsson,ab8500-gpadc"; 319 compatible = "stericsson,ab8500-gpadc";
318 interrupts = <0 32 0x4 320 interrupts = <32 0x4
319 0 39 0x4>; 321 39 0x4>;
320 interrupt-names = "HW_CONV_END", "SW_CONV_END"; 322 interrupt-names = "HW_CONV_END", "SW_CONV_END";
321 vddadc-supply = <&ab8500_ldo_tvout_reg>; 323 vddadc-supply = <&ab8500_ldo_tvout_reg>;
322 }; 324 };
323 325
324 ab8500-usb { 326 ab8500-usb {
325 compatible = "stericsson,ab8500-usb"; 327 compatible = "stericsson,ab8500-usb";
326 interrupts = < 0 90 0x4 328 interrupts = < 90 0x4
327 0 96 0x4 329 96 0x4
328 0 14 0x4 330 14 0x4
329 0 15 0x4 331 15 0x4
330 0 79 0x4 332 79 0x4
331 0 74 0x4 333 74 0x4
332 0 75 0x4>; 334 75 0x4>;
333 interrupt-names = "ID_WAKEUP_R", 335 interrupt-names = "ID_WAKEUP_R",
334 "ID_WAKEUP_F", 336 "ID_WAKEUP_F",
335 "VBUS_DET_F", 337 "VBUS_DET_F",
@@ -344,8 +346,8 @@
344 346
345 ab8500-ponkey { 347 ab8500-ponkey {
346 compatible = "stericsson,ab8500-ponkey"; 348 compatible = "stericsson,ab8500-ponkey";
347 interrupts = <0 6 0x4 349 interrupts = <6 0x4
348 0 7 0x4>; 350 7 0x4>;
349 interrupt-names = "ONKEY_DBF", "ONKEY_DBR"; 351 interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
350 }; 352 };
351 353