OSDN Git Service

MIPS: X1830: Respect cell count of common properties.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Sat, 26 Jun 2021 06:18:37 +0000 (14:18 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 30 Jun 2021 12:37:16 +0000 (14:37 +0200)
If N fields of X cells should be provided, then that's what the
devicetree should represent, instead of having one single field of
(N * X) cells.

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ingenic/x1830.dtsi

index b21c930..59ca3a8 100644 (file)
@@ -97,9 +97,9 @@
 
                #clock-cells = <1>;
 
-               clocks = <&cgu X1830_CLK_RTCLK
-                         &cgu X1830_CLK_EXCLK
-                         &cgu X1830_CLK_PCLK>;
+               clocks = <&cgu X1830_CLK_RTCLK>,
+                        <&cgu X1830_CLK_EXCLK>,
+                        <&cgu X1830_CLK_PCLK>;
                clock-names = "rtc", "ext", "pclk";
 
                interrupt-controller;
 
        pdma: dma-controller@13420000 {
                compatible = "ingenic,x1830-dma";
-               reg = <0x13420000 0x400
-                          0x13421000 0x40>;
+               reg = <0x13420000 0x400>, <0x13421000 0x40>;
                #dma-cells = <2>;
 
                interrupt-parent = <&intc>;