From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3F2BC433F5 for ; Tue, 7 Dec 2021 04:38:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+KLUesTwBhg/2LqYhYWJVe2ijdIN730AzGEyOiAelRA=; b=sqYApsOlztjihoH0pVp/2ttdC9 VAxJlrHamEkbGW5poPOYGpGRBbg/XDp6ihZSbKL+YzaK2WjD4UXyz936EMeqsf81jucNkQr2kaDbt 1+U+yqLf93odJjiG/bfWcv2z+WuJpdEWrn8haTltrwJykyfRR4h64tQIp6Hb0ODY7zTcIbScE0bta 39rbCjwmfruTqTc3IrIhxncm1xwDVIVjAZjMmtrSfNjh3xPQgI3PMtJUMEbNoFZUDAL20h3z5xbVi ml8BGc+0P84iAggDYjTt8Vy7s9Mhs7tyGlX35H0PWAH5C5D/t2z6/CMgt87Wv8bLNW5CoHE8BBS/R WqeBsEFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muSDv-006wI3-FB; Tue, 07 Dec 2021 04:37:03 +0000 Received: from marcansoft.com ([2a01:298:fe:f::2] helo=mail.marcansoft.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muSDs-006wHO-6K for linux-arm-kernel@lists.infradead.org; Tue, 07 Dec 2021 04:37:01 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id BB52142181; Tue, 7 Dec 2021 04:36:56 +0000 (UTC) Subject: Re: [PATCH] arm64: dts: apple: t8103: Expose PCI node for the WiFi MAC address To: Mark Kettenis , linux-arm-kernel@lists.infradead.org Cc: maz@kernel.org, Sven Peter , Alyssa Rosenzweig , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211206183817.31964-1-kettenis@openbsd.org> From: Hector Martin Message-ID: <72298f81-8085-e807-5fd6-e5ff72f38de2@marcan.st> Date: Tue, 7 Dec 2021 13:36:54 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211206183817.31964-1-kettenis@openbsd.org> Content-Language: es-ES X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211206_203700_417808_CAF7BFF5 X-CRM114-Status: GOOD ( 18.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > --- > > 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 597EBC433EF for ; Tue, 7 Dec 2021 04:37:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236245AbhLGEkc (ORCPT ); Mon, 6 Dec 2021 23:40:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236237AbhLGEka (ORCPT ); Mon, 6 Dec 2021 23:40:30 -0500 Received: from mail.marcansoft.com (marcansoft.com [IPv6:2a01:298:fe:f::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C68C061746; Mon, 6 Dec 2021 20:37:01 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id BB52142181; Tue, 7 Dec 2021 04:36:56 +0000 (UTC) Subject: Re: [PATCH] arm64: dts: apple: t8103: Expose PCI node for the WiFi MAC address To: Mark Kettenis , linux-arm-kernel@lists.infradead.org Cc: maz@kernel.org, Sven Peter , Alyssa Rosenzweig , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211206183817.31964-1-kettenis@openbsd.org> From: Hector Martin Message-ID: <72298f81-8085-e807-5fd6-e5ff72f38de2@marcan.st> Date: Tue, 7 Dec 2021 13:36:54 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211206183817.31964-1-kettenis@openbsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: es-ES Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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 > --- > > 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