Skip to content

Commit

Permalink
ARM: dts: bcm283x: Restore simple-bus to /clocks
Browse files Browse the repository at this point in the history
Commit [1] ([2] upstream) removed the "simple-bus" compatible string,
"#address-cells" and "#size-cells" to fix some DT scheme warnings. In
doing so it prevented the child clocks from being instantiated - the
node might as well be absent.

Fix the problem (at least with regards to functionality) by restoring
"simple-bus" and the sizes.

See: #3481
Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
  • Loading branch information
pelwell committed Feb 27, 2020
1 parent 9a536b0 commit 894dece
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/bcm283x.dtsi
Expand Up @@ -478,6 +478,10 @@
};

clocks {
compatible = "simple-bus";
#address-cells = <0>;
#size-cells = <0>;

/* The oscillator is the root of the clock tree. */
clk_osc: clk-osc {
compatible = "fixed-clock";
Expand Down

0 comments on commit 894dece

Please sign in to comment.