[Linux-stm32] [RFC 18/18] ARM: dts: stm32: Declare a virtio device
Arnaud Pouliquen
arnaud.pouliquen at st.com
Thu Apr 16 16:13:31 UTC 2020
Declare a virtio device as sub device of the stm32 remote proc
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen at st.com>
---
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
index f6672e87aef3..2bb16c860c82 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
@@ -414,6 +414,16 @@
interrupt-parent = <&exti>;
interrupts = <68 1>;
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ vdev at 0 {
+ memory-region = <&vdev0vring0>, <&vdev0vring1>, <&vdev0buffer>;
+ compatible = "rproc-virtio";
+ reg = <0>;
+ status = "okay";
+ };
};
&pwr_regulators {
--
2.17.1
More information about the Linux-stm32
mailing list