Skip to content

Commit

Permalink
dts: imx6ul-ts7250v3: use two cell for irqs
Browse files Browse the repository at this point in the history
Since polarity was added, we should use two cell by default and specify the polarity for our default IRQs
  • Loading branch information
markfeathers authored and ts-kris committed Apr 10, 2023
1 parent fad969c commit 9e356ea
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions arch/arm/boot/dts/imx6ul-ts7250v3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
reg = <0x0 0x50>;

interrupt-controller;
#interrupt-cells = <1>;
#interrupt-cells = <2>;

interrupt-parent = <&gpio5>;
interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
Expand Down Expand Up @@ -549,7 +549,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <0>;
interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
};

/* COM2 RS-232 */
Expand All @@ -564,7 +564,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <1>;
interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
};

/* COM3 RS-232 */
Expand All @@ -579,7 +579,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <2>;
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
};

/* COM2 RS-485 */
Expand All @@ -594,7 +594,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <3>;
interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
};

/* COM2 RS-422 */
Expand All @@ -609,7 +609,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <4>;
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
};

/* Mikrobus UART */
Expand All @@ -624,7 +624,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <5>;
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
};

fpga_uart6: serial@60 {
Expand All @@ -638,7 +638,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <6>;
interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
};

fpga_uart7: serial@70 {
Expand All @@ -652,7 +652,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <7>;
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
};

fpga_uart8: serial@80 {
Expand All @@ -666,7 +666,7 @@
fifo-size = <64>;
clock-frequency = <1843200>;
interrupt-parent = <&fpga_intc>;
interrupts = <8>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
};

opencores_spi0: spi@100 {
Expand All @@ -675,7 +675,7 @@
#size-cells = <0>;
reg = <0x100 32>;
interrupt-parent = <&fpga_intc>;
interrupts = <9>;
interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&fpga_clk_weim_bclk>;
clock-names = "spi-oc-clk";
opencores-spi,idx = <0>;
Expand Down Expand Up @@ -710,7 +710,7 @@
#size-cells = <0>;
reg = <0x120 32>;
interrupt-parent = <&fpga_intc>;
interrupts = <10>;
interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&fpga_clk_weim_bclk>;
clock-names = "spi-oc-clk";
opencores-spi,idx = <0>;
Expand All @@ -727,14 +727,14 @@
compatible = "technologic,ts-simple-adc";
reg = <0x180 4>;
interrupt-parent = <&fpga_intc>;
interrupts = <19>;
interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
};

mikro_i2c: mikro_i2c@188 {
compatible = "opencores,i2c-ocores";
reg = <0x188 16>;
interrupt-parent = <&fpga_intc>;
interrupts = <20>;
interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&fpga_clk_weim_bclk>;
clock-names = "i2c-oc-clk";
reg-io-width = <1>;
Expand Down

0 comments on commit 9e356ea

Please sign in to comment.