| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From 238506ebdea7a0bb928af8403287d5b0d71cdfee Mon Sep 17 00:00:00 2001 |
| 2 | From: Stefan Wahren <wahrenst@gmx.net> |
| 3 | Date: Fri, 16 Aug 2019 22:32:02 +0200 |
| 4 | Subject: [PATCH] ARM: dts: bcm283x: Remove simple-bus from fixed |
| 5 | clocks |
| 6 | |
| 7 | commit 4b2d24662126b1e2a6b95c9dfe9e9044e105e5bd upstream. |
| 8 | |
| 9 | The fixed clocks doesn't form some kind of bus. So let's remove it. |
| 10 | This fixes the follow DT schema warnings: |
| 11 | |
| 12 | clocks: clock@3:reg:0: [3] is too short |
| 13 | clocks: clock@4:reg:0: [4] is too short |
| 14 | clocks: $nodename:0: 'clocks' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' |
| 15 | clocks: #size-cells:0:0: 0 is not one of [1, 2] |
| 16 | clocks: 'ranges' is a required property |
| 17 | clock@3: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' |
| 18 | clock@4: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' |
| 19 | |
| 20 | Signed-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>; |