Skip to content

Commit 579f73c

Browse files
XBursttsbogend
authored andcommitted
MIPS: X1830: Respect cell count of common properties.
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>
1 parent c994a3e commit 579f73c

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

arch/mips/boot/dts/ingenic/x1830.dtsi

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@
9797

9898
#clock-cells = <1>;
9999

100-
clocks = <&cgu X1830_CLK_RTCLK
101-
&cgu X1830_CLK_EXCLK
102-
&cgu X1830_CLK_PCLK>;
100+
clocks = <&cgu X1830_CLK_RTCLK>,
101+
<&cgu X1830_CLK_EXCLK>,
102+
<&cgu X1830_CLK_PCLK>;
103103
clock-names = "rtc", "ext", "pclk";
104104

105105
interrupt-controller;
@@ -274,8 +274,7 @@
274274

275275
pdma: dma-controller@13420000 {
276276
compatible = "ingenic,x1830-dma";
277-
reg = <0x13420000 0x400
278-
0x13421000 0x40>;
277+
reg = <0x13420000 0x400>, <0x13421000 0x40>;
279278
#dma-cells = <2>;
280279

281280
interrupt-parent = <&intc>;

0 commit comments

Comments
 (0)