Skip to content

Commit 4b2d246

Browse files
committed
ARM: dts: bcm283x: Remove simple-bus from fixed clocks
The fixed clocks doesn't form some kind of bus. So let's remove it. This fixes the follow DT schema warnings: clocks: clock@3:reg:0: [3] is too short clocks: clock@4:reg:0: [4] is too short clocks: $nodename:0: 'clocks' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' clocks: #size-cells:0:0: 0 is not one of [1, 2] clocks: 'ranges' is a required property clock@3: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' clock@4: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Stefan Wahren <[email protected]>
1 parent 54ecb8f commit 4b2d246

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

arch/arm/boot/dts/bcm283x.dtsi

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -650,22 +650,16 @@
650650
};
651651

652652
clocks {
653-
compatible = "simple-bus";
654-
#address-cells = <1>;
655-
#size-cells = <0>;
656-
657653
/* The oscillator is the root of the clock tree. */
658-
clk_osc: clock@3 {
654+
clk_osc: clk-osc {
659655
compatible = "fixed-clock";
660-
reg = <3>;
661656
#clock-cells = <0>;
662657
clock-output-names = "osc";
663658
clock-frequency = <19200000>;
664659
};
665660

666-
clk_usb: clock@4 {
661+
clk_usb: clk-usb {
667662
compatible = "fixed-clock";
668-
reg = <4>;
669663
#clock-cells = <0>;
670664
clock-output-names = "otg";
671665
clock-frequency = <480000000>;

0 commit comments

Comments
 (0)