Skip to content

Commit 539f1ab

Browse files
committed
dts: arm: renesas: ra4: Defining MSTP regs in devicetree
Add a definition for RA4, which was not included in zephyrproject-rtos#76820. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 386263c commit 539f1ab

File tree

4 files changed

+34
-6
lines changed

4 files changed

+34
-6
lines changed

dts/arm/renesas/ra/ra4/r7fa4e2b93cfm.dtsi

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
};
4444

4545
clocks: clocks {
46+
#address-cells = <1>;
47+
#size-cells = <1>;
48+
4649
xtal: clock-xtal {
4750
compatible = "renesas,ra-cgc-external-clock";
4851
clock-frequency = <DT_FREQ_M(20)>;
@@ -86,8 +89,12 @@
8689
status = "disabled";
8790
};
8891

89-
pclkblock: pclkblock {
92+
pclkblock: pclkblock@40084000 {
9093
compatible = "renesas,ra-cgc-pclk-block";
94+
reg = <0x40084000 4>, <0x40084004 4>, <0x40084008 4>,
95+
<0x4008400c 4>, <0x40084010 4>;
96+
reg-names = "MSTPA", "MSTPB","MSTPC",
97+
"MSTPD", "MSTPE";
9198
#clock-cells = <0>;
9299
sysclock-src = <RA_CLOCK_SOURCE_PLL>;
93100
status = "okay";

dts/arm/renesas/ra/ra4/r7fa4m2ax.dtsi

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@
9191
};
9292
};
9393

94-
clocks: clocks {
94+
clocks: clocks {
95+
#address-cells = <1>;
96+
#size-cells = <1>;
97+
9598
xtal: clock-xtal {
9699
compatible = "renesas,ra-cgc-external-clock";
97100
clock-frequency = <DT_FREQ_M(24)>;
@@ -146,8 +149,12 @@
146149
status = "disabled";
147150
};
148151

149-
pclkblock: pclkblock {
152+
pclkblock: pclkblock@40084000 {
150153
compatible = "renesas,ra-cgc-pclk-block";
154+
reg = <0x40084000 4>, <0x40084004 4>, <0x40084008 4>,
155+
<0x4008400c 4>, <0x40084010 4>;
156+
reg-names = "MSTPA", "MSTPB","MSTPC",
157+
"MSTPD", "MSTPE";
151158
#clock-cells = <0>;
152159
sysclock-src = <RA_CLOCK_SOURCE_PLL>;
153160
status = "okay";

dts/arm/renesas/ra/ra4/r7fa4m3ax.dtsi

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@
101101
};
102102
};
103103

104-
clocks: clocks {
104+
clocks: clocks {
105+
#address-cells = <1>;
106+
#size-cells = <1>;
107+
105108
xtal: clock-xtal {
106109
compatible = "renesas,ra-cgc-external-clock";
107110
clock-frequency = <DT_FREQ_M(24)>;
@@ -154,8 +157,12 @@
154157
status = "disabled";
155158
};
156159

157-
pclkblock: pclkblock {
160+
pclkblock: pclkblock@40084000 {
158161
compatible = "renesas,ra-cgc-pclk-block";
162+
reg = <0x40084000 4>, <0x40084004 4>, <0x40084008 4>,
163+
<0x4008400c 4>, <0x40084010 4>;
164+
reg-names = "MSTPA", "MSTPB","MSTPC",
165+
"MSTPD", "MSTPE";
159166
#clock-cells = <0>;
160167
sysclock-src = <RA_CLOCK_SOURCE_PLL>;
161168
status = "okay";

dts/arm/renesas/ra/ra4/r7fa4w1ad2cng.dtsi

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
};
3838

3939
clocks: clocks {
40+
#address-cells = <1>;
41+
#size-cells = <1>;
42+
4043
xtal: clock-xtal {
4144
compatible = "renesas,ra-cgc-external-clock";
4245
clock-frequency = <DT_FREQ_M(8)>;
@@ -80,8 +83,12 @@
8083
status = "disabled";
8184
};
8285

83-
pclkblock: pclkblock {
86+
pclkblock: pclkblock@4001e01c {
8487
compatible = "renesas,ra-cgc-pclk-block";
88+
reg = <0x4001e01c 4>, <0x40047000 4>, <0x40047004 4>,
89+
<0x40047008 4>;
90+
reg-names = "MSTPA", "MSTPB","MSTPC",
91+
"MSTPD";
8592
#clock-cells = <0>;
8693
sysclock-src = <RA_CLOCK_SOURCE_HOCO>;
8794
status = "okay";

0 commit comments

Comments
 (0)