dts: bindings: clock: Change clock control binding for Renesas RA
Background of this modification is to make clock control driver code provided by Renesas vendor to support for Renesas MCU on Zephyr. Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
This commit is contained in:
parent
516794843d
commit
370bd31d2a
47 changed files with 115 additions and 112 deletions
|
@ -96,6 +96,8 @@ The below features are currently supported on Zephyr OS for EK-RA6E2 board:
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
| UART | on-chip | serial |
|
| UART | on-chip | serial |
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
|
| CLOCK | on-chip | clock control |
|
||||||
|
+-----------+------------+----------------------+
|
||||||
|
|
||||||
Other hardware features are currently not supported by the port.
|
Other hardware features are currently not supported by the port.
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,5 @@
|
||||||
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
||||||
div = <RA_PLL_DIV_1>;
|
div = <RA_PLL_DIV_1>;
|
||||||
mul = <10 0>;
|
mul = <10 0>;
|
||||||
freq = <DT_FREQ_M(200)>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,3 +15,4 @@ CONFIG_CONSOLE=y
|
||||||
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
CONFIG_BUILD_NO_GAP_FILL=y
|
CONFIG_BUILD_NO_GAP_FILL=y
|
||||||
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
|
@ -92,6 +92,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M1 board:
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
| UART | on-chip | serial |
|
| UART | on-chip | serial |
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
|
| CLOCK | on-chip | clock control |
|
||||||
|
+-----------+------------+----------------------+
|
||||||
|
|
||||||
Other hardware features are currently not supported by the port.
|
Other hardware features are currently not supported by the port.
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_PINCTRL=y
|
||||||
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
CONFIG_BUILD_NO_GAP_FILL=y
|
CONFIG_BUILD_NO_GAP_FILL=y
|
||||||
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
||||||
# Enable Console
|
# Enable Console
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
|
|
|
@ -86,6 +86,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M2 board:
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
| UART | on-chip | serial |
|
| UART | on-chip | serial |
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
|
| CLOCK | on-chip | clock control |
|
||||||
|
+-----------+------------+----------------------+
|
||||||
|
|
||||||
Other hardware features are currently not supported by the port.
|
Other hardware features are currently not supported by the port.
|
||||||
|
|
||||||
|
|
|
@ -65,9 +65,3 @@
|
||||||
mul = <20 0>;
|
mul = <20 0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&pclka {
|
|
||||||
clk_src = <RA_CLOCK_SOURCE_PLL>;
|
|
||||||
clk_div = <RA_SCI_CLOCK_DIV_2>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_PINCTRL=y
|
||||||
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
CONFIG_BUILD_NO_GAP_FILL=y
|
CONFIG_BUILD_NO_GAP_FILL=y
|
||||||
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
||||||
# Enable Console
|
# Enable Console
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
|
|
|
@ -94,6 +94,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M3 board:
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
| UART | on-chip | serial |
|
| UART | on-chip | serial |
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
|
| CLOCK | on-chip | clock control |
|
||||||
|
+-----------+------------+----------------------+
|
||||||
|
|
||||||
Other hardware features are currently not supported by the port.
|
Other hardware features are currently not supported by the port.
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,5 @@
|
||||||
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
||||||
div = <RA_PLL_DIV_2>;
|
div = <RA_PLL_DIV_2>;
|
||||||
mul = <20 0>;
|
mul = <20 0>;
|
||||||
freq = <DT_FREQ_M(240)>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,3 +15,4 @@ CONFIG_UART_CONSOLE=y
|
||||||
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
CONFIG_BUILD_NO_GAP_FILL=y
|
CONFIG_BUILD_NO_GAP_FILL=y
|
||||||
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
|
@ -99,6 +99,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M4 board:
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
| UART | on-chip | serial |
|
| UART | on-chip | serial |
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
|
| CLOCK | on-chip | clock control |
|
||||||
|
+-----------+------------+----------------------+
|
||||||
|
|
||||||
Other hardware features are currently not supported by the port.
|
Other hardware features are currently not supported by the port.
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,6 @@
|
||||||
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
||||||
div = <RA_PLL_DIV_3>;
|
div = <RA_PLL_DIV_3>;
|
||||||
mul = <25 0>;
|
mul = <25 0>;
|
||||||
freq = <DT_FREQ_M(200)>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -15,3 +15,4 @@ CONFIG_UART_CONSOLE=y
|
||||||
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
CONFIG_BUILD_NO_GAP_FILL=y
|
CONFIG_BUILD_NO_GAP_FILL=y
|
||||||
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
|
@ -97,6 +97,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M5 board:
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
| UART | on-chip | serial |
|
| UART | on-chip | serial |
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
|
| CLOCK | on-chip | clock control |
|
||||||
|
+-----------+------------+----------------------+
|
||||||
|
|
||||||
Other hardware features are currently not supported by the port.
|
Other hardware features are currently not supported by the port.
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,5 @@
|
||||||
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
||||||
div = <RA_PLL_DIV_3>;
|
div = <RA_PLL_DIV_3>;
|
||||||
mul = <25 0>;
|
mul = <25 0>;
|
||||||
freq = <DT_FREQ_M(200)>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_PINCTRL=y
|
||||||
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
CONFIG_BUILD_NO_GAP_FILL=y
|
CONFIG_BUILD_NO_GAP_FILL=y
|
||||||
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
||||||
# Enable Console
|
# Enable Console
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
|
|
|
@ -60,7 +60,6 @@
|
||||||
source = <RA_PLL_SOURCE_HOCO>;
|
source = <RA_PLL_SOURCE_HOCO>;
|
||||||
div = <RA_PLL_DIV_2>;
|
div = <RA_PLL_DIV_2>;
|
||||||
mul = <20 0>;
|
mul = <20 0>;
|
||||||
freq = <DT_FREQ_M(200)>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -15,3 +15,5 @@ CONFIG_SERIAL=y
|
||||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||||
CONFIG_UART_CONSOLE=y
|
CONFIG_UART_CONSOLE=y
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
|
|
||||||
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
|
@ -81,9 +81,3 @@
|
||||||
mul = <10 0>;
|
mul = <10 0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&pclka {
|
|
||||||
clk_src = <RA_CLOCK_SOURCE_PLL>;
|
|
||||||
clk_div = <RA_SCI_CLOCK_DIV_2>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
|
@ -15,3 +15,4 @@ CONFIG_CONSOLE=y
|
||||||
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
CONFIG_BUILD_NO_GAP_FILL=y
|
CONFIG_BUILD_NO_GAP_FILL=y
|
||||||
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
|
@ -82,7 +82,7 @@ source "drivers/clock_control/Kconfig.agilex5"
|
||||||
|
|
||||||
source "drivers/clock_control/Kconfig.renesas_ra"
|
source "drivers/clock_control/Kconfig.renesas_ra"
|
||||||
|
|
||||||
source "drivers/clock_control/Kconfig.renesas_ra8"
|
source "drivers/clock_control/Kconfig.renesas_ra_cgc"
|
||||||
|
|
||||||
source "drivers/clock_control/Kconfig.max32"
|
source "drivers/clock_control/Kconfig.max32"
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ static const struct clock_control_driver_api clock_control_reneas_ra_api = {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define INIT_PCLK(node_id) \
|
#define INIT_PCLK(node_id) \
|
||||||
IF_ENABLED(DT_NODE_HAS_COMPAT(node_id, renesas_ra8_cgc_pclk), \
|
IF_ENABLED(DT_NODE_HAS_COMPAT(node_id, renesas_ra_cgc_pclk), \
|
||||||
(static const struct clock_control_ra_pclk_cfg node_id##_cfg = \
|
(static const struct clock_control_ra_pclk_cfg node_id##_cfg = \
|
||||||
{.clk_src = DT_PROP_OR(node_id, clk_src, RA_CLOCK_SOURCE_DISABLE), \
|
{.clk_src = DT_PROP_OR(node_id, clk_src, RA_CLOCK_SOURCE_DISABLE), \
|
||||||
.clk_div = DT_PROP_OR(node_id, clk_div, RA_SYS_CLOCK_DIV_1)}; \
|
.clk_div = DT_PROP_OR(node_id, clk_div, RA_SYS_CLOCK_DIV_1)}; \
|
||||||
|
|
|
@ -67,7 +67,6 @@
|
||||||
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
||||||
div = <RA_PLL_DIV_1>;
|
div = <RA_PLL_DIV_1>;
|
||||||
mul = <20 0>;
|
mul = <20 0>;
|
||||||
freq = <DT_FREQ_M(120)>;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -228,7 +228,6 @@
|
||||||
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
source = <RA_PLL_SOURCE_MAIN_OSC>;
|
||||||
div = <RA_PLL_DIV_3>;
|
div = <RA_PLL_DIV_3>;
|
||||||
mul = <25 0>;
|
mul = <25 0>;
|
||||||
freq = <DT_FREQ_M(200)>;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
/ {
|
/ {
|
||||||
clocks: clocks {
|
clocks: clocks {
|
||||||
xtal: clock-xtal {
|
xtal: clock-xtal {
|
||||||
compatible = "renesas,ra8-cgc-external-clock";
|
compatible = "renesas,ra-cgc-external-clock";
|
||||||
clock-frequency = <DT_FREQ_M(20)>;
|
clock-frequency = <DT_FREQ_M(20)>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -35,14 +35,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
subclk: clock-subclk {
|
subclk: clock-subclk {
|
||||||
compatible = "renesas,ra8-cgc-subclk";
|
compatible = "renesas,ra-cgc-subclk";
|
||||||
clock-frequency = <32768>;
|
clock-frequency = <32768>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
pll: pll {
|
pll: pll {
|
||||||
compatible = "renesas,ra8-cgc-pll";
|
compatible = "renesas,ra-cgc-pll";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
|
||||||
/* PLL */
|
/* PLL */
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pll2: pll2 {
|
pll2: pll2 {
|
||||||
compatible = "renesas,ra8-cgc-pll";
|
compatible = "renesas,ra-cgc-pll";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
|
||||||
/* PLL2 */
|
/* PLL2 */
|
||||||
|
@ -76,65 +76,65 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkblock: pclkblock {
|
pclkblock: pclkblock {
|
||||||
compatible = "renesas,ra8-cgc-pclk-block";
|
compatible = "renesas,ra-cgc-pclk-block";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
sysclock-src = <RA_CLOCK_SOURCE_PLL1P>;
|
sysclock-src = <RA_CLOCK_SOURCE_PLL1P>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
cpuclk: cpuclk {
|
cpuclk: cpuclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_1>;
|
clk_div = <RA_SYS_CLOCK_DIV_1>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
iclk: iclk {
|
iclk: iclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclka: pclka {
|
pclka: pclka {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkb: pclkb {
|
pclkb: pclkb {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkc: pclkc {
|
pclkc: pclkc {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkd: pclkd {
|
pclkd: pclkd {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclke: pclke {
|
pclke: pclke {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
bclk: bclk {
|
bclk: bclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
bclkout: bclkout {
|
bclkout: bclkout {
|
||||||
compatible = "renesas,ra8-cgc-busclk";
|
compatible = "renesas,ra-cgc-busclk";
|
||||||
clk_out_div = <2>;
|
clk_out_div = <2>;
|
||||||
sdclk = <1>;
|
sdclk = <1>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
@ -144,62 +144,62 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fclk: fclk {
|
fclk: fclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
clkout: clkout {
|
clkout: clkout {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
sciclk: sciclk {
|
sciclk: sciclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
spiclk: spiclk {
|
spiclk: spiclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
canfdclk: canfdclk {
|
canfdclk: canfdclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
i3cclk: i3cclk {
|
i3cclk: i3cclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
uclk: uclk {
|
uclk: uclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
u60clk: u60clk {
|
u60clk: u60clk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
octaspiclk: octaspiclk {
|
octaspiclk: octaspiclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
lcdclk: lcdclk {
|
lcdclk: lcdclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
/ {
|
/ {
|
||||||
clocks: clocks {
|
clocks: clocks {
|
||||||
xtal: clock-xtal {
|
xtal: clock-xtal {
|
||||||
compatible = "renesas,ra8-cgc-external-clock";
|
compatible = "renesas,ra-cgc-external-clock";
|
||||||
clock-frequency = <DT_FREQ_M(20)>;
|
clock-frequency = <DT_FREQ_M(20)>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -35,14 +35,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
subclk: clock-subclk {
|
subclk: clock-subclk {
|
||||||
compatible = "renesas,ra8-cgc-subclk";
|
compatible = "renesas,ra-cgc-subclk";
|
||||||
clock-frequency = <32768>;
|
clock-frequency = <32768>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
pll: pll {
|
pll: pll {
|
||||||
compatible = "renesas,ra8-cgc-pll";
|
compatible = "renesas,ra-cgc-pll";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
|
||||||
/* PLL */
|
/* PLL */
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pll2: pll2 {
|
pll2: pll2 {
|
||||||
compatible = "renesas,ra8-cgc-pll";
|
compatible = "renesas,ra-cgc-pll";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
|
||||||
/* PLL2 */
|
/* PLL2 */
|
||||||
|
@ -76,65 +76,65 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkblock: pclkblock {
|
pclkblock: pclkblock {
|
||||||
compatible = "renesas,ra8-cgc-pclk-block";
|
compatible = "renesas,ra-cgc-pclk-block";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
sysclock-src = <RA_CLOCK_SOURCE_PLL1P>;
|
sysclock-src = <RA_CLOCK_SOURCE_PLL1P>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
cpuclk: cpuclk {
|
cpuclk: cpuclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_1>;
|
clk_div = <RA_SYS_CLOCK_DIV_1>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
iclk: iclk {
|
iclk: iclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclka: pclka {
|
pclka: pclka {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkb: pclkb {
|
pclkb: pclkb {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkc: pclkc {
|
pclkc: pclkc {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkd: pclkd {
|
pclkd: pclkd {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclke: pclke {
|
pclke: pclke {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
bclk: bclk {
|
bclk: bclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
bclkout: bclkout {
|
bclkout: bclkout {
|
||||||
compatible = "renesas,ra8-cgc-busclk";
|
compatible = "renesas,ra-cgc-busclk";
|
||||||
clk_out_div = <2>;
|
clk_out_div = <2>;
|
||||||
sdclk = <1>;
|
sdclk = <1>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
@ -144,56 +144,56 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fclk: fclk {
|
fclk: fclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
clkout: clkout {
|
clkout: clkout {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
sciclk: sciclk {
|
sciclk: sciclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
spiclk: spiclk {
|
spiclk: spiclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
canfdclk: canfdclk {
|
canfdclk: canfdclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
i3cclk: i3cclk {
|
i3cclk: i3cclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
uclk: uclk {
|
uclk: uclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
u60clk: u60clk {
|
u60clk: u60clk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
octaspiclk: octaspiclk {
|
octaspiclk: octaspiclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
/ {
|
/ {
|
||||||
clocks: clocks {
|
clocks: clocks {
|
||||||
xtal: clock-xtal {
|
xtal: clock-xtal {
|
||||||
compatible = "renesas,ra8-cgc-external-clock";
|
compatible = "renesas,ra-cgc-external-clock";
|
||||||
clock-frequency = <DT_FREQ_M(24)>;
|
clock-frequency = <DT_FREQ_M(24)>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -35,14 +35,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
subclk: clock-subclk {
|
subclk: clock-subclk {
|
||||||
compatible = "renesas,ra8-cgc-subclk";
|
compatible = "renesas,ra-cgc-subclk";
|
||||||
clock-frequency = <32768>;
|
clock-frequency = <32768>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
pll: pll {
|
pll: pll {
|
||||||
compatible = "renesas,ra8-cgc-pll";
|
compatible = "renesas,ra-cgc-pll";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
|
||||||
/* PLL */
|
/* PLL */
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pll2: pll2 {
|
pll2: pll2 {
|
||||||
compatible = "renesas,ra8-cgc-pll";
|
compatible = "renesas,ra-cgc-pll";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
|
||||||
/* PLL2 */
|
/* PLL2 */
|
||||||
|
@ -76,65 +76,65 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkblock: pclkblock {
|
pclkblock: pclkblock {
|
||||||
compatible = "renesas,ra8-cgc-pclk-block";
|
compatible = "renesas,ra-cgc-pclk-block";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
sysclock-src = <RA_CLOCK_SOURCE_PLL1P>;
|
sysclock-src = <RA_CLOCK_SOURCE_PLL1P>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
cpuclk: cpuclk {
|
cpuclk: cpuclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_1>;
|
clk_div = <RA_SYS_CLOCK_DIV_1>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
iclk: iclk {
|
iclk: iclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclka: pclka {
|
pclka: pclka {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkb: pclkb {
|
pclkb: pclkb {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkc: pclkc {
|
pclkc: pclkc {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclkd: pclkd {
|
pclkd: pclkd {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pclke: pclke {
|
pclke: pclke {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
clk_div = <RA_SYS_CLOCK_DIV_2>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
bclk: bclk {
|
bclk: bclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
clk_div = <RA_SYS_CLOCK_DIV_4>;
|
||||||
bclkout: bclkout {
|
bclkout: bclkout {
|
||||||
compatible = "renesas,ra8-cgc-busclk";
|
compatible = "renesas,ra-cgc-busclk";
|
||||||
clk_out_div = <2>;
|
clk_out_div = <2>;
|
||||||
sdclk = <1>;
|
sdclk = <1>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
@ -144,62 +144,62 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fclk: fclk {
|
fclk: fclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
clk_div = <RA_SYS_CLOCK_DIV_8>;
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
clkout: clkout {
|
clkout: clkout {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
sciclk: sciclk {
|
sciclk: sciclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
spiclk: spiclk {
|
spiclk: spiclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
canfdclk: canfdclk {
|
canfdclk: canfdclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
i3cclk: i3cclk {
|
i3cclk: i3cclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
uclk: uclk {
|
uclk: uclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
u60clk: u60clk {
|
u60clk: u60clk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
octaspiclk: octaspiclk {
|
octaspiclk: octaspiclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
lcdclk: lcdclk {
|
lcdclk: lcdclk {
|
||||||
compatible = "renesas,ra8-cgc-pclk";
|
compatible = "renesas,ra-cgc-pclk";
|
||||||
#clock-cells = <2>;
|
#clock-cells = <2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Copyright (c) 2024 Renesas Electronics Corporation
|
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
description: Renesas RA8 External Bus Clock
|
description: Renesas RA External Bus Clock
|
||||||
|
|
||||||
compatible: "renesas,ra8-cgc-busclk"
|
compatible: "renesas,ra-cgc-busclk"
|
||||||
|
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Copyright (c) 2024 Renesas Electronics Corporation
|
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
description: Renesas RA8 Clock Generation Circuit external clock configuration
|
description: Renesas RA Clock Generation Circuit external clock configuration
|
||||||
|
|
||||||
compatible: "renesas,ra8-cgc-external-clock"
|
compatible: "renesas,ra-cgc-external-clock"
|
||||||
|
|
||||||
include: [fixed-clock.yaml, base.yaml]
|
include: [fixed-clock.yaml, base.yaml]
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Copyright (c) 2024 Renesas Electronics Corporation
|
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
description: Renesas RA8 clock control node pclk block
|
description: Renesas RA Clock Control node pclk block
|
||||||
|
|
||||||
compatible: "renesas,ra8-cgc-pclk-block"
|
compatible: "renesas,ra-cgc-pclk-block"
|
||||||
|
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Copyright (c) 2024 Renesas Electronics Corporation
|
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
description: Renesas RA8 Clock Control Peripheral Clock
|
description: Renesas RA Clock Control Peripheral Clock
|
||||||
|
|
||||||
compatible: "renesas,ra8-cgc-pclk"
|
compatible: "renesas,ra-cgc-pclk"
|
||||||
|
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Copyright (c) 2024 Renesas Electronics Corporation
|
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
description: Renesas RA8 Clock Generation Circuit PLL Clock
|
description: Renesas RA Clock Generation Circuit PLL Clock
|
||||||
|
|
||||||
compatible: "renesas,ra8-cgc-pll"
|
compatible: "renesas,ra-cgc-pll"
|
||||||
|
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
|
@ -18,10 +18,8 @@ properties:
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
divp:
|
divp:
|
||||||
required: true
|
|
||||||
type: int
|
type: int
|
||||||
freqp:
|
freqp:
|
||||||
required: true
|
|
||||||
type: int
|
type: int
|
||||||
divq:
|
divq:
|
||||||
type: int
|
type: int
|
|
@ -1,9 +1,9 @@
|
||||||
# Copyright (c) 2024 Renesas Electronics Corporation
|
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
description: Renesas RA8 Sub-Clock
|
description: Renesas RA Sub-Clock
|
||||||
|
|
||||||
compatible: "renesas,ra8-cgc-subclk"
|
compatible: "renesas,ra-cgc-subclk"
|
||||||
|
|
||||||
include: fixed-clock.yaml
|
include: fixed-clock.yaml
|
||||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6E1
|
||||||
select CPU_CORTEX_M33
|
select CPU_CORTEX_M33
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select HAS_RENESAS_RA_FSP
|
select HAS_RENESAS_RA_FSP
|
||||||
|
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||||
select CPU_CORTEX_M_HAS_DWT
|
select CPU_CORTEX_M_HAS_DWT
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select ARMV8_M_DSP
|
select ARMV8_M_DSP
|
||||||
|
|
|
@ -38,6 +38,7 @@ static int renesas_ra6e1_init(void)
|
||||||
uint32_t key;
|
uint32_t key;
|
||||||
|
|
||||||
extern volatile uint16_t g_protect_counters[];
|
extern volatile uint16_t g_protect_counters[];
|
||||||
|
|
||||||
for (uint32_t i = 0; i < 4; i++) {
|
for (uint32_t i = 0; i < 4; i++) {
|
||||||
g_protect_counters[i] = 0;
|
g_protect_counters[i] = 0;
|
||||||
}
|
}
|
||||||
|
@ -64,7 +65,6 @@ static int renesas_ra6e1_init(void)
|
||||||
|
|
||||||
SystemCoreClock = BSP_MOCO_HZ;
|
SystemCoreClock = BSP_MOCO_HZ;
|
||||||
g_protect_pfswe_counter = 0;
|
g_protect_pfswe_counter = 0;
|
||||||
bsp_clock_init();
|
|
||||||
|
|
||||||
irq_unlock(key);
|
irq_unlock(key);
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6E2
|
||||||
select CPU_CORTEX_M33
|
select CPU_CORTEX_M33
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select HAS_RENESAS_RA_FSP
|
select HAS_RENESAS_RA_FSP
|
||||||
|
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||||
select CPU_CORTEX_M_HAS_DWT
|
select CPU_CORTEX_M_HAS_DWT
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select ARMV8_M_DSP
|
select ARMV8_M_DSP
|
||||||
|
|
|
@ -40,6 +40,7 @@ static int renesas_ra6e2_init(void)
|
||||||
key = irq_lock();
|
key = irq_lock();
|
||||||
|
|
||||||
extern volatile uint16_t g_protect_counters[];
|
extern volatile uint16_t g_protect_counters[];
|
||||||
|
|
||||||
for (uint32_t i = 0; i < 4; i++) {
|
for (uint32_t i = 0; i < 4; i++) {
|
||||||
g_protect_counters[i] = 0;
|
g_protect_counters[i] = 0;
|
||||||
}
|
}
|
||||||
|
@ -64,7 +65,6 @@ static int renesas_ra6e2_init(void)
|
||||||
|
|
||||||
SystemCoreClock = BSP_MOCO_HZ;
|
SystemCoreClock = BSP_MOCO_HZ;
|
||||||
g_protect_pfswe_counter = 0;
|
g_protect_pfswe_counter = 0;
|
||||||
bsp_clock_init();
|
|
||||||
|
|
||||||
irq_unlock(key);
|
irq_unlock(key);
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6M1
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select HAS_RENESAS_RA_FSP
|
select HAS_RENESAS_RA_FSP
|
||||||
|
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||||
select CPU_CORTEX_M_HAS_DWT
|
select CPU_CORTEX_M_HAS_DWT
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select FPU
|
select FPU
|
||||||
|
|
|
@ -41,7 +41,6 @@ static int renesas_ra6m1_init(void)
|
||||||
|
|
||||||
SystemCoreClock = BSP_MOCO_HZ;
|
SystemCoreClock = BSP_MOCO_HZ;
|
||||||
g_protect_pfswe_counter = 0;
|
g_protect_pfswe_counter = 0;
|
||||||
bsp_clock_init();
|
|
||||||
|
|
||||||
irq_unlock(key);
|
irq_unlock(key);
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6M2
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select HAS_RENESAS_RA_FSP
|
select HAS_RENESAS_RA_FSP
|
||||||
|
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||||
select CPU_CORTEX_M_HAS_DWT
|
select CPU_CORTEX_M_HAS_DWT
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select FPU
|
select FPU
|
||||||
|
|
|
@ -41,7 +41,6 @@ static int renesas_ra6m2_init(void)
|
||||||
|
|
||||||
SystemCoreClock = BSP_MOCO_HZ;
|
SystemCoreClock = BSP_MOCO_HZ;
|
||||||
g_protect_pfswe_counter = 0;
|
g_protect_pfswe_counter = 0;
|
||||||
bsp_clock_init();
|
|
||||||
|
|
||||||
irq_unlock(key);
|
irq_unlock(key);
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6M3
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select HAS_RENESAS_RA_FSP
|
select HAS_RENESAS_RA_FSP
|
||||||
|
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||||
select CPU_CORTEX_M_HAS_DWT
|
select CPU_CORTEX_M_HAS_DWT
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select FPU
|
select FPU
|
||||||
|
|
|
@ -41,7 +41,6 @@ static int renesas_ra6m3_init(void)
|
||||||
|
|
||||||
SystemCoreClock = BSP_MOCO_HZ;
|
SystemCoreClock = BSP_MOCO_HZ;
|
||||||
g_protect_pfswe_counter = 0;
|
g_protect_pfswe_counter = 0;
|
||||||
bsp_clock_init();
|
|
||||||
|
|
||||||
irq_unlock(key);
|
irq_unlock(key);
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ config SOC_SERIES_RA6M5
|
||||||
select CPU_CORTEX_M33
|
select CPU_CORTEX_M33
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select HAS_RENESAS_RA_FSP
|
select HAS_RENESAS_RA_FSP
|
||||||
|
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
|
||||||
select CPU_CORTEX_M_HAS_DWT
|
select CPU_CORTEX_M_HAS_DWT
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select ARMV8_M_DSP
|
select ARMV8_M_DSP
|
||||||
|
|
|
@ -40,6 +40,7 @@ static int renesas_ra6m5_init(void)
|
||||||
key = irq_lock();
|
key = irq_lock();
|
||||||
|
|
||||||
extern volatile uint16_t g_protect_counters[];
|
extern volatile uint16_t g_protect_counters[];
|
||||||
|
|
||||||
for (uint32_t i = 0; i < 4; i++) {
|
for (uint32_t i = 0; i < 4; i++) {
|
||||||
g_protect_counters[i] = 0;
|
g_protect_counters[i] = 0;
|
||||||
}
|
}
|
||||||
|
@ -64,7 +65,6 @@ static int renesas_ra6m5_init(void)
|
||||||
|
|
||||||
SystemCoreClock = BSP_MOCO_HZ;
|
SystemCoreClock = BSP_MOCO_HZ;
|
||||||
g_protect_pfswe_counter = 0;
|
g_protect_pfswe_counter = 0;
|
||||||
bsp_clock_init();
|
|
||||||
|
|
||||||
irq_unlock(key);
|
irq_unlock(key);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue