MLK-16136-8 ARM64: dts: imx8mq: add 'endian' property for irqsteer
authorFancy Fang <chen.fang@nxp.com>
Fri, 4 Aug 2017 10:31:36 +0000 (18:31 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:24 +0000 (15:36 -0500)
The relationship between an interrupt and its
register and bit offset has two possible cases:

    .Littel Endian (LSB)
    .Big Endian (MSB)

So add 'endian' property to help irqsteer kernel
driver to configure interrupts correctly.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi

index b90b297..f09754a 100644 (file)
                interrupt-parent = <&gpc>;
                #interrupt-cells = <2>;
                nxp,irqsteer_chans = <2>;
+               nxp,endian = <1>;               /* MSB */
                clocks = <&clk IMX8MQ_CLK_DUMMY>;
                clock-names = "ipg";
        };