Skip to content

Commit d75c121

Browse files
author
Zoe Kaute
committed
dts: arm: st: g4: Add CRC node
Add the CRC node to stm32g4 device tree source file. Signed-off-by: Zoe Kaute <zoe.kaute@brillpower.com>
1 parent 7106ea3 commit d75c121

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

boards/st/nucleo_g474re/nucleo_g474re.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
die-temp0 = &die_temp;
5858
volt-sensor0 = &vref;
5959
volt-sensor1 = &vbat;
60+
crc0 = &crc;
6061
};
6162
};
6263

@@ -73,6 +74,10 @@
7374
status = "okay";
7475
};
7576

77+
&crc {
78+
status = "okay";
79+
};
80+
7681
&pll {
7782
div-m = <6>;
7883
mul-n = <85>;

boards/st/nucleo_g474re/nucleo_g474re.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ supported:
2525
- dma
2626
- can
2727
- rtc
28+
- crc
2829
vendor: st

dts/arm/st/g4/stm32g4.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@
133133
st,adc-sequencer = <FULLY_CONFIGURABLE>;
134134
};
135135

136+
crc: crc@40023000 {
137+
compatible = "st,stm32-crc";
138+
reg = <0x40023000 0xA0>;
139+
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x1000>;
140+
};
141+
136142
dac1: dac@50000800 {
137143
compatible = "st,stm32-dac";
138144
reg = <0x50000800 0x400>;

0 commit comments

Comments
 (0)