BCM270X_DT: Enable AUX interrupt controller in DT
authorPhil Elwell <phil@raspberrypi.org>
Thu, 23 Mar 2017 17:08:44 +0000 (17:08 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:50:06 +0000 (15:50 +0100)
See: https://github.com/raspberrypi/linux/issues/1484
     https://github.com/raspberrypi/linux/issues/1573

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/bcm283x.dtsi

index d3cc586661f903e67a840189c0446aa80e16a44e..348c71bbc913644c04bab43fcb95abe9b6c9c640 100644 (file)
                        #clock-cells = <1>;
                        reg = <0x7e215000 0x8>;
                        clocks = <&clocks BCM2835_CLOCK_VPU>;
+                       interrupts = <1 29>;
+                       interrupt-controller;
+                       #interrupt-cells = <1>;
                };
 
                uart1: serial@7e215040 {
                        compatible = "brcm,bcm2835-aux-uart";
                        reg = <0x7e215040 0x40>;
-                       interrupts = <1 29>;
+                       interrupt-parent = <&aux>;
+                       interrupts = <0>;
                        clocks = <&aux BCM2835_AUX_CLOCK_UART>;
                        status = "disabled";
                };
                spi1: spi@7e215080 {
                        compatible = "brcm,bcm2835-aux-spi";
                        reg = <0x7e215080 0x40>;
-                       interrupts = <1 29>;
+                       interrupt-parent = <&aux>;
+                       interrupts = <1>;
                        clocks = <&aux BCM2835_AUX_CLOCK_SPI1>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                spi2: spi@7e2150c0 {
                        compatible = "brcm,bcm2835-aux-spi";
                        reg = <0x7e2150c0 0x40>;
-                       interrupts = <1 29>;
+                       interrupt-parent = <&aux>;
+                       interrupts = <2>;
                        clocks = <&aux BCM2835_AUX_CLOCK_SPI2>;
                        #address-cells = <1>;
                        #size-cells = <0>;