[PATCH 1/3] kvx: add qemu dts

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Aug 12 23:28:31 PDT 2024


Hello Yann,

On 12.08.24 16:41, Yann Sionneau wrote:
> Add qemu dts that will mostly be used to run test in CI.

Thanks for your patch.

> Signed-off-by: Yann Sionneau <ysionneau at kalrayinc.com>
> ---


>  obj-$(CONFIG_BOARD_K200) += k200.dtb.o
> +obj-$(CONFIG_BOARD_QEMU) += qemu.dtb.o

Given that you pass in the device tree externally anyway, how
about yo make this obj- an extra-y and drop the Kconfig change.
That way, the device tree is always generated alongside the
normal image.

>  
>  clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z
> diff --git a/arch/kvx/dts/qemu.dts b/arch/kvx/dts/qemu.dts
> new file mode 100644
> index 0000000000..68d242c113
> --- /dev/null
> +++ b/arch/kvx/dts/qemu.dts
> @@ -0,0 +1,269 @@
> +/dts-v1/;
> +
> +/ {
> +	model = "Kalray Coolidge processor (QEMU)";
> +	#address-cells = <0x02>;
> +	#size-cells = <0x02>;
> +	compatible = "kalray,coolidge\0kalray,iss";

Is this a decompiled device tree?

Cheers,
Ahmad

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list