Commit 16757cbc authored by Olof Johansson's avatar Olof Johansson

Merge tag 'renesas-cleanup-for-v4.7' of...

Merge tag 'renesas-cleanup-for-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt

Renesas ARM Based SoC Cleanup for v4.7

* Remove unnecessary clock-output-names properties from DT
* Use generic pinctrl properties in DT

* tag 'renesas-cleanup-for-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (26 commits)
  ARM: dts: sh73a0: Remove unnecessary clock-output-names properties
  ARM: dts: r8a73a4: Remove unnecessary clock-output-names properties
  ARM: dts: lager: Remove unnecessary clock-output-names properties
  ARM: dts: porter: Remove unnecessary clock-output-names properties
  ARM: dts: koelsch: Remove unnecessary clock-output-names properties
  ARM: dts: gose: Remove unnecessary clock-output-names properties
  ARM: dts: r8a7794: Remove unnecessary clock-output-names properties
  ARM: dts: r8a7793: Remove unnecessary clock-output-names properties
  ARM: dts: r8a7791: Remove unnecessary clock-output-names properties
  ARM: dts: r8a7779: Remove unnecessary clock-output-names properties
  ARM: dts: r8a7778: Remove unnecessary clock-output-names properties
  ARM: dts: r8a7740: Remove unnecessary clock-output-names properties
  ARM: dts: r7s72100: Remove unnecessary clock-output-names properties
  ARM: dts: r8a7790: Remove unnecessary clock-output-names properties
  ARM: dts: kzm9d: use generic pinctrl properties
  ARM: dts: kzm9g: use generic pinctrl properties
  ARM: dts: silk: use generic pinctrl properties
  ARM: dts: alt: use generic pinctrl properties
  ARM: dts: gose: use generic pinctrl properties
  ARM: dts: porter: use generic pinctrl properties
  ...
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents e43b7bef 000025cf
...@@ -105,8 +105,8 @@ &iic1 { ...@@ -105,8 +105,8 @@ &iic1 {
&pfc { &pfc {
uart1_pins: serial@e1030000 { uart1_pins: serial@e1030000 {
renesas,groups = "uart1_ctrl", "uart1_data"; groups = "uart1_ctrl", "uart1_data";
renesas,function = "uart1"; function = "uart1";
}; };
}; };
......
...@@ -37,46 +37,41 @@ clocks { ...@@ -37,46 +37,41 @@ clocks {
#size-cells = <1>; #size-cells = <1>;
/* External clocks */ /* External clocks */
extal_clk: extal_clk { 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>;
clock-output-names = "extal";
}; };
usb_x1_clk: usb_x1_clk { 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 */ /* If clk present, value must be set by board */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "usb_x1";
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
b_clk: b_clk { 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 = <3>; clock-div = <3>;
clock-output-names = "b";
}; };
p1_clk: p1_clk { 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 = <6>; clock-div = <6>;
clock-output-names = "p1";
}; };
p0_clk: p0_clk { p0_clk: p0 {
#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 = <12>;
clock-output-names = "p0";
}; };
/* Special CPG clocks */ /* Special CPG clocks */
......
...@@ -189,28 +189,28 @@ &cmt1 { ...@@ -189,28 +189,28 @@ &cmt1 {
&pfc { &pfc {
scifa0_pins: serial0 { scifa0_pins: serial0 {
renesas,groups = "scifa0_data"; groups = "scifa0_data";
renesas,function = "scifa0"; function = "scifa0";
}; };
mmc0_pins: mmc { mmc0_pins: mmc {
renesas,groups = "mmc0_data8", "mmc0_ctrl"; groups = "mmc0_data8", "mmc0_ctrl";
renesas,function = "mmc0"; function = "mmc0";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd"; groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
renesas,function = "sdhi0"; function = "sdhi0";
}; };
sdhi1_pins: sd1 { sdhi1_pins: sd1 {
renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; groups = "sdhi1_data4", "sdhi1_ctrl";
renesas,function = "sdhi1"; function = "sdhi1";
}; };
keyboard_pins: keyboard { keyboard_pins: keyboard {
renesas,pins = "PORT324", "PORT325", "PORT326", "PORT327", pins = "PORT324", "PORT325", "PORT326", "PORT327", "PORT328",
"PORT328", "PORT329"; "PORT329";
bias-pull-up; bias-pull-up;
}; };
}; };
......
...@@ -486,37 +486,32 @@ clocks { ...@@ -486,37 +486,32 @@ clocks {
ranges; ranges;
/* External root clocks */ /* External root clocks */
extalr_clk: extalr_clk { extalr_clk: extalr {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <32768>; clock-frequency = <32768>;
clock-output-names = "extalr";
}; };
extal1_clk: extal1_clk { extal1_clk: extal1 {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <25000000>; clock-frequency = <25000000>;
clock-output-names = "extal1";
}; };
extal2_clk: extal2_clk { extal2_clk: extal2 {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <48000000>; clock-frequency = <48000000>;
clock-output-names = "extal2";
}; };
fsiack_clk: fsiack_clk { fsiack_clk: fsiack {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overridden by the board. */ /* This value must be overridden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "fsiack";
}; };
fsibck_clk: fsibck_clk { fsibck_clk: fsibck {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overridden by the board. */ /* This value must be overridden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "fsibck";
}; };
/* Special CPG clocks */ /* Special CPG clocks */
...@@ -540,171 +535,151 @@ zb_clk: zb_clk@e6150010 { ...@@ -540,171 +535,151 @@ zb_clk: zb_clk@e6150010 {
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "zb"; clock-output-names = "zb";
}; };
sdhi0_clk: sdhi0_clk@e6150074 { sdhi0_clk: sdhi0ck@e6150074 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150074 0 4>; reg = <0 0xe6150074 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>; <0>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sdhi0ck";
}; };
sdhi1_clk: sdhi1_clk@e6150078 { sdhi1_clk: sdhi1ck@e6150078 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150078 0 4>; reg = <0 0xe6150078 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>; <0>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sdhi1ck";
}; };
sdhi2_clk: sdhi2_clk@e615007c { sdhi2_clk: sdhi2ck@e615007c {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615007c 0 4>; reg = <0 0xe615007c 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>; <0>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sdhi2ck";
}; };
mmc0_clk: mmc0_clk@e6150240 { mmc0_clk: mmc0@e6150240 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150240 0 4>; reg = <0 0xe6150240 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>; <0>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mmc0";
}; };
mmc1_clk: mmc1_clk@e6150244 { mmc1_clk: mmc1@e6150244 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150244 0 4>; reg = <0 0xe6150244 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>; <0>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mmc1";
}; };
vclk1_clk: vclk1_clk@e6150008 { vclk1_clk: vclk1@e6150008 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150008 0 4>; reg = <0 0xe6150008 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>, <&main_div2_clk>, <0>, <&extal2_clk>, <&main_div2_clk>,
<&extalr_clk>, <0>, <0>; <&extalr_clk>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk1";
}; };
vclk2_clk: vclk2_clk@e615000c { vclk2_clk: vclk2@e615000c {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615000c 0 4>; reg = <0 0xe615000c 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>, <&main_div2_clk>, <0>, <&extal2_clk>, <&main_div2_clk>,
<&extalr_clk>, <0>, <0>; <&extalr_clk>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk2";
}; };
vclk3_clk: vclk3_clk@e615001c { vclk3_clk: vclk3@e615001c {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615001c 0 4>; reg = <0 0xe615001c 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>, <&main_div2_clk>, <0>, <&extal2_clk>, <&main_div2_clk>,
<&extalr_clk>, <0>, <0>; <&extalr_clk>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk3";
}; };
vclk4_clk: vclk4_clk@e6150014 { vclk4_clk: vclk4@e6150014 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150014 0 4>; reg = <0 0xe6150014 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>, <&main_div2_clk>, <0>, <&extal2_clk>, <&main_div2_clk>,
<&extalr_clk>, <0>, <0>; <&extalr_clk>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk4";
}; };
vclk5_clk: vclk5_clk@e6150034 { vclk5_clk: vclk5@e6150034 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150034 0 4>; reg = <0 0xe6150034 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<0>, <&extal2_clk>, <&main_div2_clk>, <0>, <&extal2_clk>, <&main_div2_clk>,
<&extalr_clk>, <0>, <0>; <&extalr_clk>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk5";
}; };
fsia_clk: fsia_clk@e6150018 { fsia_clk: fsia@e6150018 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150018 0 4>; reg = <0 0xe6150018 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<&fsiack_clk>, <0>; <&fsiack_clk>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "fsia";
}; };
fsib_clk: fsib_clk@e6150090 { fsib_clk: fsib@e6150090 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150090 0 4>; reg = <0 0xe6150090 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<&fsibck_clk>, <0>; <&fsibck_clk>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "fsib";
}; };
mp_clk: mp_clk@e6150080 { mp_clk: mp@e6150080 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150080 0 4>; reg = <0 0xe6150080 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<&extal2_clk>, <&extal2_clk>; <&extal2_clk>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mp";
}; };
m4_clk: m4_clk@e6150098 { m4_clk: m4@e6150098 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150098 0 4>; reg = <0 0xe6150098 0 4>;
clocks = <&cpg_clocks R8A73A4_CLK_PLL2S>; clocks = <&cpg_clocks R8A73A4_CLK_PLL2S>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "m4";
}; };
hsi_clk: hsi_clk@e615026c { hsi_clk: hsi@e615026c {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615026c 0 4>; reg = <0 0xe615026c 0 4>;
clocks = <&cpg_clocks R8A73A4_CLK_PLL2H>, <&pll1_div2_clk>, clocks = <&cpg_clocks R8A73A4_CLK_PLL2H>, <&pll1_div2_clk>,
<&cpg_clocks R8A73A4_CLK_PLL2S>, <0>; <&cpg_clocks R8A73A4_CLK_PLL2S>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "hsi";
}; };
spuv_clk: spuv_clk@e6150094 { spuv_clk: spuv@e6150094 {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150094 0 4>; reg = <0 0xe6150094 0 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
<&extal2_clk>, <&extal2_clk>; <&extal2_clk>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "spuv";
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
main_div2_clk: main_div2_clk { main_div2_clk: main_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A73A4_CLK_MAIN>; clocks = <&cpg_clocks R8A73A4_CLK_MAIN>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "main_div2";
}; };
pll0_div2_clk: pll0_div2_clk { pll0_div2_clk: pll0_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A73A4_CLK_PLL0>; clocks = <&cpg_clocks R8A73A4_CLK_PLL0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll0_div2";
}; };
pll1_div2_clk: pll1_div2_clk { pll1_div2_clk: pll1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A73A4_CLK_PLL1>; clocks = <&cpg_clocks R8A73A4_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll1_div2";
}; };
extal1_div2_clk: extal1_div2_clk { extal1_div2_clk: extal1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&extal1_clk>; clocks = <&extal1_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "extal1_div2";
}; };
/* Gate clocks */ /* Gate clocks */
......
...@@ -228,44 +228,44 @@ &pfc { ...@@ -228,44 +228,44 @@ &pfc {
pinctrl-names = "default"; pinctrl-names = "default";
ether_pins: ether { ether_pins: ether {
renesas,groups = "gether_mii", "gether_int"; groups = "gether_mii", "gether_int";
renesas,function = "gether"; function = "gether";
}; };
scifa1_pins: serial1 { scifa1_pins: serial1 {
renesas,groups = "scifa1_data"; groups = "scifa1_data";
renesas,function = "scifa1"; function = "scifa1";
}; };
st1232_pins: touchscreen { st1232_pins: touchscreen {
renesas,groups = "intc_irq10"; groups = "intc_irq10";
renesas,function = "intc"; function = "intc";
}; };
backlight_pins: backlight { backlight_pins: backlight {
renesas,groups = "tpu0_to2_1"; groups = "tpu0_to2_1";
renesas,function = "tpu0"; function = "tpu0";
}; };
mmc0_pins: mmc0 { mmc0_pins: mmc0 {
renesas,groups = "mmc0_data8_1", "mmc0_ctrl_1"; groups = "mmc0_data8_1", "mmc0_ctrl_1";
renesas,function = "mmc0"; function = "mmc0";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp"; groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
renesas,function = "sdhi0"; function = "sdhi0";
}; };
fsia_pins: sounda { fsia_pins: sounda {
renesas,groups = "fsia_sclk_in", "fsia_mclk_out", groups = "fsia_sclk_in", "fsia_mclk_out",
"fsia_data_in_1", "fsia_data_out_0"; "fsia_data_in_1", "fsia_data_out_0";
renesas,function = "fsia"; function = "fsia";
}; };
lcd0_pins: lcd0 { lcd0_pins: lcd0 {
renesas,groups = "lcd0_data24_0", "lcd0_lclk_1", "lcd0_sync"; groups = "lcd0_data24_0", "lcd0_lclk_1", "lcd0_sync";
renesas,function = "lcd0"; function = "lcd0";
/* DBGMD/LCDC0/FSIA MUX */ /* DBGMD/LCDC0/FSIA MUX */
gpio-hog; gpio-hog;
......
...@@ -422,53 +422,45 @@ clocks { ...@@ -422,53 +422,45 @@ clocks {
ranges; ranges;
/* External root clock */ /* External root clock */
extalr_clk: extalr_clk { extalr_clk: extalr {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <32768>; clock-frequency = <32768>;
clock-output-names = "extalr";
}; };
extal1_clk: extal1_clk { extal1_clk: extal1 {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "extal1";
}; };
extal2_clk: extal2_clk { extal2_clk: extal2 {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "extal2";
}; };
dv_clk: dv_clk { dv_clk: dv {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <27000000>; clock-frequency = <27000000>;
clock-output-names = "dv";
}; };
fmsick_clk: fmsick_clk { fmsick_clk: fmsick {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "fmsick";
}; };
fmsock_clk: fmsock_clk { fmsock_clk: fmsock {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "fmsock";
}; };
fsiack_clk: fsiack_clk { fsiack_clk: fsiack {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "fsiack";
}; };
fsibck_clk: fsibck_clk { fsibck_clk: fsibck {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "fsibck";
}; };
/* Special CPG clocks */ /* Special CPG clocks */
...@@ -486,7 +478,7 @@ cpg_clocks: cpg_clocks@e6150000 { ...@@ -486,7 +478,7 @@ cpg_clocks: cpg_clocks@e6150000 {
}; };
/* Variable factor clocks (DIV6) */ /* Variable factor clocks (DIV6) */
vclk1_clk: vclk1_clk@e6150008 { vclk1_clk: vclk1@e6150008 {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150008 4>; reg = <0xe6150008 4>;
clocks = <&pllc1_div2_clk>, <0>, <&dv_clk>, clocks = <&pllc1_div2_clk>, <0>, <&dv_clk>,
...@@ -494,9 +486,8 @@ vclk1_clk: vclk1_clk@e6150008 { ...@@ -494,9 +486,8 @@ vclk1_clk: vclk1_clk@e6150008 {
<&extal1_div2_clk>, <&extalr_clk>, <0>, <&extal1_div2_clk>, <&extalr_clk>, <0>,
<0>; <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk1";
}; };
vclk2_clk: vclk2_clk@e615000c { vclk2_clk: vclk2@e615000c {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe615000c 4>; reg = <0xe615000c 4>;
clocks = <&pllc1_div2_clk>, <0>, <&dv_clk>, clocks = <&pllc1_div2_clk>, <0>, <&dv_clk>,
...@@ -504,77 +495,67 @@ vclk2_clk: vclk2_clk@e615000c { ...@@ -504,77 +495,67 @@ vclk2_clk: vclk2_clk@e615000c {
<&extal1_div2_clk>, <&extalr_clk>, <0>, <&extal1_div2_clk>, <&extalr_clk>, <0>,
<0>; <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk2";
}; };
fmsi_clk: fmsi_clk@e6150010 { fmsi_clk: fmsi@e6150010 {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150010 4>; reg = <0xe6150010 4>;
clocks = <&pllc1_div2_clk>, <&fmsick_clk>, <0>, <0>; clocks = <&pllc1_div2_clk>, <&fmsick_clk>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "fmsi";
}; };
fmso_clk: fmso_clk@e6150014 { fmso_clk: fmso@e6150014 {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150014 4>; reg = <0xe6150014 4>;
clocks = <&pllc1_div2_clk>, <&fmsock_clk>, <0>, <0>; clocks = <&pllc1_div2_clk>, <&fmsock_clk>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "fmso";
}; };
fsia_clk: fsia_clk@e6150018 { fsia_clk: fsia@e6150018 {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150018 4>; reg = <0xe6150018 4>;
clocks = <&pllc1_div2_clk>, <&fsiack_clk>, <0>, <0>; clocks = <&pllc1_div2_clk>, <&fsiack_clk>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "fsia";
}; };
sub_clk: sub_clk@e6150080 { sub_clk: sub@e6150080 {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150080 4>; reg = <0xe6150080 4>;
clocks = <&pllc1_div2_clk>, clocks = <&pllc1_div2_clk>,
<&cpg_clocks R8A7740_CLK_USB24S>, <0>, <0>; <&cpg_clocks R8A7740_CLK_USB24S>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sub";
}; };
spu_clk: spu_clk@e6150084 { spu_clk: spu@e6150084 {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150084 4>; reg = <0xe6150084 4>;
clocks = <&pllc1_div2_clk>, clocks = <&pllc1_div2_clk>,
<&cpg_clocks R8A7740_CLK_USB24S>, <0>, <0>; <&cpg_clocks R8A7740_CLK_USB24S>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "spu";
}; };
vou_clk: vou_clk@e6150088 { vou_clk: vou@e6150088 {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150088 4>; reg = <0xe6150088 4>;
clocks = <&pllc1_div2_clk>, <&extal1_clk>, <&dv_clk>, clocks = <&pllc1_div2_clk>, <&extal1_clk>, <&dv_clk>,
<0>; <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vou";
}; };
stpro_clk: stpro_clk@e615009c { stpro_clk: stpro@e615009c {
compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe615009c 4>; reg = <0xe615009c 4>;
clocks = <&cpg_clocks R8A7740_CLK_PLLC0>; clocks = <&cpg_clocks R8A7740_CLK_PLLC0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "stpro";
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
pllc1_div2_clk: pllc1_div2_clk { pllc1_div2_clk: pllc1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7740_CLK_PLLC1>; clocks = <&cpg_clocks R8A7740_CLK_PLLC1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pllc1_div2";
}; };
extal1_div2_clk: extal1_div2_clk { extal1_div2_clk: extal1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&extal1_clk>; clocks = <&extal1_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "extal1_div2";
}; };
/* Gate clocks */ /* Gate clocks */
......
...@@ -130,53 +130,53 @@ &pfc { ...@@ -130,53 +130,53 @@ &pfc {
pinctrl-names = "default"; pinctrl-names = "default";
scif0_pins: serial0 { scif0_pins: serial0 {
renesas,groups = "scif0_data_a", "scif0_ctrl"; groups = "scif0_data_a", "scif0_ctrl";
renesas,function = "scif0"; function = "scif0";
}; };
scif_clk_pins: scif_clk { scif_clk_pins: scif_clk {
renesas,groups = "scif_clk"; groups = "scif_clk";
renesas,function = "scif_clk"; function = "scif_clk";
}; };
mmc_pins: mmc { mmc_pins: mmc {
renesas,groups = "mmc_data8", "mmc_ctrl"; groups = "mmc_data8", "mmc_ctrl";
renesas,function = "mmc"; function = "mmc";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl"; groups = "sdhi0_data4", "sdhi0_ctrl";
renesas,function = "sdhi0"; function = "sdhi0";
}; };
sdhi0_pup_pins: sd0_pup { sdhi0_pup_pins: sd0_pup {
renesas,groups = "sdhi0_cd", "sdhi0_wp"; groups = "sdhi0_cd", "sdhi0_wp";
renesas,function = "sdhi0"; function = "sdhi0";
bias-pull-up; bias-pull-up;
}; };
hspi0_pins: hspi0 { hspi0_pins: hspi0 {
renesas,groups = "hspi0_a"; groups = "hspi0_a";
renesas,function = "hspi0"; function = "hspi0";
}; };
usb0_pins: usb0 { usb0_pins: usb0 {
renesas,groups = "usb0"; groups = "usb0";
renesas,function = "usb0"; function = "usb0";
}; };
usb1_pins: usb1 { usb1_pins: usb1 {
renesas,groups = "usb1"; groups = "usb1";
renesas,function = "usb1"; function = "usb1";
}; };
vin0_pins: vin0 { vin0_pins: vin0 {
renesas,groups = "vin0_data8", "vin0_clk"; groups = "vin0_data8", "vin0_clk";
renesas,function = "vin0"; function = "vin0";
}; };
vin1_pins: vin1 { vin1_pins: vin1 {
renesas,groups = "vin1_data8", "vin1_clk"; groups = "vin1_data8", "vin1_clk";
renesas,function = "vin1"; function = "vin1";
}; };
}; };
......
...@@ -443,11 +443,10 @@ clocks { ...@@ -443,11 +443,10 @@ clocks {
ranges; ranges;
/* External input clock */ /* External input clock */
extal_clk: extal_clk { extal_clk: extal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "extal";
}; };
/* External SCIF clock */ /* External SCIF clock */
...@@ -474,59 +473,51 @@ cpg_clocks: cpg_clocks@ffc80000 { ...@@ -474,59 +473,51 @@ cpg_clocks: cpg_clocks@ffc80000 {
audio_clk_a: audio_clk_a { audio_clk_a: audio_clk_a {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "audio_clk_a";
}; };
audio_clk_b: audio_clk_b { audio_clk_b: audio_clk_b {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "audio_clk_b";
}; };
audio_clk_c: audio_clk_c { audio_clk_c: audio_clk_c {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "audio_clk_c";
}; };
/* Fixed ratio clocks */ /* Fixed ratio clocks */
g_clk: g_clk { g_clk: g {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7778_CLK_PLLA>; clocks = <&cpg_clocks R8A7778_CLK_PLLA>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <12>; clock-div = <12>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "g";
}; };
i_clk: i_clk { i_clk: i {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7778_CLK_PLLA>; clocks = <&cpg_clocks R8A7778_CLK_PLLA>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <1>; clock-div = <1>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "i";
}; };
s3_clk: s3_clk { s3_clk: s3 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7778_CLK_PLLA>; clocks = <&cpg_clocks R8A7778_CLK_PLLA>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <4>; clock-div = <4>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "s3";
}; };
s4_clk: s4_clk { s4_clk: s4 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7778_CLK_PLLA>; clocks = <&cpg_clocks R8A7778_CLK_PLLA>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "s4";
}; };
z_clk: z_clk { z_clk: z {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7778_CLK_PLLB>; clocks = <&cpg_clocks R8A7778_CLK_PLLB>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <1>; clock-div = <1>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "z";
}; };
/* Gate clocks */ /* Gate clocks */
......
...@@ -170,49 +170,49 @@ &pfc { ...@@ -170,49 +170,49 @@ &pfc {
du_pins: du { du_pins: du {
du0 { du0 {
renesas,groups = "du0_rgb888", "du0_sync_1", "du0_clk_out_0"; groups = "du0_rgb888", "du0_sync_1", "du0_clk_out_0";
renesas,function = "du0"; function = "du0";
}; };
du1 { du1 {
renesas,groups = "du1_rgb666", "du1_sync_1", "du1_clk_out"; groups = "du1_rgb666", "du1_sync_1", "du1_clk_out";
renesas,function = "du1"; function = "du1";
}; };
}; };
scif_clk_pins: scif_clk { scif_clk_pins: scif_clk {
renesas,groups = "scif_clk_b"; groups = "scif_clk_b";
renesas,function = "scif_clk"; function = "scif_clk";
}; };
ethernet_pins: ethernet { ethernet_pins: ethernet {
intc { intc {
renesas,groups = "intc_irq1_b"; groups = "intc_irq1_b";
renesas,function = "intc"; function = "intc";
}; };
lbsc { lbsc {
renesas,groups = "lbsc_ex_cs0"; groups = "lbsc_ex_cs0";
renesas,function = "lbsc"; function = "lbsc";
}; };
}; };
scif2_pins: serial2 { scif2_pins: serial2 {
renesas,groups = "scif2_data_c"; groups = "scif2_data_c";
renesas,function = "scif2"; function = "scif2";
}; };
scif4_pins: serial4 { scif4_pins: serial4 {
renesas,groups = "scif4_data"; groups = "scif4_data";
renesas,function = "scif4"; function = "scif4";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd"; groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
renesas,function = "sdhi0"; function = "sdhi0";
}; };
hspi0_pins: hspi0 { hspi0_pins: hspi0 {
renesas,groups = "hspi0"; groups = "hspi0";
renesas,function = "hspi0"; function = "hspi0";
}; };
}; };
......
...@@ -445,12 +445,11 @@ clocks { ...@@ -445,12 +445,11 @@ clocks {
ranges; ranges;
/* External root clock */ /* External root clock */
extal_clk: extal_clk { extal_clk: extal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overriden by the board. */ /* This value must be overriden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "extal";
}; };
/* External SCIF clock */ /* External SCIF clock */
...@@ -474,37 +473,33 @@ cpg_clocks: clocks@ffc80000 { ...@@ -474,37 +473,33 @@ cpg_clocks: clocks@ffc80000 {
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
i_clk: i_clk { i_clk: i {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7779_CLK_PLLA>; clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "i";
}; };
s3_clk: s3_clk { s3_clk: s3 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7779_CLK_PLLA>; clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "s3";
}; };
s4_clk: s4_clk { s4_clk: s4 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7779_CLK_PLLA>; clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <16>; clock-div = <16>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "s4";
}; };
g_clk: g_clk { g_clk: g {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7779_CLK_PLLA>; clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <24>; clock-div = <24>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "g";
}; };
/* Gate clocks */ /* Gate clocks */
......
...@@ -176,11 +176,10 @@ vccq_sdhi2: regulator@4 { ...@@ -176,11 +176,10 @@ vccq_sdhi2: regulator@4 {
1800000 0>; 1800000 0>;
}; };
audio_clock: clock { audio_clock: audio_clock {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <11289600>; clock-frequency = <11289600>;
clock-output-names = "audio_clock";
}; };
rsnd_ak4643: sound { rsnd_ak4643: sound {
...@@ -314,119 +313,119 @@ &pfc { ...@@ -314,119 +313,119 @@ &pfc {
pinctrl-names = "default"; pinctrl-names = "default";
du_pins: du { du_pins: du {
renesas,groups = "du_rgb666", "du_sync_1", "du_clk_out_0"; groups = "du_rgb666", "du_sync_1", "du_clk_out_0";
renesas,function = "du"; function = "du";
}; };
scif0_pins: serial0 { scif0_pins: serial0 {
renesas,groups = "scif0_data"; groups = "scif0_data";
renesas,function = "scif0"; function = "scif0";
}; };
scif_clk_pins: scif_clk { scif_clk_pins: scif_clk {
renesas,groups = "scif_clk"; groups = "scif_clk";
renesas,function = "scif_clk"; function = "scif_clk";
}; };
ether_pins: ether { ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth"; function = "eth";
}; };
phy1_pins: phy1 { phy1_pins: phy1 {
renesas,groups = "intc_irq0"; groups = "intc_irq0";
renesas,function = "intc"; function = "intc";
}; };
scifa1_pins: serial1 { scifa1_pins: serial1 {
renesas,groups = "scifa1_data"; groups = "scifa1_data";
renesas,function = "scifa1"; function = "scifa1";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl"; groups = "sdhi0_data4", "sdhi0_ctrl";
renesas,function = "sdhi0"; function = "sdhi0";
}; };
sdhi2_pins: sd2 { sdhi2_pins: sd2 {
renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; groups = "sdhi2_data4", "sdhi2_ctrl";
renesas,function = "sdhi2"; function = "sdhi2";
}; };
mmc1_pins: mmc1 { mmc1_pins: mmc1 {
renesas,groups = "mmc1_data8", "mmc1_ctrl"; groups = "mmc1_data8", "mmc1_ctrl";
renesas,function = "mmc1"; function = "mmc1";
}; };
qspi_pins: spi0 { qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4"; groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi"; function = "qspi";
}; };
msiof1_pins: spi2 { msiof1_pins: spi2 {
renesas,groups = "msiof1_clk", "msiof1_sync", "msiof1_rx", groups = "msiof1_clk", "msiof1_sync", "msiof1_rx",
"msiof1_tx"; "msiof1_tx";
renesas,function = "msiof1"; function = "msiof1";
}; };
i2c0_pins: i2c0 { i2c0_pins: i2c0 {
renesas,groups = "i2c0"; groups = "i2c0";
renesas,function = "i2c0"; function = "i2c0";
}; };
iic0_pins: iic0 { iic0_pins: iic0 {
renesas,groups = "iic0"; groups = "iic0";
renesas,function = "iic0"; function = "iic0";
}; };
iic1_pins: iic1 { iic1_pins: iic1 {
renesas,groups = "iic1"; groups = "iic1";
renesas,function = "iic1"; function = "iic1";
}; };
iic2_pins: iic2 { iic2_pins: iic2 {
renesas,groups = "iic2"; groups = "iic2";
renesas,function = "iic2"; function = "iic2";
}; };
iic3_pins: iic3 { iic3_pins: iic3 {
renesas,groups = "iic3"; groups = "iic3";
renesas,function = "iic3"; function = "iic3";
}; };
hsusb_pins: hsusb { hsusb_pins: hsusb {
renesas,groups = "usb0_ovc_vbus"; groups = "usb0_ovc_vbus";
renesas,function = "usb0"; function = "usb0";
}; };
usb0_pins: usb0 { usb0_pins: usb0 {
renesas,groups = "usb0"; groups = "usb0";
renesas,function = "usb0"; function = "usb0";
}; };
usb1_pins: usb1 { usb1_pins: usb1 {
renesas,groups = "usb1"; groups = "usb1";
renesas,function = "usb1"; function = "usb1";
}; };
usb2_pins: usb2 { usb2_pins: usb2 {
renesas,groups = "usb2"; groups = "usb2";
renesas,function = "usb2"; function = "usb2";
}; };
vin1_pins: vin { vin1_pins: vin {
renesas,groups = "vin1_data8", "vin1_clk"; groups = "vin1_data8", "vin1_clk";
renesas,function = "vin1"; function = "vin1";
}; };
sound_pins: sound { sound_pins: sound {
renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
renesas,function = "ssi"; function = "ssi";
}; };
sound_clk_pins: sound_clk { sound_clk_pins: sound_clk {
renesas,groups = "audio_clk_a"; groups = "audio_clk_a";
renesas,function = "audio_clk"; function = "audio_clk";
}; };
}; };
......
...@@ -1003,20 +1003,18 @@ clocks { ...@@ -1003,20 +1003,18 @@ clocks {
ranges; ranges;
/* External root clock */ /* External root clock */
extal_clk: extal_clk { extal_clk: extal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overriden by the board. */ /* This value must be overriden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "extal";
}; };
/* External PCIe clock - can be overridden by the board */ /* External PCIe clock - can be overridden by the board */
pcie_bus_clk: pcie_bus_clk { pcie_bus_clk: pcie_bus {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <100000000>; clock-frequency = <100000000>;
clock-output-names = "pcie_bus";
status = "disabled"; status = "disabled";
}; };
...@@ -1028,19 +1026,16 @@ audio_clk_a: audio_clk_a { ...@@ -1028,19 +1026,16 @@ audio_clk_a: audio_clk_a {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_a";
}; };
audio_clk_b: audio_clk_b { audio_clk_b: audio_clk_b {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_b";
}; };
audio_clk_c: audio_clk_c { audio_clk_c: audio_clk_c {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_c";
}; };
/* External SCIF clock */ /* External SCIF clock */
...@@ -1053,11 +1048,10 @@ scif_clk: scif { ...@@ -1053,11 +1048,10 @@ scif_clk: scif {
}; };
/* External USB clock - can be overridden by the board */ /* External USB clock - can be overridden by the board */
usb_extal_clk: usb_extal_clk { usb_extal_clk: usb_extal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <48000000>; clock-frequency = <48000000>;
clock-output-names = "usb_extal";
}; };
/* External CAN clock */ /* External CAN clock */
...@@ -1066,7 +1060,6 @@ can_clk: can_clk { ...@@ -1066,7 +1060,6 @@ can_clk: can_clk {
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overridden by the board. */ /* This value must be overridden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "can_clk";
status = "disabled"; status = "disabled";
}; };
...@@ -1084,201 +1077,176 @@ cpg_clocks: cpg_clocks@e6150000 { ...@@ -1084,201 +1077,176 @@ cpg_clocks: cpg_clocks@e6150000 {
}; };
/* Variable factor clocks */ /* Variable factor clocks */
sd2_clk: sd2_clk@e6150078 { sd2_clk: sd2@e6150078 {
compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150078 0 4>; reg = <0 0xe6150078 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sd2";
}; };
sd3_clk: sd3_clk@e615026c { sd3_clk: sd3@e615026c {
compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615026c 0 4>; reg = <0 0xe615026c 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sd3";
}; };
mmc0_clk: mmc0_clk@e6150240 { mmc0_clk: mmc0@e6150240 {
compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150240 0 4>; reg = <0 0xe6150240 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mmc0";
}; };
mmc1_clk: mmc1_clk@e6150244 { mmc1_clk: mmc1@e6150244 {
compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150244 0 4>; reg = <0 0xe6150244 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mmc1";
}; };
ssp_clk: ssp_clk@e6150248 { ssp_clk: ssp@e6150248 {
compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150248 0 4>; reg = <0 0xe6150248 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "ssp";
}; };
ssprs_clk: ssprs_clk@e615024c { ssprs_clk: ssprs@e615024c {
compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615024c 0 4>; reg = <0 0xe615024c 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "ssprs";
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
pll1_div2_clk: pll1_div2_clk { pll1_div2_clk: pll1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll1_div2";
}; };
z2_clk: z2_clk { z2_clk: z2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "z2";
}; };
zg_clk: zg_clk { zg_clk: zg {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <3>; clock-div = <3>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zg";
}; };
zx_clk: zx_clk { zx_clk: zx {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <3>; clock-div = <3>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zx";
}; };
zs_clk: zs_clk { zs_clk: zs {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <6>; clock-div = <6>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zs";
}; };
hp_clk: hp_clk { hp_clk: hp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <12>; clock-div = <12>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "hp";
}; };
i_clk: i_clk { i_clk: i {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "i";
}; };
b_clk: b_clk { b_clk: b {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <12>; clock-div = <12>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "b";
}; };
p_clk: p_clk { p_clk: p {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <24>; clock-div = <24>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "p";
}; };
cl_clk: cl_clk { cl_clk: cl {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <48>; clock-div = <48>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "cl";
}; };
m2_clk: m2_clk { m2_clk: m2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "m2";
}; };
imp_clk: imp_clk { imp_clk: imp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <4>; clock-div = <4>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "imp";
}; };
rclk_clk: rclk_clk { rclk_clk: rclk {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <(48 * 1024)>; clock-div = <(48 * 1024)>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "rclk";
}; };
oscclk_clk: oscclk_clk { oscclk_clk: oscclk {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL1>; clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <(12 * 1024)>; clock-div = <(12 * 1024)>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "oscclk";
}; };
zb3_clk: zb3_clk { zb3_clk: zb3 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL3>; clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <4>; clock-div = <4>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zb3";
}; };
zb3d2_clk: zb3d2_clk { zb3d2_clk: zb3d2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL3>; clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zb3d2";
}; };
ddr_clk: ddr_clk { ddr_clk: ddr {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7790_CLK_PLL3>; clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "ddr";
}; };
mp_clk: mp_clk { mp_clk: mp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <15>; clock-div = <15>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "mp";
}; };
cp_clk: cp_clk { cp_clk: cp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&extal_clk>; clocks = <&extal_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "cp";
}; };
/* Gate clocks */ /* Gate clocks */
......
...@@ -242,11 +242,10 @@ vccq_sdhi2: regulator@5 { ...@@ -242,11 +242,10 @@ vccq_sdhi2: regulator@5 {
1800000 0>; 1800000 0>;
}; };
audio_clock: clock { audio_clock: audio_clock {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <11289600>; clock-frequency = <11289600>;
clock-output-names = "audio_clock";
}; };
rsnd_ak4643: sound { rsnd_ak4643: sound {
...@@ -324,89 +323,89 @@ &pfc { ...@@ -324,89 +323,89 @@ &pfc {
pinctrl-names = "default"; pinctrl-names = "default";
i2c2_pins: i2c2 { i2c2_pins: i2c2 {
renesas,groups = "i2c2"; groups = "i2c2";
renesas,function = "i2c2"; function = "i2c2";
}; };
du_pins: du { du_pins: du {
renesas,groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
renesas,function = "du"; function = "du";
}; };
scif0_pins: serial0 { scif0_pins: serial0 {
renesas,groups = "scif0_data_d"; groups = "scif0_data_d";
renesas,function = "scif0"; function = "scif0";
}; };
scif1_pins: serial1 { scif1_pins: serial1 {
renesas,groups = "scif1_data_d"; groups = "scif1_data_d";
renesas,function = "scif1"; function = "scif1";
}; };
scif_clk_pins: scif_clk { scif_clk_pins: scif_clk {
renesas,groups = "scif_clk"; groups = "scif_clk";
renesas,function = "scif_clk"; function = "scif_clk";
}; };
ether_pins: ether { ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth"; function = "eth";
}; };
phy1_pins: phy1 { phy1_pins: phy1 {
renesas,groups = "intc_irq0"; groups = "intc_irq0";
renesas,function = "intc"; function = "intc";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl"; groups = "sdhi0_data4", "sdhi0_ctrl";
renesas,function = "sdhi0"; function = "sdhi0";
}; };
sdhi1_pins: sd1 { sdhi1_pins: sd1 {
renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; groups = "sdhi1_data4", "sdhi1_ctrl";
renesas,function = "sdhi1"; function = "sdhi1";
}; };
sdhi2_pins: sd2 { sdhi2_pins: sd2 {
renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; groups = "sdhi2_data4", "sdhi2_ctrl";
renesas,function = "sdhi2"; function = "sdhi2";
}; };
qspi_pins: spi0 { qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4"; groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi"; function = "qspi";
}; };
msiof0_pins: spi1 { msiof0_pins: spi1 {
renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx", groups = "msiof0_clk", "msiof0_sync", "msiof0_rx",
"msiof0_tx"; "msiof0_tx";
renesas,function = "msiof0"; function = "msiof0";
}; };
usb0_pins: usb0 { usb0_pins: usb0 {
renesas,groups = "usb0"; groups = "usb0";
renesas,function = "usb0"; function = "usb0";
}; };
usb1_pins: usb1 { usb1_pins: usb1 {
renesas,groups = "usb1"; groups = "usb1";
renesas,function = "usb1"; function = "usb1";
}; };
vin1_pins: vin1 { vin1_pins: vin1 {
renesas,groups = "vin1_data8", "vin1_clk"; groups = "vin1_data8", "vin1_clk";
renesas,function = "vin1"; function = "vin1";
}; };
sound_pins: sound { sound_pins: sound {
renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
renesas,function = "ssi"; function = "ssi";
}; };
sound_clk_pins: sound_clk { sound_clk_pins: sound_clk {
renesas,groups = "audio_clk_a"; groups = "audio_clk_a";
renesas,function = "audio_clk"; function = "audio_clk";
}; };
}; };
......
...@@ -113,11 +113,10 @@ x16_clk: x16-clock { ...@@ -113,11 +113,10 @@ x16_clk: x16-clock {
clock-frequency = <74250000>; clock-frequency = <74250000>;
}; };
x14_clk: x14-clock { x14_clk: audio_clock {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <11289600>; clock-frequency = <11289600>;
clock-output-names = "audio_clock";
}; };
sound { sound {
...@@ -147,78 +146,78 @@ &pfc { ...@@ -147,78 +146,78 @@ &pfc {
pinctrl-names = "default"; pinctrl-names = "default";
scif0_pins: serial0 { scif0_pins: serial0 {
renesas,groups = "scif0_data_d"; groups = "scif0_data_d";
renesas,function = "scif0"; function = "scif0";
}; };
scif_clk_pins: scif_clk { scif_clk_pins: scif_clk {
renesas,groups = "scif_clk"; groups = "scif_clk";
renesas,function = "scif_clk"; function = "scif_clk";
}; };
ether_pins: ether { ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth"; function = "eth";
}; };
phy1_pins: phy1 { phy1_pins: phy1 {
renesas,groups = "intc_irq0"; groups = "intc_irq0";
renesas,function = "intc"; function = "intc";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl"; groups = "sdhi0_data4", "sdhi0_ctrl";
renesas,function = "sdhi0"; function = "sdhi0";
}; };
sdhi2_pins: sd2 { sdhi2_pins: sd2 {
renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; groups = "sdhi2_data4", "sdhi2_ctrl";
renesas,function = "sdhi2"; function = "sdhi2";
}; };
qspi_pins: spi0 { qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4"; groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi"; function = "qspi";
}; };
i2c2_pins: i2c2 { i2c2_pins: i2c2 {
renesas,groups = "i2c2"; groups = "i2c2";
renesas,function = "i2c2"; function = "i2c2";
}; };
usb0_pins: usb0 { usb0_pins: usb0 {
renesas,groups = "usb0"; groups = "usb0";
renesas,function = "usb0"; function = "usb0";
}; };
usb1_pins: usb1 { usb1_pins: usb1 {
renesas,groups = "usb1"; groups = "usb1";
renesas,function = "usb1"; function = "usb1";
}; };
vin0_pins: vin0 { vin0_pins: vin0 {
renesas,groups = "vin0_data8", "vin0_clk"; groups = "vin0_data8", "vin0_clk";
renesas,function = "vin0"; function = "vin0";
}; };
can0_pins: can0 { can0_pins: can0 {
renesas,groups = "can0_data"; groups = "can0_data";
renesas,function = "can0"; function = "can0";
}; };
du_pins: du { du_pins: du {
renesas,groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
renesas,function = "du"; function = "du";
}; };
ssi_pins: sound { ssi_pins: sound {
renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
renesas,function = "ssi"; function = "ssi";
}; };
audio_clk_pins: audio_clk { audio_clk_pins: audio_clk {
renesas,groups = "audio_clk_a"; groups = "audio_clk_a";
renesas,function = "audio_clk"; function = "audio_clk";
}; };
}; };
......
...@@ -1048,12 +1048,11 @@ clocks { ...@@ -1048,12 +1048,11 @@ clocks {
ranges; ranges;
/* External root clock */ /* External root clock */
extal_clk: extal_clk { extal_clk: extal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overriden by the board. */ /* This value must be overriden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "extal";
}; };
/* /*
...@@ -1064,27 +1063,23 @@ audio_clk_a: audio_clk_a { ...@@ -1064,27 +1063,23 @@ audio_clk_a: audio_clk_a {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_a";
}; };
audio_clk_b: audio_clk_b { audio_clk_b: audio_clk_b {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_b";
}; };
audio_clk_c: audio_clk_c { audio_clk_c: audio_clk_c {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_c";
}; };
/* External PCIe clock - can be overridden by the board */ /* External PCIe clock - can be overridden by the board */
pcie_bus_clk: pcie_bus_clk { pcie_bus_clk: pcie_bus {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <100000000>; clock-frequency = <100000000>;
clock-output-names = "pcie_bus";
status = "disabled"; status = "disabled";
}; };
...@@ -1098,11 +1093,10 @@ scif_clk: scif { ...@@ -1098,11 +1093,10 @@ scif_clk: scif {
}; };
/* External USB clock - can be overridden by the board */ /* External USB clock - can be overridden by the board */
usb_extal_clk: usb_extal_clk { usb_extal_clk: usb_extal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <48000000>; clock-frequency = <48000000>;
clock-output-names = "usb_extal";
}; };
/* External CAN clock */ /* External CAN clock */
...@@ -1111,7 +1105,6 @@ can_clk: can_clk { ...@@ -1111,7 +1105,6 @@ can_clk: can_clk {
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overridden by the board. */ /* This value must be overridden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "can_clk";
status = "disabled"; status = "disabled";
}; };
...@@ -1129,178 +1122,156 @@ cpg_clocks: cpg_clocks@e6150000 { ...@@ -1129,178 +1122,156 @@ cpg_clocks: cpg_clocks@e6150000 {
}; };
/* Variable factor clocks */ /* Variable factor clocks */
sd2_clk: sd2_clk@e6150078 { sd2_clk: sd2@e6150078 {
compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150078 0 4>; reg = <0 0xe6150078 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sd2";
}; };
sd3_clk: sd3_clk@e615026c { sd3_clk: sd3@e615026c {
compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615026c 0 4>; reg = <0 0xe615026c 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sd3";
}; };
mmc0_clk: mmc0_clk@e6150240 { mmc0_clk: mmc0@e6150240 {
compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150240 0 4>; reg = <0 0xe6150240 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mmc0";
}; };
ssp_clk: ssp_clk@e6150248 { ssp_clk: ssp@e6150248 {
compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150248 0 4>; reg = <0 0xe6150248 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "ssp";
}; };
ssprs_clk: ssprs_clk@e615024c { ssprs_clk: ssprs@e615024c {
compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615024c 0 4>; reg = <0 0xe615024c 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "ssprs";
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
pll1_div2_clk: pll1_div2_clk { pll1_div2_clk: pll1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll1_div2";
}; };
zg_clk: zg_clk { zg_clk: zg {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <3>; clock-div = <3>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zg";
}; };
zx_clk: zx_clk { zx_clk: zx {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <3>; clock-div = <3>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zx";
}; };
zs_clk: zs_clk { zs_clk: zs {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <6>; clock-div = <6>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zs";
}; };
hp_clk: hp_clk { hp_clk: hp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <12>; clock-div = <12>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "hp";
}; };
i_clk: i_clk { i_clk: i {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "i";
}; };
b_clk: b_clk { b_clk: b {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <12>; clock-div = <12>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "b";
}; };
p_clk: p_clk { p_clk: p {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <24>; clock-div = <24>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "p";
}; };
cl_clk: cl_clk { cl_clk: cl {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <48>; clock-div = <48>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "cl";
}; };
m2_clk: m2_clk { m2_clk: m2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "m2";
}; };
rclk_clk: rclk_clk { rclk_clk: rclk {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <(48 * 1024)>; clock-div = <(48 * 1024)>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "rclk";
}; };
oscclk_clk: oscclk_clk { oscclk_clk: oscclk {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL1>; clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <(12 * 1024)>; clock-div = <(12 * 1024)>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "oscclk";
}; };
zb3_clk: zb3_clk { zb3_clk: zb3 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL3>; clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <4>; clock-div = <4>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zb3";
}; };
zb3d2_clk: zb3d2_clk { zb3d2_clk: zb3d2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL3>; clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zb3d2";
}; };
ddr_clk: ddr_clk { ddr_clk: ddr {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7791_CLK_PLL3>; clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "ddr";
}; };
mp_clk: mp_clk { mp_clk: mp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <15>; clock-div = <15>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "mp";
}; };
cp_clk: cp_clk { cp_clk: cp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&extal_clk>; clocks = <&extal_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "cp";
}; };
/* Gate clocks */ /* Gate clocks */
......
...@@ -158,11 +158,10 @@ led8 { ...@@ -158,11 +158,10 @@ led8 {
}; };
}; };
audio_clock: clock { audio_clock: audio_clock {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <11289600>; clock-frequency = <11289600>;
clock-output-names = "audio_clock";
}; };
rsnd_ak4643: sound { rsnd_ak4643: sound {
...@@ -240,53 +239,53 @@ &pfc { ...@@ -240,53 +239,53 @@ &pfc {
pinctrl-names = "default"; pinctrl-names = "default";
i2c2_pins: i2c2 { i2c2_pins: i2c2 {
renesas,groups = "i2c2"; groups = "i2c2";
renesas,function = "i2c2"; function = "i2c2";
}; };
du_pins: du { du_pins: du {
renesas,groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
renesas,function = "du"; function = "du";
}; };
scif0_pins: serial0 { scif0_pins: serial0 {
renesas,groups = "scif0_data_d"; groups = "scif0_data_d";
renesas,function = "scif0"; function = "scif0";
}; };
scif1_pins: serial1 { scif1_pins: serial1 {
renesas,groups = "scif1_data_d"; groups = "scif1_data_d";
renesas,function = "scif1"; function = "scif1";
}; };
scif_clk_pins: scif_clk { scif_clk_pins: scif_clk {
renesas,groups = "scif_clk"; groups = "scif_clk";
renesas,function = "scif_clk"; function = "scif_clk";
}; };
ether_pins: ether { ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth"; function = "eth";
}; };
phy1_pins: phy1 { phy1_pins: phy1 {
renesas,groups = "intc_irq0"; groups = "intc_irq0";
renesas,function = "intc"; function = "intc";
}; };
qspi_pins: spi0 { qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4"; groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi"; function = "qspi";
}; };
sound_pins: sound { sound_pins: sound {
renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
renesas,function = "ssi"; function = "ssi";
}; };
sound_clk_pins: sound_clk { sound_clk_pins: sound_clk {
renesas,groups = "audio_clk_a"; groups = "audio_clk_a";
renesas,function = "audio_clk"; function = "audio_clk";
}; };
}; };
......
...@@ -812,12 +812,11 @@ clocks { ...@@ -812,12 +812,11 @@ clocks {
ranges; ranges;
/* External root clock */ /* External root clock */
extal_clk: extal_clk { extal_clk: extal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overridden by the board. */ /* This value must be overridden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "extal";
}; };
/* /*
...@@ -828,19 +827,16 @@ audio_clk_a: audio_clk_a { ...@@ -828,19 +827,16 @@ audio_clk_a: audio_clk_a {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_a";
}; };
audio_clk_b: audio_clk_b { audio_clk_b: audio_clk_b {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_b";
}; };
audio_clk_c: audio_clk_c { audio_clk_c: audio_clk_c {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "audio_clk_c";
}; };
/* External SCIF clock */ /* External SCIF clock */
...@@ -866,111 +862,98 @@ cpg_clocks: cpg_clocks@e6150000 { ...@@ -866,111 +862,98 @@ cpg_clocks: cpg_clocks@e6150000 {
}; };
/* Variable factor clocks */ /* Variable factor clocks */
sd2_clk: sd2_clk@e6150078 { sd2_clk: sd2@e6150078 {
compatible = "renesas,r8a7793-div6-clock", compatible = "renesas,r8a7793-div6-clock",
"renesas,cpg-div6-clock"; "renesas,cpg-div6-clock";
reg = <0 0xe6150078 0 4>; reg = <0 0xe6150078 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sd2";
}; };
sd3_clk: sd3_clk@e615026c { sd3_clk: sd3@e615026c {
compatible = "renesas,r8a7793-div6-clock", compatible = "renesas,r8a7793-div6-clock",
"renesas,cpg-div6-clock"; "renesas,cpg-div6-clock";
reg = <0 0xe615026c 0 4>; reg = <0 0xe615026c 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sd3";
}; };
mmc0_clk: mmc0_clk@e6150240 { mmc0_clk: mmc0@e6150240 {
compatible = "renesas,r8a7793-div6-clock", compatible = "renesas,r8a7793-div6-clock",
"renesas,cpg-div6-clock"; "renesas,cpg-div6-clock";
reg = <0 0xe6150240 0 4>; reg = <0 0xe6150240 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mmc0";
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
pll1_div2_clk: pll1_div2_clk { pll1_div2_clk: pll1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7793_CLK_PLL1>; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll1_div2";
}; };
zg_clk: zg_clk { zg_clk: zg {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7793_CLK_PLL1>; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <5>; clock-div = <5>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zg";
}; };
zx_clk: zx_clk { zx_clk: zx {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7793_CLK_PLL1>; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <3>; clock-div = <3>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zx";
}; };
zs_clk: zs_clk { zs_clk: zs {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7793_CLK_PLL1>; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <6>; clock-div = <6>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zs";
}; };
hp_clk: hp_clk { hp_clk: hp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7793_CLK_PLL1>; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <12>; clock-div = <12>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "hp";
}; };
p_clk: p_clk { p_clk: p {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7793_CLK_PLL1>; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <24>; clock-div = <24>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "p";
}; };
m2_clk: m2_clk { m2_clk: m2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7793_CLK_PLL1>; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "m2";
}; };
rclk_clk: rclk_clk { rclk_clk: rclk {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7793_CLK_PLL1>; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <(48 * 1024)>; clock-div = <(48 * 1024)>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "rclk";
}; };
mp_clk: mp_clk { mp_clk: mp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <15>; clock-div = <15>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "mp";
}; };
cp_clk: cp_clk { cp_clk: cp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&extal_clk>; clocks = <&extal_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "cp";
}; };
/* Gate clocks */ /* Gate clocks */
......
...@@ -107,38 +107,38 @@ &pfc { ...@@ -107,38 +107,38 @@ &pfc {
pinctrl-names = "default"; pinctrl-names = "default";
du_pins: du { du_pins: du {
renesas,groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_dotclkout0"; groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_dotclkout0";
renesas,function = "du"; function = "du";
}; };
scif2_pins: serial2 { scif2_pins: serial2 {
renesas,groups = "scif2_data"; groups = "scif2_data";
renesas,function = "scif2"; function = "scif2";
}; };
scif_clk_pins: scif_clk { scif_clk_pins: scif_clk {
renesas,groups = "scif_clk"; groups = "scif_clk";
renesas,function = "scif_clk"; function = "scif_clk";
}; };
ether_pins: ether { ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth"; function = "eth";
}; };
phy1_pins: phy1 { phy1_pins: phy1 {
renesas,groups = "intc_irq8"; groups = "intc_irq8";
renesas,function = "intc"; function = "intc";
}; };
i2c1_pins: i2c1 { i2c1_pins: i2c1 {
renesas,groups = "i2c1"; groups = "i2c1";
renesas,function = "i2c1"; function = "i2c1";
}; };
vin0_pins: vin0 { vin0_pins: vin0 {
renesas,groups = "vin0_data8", "vin0_clk"; groups = "vin0_data8", "vin0_clk";
renesas,function = "vin0"; function = "vin0";
}; };
}; };
...@@ -148,8 +148,8 @@ &cmt0 { ...@@ -148,8 +148,8 @@ &cmt0 {
&pfc { &pfc {
qspi_pins: spi0 { qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4"; groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi"; function = "qspi";
}; };
}; };
......
...@@ -130,58 +130,58 @@ &pfc { ...@@ -130,58 +130,58 @@ &pfc {
pinctrl-names = "default"; pinctrl-names = "default";
scif2_pins: serial2 { scif2_pins: serial2 {
renesas,groups = "scif2_data"; groups = "scif2_data";
renesas,function = "scif2"; function = "scif2";
}; };
scif_clk_pins: scif_clk { scif_clk_pins: scif_clk {
renesas,groups = "scif_clk"; groups = "scif_clk";
renesas,function = "scif_clk"; function = "scif_clk";
}; };
ether_pins: ether { ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth"; function = "eth";
}; };
phy1_pins: phy1 { phy1_pins: phy1 {
renesas,groups = "intc_irq8"; groups = "intc_irq8";
renesas,function = "intc"; function = "intc";
}; };
i2c1_pins: i2c1 { i2c1_pins: i2c1 {
renesas,groups = "i2c1"; groups = "i2c1";
renesas,function = "i2c1"; function = "i2c1";
}; };
mmcif0_pins: mmcif0 { mmcif0_pins: mmcif0 {
renesas,groups = "mmc_data8", "mmc_ctrl"; groups = "mmc_data8", "mmc_ctrl";
renesas,function = "mmc"; function = "mmc";
}; };
sdhi1_pins: sd1 { sdhi1_pins: sd1 {
renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; groups = "sdhi1_data4", "sdhi1_ctrl";
renesas,function = "sdhi1"; function = "sdhi1";
}; };
qspi_pins: spi0 { qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4"; groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi"; function = "qspi";
}; };
vin0_pins: vin0 { vin0_pins: vin0 {
renesas,groups = "vin0_data8", "vin0_clk"; groups = "vin0_data8", "vin0_clk";
renesas,function = "vin0"; function = "vin0";
}; };
usb0_pins: usb0 { usb0_pins: usb0 {
renesas,groups = "usb0"; groups = "usb0";
renesas,function = "usb0"; function = "usb0";
}; };
usb1_pins: usb1 { usb1_pins: usb1 {
renesas,groups = "usb1"; groups = "usb1";
renesas,function = "usb1"; function = "usb1";
}; };
}; };
......
...@@ -836,12 +836,11 @@ clocks { ...@@ -836,12 +836,11 @@ clocks {
ranges; ranges;
/* External root clock */ /* External root clock */
extal_clk: extal_clk { extal_clk: extal {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
/* This value must be overriden by the board. */ /* This value must be overriden by the board. */
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "extal";
}; };
/* External SCIF clock */ /* External SCIF clock */
...@@ -865,173 +864,152 @@ cpg_clocks: cpg_clocks@e6150000 { ...@@ -865,173 +864,152 @@ cpg_clocks: cpg_clocks@e6150000 {
#power-domain-cells = <0>; #power-domain-cells = <0>;
}; };
/* Variable factor clocks */ /* Variable factor clocks */
sd2_clk: sd2_clk@e6150078 { sd2_clk: sd2@e6150078 {
compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150078 0 4>; reg = <0 0xe6150078 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sd2";
}; };
sd3_clk: sd3_clk@e615026c { sd3_clk: sd3@e615026c {
compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe615026c 0 4>; reg = <0 0xe615026c 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sd3";
}; };
mmc0_clk: mmc0_clk@e6150240 { mmc0_clk: mmc0@e6150240 {
compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
reg = <0 0xe6150240 0 4>; reg = <0 0xe6150240 0 4>;
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mmc0";
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
pll1_div2_clk: pll1_div2_clk { pll1_div2_clk: pll1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll1_div2";
}; };
zg_clk: zg_clk { zg_clk: zg {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <6>; clock-div = <6>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zg";
}; };
zx_clk: zx_clk { zx_clk: zx {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <3>; clock-div = <3>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zx";
}; };
zs_clk: zs_clk { zs_clk: zs {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <6>; clock-div = <6>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zs";
}; };
hp_clk: hp_clk { hp_clk: hp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <12>; clock-div = <12>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "hp";
}; };
i_clk: i_clk { i_clk: i {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "i";
}; };
b_clk: b_clk { b_clk: b {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <12>; clock-div = <12>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "b";
}; };
p_clk: p_clk { p_clk: p {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <24>; clock-div = <24>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "p";
}; };
cl_clk: cl_clk { cl_clk: cl {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <48>; clock-div = <48>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "cl";
}; };
m2_clk: m2_clk { m2_clk: m2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "m2";
}; };
rclk_clk: rclk_clk { rclk_clk: rclk {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <(48 * 1024)>; clock-div = <(48 * 1024)>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "rclk";
}; };
oscclk_clk: oscclk_clk { oscclk_clk: oscclk {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <(12 * 1024)>; clock-div = <(12 * 1024)>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "oscclk";
}; };
zb3_clk: zb3_clk { zb3_clk: zb3 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL3>; clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <4>; clock-div = <4>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zb3";
}; };
zb3d2_clk: zb3d2_clk { zb3d2_clk: zb3d2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL3>; clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "zb3d2";
}; };
ddr_clk: ddr_clk { ddr_clk: ddr {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL3>; clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <8>; clock-div = <8>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "ddr";
}; };
mp_clk: mp_clk { mp_clk: mp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&pll1_div2_clk>; clocks = <&pll1_div2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <15>; clock-div = <15>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "mp";
}; };
cp_clk: cp_clk { cp_clk: cp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks R8A7794_CLK_PLL1>; clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <48>; clock-div = <48>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "cp";
}; };
acp_clk: acp_clk { acp_clk: acp {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&extal_clk>; clocks = <&extal_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "acp";
}; };
/* Gate clocks */ /* Gate clocks */
......
...@@ -329,41 +329,41 @@ &mmcif { ...@@ -329,41 +329,41 @@ &mmcif {
&pfc { &pfc {
i2c3_pins: i2c3 { i2c3_pins: i2c3 {
renesas,groups = "i2c3_1"; groups = "i2c3_1";
renesas,function = "i2c3"; function = "i2c3";
}; };
mmcif_pins: mmc { mmcif_pins: mmc {
mux { mux {
renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0"; groups = "mmc0_data8_0", "mmc0_ctrl_0";
renesas,function = "mmc0"; function = "mmc0";
}; };
cfg { cfg {
renesas,groups = "mmc0_data8_0"; groups = "mmc0_data8_0";
renesas,pins = "PORT279"; pins = "PORT279";
bias-pull-up; bias-pull-up;
}; };
}; };
scifa4_pins: serial4 { scifa4_pins: serial4 {
renesas,groups = "scifa4_data", "scifa4_ctrl"; groups = "scifa4_data", "scifa4_ctrl";
renesas,function = "scifa4"; function = "scifa4";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp"; groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
renesas,function = "sdhi0"; function = "sdhi0";
}; };
sdhi2_pins: sd2 { sdhi2_pins: sd2 {
renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; groups = "sdhi2_data4", "sdhi2_ctrl";
renesas,function = "sdhi2"; function = "sdhi2";
}; };
fsia_pins: sounda { fsia_pins: sounda {
renesas,groups = "fsia_mclk_in", "fsia_sclk_in", groups = "fsia_mclk_in", "fsia_sclk_in",
"fsia_data_in", "fsia_data_out"; "fsia_data_in", "fsia_data_out";
renesas,function = "fsia"; function = "fsia";
}; };
}; };
......
...@@ -602,39 +602,33 @@ clocks { ...@@ -602,39 +602,33 @@ clocks {
ranges; ranges;
/* External root clocks */ /* External root clocks */
extalr_clk: extalr_clk { extalr_clk: extalr {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <32768>; clock-frequency = <32768>;
clock-output-names = "extalr";
}; };
extal1_clk: extal1_clk { extal1_clk: extal1 {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <26000000>; clock-frequency = <26000000>;
clock-output-names = "extal1";
}; };
extal2_clk: extal2_clk { extal2_clk: extal2 {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "extal2";
}; };
extcki_clk: extcki_clk { extcki_clk: extcki {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "extcki";
}; };
fsiack_clk: fsiack_clk { fsiack_clk: fsiack {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "fsiack";
}; };
fsibck_clk: fsibck_clk { fsibck_clk: fsibck {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <0>; clock-frequency = <0>;
clock-output-names = "fsibck";
}; };
/* Special CPG clocks */ /* Special CPG clocks */
...@@ -650,7 +644,7 @@ cpg_clocks: cpg_clocks@e6150000 { ...@@ -650,7 +644,7 @@ cpg_clocks: cpg_clocks@e6150000 {
}; };
/* Variable factor clocks (DIV6) */ /* Variable factor clocks (DIV6) */
vclk1_clk: vclk1_clk@e6150008 { vclk1_clk: vclk1@e6150008 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150008 4>; reg = <0xe6150008 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
...@@ -658,9 +652,8 @@ vclk1_clk: vclk1_clk@e6150008 { ...@@ -658,9 +652,8 @@ vclk1_clk: vclk1_clk@e6150008 {
<&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>, <&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>,
<0>; <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk1";
}; };
vclk2_clk: vclk2_clk@e615000c { vclk2_clk: vclk2@e615000c {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe615000c 4>; reg = <0xe615000c 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
...@@ -668,9 +661,8 @@ vclk2_clk: vclk2_clk@e615000c { ...@@ -668,9 +661,8 @@ vclk2_clk: vclk2_clk@e615000c {
<&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>, <&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>,
<0>; <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk2";
}; };
vclk3_clk: vclk3_clk@e615001c { vclk3_clk: vclk3@e615001c {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe615001c 4>; reg = <0xe615001c 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
...@@ -678,7 +670,6 @@ vclk3_clk: vclk3_clk@e615001c { ...@@ -678,7 +670,6 @@ vclk3_clk: vclk3_clk@e615001c {
<&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>, <&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>,
<0>; <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "vclk3";
}; };
zb_clk: zb_clk@e6150010 { zb_clk: zb_clk@e6150010 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
...@@ -688,168 +679,148 @@ zb_clk: zb_clk@e6150010 { ...@@ -688,168 +679,148 @@ zb_clk: zb_clk@e6150010 {
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "zb"; clock-output-names = "zb";
}; };
flctl_clk: flctl_clk@e6150014 { flctl_clk: flctlck@e6150014 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150014 4>; reg = <0xe6150014 4>;
clocks = <&pll1_div2_clk>, <0>, clocks = <&pll1_div2_clk>, <0>,
<&cpg_clocks SH73A0_CLK_PLL2>, <0>; <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "flctlck";
}; };
sdhi0_clk: sdhi0_clk@e6150074 { sdhi0_clk: sdhi0ck@e6150074 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150074 4>; reg = <0xe6150074 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&pll1_div13_clk>, <0>; <&pll1_div13_clk>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sdhi0ck";
}; };
sdhi1_clk: sdhi1_clk@e6150078 { sdhi1_clk: sdhi1ck@e6150078 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150078 4>; reg = <0xe6150078 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&pll1_div13_clk>, <0>; <&pll1_div13_clk>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sdhi1ck";
}; };
sdhi2_clk: sdhi2_clk@e615007c { sdhi2_clk: sdhi2ck@e615007c {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe615007c 4>; reg = <0xe615007c 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&pll1_div13_clk>, <0>; <&pll1_div13_clk>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sdhi2ck";
}; };
fsia_clk: fsia_clk@e6150018 { fsia_clk: fsia@e6150018 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150018 4>; reg = <0xe6150018 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&fsiack_clk>, <&fsiack_clk>; <&fsiack_clk>, <&fsiack_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "fsia";
}; };
fsib_clk: fsib_clk@e6150090 { fsib_clk: fsib@e6150090 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150090 4>; reg = <0xe6150090 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&fsibck_clk>, <&fsibck_clk>; <&fsibck_clk>, <&fsibck_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "fsib";
}; };
sub_clk: sub_clk@e6150080 { sub_clk: sub@e6150080 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150080 4>; reg = <0xe6150080 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&extal2_clk>, <&extal2_clk>; <&extal2_clk>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "sub";
}; };
spua_clk: spua_clk@e6150084 { spua_clk: spua@e6150084 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150084 4>; reg = <0xe6150084 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&extal2_clk>, <&extal2_clk>; <&extal2_clk>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "spua";
}; };
spuv_clk: spuv_clk@e6150094 { spuv_clk: spuv@e6150094 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150094 4>; reg = <0xe6150094 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&extal2_clk>, <&extal2_clk>; <&extal2_clk>, <&extal2_clk>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "spuv";
}; };
msu_clk: msu_clk@e6150088 { msu_clk: msu@e6150088 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150088 4>; reg = <0xe6150088 4>;
clocks = <&pll1_div2_clk>, <0>, clocks = <&pll1_div2_clk>, <0>,
<&cpg_clocks SH73A0_CLK_PLL2>, <0>; <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "msu";
}; };
hsi_clk: hsi_clk@e615008c { hsi_clk: hsi@e615008c {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe615008c 4>; reg = <0xe615008c 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&pll1_div7_clk>, <0>; <&pll1_div7_clk>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "hsi";
}; };
mfg1_clk: mfg1_clk@e6150098 { mfg1_clk: mfg1@e6150098 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150098 4>; reg = <0xe6150098 4>;
clocks = <&pll1_div2_clk>, <0>, clocks = <&pll1_div2_clk>, <0>,
<&cpg_clocks SH73A0_CLK_PLL2>, <0>; <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mfg1";
}; };
mfg2_clk: mfg2_clk@e615009c { mfg2_clk: mfg2@e615009c {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe615009c 4>; reg = <0xe615009c 4>;
clocks = <&pll1_div2_clk>, <0>, clocks = <&pll1_div2_clk>, <0>,
<&cpg_clocks SH73A0_CLK_PLL2>, <0>; <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mfg2";
}; };
dsit_clk: dsit_clk@e6150060 { dsit_clk: dsit@e6150060 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150060 4>; reg = <0xe6150060 4>;
clocks = <&pll1_div2_clk>, <0>, clocks = <&pll1_div2_clk>, <0>,
<&cpg_clocks SH73A0_CLK_PLL2>, <0>; <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "dsit";
}; };
dsi0p_clk: dsi0p_clk@e6150064 { dsi0p_clk: dsi0pck@e6150064 {
compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock"; compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe6150064 4>; reg = <0xe6150064 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>, clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
<&cpg_clocks SH73A0_CLK_MAIN>, <&extal2_clk>, <&cpg_clocks SH73A0_CLK_MAIN>, <&extal2_clk>,
<&extcki_clk>, <0>, <0>, <0>; <&extcki_clk>, <0>, <0>, <0>;
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "dsi0pck";
}; };
/* Fixed factor clocks */ /* Fixed factor clocks */
main_div2_clk: main_div2_clk { main_div2_clk: main_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks SH73A0_CLK_MAIN>; clocks = <&cpg_clocks SH73A0_CLK_MAIN>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "main_div2";
}; };
pll1_div2_clk: pll1_div2_clk { pll1_div2_clk: pll1_div2 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks SH73A0_CLK_PLL1>; clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <2>; clock-div = <2>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll1_div2";
}; };
pll1_div7_clk: pll1_div7_clk { pll1_div7_clk: pll1_div7 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks SH73A0_CLK_PLL1>; clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <7>; clock-div = <7>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll1_div7";
}; };
pll1_div13_clk: pll1_div13_clk { pll1_div13_clk: pll1_div13 {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks SH73A0_CLK_PLL1>; clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <13>; clock-div = <13>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "pll1_div13";
}; };
twd_clk: twd_clk { twd_clk: twd {
compatible = "fixed-factor-clock"; compatible = "fixed-factor-clock";
clocks = <&cpg_clocks SH73A0_CLK_Z>; clocks = <&cpg_clocks SH73A0_CLK_Z>;
#clock-cells = <0>; #clock-cells = <0>;
clock-div = <4>; clock-div = <4>;
clock-mult = <1>; clock-mult = <1>;
clock-output-names = "twd";
}; };
/* Gate clocks */ /* Gate clocks */
......
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