mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mips: lantiq: danube: add missing properties to cpu node
@ 2025-08-11 11:58 Aleksander Jan Bajkowski
  2025-08-29 10:23 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksander Jan Bajkowski @ 2025-08-11 11:58 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, tsbogend, olek2, devicetree, linux-mips,
	linux-kernel

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@wp.pl>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mips: lantiq: danube: add missing properties to cpu node
  2025-08-11 11:58 [PATCH] mips: lantiq: danube: add missing properties to cpu node Aleksander Jan Bajkowski
@ 2025-08-29 10:23 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2025-08-29 10:23 UTC (permalink / raw)
  To: Aleksander Jan Bajkowski
  Cc: robh, krzk+dt, conor+dt, devicetree, linux-mips, linux-kernel

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@wp.pl>
> ---
>  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 ]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-29 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-11 11:58 [PATCH] mips: lantiq: danube: add missing properties to cpu node Aleksander Jan Bajkowski
2025-08-29 10:23 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®