]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
BCM270X_DT: Enable AUX interrupt controller in DT
authorPhil Elwell <phil@raspberrypi.org>
Thu, 23 Mar 2017 17:08:44 +0000 (17:08 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:57 +0000 (12:07 +0200)
See: https://github.com/raspberrypi/linux/issues/1484
     https://github.com/raspberrypi/linux/issues/1573

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/arm/boot/dts/bcm283x.dtsi

index ee69fd481fabd22d8f45ecdcffacdbb185e11f55..278e7a94a79d01e600f85daa6ec86cd0e9653db8 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>;