mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hector Martin <marcan@marcan.st>
To: Mark Kettenis <kettenis@openbsd.org>,
	linux-arm-kernel@lists.infradead.org
Cc: maz@kernel.org, Sven Peter <sven@svenpeter.dev>,
	Alyssa Rosenzweig <alyssa@rosenzweig.io>,
	Rob Herring <robh+dt@kernel.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: apple: t8103: Expose PCI node for the WiFi MAC address
Date: Tue, 7 Dec 2021 13:36:54 +0900	[thread overview]
Message-ID: <72298f81-8085-e807-5fd6-e5ff72f38de2@marcan.st> (raw)
In-Reply-To: <20211206183817.31964-1-kettenis@openbsd.org>

On 07/12/2021 03.38, Mark Kettenis wrote:
> Expose the PCI node corresponding to the WiFi device and give it
> a 'local-mac-address' property. The bootloader will update it
> (m1n1 already has the required feature).
> 
> Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
> ---
> 
> This change is based on the asahi-soc/dt branch since the
> t8103-jxxx.dtsi file isn't present in 5.16-rc3 yet.
> 
> 
>   arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi
> index 876278fe0afe..acad6afcb1d9 100644
> --- a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi
> +++ b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi
> @@ -12,6 +12,7 @@
>   / {
>   	aliases {
>   		serial0 = &serial0;
> +		wifi0 = &wifi0;
>   	};
>   
>   	chosen {
> @@ -64,4 +65,9 @@ hpm1: usb-pd@3f {
>    */
>   &port00 {
>   	bus-range = <1 1>;
> +	wifi0: network@0,0 {
> +		reg = <0x10000 0x0 0x0 0x0 0x0>;
> +		/* To be filled by the loader */
> +		local-mac-address = [00 00 00 00 00 00];
> +	};
>   };
> 

Applied to asahi-soc/dt. Thanks!

-- 
Hector Martin (marcan@marcan.st)
Public Key: https://mrcn.st/pub

      parent reply	other threads:[~2021-12-07  4:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 18:38 Mark Kettenis
2021-12-06 18:55 ` Marc Zyngier
2021-12-07  4:36 ` Hector Martin [this message]

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=72298f81-8085-e807-5fd6-e5ff72f38de2@marcan.st \
    --to=marcan@marcan.st \
    --cc=alyssa@rosenzweig.io \
    --cc=devicetree@vger.kernel.org \
    --cc=kettenis@openbsd.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sven@svenpeter.dev \
    /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

all inboxes | Powered by JetHome®