]> git.sur5r.net Git - u-boot/commitdiff
arm: imx: add tzic interrupt controller for imx53
authorPatrick Bruenn <p.bruenn@beckhoff.com>
Mon, 11 Dec 2017 12:09:14 +0000 (13:09 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 29 Dec 2017 10:18:59 +0000 (11:18 +0100)
Since commit 999a78d5cf00 ("scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110")
dtc warns about:
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips@50000000/serial@53fc0000
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips@50000000/ccm@53fd4000
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips@50000000/gpio@53fe4000
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips@60000000/sdma@63fb0000
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips@60000000/ethernet@63fec000

Fix this by adding a node for the tzic interrupt controller.
Copied from "<Linux>/arch/arm/boot/dts/imx53.dts"

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/dts/imx53.dtsi

index 1bdf0668a54b7534b5411e4e0ae6fdb3f333bebe..f68e88585e42d84fa7c40eb2fa213a3c8c89bf4e 100644 (file)
                serial1 = &uart2;
        };
 
+       tzic: tz-interrupt-controller@fffc000 {
+               compatible = "fsl,imx53-tzic", "fsl,tzic";
+               interrupt-controller;
+               #interrupt-cells = <1>;
+               reg = <0x0fffc000 0x4000>;
+       };
+
        soc {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "simple-bus";
+               interrupt-parent = <&tzic>;
                ranges;
 
                aips@50000000 { /* AIPS1 */