Commit 6f9fe6a6 authored by Simon Horman's avatar Simon Horman

ARM: dts: r7s72100: 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.

As per updates for R-Car Gen2 SoCs by Geert Uytterhoeven.
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent f7255d1f
...@@ -30,62 +30,56 @@ aliases { ...@@ -30,62 +30,56 @@ aliases {
spi4 = &spi4; spi4 = &spi4;
}; };
clocks { /* External clocks */
ranges; extal_clk: extal {
#address-cells = <1>; #clock-cells = <0>;
#size-cells = <1>; compatible = "fixed-clock";
/* If clk present, value must be set by board */
clock-frequency = <0>;
};
/* External clocks */ usb_x1_clk: usb_x1 {
extal_clk: extal { #clock-cells = <0>;
#clock-cells = <0>; compatible = "fixed-clock";
compatible = "fixed-clock"; /* If clk present, value must be set by board */
/* If clk present, value must be set by board */ clock-frequency = <0>;
clock-frequency = <0>; };
};
rtc_x1_clk: rtc_x1 {
usb_x1_clk: usb_x1 { #clock-cells = <0>;
#clock-cells = <0>; compatible = "fixed-clock";
compatible = "fixed-clock"; /* If clk present, value must be set by board to 32678 */
/* If clk present, value must be set by board */ clock-frequency = <0>;
clock-frequency = <0>; };
};
rtc_x3_clk: rtc_x3 {
rtc_x1_clk: rtc_x1 { #clock-cells = <0>;
#clock-cells = <0>; compatible = "fixed-clock";
compatible = "fixed-clock"; /* If clk present, value must be set by board to 4000000 */
/* If clk present, value must be set by board to 32678 */ clock-frequency = <0>;
clock-frequency = <0>; };
};
/* Fixed factor clocks */
rtc_x3_clk: rtc_x3 { b_clk: b {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "fixed-clock"; compatible = "fixed-factor-clock";
/* If clk present, value must be set by board to 4000000 */ clocks = <&cpg_clocks R7S72100_CLK_PLL>;
clock-frequency = <0>; clock-mult = <1>;
}; clock-div = <3>;
};
/* Fixed factor clocks */ p1_clk: p1 {
b_clk: b { #clock-cells = <0>;
#clock-cells = <0>; compatible = "fixed-factor-clock";
compatible = "fixed-factor-clock"; clocks = <&cpg_clocks R7S72100_CLK_PLL>;
clocks = <&cpg_clocks R7S72100_CLK_PLL>; clock-mult = <1>;
clock-mult = <1>; clock-div = <6>;
clock-div = <3>; };
}; p0_clk: p0 {
p1_clk: p1 { #clock-cells = <0>;
#clock-cells = <0>; compatible = "fixed-factor-clock";
compatible = "fixed-factor-clock"; clocks = <&cpg_clocks R7S72100_CLK_PLL>;
clocks = <&cpg_clocks R7S72100_CLK_PLL>; clock-mult = <1>;
clock-mult = <1>; clock-div = <12>;
clock-div = <6>;
};
p0_clk: p0 {
#clock-cells = <0>;
compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R7S72100_CLK_PLL>;
clock-mult = <1>;
clock-div = <12>;
};
}; };
cpus { cpus {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment