dt-validate throws a few warnings when checking the aarch64 virt DTB.
Ensure that the virt DTB conforms to devicetree schema.
Some schema changes were needed, and should be in next Linux version [1]
I'm testing by running various virt machine configurations with -M
dumpdtb=qemu.dtb, then running dt-validate [1] and dtc:
dt-validate -s linux/Documentation/devicetree/bindings/ qemu.dtb
dtc -O dts qemu.dtb -o qemu.dts
[1] https://lore.kernel.org/linux-devicetree/20220822152224.507497-1-jean-philippe@linaro.org/
[2] https://github.com/devicetree-org/dt-schema
Jean-Philippe Brucker (10):
hw/arm/virt: Fix devicetree warning about the root node
hw/arm/boot: Fix devicetree warning about the PSCI node
hw/arm/virt: Fix devicetree warnings about the GIC node
hw/arm/virt: Use "msi-map" devicetree property for PCI
hw/arm/virt: Fix devicetree warning about the timer node
hw/arm/virt: Fix devicetree warning about the gpio-key node
hw/arm/virt: Fix devicetree warnings about node names
hw/arm/virt: Fix devicetree warnings about the GPIO node
hw/arm/virt: Fix devicetree warnings about the SMMU node
hw/arm/virt: Fix devicetree warnings about the virtio-iommu node
hw/arm/boot.c | 2 +-
hw/arm/virt.c | 53 ++++++++++++++++++++++++++++-----------------------
2 files changed, 30 insertions(+), 25 deletions(-)
--
2.37.1