Skip to content

Commit e5723ab

Browse files
svanheuletsbogend
authored andcommitted
mips: dts: realtek: Clean up CPU clocks
The referenced CPU clock does not require any additional #clock-cells, so drop the extraneous '0' in the referenced CPU clock. The binding for MIPS cpus also does not allow for the clock-names property, so just drop it. This resolves some error message from 'dtbs_check': cpu@0: clocks: [[4], [0]] is too long 'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Sander Vanheule <[email protected]> Reviewed-by: Chris Packham <[email protected]> Tested-by: Chris Packham <[email protected]> # For RTL9302C Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 3b0f24d commit e5723ab

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

arch/mips/boot/dts/realtek/rtl838x.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
device_type = "cpu";
1010
compatible = "mips,mips4KEc";
1111
reg = <0>;
12-
clocks = <&baseclk 0>;
13-
clock-names = "cpu";
12+
clocks = <&baseclk>;
1413
};
1514
};
1615

arch/mips/boot/dts/realtek/rtl930x.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
device_type = "cpu";
2727
compatible = "mips,mips34Kc";
2828
reg = <0>;
29-
clocks = <&baseclk 0>;
30-
clock-names = "cpu";
29+
clocks = <&baseclk>;
3130
};
3231
};
3332

0 commit comments

Comments
 (0)