Skip to content

Commit

Permalink
dts: arm: renesas: ra4: Defining MSTP regs in devicetree
Browse files Browse the repository at this point in the history
Add a definition for RA4, which was not included in #76820.

Signed-off-by: TOKITA Hiroshi <[email protected]>
  • Loading branch information
soburi authored and nashif committed Aug 28, 2024
1 parent 4ca2400 commit 1ffd746
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
9 changes: 8 additions & 1 deletion dts/arm/renesas/ra/ra4/r7fa4e2b93cfm.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
};

clocks: clocks {
#address-cells = <1>;
#size-cells = <1>;

xtal: clock-xtal {
compatible = "renesas,ra-cgc-external-clock";
clock-frequency = <DT_FREQ_M(20)>;
Expand Down Expand Up @@ -86,8 +89,12 @@
status = "disabled";
};

pclkblock: pclkblock {
pclkblock: pclkblock@40084000 {
compatible = "renesas,ra-cgc-pclk-block";
reg = <0x40084000 4>, <0x40084004 4>, <0x40084008 4>,
<0x4008400c 4>, <0x40084010 4>;
reg-names = "MSTPA", "MSTPB","MSTPC",
"MSTPD", "MSTPE";
#clock-cells = <0>;
sysclock-src = <RA_CLOCK_SOURCE_PLL>;
status = "okay";
Expand Down
11 changes: 9 additions & 2 deletions dts/arm/renesas/ra/ra4/r7fa4m2ax.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@
};
};

clocks: clocks {
clocks: clocks {
#address-cells = <1>;
#size-cells = <1>;

xtal: clock-xtal {
compatible = "renesas,ra-cgc-external-clock";
clock-frequency = <DT_FREQ_M(24)>;
Expand Down Expand Up @@ -146,8 +149,12 @@
status = "disabled";
};

pclkblock: pclkblock {
pclkblock: pclkblock@40084000 {
compatible = "renesas,ra-cgc-pclk-block";
reg = <0x40084000 4>, <0x40084004 4>, <0x40084008 4>,
<0x4008400c 4>, <0x40084010 4>;
reg-names = "MSTPA", "MSTPB","MSTPC",
"MSTPD", "MSTPE";
#clock-cells = <0>;
sysclock-src = <RA_CLOCK_SOURCE_PLL>;
status = "okay";
Expand Down
11 changes: 9 additions & 2 deletions dts/arm/renesas/ra/ra4/r7fa4m3ax.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@
};
};

clocks: clocks {
clocks: clocks {
#address-cells = <1>;
#size-cells = <1>;

xtal: clock-xtal {
compatible = "renesas,ra-cgc-external-clock";
clock-frequency = <DT_FREQ_M(24)>;
Expand Down Expand Up @@ -154,8 +157,12 @@
status = "disabled";
};

pclkblock: pclkblock {
pclkblock: pclkblock@40084000 {
compatible = "renesas,ra-cgc-pclk-block";
reg = <0x40084000 4>, <0x40084004 4>, <0x40084008 4>,
<0x4008400c 4>, <0x40084010 4>;
reg-names = "MSTPA", "MSTPB","MSTPC",
"MSTPD", "MSTPE";
#clock-cells = <0>;
sysclock-src = <RA_CLOCK_SOURCE_PLL>;
status = "okay";
Expand Down
9 changes: 8 additions & 1 deletion dts/arm/renesas/ra/ra4/r7fa4w1ad2cng.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
};

clocks: clocks {
#address-cells = <1>;
#size-cells = <1>;

xtal: clock-xtal {
compatible = "renesas,ra-cgc-external-clock";
clock-frequency = <DT_FREQ_M(8)>;
Expand Down Expand Up @@ -80,8 +83,12 @@
status = "disabled";
};

pclkblock: pclkblock {
pclkblock: pclkblock@4001e01c {
compatible = "renesas,ra-cgc-pclk-block";
reg = <0x4001e01c 4>, <0x40047000 4>, <0x40047004 4>,
<0x40047008 4>;
reg-names = "MSTPA", "MSTPB","MSTPC",
"MSTPD";
#clock-cells = <0>;
sysclock-src = <RA_CLOCK_SOURCE_HOCO>;
status = "okay";
Expand Down

0 comments on commit 1ffd746

Please sign in to comment.