Skip to content

Commit

Permalink
MIPS: X1830: Respect cell count of common properties.
Browse files Browse the repository at this point in the history
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) <[email protected]>
Acked-by: Paul Cercueil <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
  • Loading branch information
XBurst authored and tsbogend committed Jun 30, 2021
1 parent c994a3e commit 579f73c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions arch/mips/boot/dts/ingenic/x1830.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -274,8 +274,7 @@

pdma: dma-controller@13420000 {
compatible = "ingenic,x1830-dma";
reg = <0x13420000 0x400
0x13421000 0x40>;
reg = <0x13420000 0x400>, <0x13421000 0x40>;
#dma-cells = <2>;

interrupt-parent = <&intc>;
Expand Down

0 comments on commit 579f73c

Please sign in to comment.