From patchwork Wed Aug 28 03:39:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13780462 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 E0574C5474C for ; Wed, 28 Aug 2024 03:42:05 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KTLE4IwsmgltIk9YsURSIx/vtn2T4H0IT0DsxrpMtm4=; b=FyKdkaS3I7ENha loORdEojRLmDzmtqIalyI/w2d9OW7FlChBK8Xxe3o65HU/CJM4QtZu3BDiD51k38nh7SNRdpuPakK rrHPhbnuqSPGHbp6vzjvgRrMmnDbnpRpyqxzzDbN+oWmiMj5S5q+b6lDFBcoDYHv2c3Ug2fYVpRXN ZCaC5xoXZj0bQzHr1Yryokjl8FdjBVIvtCa6KUol+xpQzXkojKbN/cJ4QOLMb9xFq5ZZYhydDuhO2 iwFhWx5vD+zJo3zRu4gPP688lEIxr8/hLgq2+AXNHB1M2QG9bUZzBf324+8CkYnTD+wdlyZuJuG8q w/RSD6Q+n3Gvp/XlbxPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sj9ZK-0000000DgFK-2ldB; Wed, 28 Aug 2024 03:42:02 +0000 Received: from mail-sgaapc01on20707.outbound.protection.outlook.com ([2a01:111:f400:feab::707] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sj9YW-0000000Dg0n-2U3O; Wed, 28 Aug 2024 03:41:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZycN9GFrPWNolEmj+Uqwd6zO415yGA/fJaHlkk4cAPJivzr+JNYfFnTOzfmE0gaPniIh14Ws6ouA8VHUUnspggFEwLyaJdrI9poi3xFQoQOaYZBrK5J8n4nm/60wx8bm3crWVylXfJjqRZ/RO5fLJhiyPwBbsD10DOr5xlxKyj4X5sgsIaWUQxFIH5a0IZvcIUwOcrx8jb1xN9OPSkJOxD7WZmWjBrJV3Uck/yVbZ8bNNXc+FZxOzqa2QFoEp+3VhWaxvJtWHclCf0zQayX49xkP98CSrRT0pP9ieCU+hGFUjWNPWFmhAT0+W1xj0WFy9gFSNjrkHNmxEwR1qqKiKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0umvK+fGsMQqK0f4X8LiD7RlhXtEo+nkDeoNjhSMm/0=; b=mtAmiWrNJ/dyJWC/STxL+NF5DtdJDh110YktgQC1zt7B+gI5dNANtwD8ITtjYGNqBnZGfxj4U0lI44LMOiKq/6LfXek82YoLuQi96oKpqnG2CJ3F+VR1LLK+ZA8ZbjD9isHuHSvjo6AMUEVOPtEd4V2UOpT1g2ua2PtA20WpaBMeJJq3KHUPMu36Rn6HHBC0a+zCvK7UThPU5fLaXLmWiGrDGqenh6b2ECJUGIfcXTafdHpQmHd6hnagqI8SbpJNl7REMucACEZtx6QR4d8W+tn1Aqlqox6145lU2U3Lm09VVbYipeLQ7qX9ln2+lKlWQdcuSdpQlLEf3AylxlZT0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wesion.com; dmarc=pass action=none header.from=wesion.com; dkim=pass header.d=wesion.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wesion.com; Received: from TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) by TYSPR03MB7977.apcprd03.prod.outlook.com (2603:1096:400:47f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.19; Wed, 28 Aug 2024 03:40:57 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%4]) with mapi id 15.20.7875.019; Wed, 28 Aug 2024 03:40:57 +0000 From: Jacobe Zang To: marcan@marcan.st, sven@svenpeter.dev, alyssa@rosenzweig.io, robh@kernel.org, heiko@sntech.de, krzk+dt@kernel.org Cc: linux-rockchip@lists.infradead.org, dsimic@manjaro.org, conor+dt@kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, nick@khadas.com, Jacobe Zang , Muhammed Efe Cetin , Arend van Spriel Subject: [PATCH v12 1/2] arm64: dts: rockchip: Add AP6275P wireless support to Khadas Edge 2 Date: Wed, 28 Aug 2024 11:39:52 +0800 Message-Id: <20240828033953.967649-2-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240828033953.967649-1-jacobe.zang@wesion.com> References: <20240828033953.967649-1-jacobe.zang@wesion.com> X-ClientProxiedBy: TYCP286CA0185.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:382::20) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|TYSPR03MB7977:EE_ X-MS-Office365-Filtering-Correlation-Id: 745c3762-8a09-4ef1-5f65-08dcc7133a27 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|366016|1800799024|7416014|38350700014; X-Microsoft-Antispam-Message-Info: oVJwSxjbZysHIRQA+hU+VvAwU2YuF95j/9pEmsxEs75qfAbYDd/i3jDoXfAopOQcBOWfm+VFYUx+hDu+UNwstpXmklkfLGA29PEYUFiDppb0bnjl7Zz9SpU/2rpOmxRTaQc9f7tYj5omRFPLi+CiaTqVIZ8SLxmY7BHRKohnYukNtRQDL9D9F7tVXs1PBZclHtQx4i/H+O3GfVGkSttc4FszKsnBQQ8oSNPqN2JcvrZR9FlCI5b88ZjrBCnvA16iIgUkrrX8VqsD8l0z3sM7CgyP7USxqu5fLkqwpEmmIm3v6W26izK31V1QK0xGqATHkWO78klWahHh9Qu0uWB+Jq2O70OGjcQ+KYp9GpEPB6nxFvX4UGPnX8hHqxc31DtWw+IU/njbDpGVMGjZ93etRAWjG9ibOkLNNxAqiet7qdR7P6d5xFpPPcycy4nYL6audE4ixPGcJ7YilF89CMBlRoeJ76Q9CMFPtu5dhD6l+5UCF6UhUndYEtpW0yeuiL3VWNPbxQa0fqXDbjymsemBFBdF4iFIr6XEpqkYrbQV+eX+L+TB0tMhrAYbb15mdeuKaIihQMvAm4lEzWTHisB8Wvn+1XiqWKRLUD3E+RcTC1g3GGElquXUXAuTX04Sh6ZQHCDw2U4voy1iz/Pq++SopfUgTS/PMqx+aDgAWakNMW2IlXIHzD5kfj3TJ0yCKh3h4cIgMUwPFB2Tz9OZTInSE7mZ6yzNlya7ufQaRL2ab1iP2z07JsSIbNuZgczwvNBSIjTOLdX2dAFv7WajNCaRXeoCwAgkaAWiJez2+2jmrHNW3V5wUEreNCAD3ogUsE/xJVajGrTHHOGyt9FLbFjvqPtURJgHU2PBJovH86wkISqJ0zXXB/LVc0dsaE8Sh53CjHfImCs4uTh4VRLB3tS9oPGlpVb1LUO50DVrZGxRCO1UKBeexYGXqM1JTISkl78AJoEYR/vYxTcx+QU3VL67WgOik8RdZVwLKqNqHWTFKdWyPvbgMOt8oOatMdrqk5Ay6OO97BMIkvrYJ4CmT1GsocVkATmds9gx8NtaSO4luYz23GK3XhmDs/3awdlIzxPhcuBNivLoAuKn2KL0d4M04hRoKnO82ZKQ+qERkZYxjNpyYCsEP2tYF7JzC9c3FmNESgHqyfdYk4qDKDLHKJKq+Cs0EI95g4UKOrnVTKP9v/BU2DvDpo1TGTg2QZqG0thQLSckXQt7NyrEyjghk8CZ598p8wZ0DnJgtd+vi8fMUA1/gr8UfR/v8pq41WHeydV7ddz6X1HkZs8z8uEYiezns/h0AF0VjgydHL/WBqLtysnB/mn26Mudow58r7mqInmb/V2YhqiomKaFQx1tosARiAJzLz2DfmoLS/MZ+A3P+L7AdCSK2iWKZ20BkMlfXDzvttKMCxC7v8KNBz8pa9sIVQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(366016)(1800799024)(7416014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: f7waTfCrTslruicIQ/YmVd89w2uFtSM6cKrAWufUSNXn/HAafoiv1VOta0RNDYL1AKpkX5ciZgn7AWVnIxK1vOGj4yaRm5yFqP5MQe+y7rWSsmm7X4fzR84dYm5D37TC/9nd+d2hPR3oSJCy9Xxg3m2Nx1X1qlHDPxa7PsZXEnZiL1HNsdrJZIjqL6k1/3qFpdiLcIvIwj7J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/R162XqpFLkeKU1ypiA5sjtT1nm/iEz1AUq3OKTxWsYS43WVcgbdfCZLR1pobM9yUZtISaG0CaTUy01L/fh0f1bhBTZhmaJntDmhOhhwRQsxjXCsQCJqg3c1RiRIQY2+V4tr30UgKubak+jSOGhChHZDYq4X2RBds/M0VdB61uVafaoiXFbBTvEoxPYpLN6g57/qJuLgX6PDV86tW8UPXSJCI/mo6ySKcc/lUlMnAFRJ2rJL5ehzey/bjObGng5UY03SrOLcadLyGWnTMishdnINlLv5lFMdzqxyaTJNTbNkECbmk+rbqfwutKRn+ X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: 745c3762-8a09-4ef1-5f65-08dcc7133a27 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2024 03:40:57.5417 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2dc3bd76-7ac2-4780-a5b7-6c6cc6b5af9b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xB29lSIuzOx0XHECqEOm1KbuDld7rvsTbXJYmvQk/F+LMQRiUxoSWE4p1wAG8Ch2KgDu7TX8gf0uzo12bmKD9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR03MB7977 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_204112_730308_8569F3B1 X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Khadas Edge2 uses the PCI-e Ampak AP6275P 2T2R Wi-Fi 6 module. The pcie@0 node can be used as Bridge1, so the wifi@0 node is used as a device under the Bridge1. Co-developed-by: Muhammed Efe Cetin Signed-off-by: Muhammed Efe Cetin Reviewed-by: Arend van Spriel Signed-off-by: Jacobe Zang --- .../boot/dts/rockchip/rk3588s-khadas-edge2.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts index dbddfc3bb4641..3d0f55c123d92 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts @@ -283,6 +283,22 @@ &pcie2x1l2 { reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_pcie_wl>; status = "okay"; + + pcie@0,0 { + reg = <0x400000 0 0 0 0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + device_type = "pci"; + bus-range = <0x40 0x4f>; + + wifi: wifi@0,0 { + compatible = "pci14e4,449d", "brcm,bcm4329-fmac"; + reg = <0x410000 0 0 0 0>; + clocks = <&hym8563>; + clock-names = "lpo"; + }; + }; }; &pwm11 { From patchwork Wed Aug 28 03:39:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13780464 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 47AEEC5474A for ; Wed, 28 Aug 2024 03:42:54 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JZ+TXfiDpRr1YChZWnetcDHxd8h6ePQc7BQ7G7Lj8A8=; b=EuY+M59g7bj9lO 73ax6XZTLnU12wGh3aAr/iXTj1QhFS6vKnLxVftRCmhRXKVVqunlRoUPP5kttkghLFDIFV+kw9ZI4 RIhfSZRvcDKVx6ACmIBwVPU3h0rKPM+fwHeTTVNdgMRinUtXu3JFUXDlIS9FmFY8GNhjaAZddalfx 31bm1JmYkCGtcclGWyCtVeRgPws/NUp5oWJ/Zdv+6emkIoAGkbEMP8DwJyG3H5cW6P+nxlz4X4llr kDmv0ai+6EyYvuAR94AFJKb0Gq0GDZNT2O6vNbBD3oqtEz+9Q61tSrks/9tFc5JiMHjrCtbKDVFNu nvDNURtuAUU/KAVgXMbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sj9a7-0000000DgOz-1z2k; Wed, 28 Aug 2024 03:42:51 +0000 Received: from mail-sgaapc01on20707.outbound.protection.outlook.com ([2a01:111:f400:feab::707] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sj9YY-0000000Dg0n-3IC8; Wed, 28 Aug 2024 03:41:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hP4AkVPAcadByocMr7xKpw0i6RtNbfhBu+7qNdfdPOFQ7tHS0+QlR4fTacaDzQDgYDIHjpTRUHGlaE51DVzzT3wcgBLzycHghrHc40n62AfFWbb4HwC81kZ9VP2JplEk5UAsdPvCPDN5vMBH/i8Ehzdhf6Vu2GVe64aSzp5Z2/wQO57NKE2wrNmUeh70NK1hul+u6QDcpDZ0Hqr5W40ZFqlGGzQi9TciMCwJm9gzShYJ+PTPLaQhb86CQWO1SOXWDJfqPxp61qXsrDEZyN2/aG0eoQHtseVMPlTj86wt9i90sFfwT+bBbXQWK/VttILt8DVBbxeSDzzRF4GMkCYFaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M1/yXINwA81nMjixGhpNBxFuWNS5aMWklBVqYG9nLGE=; b=WgVLEmeTTndG3UbvTsTbzI164OlUsFZkqMC8l28ghm8qpP3+nN35Rx3LteZV5ZcJxO5cbOfkLC9HaXZjiQkTpZ8ZP4xpWQWSnf8zPpIo1qZYdf/V1oKvVhY3TV9LIhfS9Q+IsZEmlBwqWBSGKqwqn0oFARrZe2FFb+Z2HMJtFMaOyM84r2+dEOrPrhQqVWG2lwbnn0gCPR4bqPIkAPkwenDLaT/XT2n627aYkFrx8bMktvlnSGAV3S5X0keaUtLFzRQ48ywPI136V5sZOgo4Z9dXeo9hyYwwTnP+XJCQ8M4M1dVV013NAJTg8SoZnL0HfZF2+ahEtf4Ds/zkZU6nFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wesion.com; dmarc=pass action=none header.from=wesion.com; dkim=pass header.d=wesion.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wesion.com; Received: from TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) by TYSPR03MB7977.apcprd03.prod.outlook.com (2603:1096:400:47f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.19; Wed, 28 Aug 2024 03:40:59 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%4]) with mapi id 15.20.7875.019; Wed, 28 Aug 2024 03:40:59 +0000 From: Jacobe Zang To: marcan@marcan.st, sven@svenpeter.dev, alyssa@rosenzweig.io, robh@kernel.org, heiko@sntech.de, krzk+dt@kernel.org Cc: linux-rockchip@lists.infradead.org, dsimic@manjaro.org, conor+dt@kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, nick@khadas.com, Jacobe Zang Subject: [PATCH v12 2/2] arm64: dts: apple: add "brcm,bcm4329-fmac" fallback compatible Date: Wed, 28 Aug 2024 11:39:53 +0800 Message-Id: <20240828033953.967649-3-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240828033953.967649-1-jacobe.zang@wesion.com> References: <20240828033953.967649-1-jacobe.zang@wesion.com> X-ClientProxiedBy: TYCP286CA0185.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:382::20) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|TYSPR03MB7977:EE_ X-MS-Office365-Filtering-Correlation-Id: b24ff4ca-9aad-4940-822a-08dcc7133b38 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|366016|1800799024|7416014|38350700014; X-Microsoft-Antispam-Message-Info: Kvckncp4+1dRZQthUbRi+3JVH6TclnCVXBA9qnUSmKeaGN2ZNcFH+Z+vddX2HOZoO1Gx4vVjW+aGn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Q2R+Tel1V8taYH60/vL6li/TqCOUzca91cAFMv6wcFAMEXbP/R3X4kFAia41SlNDISFS2LjhANrXuoZ6uOo06Y5MlUph6m12qRPHkCY+fKf18BwYajIPBBo6zT8LDdOejtxohljXkJAFcHz9ub84Wp6e/SKKKA9wdZkSIg+IZ8XbvlmZewJHq2b5i+aULK5ARDnGLPouoiEqeLgZScw1XusJy0kBJECvdEDC9QEwPyZqEcgBwz789xorgHfv0SrNHm4KiH8kX68PhjNn9f6Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(366016)(1800799024)(7416014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8Z44O3YfNl2N7M/RqEN0lzTZe/hwB/VoH661GYBSCHExZDbH7bqVQHhJ+FYtVjjlRHRy67k8MkxPTmMdS4ZfNUt2h0dLzaOsNFaYLZDW5Ykftd/SGLK3ZDjiK0EkYAZgCiC/B2XjhaQ+OOwVC/gmj5Sc7nEQrMvlzK9H7Wqjlaxun7cUmZdlns79FmoFa3NoPC78/nMmzKDBpgkrcUWn3xzpRnY6orq3zsTE1trMGC6SPamgtTzyE6XzZFhiKv5hSNQxvZWlekov9Ro+7KWUL+lw1g5gf/NNyH5Q+gVs2Yze6S5+kKrTNKdBIYAEfShMm543TxHK2fxys1knK2MhJiszKNnrsWmUT1dw1RE9TCshcgGySzZuUReUu9FyYzuZoaoajdLBJNdUU5qAbZBsGZYsVsUqt8TLAAiDixQQXqVAX+zfUO1n8vkliIfuUcLfBV6n3bccbSvviSYDzmGq++PqdgRxAhzfSoAUBVJukhgYcOBVO59VeX+FOwNvzTOg1M4F33Ug0bTIhVj9ro+hK+PQ7ITzhRGv+nzuu7br+G2gLmjuBnifpuHUPG4z10B3OgJmxNUnhfrRlOJIxfLDeOVByuU9xsmrgkk2gTDFy8DIVsSH25uZwAKxvfoOHeNhDL3IIMZ3iFX4LG44iENQ4TkezzZMyMqAyrZC9AI3IHHuE6m3YQd7d72WoUg8CERemAuqof5tUxBJnVZGHJZ25IYO7/eEztWsUk/b1OoXY8HMxLoDrdrMq1lOXP5aTuV5h4AJ+hMVkvjkFCjLjU+38jVHq2ZXSQ/CD06XLtrTfqog5b5GMv/BB8YcsnR4YCbLEfIdwmGFQg78idDcS4TXguHLNE24S0qdaYGcqQQMjjYX1azmTytzBBWt20N5C8yUWJUSgwiHySpYjqpCT+7q9NEnuTGIG8pg/Fmi4iscwuZh4Pt8ZD+ZXZB3l8Zk91gNg7wOGQFgv5iGP8MlZkbABWah0yQoLRNHYR60pOwKmFx929mBV8k4hZhji3JYIkFEvvomYtmUzpIGeKfDdPMGSOKAwptLVtca7GaaoRc3GsaezE6T5H299sK4htJQLMf8m1+mJgwyYV9eZs8+2kKLhDuLuUkIBJYxbMTVrwJh+WYxMsfOPHMMgBYZhWjvPEF16cxgYBmWbp8yj0W55YspgGA+OWWkC+QntaXpenD+7zBpVPqp/pZ7J5NKvnth8XbrUiGjkfKoU9kiNqM91LancxLviJAqSMvyEhxtg28e+5FLhgPKpOTwihYsv57HUhJ5VHnPH3CprhvDmZJSN2EKaB8RNVMiNRMYl1KVLsywFmr2mPTRjsaTCI8nMmG9+323aKxSaVtyBmojJmsIaBdZfdes8iNtyup/HjprCSk90JmobN2r4sneu7PlyGiJAtvqQGoOmxKtML48UczZdoyStUIZdu5fE/Myz8LUwWjK5dZULQqNDIV8M0Uv73DUVpukd1+W52uEBVM3dFnepsgBZjR7TygyMgyhRVhg3w8e8448H59Ly0HXO65HDj2FhB6GNSYfqxrPetvOhmVl9rsRJQ93SRG4BGHvWmDYhwJhj4FowBiMKFctLGQl5j4YBqlB X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: b24ff4ca-9aad-4940-822a-08dcc7133b38 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2024 03:40:59.3956 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2dc3bd76-7ac2-4780-a5b7-6c6cc6b5af9b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OIXJ2GRK9omC5Q1E/AeAevDhAftoT1tr4mOYKOXRn1GlVttAYaf0dppPWzqtHP7f0AgU76TajVca6peEKpu4XQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR03MB7977 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_204114_846271_192F4A24 X-CRM114-Status: GOOD ( 10.17 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Broadcom driver need to check "brcm,bcm4329-fmac" compatible. Before PCIe devices used PCI ID as base compabile so add it as fallback compatible to pass the check. Signed-off-by: Jacobe Zang --- arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 2 +- arch/arm64/boot/dts/apple/t8112-j413.dts | 2 +- arch/arm64/boot/dts/apple/t8112-j493.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi index 5988a4eb6efaa..4b021626d4692 100644 --- a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi +++ b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi @@ -72,7 +72,7 @@ hpm1: usb-pd@3f { &port00 { bus-range = <1 1>; wifi0: network@0,0 { - compatible = "pci14e4,4425"; + compatible = "pci14e4,4425", "brcm,bcm4329-fmac"; reg = <0x10000 0x0 0x0 0x0 0x0>; /* To be filled by the loader */ local-mac-address = [00 00 00 00 00 00]; diff --git a/arch/arm64/boot/dts/apple/t8112-j413.dts b/arch/arm64/boot/dts/apple/t8112-j413.dts index 6f69658623bf8..df2a63d8dd5e9 100644 --- a/arch/arm64/boot/dts/apple/t8112-j413.dts +++ b/arch/arm64/boot/dts/apple/t8112-j413.dts @@ -43,7 +43,7 @@ led-0 { &port00 { bus-range = <1 1>; wifi0: wifi@0,0 { - compatible = "pci14e4,4433"; + compatible = "pci14e4,4433", "brcm,bcm4329-fmac"; reg = <0x10000 0x0 0x0 0x0 0x0>; /* To be filled by the loader */ local-mac-address = [00 10 18 00 00 10]; diff --git a/arch/arm64/boot/dts/apple/t8112-j493.dts b/arch/arm64/boot/dts/apple/t8112-j493.dts index 0ad908349f554..5f3453e109b85 100644 --- a/arch/arm64/boot/dts/apple/t8112-j493.dts +++ b/arch/arm64/boot/dts/apple/t8112-j493.dts @@ -43,7 +43,7 @@ led-0 { &port00 { bus-range = <1 1>; wifi0: wifi@0,0 { - compatible = "pci14e4,4425"; + compatible = "pci14e4,4425", "brcm,bcm4329-fmac"; reg = <0x10000 0x0 0x0 0x0 0x0>; /* To be filled by the loader */ local-mac-address = [00 00 00 00 00 00];