Re: [PATCH] LoongArch: dts: loongson-2k0500: Drop unsupported bus_id in DWMAC
From: Huacai Chen
Date: Mon Sep 21 2026 - 10:04:08 EST
Applied, thanks.
Huacai
On Tue, Sep 15, 2026 at 3:20 PM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx>
> ---
> 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
>