Re: [PATCH] mips: lantiq: danube: add missing properties to cpu node
From: Thomas Bogendoerfer
Date: Fri Aug 29 2025 - 06:33:47 EST
On Mon, Aug 11, 2025 at 01:58:15PM +0200, Aleksander Jan Bajkowski wrote:
> This fixes the following warnings:
> arch/mips/boot/dts/lantiq/danube_easy50712.dtb: cpus: '#address-cells' is a required property
> from schema $id: http://devicetree.org/schemas/cpus.yaml#
> arch/mips/boot/dts/lantiq/danube_easy50712.dtb: cpus: '#size-cells' is a required property
> from schema $id: http://devicetree.org/schemas/cpus.yaml#
> arch/mips/boot/dts/lantiq/danube_easy50712.dtb: cpu@0 (mips,mips24Kc): 'reg' is a required property
> from schema $id: http://devicetree.org/schemas/mips/cpus.yaml#
>
> Signed-off-by: Aleksander Jan Bajkowski <olek2@xxxxx>
> ---
> arch/mips/boot/dts/lantiq/danube.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/mips/boot/dts/lantiq/danube.dtsi b/arch/mips/boot/dts/lantiq/danube.dtsi
> index 7a7ba66aa534..0a942bc09143 100644
> --- a/arch/mips/boot/dts/lantiq/danube.dtsi
> +++ b/arch/mips/boot/dts/lantiq/danube.dtsi
> @@ -5,8 +5,12 @@ / {
> compatible = "lantiq,xway", "lantiq,danube";
>
> cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> cpu@0 {
> compatible = "mips,mips24Kc";
> + reg = <0>;
> };
> };
>
> --
> 2.47.2
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]