Commit 8fea7d5a authored by Florian Vaussard's avatar Florian Vaussard Committed by Benoit Cousson

ARM: dts: OMAP4/5: Use existing constants for IRQs

Use the constants defined in include/dt-bindings/interrupt-controller/
to enhance readability.
Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@epfl.ch>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarBenoit Cousson <benoit.cousson@linaro.org>
parent 6d624eab
...@@ -165,16 +165,16 @@ &i2c1 { ...@@ -165,16 +165,16 @@ &i2c1 {
twl: twl@48 { twl: twl@48 {
reg = <0x48>; reg = <0x48>;
/* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ /* IRQ# = 7 */
interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
}; };
twl6040: twl@4b { twl6040: twl@4b {
compatible = "ti,twl6040"; compatible = "ti,twl6040";
reg = <0x4b>; reg = <0x4b>;
/* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */ /* IRQ# = 119 */
interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */ interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_2N cascaded to gic */
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */ ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
......
...@@ -306,7 +306,7 @@ &i2c1 { ...@@ -306,7 +306,7 @@ &i2c1 {
twl: twl@48 { twl: twl@48 {
reg = <0x48>; reg = <0x48>;
/* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
}; };
...@@ -314,7 +314,7 @@ twl6040: twl@4b { ...@@ -314,7 +314,7 @@ twl6040: twl@4b {
compatible = "ti,twl6040"; compatible = "ti,twl6040";
reg = <0x4b>; reg = <0x4b>;
/* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */ /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */ interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_2N cascaded to gic */
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */ ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
...@@ -395,7 +395,7 @@ eth@0 { ...@@ -395,7 +395,7 @@ eth@0 {
spi-max-frequency = <24000000>; spi-max-frequency = <24000000>;
reg = <0>; reg = <0>;
interrupt-parent = <&gpio2>; interrupt-parent = <&gpio2>;
interrupts = <2 8>; /* gpio line 34, low triggered */ interrupts = <2 IRQ_TYPE_LEVEL_LOW>; /* gpio line 34 */
vdd-supply = <&vdd_eth>; vdd-supply = <&vdd_eth>;
}; };
}; };
......
...@@ -34,7 +34,7 @@ &i2c1 { ...@@ -34,7 +34,7 @@ &i2c1 {
twl: twl@48 { twl: twl@48 {
reg = <0x48>; reg = <0x48>;
/* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
}; };
}; };
...@@ -68,7 +68,7 @@ eth@0 { ...@@ -68,7 +68,7 @@ eth@0 {
spi-max-frequency = <24000000>; spi-max-frequency = <24000000>;
reg = <0>; reg = <0>;
interrupt-parent = <&gpio6>; interrupt-parent = <&gpio6>;
interrupts = <11 8>; /* gpio line 171, low triggered */ interrupts = <11 IRQ_TYPE_LEVEL_LOW>; /* gpio line 171 */
vdd-supply = <&vdd_eth>; vdd-supply = <&vdd_eth>;
}; };
}; };
......
This diff is collapsed.
...@@ -25,8 +25,8 @@ cpu@0 { ...@@ -25,8 +25,8 @@ cpu@0 {
pmu { pmu {
compatible = "arm,cortex-a9-pmu"; compatible = "arm,cortex-a9-pmu";
interrupts = <0 54 0x4>, interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
<0 55 0x4>; <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "debugss"; ti,hwmods = "debugss";
}; };
}; };
This diff is collapsed.
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