ARM: dts: pxa*: Fix up encoding of the /rtc interrupts property
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 19 Apr 2020 17:11:49 +0000 (19:11 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 21 May 2020 21:31:44 +0000 (23:31 +0200)
This way the device tree validator learns that each cell of the property
constitutes a separate item. Otherwise it gets unnecessairly upset:

  pxa168-aspenite.dt.yaml: rtc@d4010000: interrupts: [[5, 6]] is too short
  pxa910-dkb.dt.yaml: rtc@d4010000: interrupts: [[5, 6]] is too short

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/pxa168.dtsi
arch/arm/boot/dts/pxa910.dtsi

index 550cd37..4fe7735 100644 (file)
                        rtc: rtc@d4010000 {
                                compatible = "mrvl,mmp-rtc";
                                reg = <0xd4010000 0x1000>;
-                               interrupts = <5 6>;
+                               interrupts = <5>, <6>;
                                interrupt-names = "rtc 1Hz", "rtc alarm";
                                clocks = <&soc_clocks PXA168_CLK_RTC>;
                                resets = <&soc_clocks PXA168_CLK_RTC>;
index f59f593..352a393 100644 (file)
                        rtc: rtc@d4010000 {
                                compatible = "mrvl,mmp-rtc";
                                reg = <0xd4010000 0x1000>;
-                               interrupts = <5 6>;
+                               interrupts = <5>, <6>;
                                interrupt-names = "rtc 1Hz", "rtc alarm";
                                clocks = <&soc_clocks PXA910_CLK_RTC>;
                                resets = <&soc_clocks PXA910_CLK_RTC>;