diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-11-09 07:23:55 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-10 03:27:07 -0500 |
commit | 77e2d7e27e9842a1141a624bfbb53ebce1c9e3e1 (patch) | |
tree | d4aa986eae2309bdaf9de4fb078858018e633253 | |
parent | 5f75e73c376c247a2c7bbe6f3fa3901b2d8f1a9c (diff) |
ARM: shmobile: Use interrupt macros in board DT files
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/boot/dts/r8a73a4-ape6evm.dts | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7778-bockw-reference.dts | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7779-marzen-reference.dts | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts index 7db8d79fb93c..e84d1a7db66e 100644 --- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts +++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | /dts-v1/; | 11 | /dts-v1/; |
12 | #include "r8a73a4.dtsi" | 12 | #include "r8a73a4.dtsi" |
13 | #include <dt-bindings/interrupt-controller/irq.h> | ||
13 | 14 | ||
14 | / { | 15 | / { |
15 | model = "APE6EVM"; | 16 | model = "APE6EVM"; |
@@ -40,7 +41,7 @@ | |||
40 | compatible = "smsc,lan9118", "smsc,lan9115"; | 41 | compatible = "smsc,lan9118", "smsc,lan9115"; |
41 | reg = <0x08000000 0x1000>; | 42 | reg = <0x08000000 0x1000>; |
42 | interrupt-parent = <&irqc1>; | 43 | interrupt-parent = <&irqc1>; |
43 | interrupts = <8 0x4>; | 44 | interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; |
44 | phy-mode = "mii"; | 45 | phy-mode = "mii"; |
45 | reg-io-width = <4>; | 46 | reg-io-width = <4>; |
46 | smsc,irq-active-high; | 47 | smsc,irq-active-high; |
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts index c7c5bcb893ca..aef425faf731 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | |||
@@ -11,6 +11,7 @@ | |||
11 | /dts-v1/; | 11 | /dts-v1/; |
12 | #include "r8a7740.dtsi" | 12 | #include "r8a7740.dtsi" |
13 | #include <dt-bindings/gpio/gpio.h> | 13 | #include <dt-bindings/gpio/gpio.h> |
14 | #include <dt-bindings/interrupt-controller/irq.h> | ||
14 | #include <dt-bindings/pwm/pwm.h> | 15 | #include <dt-bindings/pwm/pwm.h> |
15 | 16 | ||
16 | / { | 17 | / { |
@@ -94,7 +95,7 @@ | |||
94 | compatible = "sitronix,st1232"; | 95 | compatible = "sitronix,st1232"; |
95 | reg = <0x55>; | 96 | reg = <0x55>; |
96 | interrupt-parent = <&irqpin1>; | 97 | interrupt-parent = <&irqpin1>; |
97 | interrupts = <2 0>; /* IRQ10: hwirq 2 on irqpin1 */ | 98 | interrupts = <2 IRQ_TYPE_NONE>; /* IRQ10: hwirq 2 on irqpin1 */ |
98 | pinctrl-0 = <&st1232_pins>; | 99 | pinctrl-0 = <&st1232_pins>; |
99 | pinctrl-names = "default"; | 100 | pinctrl-names = "default"; |
100 | gpios = <&pfc 166 GPIO_ACTIVE_LOW>; | 101 | gpios = <&pfc 166 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts index be9b75377f3e..2000cf861243 100644 --- a/arch/arm/boot/dts/r8a7778-bockw-reference.dts +++ b/arch/arm/boot/dts/r8a7778-bockw-reference.dts | |||
@@ -16,6 +16,7 @@ | |||
16 | 16 | ||
17 | /dts-v1/; | 17 | /dts-v1/; |
18 | #include "r8a7778.dtsi" | 18 | #include "r8a7778.dtsi" |
19 | #include <dt-bindings/interrupt-controller/irq.h> | ||
19 | 20 | ||
20 | / { | 21 | / { |
21 | model = "bockw"; | 22 | model = "bockw"; |
@@ -45,7 +46,7 @@ | |||
45 | 46 | ||
46 | phy-mode = "mii"; | 47 | phy-mode = "mii"; |
47 | interrupt-parent = <&irqpin>; | 48 | interrupt-parent = <&irqpin>; |
48 | interrupts = <0 0>; /* IRQ0: hwirq 0 on irqpin */ | 49 | interrupts = <0 IRQ_TYPE_NONE>; /* IRQ0: hwirq 0 on irqpin */ |
49 | reg-io-width = <4>; | 50 | reg-io-width = <4>; |
50 | vddvario-supply = <&fixedregulator3v3>; | 51 | vddvario-supply = <&fixedregulator3v3>; |
51 | vdd33a-supply = <&fixedregulator3v3>; | 52 | vdd33a-supply = <&fixedregulator3v3>; |
diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts b/arch/arm/boot/dts/r8a7779-marzen-reference.dts index 08b9ee37ad2f..0f5c6141a2dc 100644 --- a/arch/arm/boot/dts/r8a7779-marzen-reference.dts +++ b/arch/arm/boot/dts/r8a7779-marzen-reference.dts | |||
@@ -12,6 +12,7 @@ | |||
12 | /dts-v1/; | 12 | /dts-v1/; |
13 | #include "r8a7779.dtsi" | 13 | #include "r8a7779.dtsi" |
14 | #include <dt-bindings/gpio/gpio.h> | 14 | #include <dt-bindings/gpio/gpio.h> |
15 | #include <dt-bindings/interrupt-controller/irq.h> | ||
15 | 16 | ||
16 | / { | 17 | / { |
17 | model = "marzen"; | 18 | model = "marzen"; |
@@ -43,7 +44,7 @@ | |||
43 | 44 | ||
44 | phy-mode = "mii"; | 45 | phy-mode = "mii"; |
45 | interrupt-parent = <&irqpin0>; | 46 | interrupt-parent = <&irqpin0>; |
46 | interrupts = <1 0>; /* IRQ1: hwirq 1 on irqpin0 */ | 47 | interrupts = <1 IRQ_TYPE_NONE>; /* IRQ1: hwirq 1 on irqpin0 */ |
47 | reg-io-width = <4>; | 48 | reg-io-width = <4>; |
48 | vddvario-supply = <&fixedregulator3v3>; | 49 | vddvario-supply = <&fixedregulator3v3>; |
49 | vdd33a-supply = <&fixedregulator3v3>; | 50 | vdd33a-supply = <&fixedregulator3v3>; |
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts index d5a6d74cdda0..605f6c627307 100644 --- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts +++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | |||
@@ -14,6 +14,7 @@ | |||
14 | /dts-v1/; | 14 | /dts-v1/; |
15 | #include "sh73a0.dtsi" | 15 | #include "sh73a0.dtsi" |
16 | #include <dt-bindings/gpio/gpio.h> | 16 | #include <dt-bindings/gpio/gpio.h> |
17 | #include <dt-bindings/interrupt-controller/irq.h> | ||
17 | 18 | ||
18 | / { | 19 | / { |
19 | model = "KZM-A9-GT"; | 20 | model = "KZM-A9-GT"; |
@@ -82,7 +83,7 @@ | |||
82 | reg = <0x10000000 0x100>; | 83 | reg = <0x10000000 0x100>; |
83 | phy-mode = "mii"; | 84 | phy-mode = "mii"; |
84 | interrupt-parent = <&irqpin0>; | 85 | interrupt-parent = <&irqpin0>; |
85 | interrupts = <3 0>; /* active low */ | 86 | interrupts = <3 IRQ_TYPE_NONE>; /* active low */ |
86 | reg-io-width = <4>; | 87 | reg-io-width = <4>; |
87 | smsc,irq-push-pull; | 88 | smsc,irq-push-pull; |
88 | smsc,save-mac-address; | 89 | smsc,save-mac-address; |