From patchwork Mon Jun 17 03:05:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13699927 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 4D16EC27C79 for ; Mon, 17 Jun 2024 03:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=wCnVNL27q1EwocllmDblvXml4yVAuAodLoxC4QLj/oQ=; b=M2zXG/biaREfCza0zPJZk+0a+L iVJQcV+2y5jJGOc42mZ4NF4KZQDphlwO27FLVGoOCrRMuMvY9W3RzRR5s8lUfY09emtYz3Muc4ZL2 hH0w0PeIPLsin6A36aON5ucpLw3paynWiWxCXpROimGsdX8BNxZNspmU9am2Pw/vAmAkmZ1r8Ro2Y /nVAejcnG4Fq4A9N0nFB90RXBVkIBVn0YPaONv2YX5i5SL1LEMBVS+jHKXgddM1N2tAIVXrBB8YsP LTy+wDyIOqVdrCEM8W1acVzPnNyWm43oS4+ZtqNy5cb1o1xkA0eAEaxs8SEYGBwBwb+lx3if2nuYn wSBVKv9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ2hi-00000008xXl-0f9h; Mon, 17 Jun 2024 03:06:46 +0000 Received: from mail-sgaapc01on20703.outbound.protection.outlook.com ([2a01:111:f400:feab::703] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ2hU-00000008xKg-0dbR; Mon, 17 Jun 2024 03:06:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zqfxlq+D5kYTUXmafj4iW3kHeId9UygGZBk1baHeV1m7RK7lm2US8Vi2s0j5gn2PzKdc1nnmKTx+1S1g83b2EIt2UMcb1ET69WaGnVDvVonawA5RR5Bbpf+70nIMBlcDXYjz0HH5VZ1SKn53dtcstpuwZ5G7dbIBko5oYXFH7okDNoxol3vIq/zmctP8mNXnI5wR/mYQSrWLUIG0xoxggyLSLkqc3tcccJVzJ9Wg0MKxnbLhZWcBM/y0oT99yw5s8HSnu/SPxeJCBGU/ODhjUl2318APNl4HqQY7bv/uMPE09FR3luEUdpbBegfEjACOVDW6ny4tm8ihkzmei/CEaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=wCnVNL27q1EwocllmDblvXml4yVAuAodLoxC4QLj/oQ=; b=QVyeljpPvfgli9RvlATD2nl2Bl9nH9AK9nrY89T7eSxwsN90zKbRvQdagVgiTcOPBbx3qHx7zL/trTWH+JRAh1aOtdE44oQG4zjevBCL0vrOLS2QltJMcHXuk1Z5njmzFV+jvt7nKKZHXI/yXyNHk2YrYR/MwoCO+o6RXbadDMiqeitNPDCbop4kqlSXCBFjL2uWPVXeOuCvTpjnbb6d5zoDvSEaF3bd3ryF0ECSRkuLnEWTS3Jn07+6bQS08Y7m/6nycBL8MqmSHlvTYkFHgYadI+5Vecl2aD7YR0WLmlsgU8ggO7/6mqrAmgGMd7yPSzo8rlv9xW2WyjFwTkDH+Q== 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 KL1PR03MB8001.apcprd03.prod.outlook.com (2603:1096:820:fc::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 03:06:30 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%6]) with mapi id 15.20.7677.029; Mon, 17 Jun 2024 03:06:30 +0000 From: Jacobe Zang To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de Cc: nick@khadas.com, efectn@protonmail.com, jagan@edgeble.ai, dsimic@manjaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jacobe Zang Subject: [PATCH v1 4/5] arm64: dts: rockchip: Add AP6275P wireless support to Khadas Edge 2 Date: Mon, 17 Jun 2024 11:05:36 +0800 Message-Id: <20240617030537.3112356-5-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617030537.3112356-1-jacobe.zang@wesion.com> References: <20240617030537.3112356-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SG2PR02CA0038.apcprd02.prod.outlook.com (2603:1096:3:18::26) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|KL1PR03MB8001:EE_ X-MS-Office365-Filtering-Correlation-Id: e8cf7838-aacf-4291-ac65-08dc8e7a7c0f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|7416011|376011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: 6dQ6poiI9igHtvHPAm1T3lV0nhdSfBikCc/QBjzmeyeSDHTGHHj2rjuScciITqAiNMczOX7Fmbc/KuGS+1Gkc02w5s82BurRgGFxdFAExCIJoRHKMuO0xWYGGdaWbSyqYZB3AFucPTmZ7HVz1HEcgpz0DJIXqAt9aK1kuWt/excssM6H5ZEupCITnkrmjzy2/g8+djv6AtWdCFZGyVtqG4Swy68B3z5xOQo+9yEnQaifCXL2nOnD1I4wP8KI5BlvHRUw2j3IExq1E8dGvubKQRsj1GMa70uRQ/x/pfdjXk+hU0hS7ZkccZYYCFOO9LKqVT46Vy2NI5k9T1wyvAd5ZQGfkuGFa4qJE/LJx22Inl+uY4TInMY58WioVZSi+InHzK32fywRrN7pnUSTg4uwTnvuatnym15tZBiWnu7Eanxt0Nzs/72XQVoGk2zmCMgkZd1o6+JK3cCcRhict9EVJLoF7p4KFYFkqY8Ai4UneXtWHssMOlNxPC+/s7G1eKrOAAQzv7qnahS9PSy1RTLkESHuxhonrp/dleYPl6aCCH8KINMU9bHA1J/iofhVHZ+kV66bEudNO8W5oJMvnrpj7RTVua6DJkdv2MuBVG5cVMTMN5yf6o+4Bp+gvhsQWwKKCeoumFl/rKCoRwifhaJ9Ybjn2F3oKKVf47pDQEMHjXAgumrdQaApqdZ7ZAd+sdCITGKZ6M4mifd6eOh0Rtd7nIdXJ9yohMHj29oBGvNRsP7ffw5j+B7pJ7d5UvyiTrrOl/zYlQ22ha/ObYxLif+Ht4S7qigjEdTMVuoTXo6eM7NUW+QHkksl4qRe/1X7JbwgTZCbk9GLfYrLDINukGu8BQ93bF+2pfV8k+GSOT1lbxePwVxgaWaL6S2Z866ERUeZ4tlHrPPK2n7LQ50lJcfLUtMzkD8TrzDD5QTjHub8TiBOzjH4qAPxZJ8Kl+L3sDe58QYh2xQ82O1jEyTK/tdu7KQ2XIHVs393PERpioUzjHK200ZLtnSWFP48Ahvojl90E9XFsIiVFpbTLMF4XrNA0vLIawwuzH+V8w9ncypg6jCVjDr88X15o8GVxLS+g5j702K20HSQe12Ebj7MJYCPi4ZukqbOti5pbgncant/q8i3QFWqNGTl/v1TfZVENf33PAuJXQS4rasS1Ylfdx4PPJbECewXbpm8OoWFH6PX9HhGfsm3mHoo4Gg0wu19iGzEbTaNOSlc3H/sUFldR25bbTGbpsVEJeGGqOCdCoWvvcDDjfr03VIHmLP1HIUJlPlc22TcLSDuqAh6UyYmxylETZYGuATDv5RCwfNtp4nte+QFkfom/OIH2WQDkqV17Oj7 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:(13230037)(366013)(7416011)(376011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gkGnNrg7E7q962eGJedYLATBKnuyJBuKiLzV9MM3jDNESyP5UZUOY+P60do1Ue4F4jVVZgigElX3wbRzEjC0ZKuCbMY+2UmAN0YffFiHioZ+CHFh1wNgIcuVHMah687d8P1u0zLrAoXTeONWkEzlunNqH1LUMTH5XFqzHZFBKkmZJ/+fpvUgjUPu9szZ/lYlN7U1jKsf90F3Ahoa4y+qYpFW2yWREpTWgIyO914oAcIw0DHC2XQhXIkYqcOtVo4o029iXf1Rbi4d4PauvRLE0u2nlkxFhOrV4LuggRhojeMuv90HJb/cU9Brp6BYdg2RManyGQKvSpW82k5AOaa4PV9QswQpSFcv0bDybIdHXxqxyTJckq+Kl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LXpqNGtdFI98AOLfA4hm886w8xOWcU+tP0Uk1V9mn1R14wKLuXiUQYJV2f6ZHAm74dDcemvdN/j6J31ZvuPwjbOBYTfi7e5F/iyY0f2zhHHPX1CG6uAI+sGsT7o0JcwYKIMU5iZdr3ScSohdDDrPDtBTpQVcA8HFykd7agTtrYhYjfSrcQ== X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8cf7838-aacf-4291-ac65-08dc8e7a7c0f X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 03:06:30.0465 (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: /ds6Xad2S7RLF21epqPskOJARIQ/pHQ1yxvp7Pr4j6RLLbyqXLzdmcSkHjRaGIzf43DBPOrVPE9EW4OJ+fBEhg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR03MB8001 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_200632_279904_DEA4490D X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Khadas Edge2 uses the PCI-e Ampak AP6275P 2T2R Wi-Fi 6 module. Add "pci14e4" prefix to vendor-prefix.yaml and "449d" to brcm,bcm4329-fmac.yaml Link:https://lore.kernel.org/linux-devicetree/20240617023517.3104427-1-jacobe.zang@wesion.com/T/#u https://lore.kernel.org/linux-devicetree/20240617024341.3106240-1-jacobe.zang@wesion.com/T/#u Signed-off-by: Jacobe Zang --- .../boot/dts/rockchip/rk3588s-khadas-edge2.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts index f8bedc5e05fbf..cdd5f124e3069 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts @@ -365,6 +365,23 @@ &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"; + reg = <0x410000 0 0 0 0>; + clocks = <&hym8563>; + clock-names = "32k"; + }; + }; + }; &pwm11 {