[PATCH] LoongArch: dts: loongson-2k0500: Drop unsupported bus_id in DWMAC

Krzysztof Kozlowski posted 1 patch 1 week, 3 days ago
arch/loongarch/boot/dts/loongson-2k0500-ref.dts | 2 --
1 file changed, 2 deletions(-)
[PATCH] LoongArch: dts: loongson-2k0500: Drop unsupported bus_id in DWMAC
Posted by Krzysztof Kozlowski 1 week, 3 days ago
There is no "bus_id" property at all defined in the bindings and new DTS
is not allowed to bring undocumented properties.  Fix dtbs_check
warning:

  loongson-2k0500-ref.dtb: ethernet@1f020000 (snps,dwmac-3.70a): bus_id: b'\x00\x00\x00\x00' is not of type 'object', 'integer', 'array', 'boolean', 'null'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 arch/loongarch/boot/dts/loongson-2k0500-ref.dts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
index 7ace54c84244..d2a3ed9fa578 100644
--- a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
+++ b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
@@ -73,14 +73,12 @@ &gmac0 {
 	status = "okay";
 
 	phy-mode = "rgmii-id";
-	bus_id = <0x0>;
 };
 
 &gmac1 {
 	status = "okay";
 
 	phy-mode = "rgmii-id";
-	bus_id = <0x1>;
 };
 
 &i2c0 {
-- 
2.53.0
Re: [PATCH] LoongArch: dts: loongson-2k0500: Drop unsupported bus_id in DWMAC
Posted by Huacai Chen 3 days, 17 hours ago
Applied, thanks.

Huacai

On Tue, Sep 15, 2026 at 3:20 PM Krzysztof Kozlowski
<krzysztof.kozlowski@oss.qualcomm.com> wrote:
>
> There is no "bus_id" property at all defined in the bindings and new DTS
> is not allowed to bring undocumented properties.  Fix dtbs_check
> warning:
>
>   loongson-2k0500-ref.dtb: ethernet@1f020000 (snps,dwmac-3.70a): bus_id: b'\x00\x00\x00\x00' is not of type 'object', 'integer', 'array', 'boolean', 'null'
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>  arch/loongarch/boot/dts/loongson-2k0500-ref.dts | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> index 7ace54c84244..d2a3ed9fa578 100644
> --- a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> +++ b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> @@ -73,14 +73,12 @@ &gmac0 {
>         status = "okay";
>
>         phy-mode = "rgmii-id";
> -       bus_id = <0x0>;
>  };
>
>  &gmac1 {
>         status = "okay";
>
>         phy-mode = "rgmii-id";
> -       bus_id = <0x1>;
>  };
>
>  &i2c0 {
> --
> 2.53.0
>