Skip to content

Commit

Permalink
arm: dts: arm: versatile-ab: Fix duplicate clock node name
Browse files Browse the repository at this point in the history
Commit 04f08ef ("arm/arm64: dts: arm: Use generic clock and
regulator nodenames") renamed nodes and created 2 "clock-24000000" nodes
(at different paths).

The kernel can't handle these duplicate names even though they are at
different paths.  Fix this by renaming one of the nodes to "clock-pclk".

This name is aligned with other Arm boards (those didn't have a known
frequency to use in the node name).

Fixes: 04f08ef ("arm/arm64: dts: arm: Use generic clock and regulator nodenames")
Reported-by: Guenter Roeck <[email protected]>
Signed-off-by: Rob Herring (Arm) <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Tested-by: Linus Walleij <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
robherring authored and torvalds committed Aug 4, 2024
1 parent 3f3f6d6 commit ff58838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/arm/versatile-ab.dts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
clocks = <&xtal24mhz>;
};

pclk: clock-24000000 {
pclk: clock-pclk {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
clock-div = <1>;
Expand Down

0 comments on commit ff58838

Please sign in to comment.