linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Oltean <olteanv@gmail.com>
To: Li Yang <leoyang.li@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Alex Marginean <alexandru.marginean@nxp.com>,
	Andrew Lunn <andrew@lunn.ch>
Subject: Re: [PATCH] arm64: dts: ls1028a-qds: define mdio slots for networking options
Date: Thu, 27 Jan 2022 19:05:57 +0200	[thread overview]
Message-ID: <20220127170557.v7lg3harlf2skeqi@skbuf> (raw)
In-Reply-To: <20220126092650.19962-1-leoyang.li@nxp.com>

On Wed, Jan 26, 2022 at 03:26:50AM -0600, Li Yang wrote:
> The ls1028a QDS board support different pluggable PHY cards.  Define the
> nodes for these slots to be updated at boot time with overlay according
> to board setup.
> 
> Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
> Signed-off-by: Li Yang <leoyang.li@nxp.com>
> ---

Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>

This fixes:
=> tftp $fdt_addr_r fsl-ls1028a-qds.dtb && tftp $fdt_ovr_addr_r fsl-ls1028a-qds-85bb.dtb
=> fdt addr $fdt_addr_r && fdt resize 0x100000 && fdt apply $fdt_ovr_addr_r
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND

>  .../boot/dts/freescale/fsl-ls1028a-qds.dts    | 24 +++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
> index 177bc1405f0f..19d3952dbffe 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
> @@ -107,6 +107,30 @@ qds_phy1: ethernet-phy@5 {
>  				reg = <5>;
>  			};
>  		};
> +
> +		mdio_slot1: mdio@4 {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			reg = <4>;
> +		};
> +
> +		mdio_slot2: mdio@5 {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			reg = <5>;
> +		};
> +
> +		mdio_slot3: mdio@6 {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			reg = <6>;
> +		};
> +
> +		mdio_slot4: mdio@7 {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			reg = <7>;
> +		};
>  	};
>  };
>  
> -- 
> 2.25.1
> 

  parent reply	other threads:[~2022-01-27 17:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26  9:26 [PATCH] arm64: dts: ls1028a-qds: define mdio slots for networking options Li Yang
2022-01-26 13:21 ` Andrew Lunn
2022-01-27 17:05 ` Vladimir Oltean [this message]
2022-01-29  7:01 ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220127170557.v7lg3harlf2skeqi@skbuf \
    --to=olteanv@gmail.com \
    --cc=alexandru.marginean@nxp.com \
    --cc=andrew@lunn.ch \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).