Commit 567300d1 authored by Amelie Delaunay's avatar Amelie Delaunay Committed by Mark Brown

spi: stm32: use SoC specific compatible

This patch replaces st,stm32-spi compatible with st,stm32h7-spi SoC
specific compatible and updates the example accondingly.
Signed-off-by: default avatarAmelie Delaunay <amelie.delaunay@st.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a2f07d38
...@@ -7,7 +7,7 @@ from 4 to 32-bit data size. Although it can be configured as master or slave, ...@@ -7,7 +7,7 @@ from 4 to 32-bit data size. Although it can be configured as master or slave,
only master is supported by the driver. only master is supported by the driver.
Required properties: Required properties:
- compatible: Must be "st,stm32-spi". - compatible: Must be "st,stm32h7-spi".
- reg: Offset and length of the device's register set. - reg: Offset and length of the device's register set.
- interrupts: Must contain the interrupt id. - interrupts: Must contain the interrupt id.
- clocks: Must contain an entry for spiclk (which feeds the internal clock - clocks: Must contain an entry for spiclk (which feeds the internal clock
...@@ -38,7 +38,7 @@ Example: ...@@ -38,7 +38,7 @@ Example:
spi2: spi@40003800 { spi2: spi@40003800 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "st,stm32-spi"; compatible = "st,stm32h7-spi";
reg = <0x40003800 0x400>; reg = <0x40003800 0x400>;
interrupts = <36>; interrupts = <36>;
clocks = <&rcc SPI2_CK>; clocks = <&rcc SPI2_CK>;
......
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