]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: r8a7793: Stop grouping clocks under a "clocks" subnode
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 18 Aug 2017 09:16:56 +0000 (11:16 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Sep 2017 06:05:16 +0000 (08:05 +0200)
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>
arch/arm/boot/dts/r8a7793.dtsi

index ef8009c01e663e5c4f6b748598b004dff81b1ce0..d48b97c853cdc4d26561353d0f302e6a28aa1780 100644 (file)
                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 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_clk_a: audio_clk_a {
-                       compatible = "fixed-clock";
-                       #clock-cells = <0>;
-                       clock-frequency = <0>;
-               };
-               audio_clk_b: audio_clk_b {
-                       compatible = "fixed-clock";
-                       #clock-cells = <0>;
-                       clock-frequency = <0>;
-               };
-               audio_clk_c: audio_clk_c {
-                       compatible = "fixed-clock";
-                       #clock-cells = <0>;
-                       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>;
-               };
-
-               /* Special CPG clocks */
-               cpg: clock-controller@e6150000 {
-                       compatible = "renesas,r8a7793-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>;
+       };
+
+       /*
+        * The external audio clocks are configured as 0 Hz fixed frequency
+        * clocks by default.
+        * Boards that provide audio clocks should override them.
+        */
+       audio_clk_a: audio_clk_a {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <0>;
+       };
+       audio_clk_b: audio_clk_b {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <0>;
+       };
+       audio_clk_c: audio_clk_c {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               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>;
+       };
+
+       /* Special CPG clocks */
+       cpg: clock-controller@e6150000 {
+               compatible = "renesas,r8a7793-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 {