| From 8c44d94c9599cb1c2ddefc5224b168eb4b07686a Mon Sep 17 00:00:00 2001 |
| From: Geert Uytterhoeven <geert+renesas@glider.be> |
| Date: Fri, 18 Aug 2017 11:16:57 +0200 |
| Subject: [PATCH 0305/1795] ARM: dts: r8a7794: Stop grouping clocks under a |
| "clocks" subnode |
| |
| The current practice is to not group clocks under a "clocks" subnode, |
| but just put them together with the other on-SoC devices. |
| |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 9fb1c8ff4ca36a13fdeb7e4161687eaf4685dc7a) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| arch/arm/boot/dts/r8a7794.dtsi | 124 ++++++++++++++++----------------- |
| 1 file changed, 59 insertions(+), 65 deletions(-) |
| |
| diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi |
| index ebd44d9982be..a4c35d29f77c 100644 |
| --- a/arch/arm/boot/dts/r8a7794.dtsi |
| +++ b/arch/arm/boot/dts/r8a7794.dtsi |
| @@ -982,71 +982,65 @@ |
| status = "disabled"; |
| }; |
| |
| - clocks { |
| - #address-cells = <2>; |
| - #size-cells = <2>; |
| - ranges; |
| - |
| - /* External root clock */ |
| - extal_clk: extal { |
| - compatible = "fixed-clock"; |
| - #clock-cells = <0>; |
| - /* This value must be overriden by the board. */ |
| - clock-frequency = <0>; |
| - }; |
| - |
| - /* External USB clock - can be overridden by the board */ |
| - usb_extal_clk: usb_extal { |
| - compatible = "fixed-clock"; |
| - #clock-cells = <0>; |
| - clock-frequency = <48000000>; |
| - }; |
| - |
| - /* External CAN clock */ |
| - can_clk: can { |
| - compatible = "fixed-clock"; |
| - #clock-cells = <0>; |
| - /* This value must be overridden by the board. */ |
| - clock-frequency = <0>; |
| - }; |
| - |
| - /* External SCIF clock */ |
| - scif_clk: scif { |
| - compatible = "fixed-clock"; |
| - #clock-cells = <0>; |
| - /* This value must be overridden by the board. */ |
| - clock-frequency = <0>; |
| - }; |
| - |
| - /* |
| - * The external audio clocks are configured as 0 Hz fixed |
| - * frequency clocks by default. Boards that provide audio |
| - * clocks should override them. |
| - */ |
| - audio_clka: audio_clka { |
| - compatible = "fixed-clock"; |
| - #clock-cells = <0>; |
| - clock-frequency = <0>; |
| - }; |
| - audio_clkb: audio_clkb { |
| - compatible = "fixed-clock"; |
| - #clock-cells = <0>; |
| - clock-frequency = <0>; |
| - }; |
| - audio_clkc: audio_clkc { |
| - compatible = "fixed-clock"; |
| - #clock-cells = <0>; |
| - clock-frequency = <0>; |
| - }; |
| - |
| - cpg: clock-controller@e6150000 { |
| - compatible = "renesas,r8a7794-cpg-mssr"; |
| - reg = <0 0xe6150000 0 0x1000>; |
| - clocks = <&extal_clk>, <&usb_extal_clk>; |
| - clock-names = "extal", "usb_extal"; |
| - #clock-cells = <2>; |
| - #power-domain-cells = <0>; |
| - }; |
| + /* External root clock */ |
| + extal_clk: extal { |
| + compatible = "fixed-clock"; |
| + #clock-cells = <0>; |
| + /* This value must be overridden by the board. */ |
| + clock-frequency = <0>; |
| + }; |
| + |
| + /* External USB clock - can be overridden by the board */ |
| + usb_extal_clk: usb_extal { |
| + compatible = "fixed-clock"; |
| + #clock-cells = <0>; |
| + clock-frequency = <48000000>; |
| + }; |
| + |
| + /* External CAN clock */ |
| + can_clk: can { |
| + compatible = "fixed-clock"; |
| + #clock-cells = <0>; |
| + /* This value must be overridden by the board. */ |
| + clock-frequency = <0>; |
| + }; |
| + |
| + /* External SCIF clock */ |
| + scif_clk: scif { |
| + compatible = "fixed-clock"; |
| + #clock-cells = <0>; |
| + /* This value must be overridden by the board. */ |
| + clock-frequency = <0>; |
| + }; |
| + |
| + /* |
| + * The external audio clocks are configured as 0 Hz fixed |
| + * frequency clocks by default. Boards that provide audio |
| + * clocks should override them. |
| + */ |
| + audio_clka: audio_clka { |
| + compatible = "fixed-clock"; |
| + #clock-cells = <0>; |
| + clock-frequency = <0>; |
| + }; |
| + audio_clkb: audio_clkb { |
| + compatible = "fixed-clock"; |
| + #clock-cells = <0>; |
| + clock-frequency = <0>; |
| + }; |
| + audio_clkc: audio_clkc { |
| + compatible = "fixed-clock"; |
| + #clock-cells = <0>; |
| + clock-frequency = <0>; |
| + }; |
| + |
| + cpg: clock-controller@e6150000 { |
| + compatible = "renesas,r8a7794-cpg-mssr"; |
| + reg = <0 0xe6150000 0 0x1000>; |
| + clocks = <&extal_clk>, <&usb_extal_clk>; |
| + clock-names = "extal", "usb_extal"; |
| + #clock-cells = <2>; |
| + #power-domain-cells = <0>; |
| }; |
| |
| rst: reset-controller@e6160000 { |
| -- |
| 2.19.0 |
| |