ARM: dts: mmp*: Fix up encoding of the /rtc interrupts property
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 19 Apr 2020 17:11:50 +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:

  mmp3-dell-ariel.dt.yaml: rtc@d4010000: interrupts: [[1, 0]] 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/mmp2.dtsi
arch/arm/boot/dts/mmp3.dtsi

index da10567b5aca6ae258f0685c7522a036c66bf4f2..4306f3a6742bfa730ffd9f04d6fa15e4715f4a76 100644 (file)
                        rtc: rtc@d4010000 {
                                compatible = "mrvl,mmp-rtc";
                                reg = <0xd4010000 0x1000>;
-                               interrupts = <1 0>;
+                               interrupts = <1>, <0>;
                                interrupt-names = "rtc 1Hz", "rtc alarm";
                                interrupt-parent = <&intcmux5>;
                                clocks = <&soc_clocks MMP2_CLK_RTC>;
index 9b5087a95e736861badbfc6d59829492243f0455..3ac5e4e86e56d3b7b1f6d3123be2d9555c4b0388 100644 (file)
                        rtc: rtc@d4010000 {
                                compatible = "mrvl,mmp-rtc";
                                reg = <0xd4010000 0x1000>;
-                               interrupts = <1 0>;
+                               interrupts = <1>, <0>;
                                interrupt-names = "rtc 1Hz", "rtc alarm";
                                interrupt-parent = <&rtc_mux>;
                                clocks = <&soc_clocks MMP2_CLK_RTC>;