Skip to content

Commit 4c76bd7

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
BCM270X_DT: Enable AUX interrupt controller in DT
See: #1484 #1573 Signed-off-by: Phil Elwell <[email protected]>
1 parent 87db97a commit 4c76bd7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

arch/arm/boot/dts/bcm283x.dtsi

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,20 +216,25 @@
216216
#clock-cells = <1>;
217217
reg = <0x7e215000 0x8>;
218218
clocks = <&clocks BCM2835_CLOCK_VPU>;
219+
interrupts = <1 29>;
220+
interrupt-controller;
221+
#interrupt-cells = <1>;
219222
};
220223

221224
uart1: serial@7e215040 {
222225
compatible = "brcm,bcm2835-aux-uart";
223226
reg = <0x7e215040 0x40>;
224-
interrupts = <1 29>;
227+
interrupt-parent = <&aux>;
228+
interrupts = <0>;
225229
clocks = <&aux BCM2835_AUX_CLOCK_UART>;
226230
status = "disabled";
227231
};
228232

229233
spi1: spi@7e215080 {
230234
compatible = "brcm,bcm2835-aux-spi";
231235
reg = <0x7e215080 0x40>;
232-
interrupts = <1 29>;
236+
interrupt-parent = <&aux>;
237+
interrupts = <1>;
233238
clocks = <&aux BCM2835_AUX_CLOCK_SPI1>;
234239
#address-cells = <1>;
235240
#size-cells = <0>;
@@ -239,7 +244,8 @@
239244
spi2: spi@7e2150c0 {
240245
compatible = "brcm,bcm2835-aux-spi";
241246
reg = <0x7e2150c0 0x40>;
242-
interrupts = <1 29>;
247+
interrupt-parent = <&aux>;
248+
interrupts = <2>;
243249
clocks = <&aux BCM2835_AUX_CLOCK_SPI2>;
244250
#address-cells = <1>;
245251
#size-cells = <0>;

0 commit comments

Comments
 (0)