Skip to content

Commit 3292779

Browse files
committed
ARM: dts: bcm283x: Remove simple-bus from fixed clocks
commit 4b2d246 upstream. 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 d3ad1c7 commit 3292779

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
@@ -634,22 +634,16 @@
634634
};
635635

636636
clocks {
637-
compatible = "simple-bus";
638-
#address-cells = <1>;
639-
#size-cells = <0>;
640-
641637
/* The oscillator is the root of the clock tree. */
642-
clk_osc: clock@3 {
638+
clk_osc: clk-osc {
643639
compatible = "fixed-clock";
644-
reg = <3>;
645640
#clock-cells = <0>;
646641
clock-output-names = "osc";
647642
clock-frequency = <19200000>;
648643
};
649644

650-
clk_usb: clock@4 {
645+
clk_usb: clk-usb {
651646
compatible = "fixed-clock";
652-
reg = <4>;
653647
#clock-cells = <0>;
654648
clock-output-names = "otg";
655649
clock-frequency = <480000000>;

0 commit comments

Comments
 (0)