Commit 5393158f authored by Diego Sueiro's avatar Diego Sueiro Committed by Sudeep Holla
Browse files

arm64: dts: fvp: Add virtio-rng support

The virtio-rng is available from FVP_Base_RevC-2xAEMvA version 11.17,
so add the devicetree node to support it. It is disabled by default to
avoid any issues with models that doesn't support it.

Link: https://lore.kernel.org/r/ac3be672c636091ee1e079cadce776b1fb7e0b2e.1650543392.git.diego.sueiro@arm.com


Signed-off-by: default avatarDiego Sueiro <diego.sueiro@arm.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent a69d2774
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -241,6 +241,7 @@
				<0 0 41 &gic 0 0 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
				<0 0 42 &gic 0 0 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
				<0 0 43 &gic 0 0 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
				<0 0 44 &gic 0 0 GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
				<0 0 44 &gic 0 0 GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
				<0 0 46 &gic 0 0 GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
	};
};
+7 −0
Original line number Diff line number Diff line
@@ -21,6 +21,13 @@
					reg = <0x150000 0x200>;
					interrupts = <44>;
				};

				virtio-rng@200000 {
					compatible = "virtio,mmio";
					reg = <0x200000 0x200>;
					interrupts = <46>;
					status = "disabled";
				};
			};
		};
	};
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@
				compatible = "simple-bus";
				#address-cells = <1>;
				#size-cells = <1>;
				ranges = <0 3 0 0x200000>;
				ranges = <0 3 0 0x210000>;

				v2m_sysreg: sysreg@10000 {
					compatible = "arm,vexpress-sysreg";