blob: 6f0044a848d3664f5fc7afd7d8aa3d9cc1a2d234 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 238506ebdea7a0bb928af8403287d5b0d71cdfee Mon Sep 17 00:00:00 2001
2From: Stefan Wahren <wahrenst@gmx.net>
3Date: Fri, 16 Aug 2019 22:32:02 +0200
4Subject: [PATCH] ARM: dts: bcm283x: Remove simple-bus from fixed
5 clocks
6
7commit 4b2d24662126b1e2a6b95c9dfe9e9044e105e5bd upstream.
8
9The fixed clocks doesn't form some kind of bus. So let's remove it.
10This fixes the follow DT schema warnings:
11
12clocks: clock@3:reg:0: [3] is too short
13clocks: clock@4:reg:0: [4] is too short
14clocks: $nodename:0: 'clocks' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
15clocks: #size-cells:0:0: 0 is not one of [1, 2]
16clocks: 'ranges' is a required property
17clock@3: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'
18clock@4: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'
19
20Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
21---
22 arch/arm/boot/dts/bcm283x.dtsi | 10 ++--------
23 1 file changed, 2 insertions(+), 8 deletions(-)
24
25--- a/arch/arm/boot/dts/bcm283x.dtsi
26+++ b/arch/arm/boot/dts/bcm283x.dtsi
27@@ -636,22 +636,16 @@
28 };
29
30 clocks {
31- compatible = "simple-bus";
32- #address-cells = <1>;
33- #size-cells = <0>;
34-
35 /* The oscillator is the root of the clock tree. */
36- clk_osc: clock@3 {
37+ clk_osc: clk-osc {
38 compatible = "fixed-clock";
39- reg = <3>;
40 #clock-cells = <0>;
41 clock-output-names = "osc";
42 clock-frequency = <19200000>;
43 };
44
45- clk_usb: clock@4 {
46+ clk_usb: clk-usb {
47 compatible = "fixed-clock";
48- reg = <4>;
49 #clock-cells = <0>;
50 clock-output-names = "otg";
51 clock-frequency = <480000000>;