[PATCH] arm64: dts: Add a virtio disk to the RTSM motherboard

Mark Brown broonie at kernel.org
Mon Dec 2 11:24:35 EST 2013


From: Mark Hambleton <mahamble at broadcom.com>

Describe the virtio device so we can mount disk images in the simulator.

Signed-off-by: Mark Hambleton <mahamble at broadcom.com>
Signed-off-by: Mark Brown <broonie at linaro.org>
---
 arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi b/arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi
index b45e5f39f577..b3460961038f 100644
--- a/arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi
+++ b/arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi
@@ -183,6 +183,12 @@
 				clocks = <&v2m_oscclk1>, <&v2m_clk24mhz>;
 				clock-names = "clcdclk", "apb_pclk";
 			};
+
+			virtio_block at 0130000 {
+				compatible = "virtio,mmio";
+				reg = <0x130000 0x1000>;
+				interrupts = <0x2a>;
+			};
 		};
 
 		v2m_fixed_3v3: fixedregulator at 0 {
-- 
1.8.4.4




More information about the linux-arm-kernel mailing list