From patchwork Wed Jul 5 15:32:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Haab X-Patchwork-Id: 13302355 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 5F07FEB64DA for ; Wed, 5 Jul 2023 15:33:34 +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: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:In-Reply-To:References: List-Owner; bh=vG+eRfULdodooMo/di41VDqcRC/C9AZw4PN/vvt5Qkw=; b=AQ7J8x0q55yRw5 Mm4T3efsV0mMTx7JcCppxkZAhErStfDvV30iOFo9dhe4vicGffBfe1a1ak9HzGtD1Iyu6STdjd07l PDZLSmxdqHvqXUOuXiSQhkbbSsA2D6KdRXSKLFt/3sB2IastF7Z8/iHC5w/Lya8WpNW6fEtW2tSL0 R4EEhoU+1Hetsk39s3oLW/QAqh797QUOR8uquKUIyrUrEFGMjbHquMNBj0Q0D0a41NW+OIDPgpixb qx3winueMX/fdeTc/7Y+u3QzZJOS1bCj3Br/E5wyonvEwgwONfS2uqjlBXqi22rPZhrNq7+gXP66T lzM4HjeQXwipAZU23wOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qH4V3-00GL5A-25; Wed, 05 Jul 2023 15:33:01 +0000 Received: from mail-il1-x132.google.com ([2607:f8b0:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qH4V1-00GL4G-0o for linux-arm-kernel@lists.infradead.org; Wed, 05 Jul 2023 15:33:00 +0000 Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-345f4a3ff76so22231315ab.2 for ; Wed, 05 Jul 2023 08:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688571177; x=1691163177; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/rvWHF9U8sfQkc3CHaYD6TnGiSef+e8bi34L1T0Ri7U=; b=hEs6mCiV+S1AnPKCVLbBE6J014SZWIODVvapzfbeenW0gN/iXuO1qnx6m4EVrrQMEs r545g8PUEyssBevFXcKdLATN7+Yfy1aQ93cCJ9qYBxEvTbdGE0tAhtIGmke8OIu3QLvP KXq4/qFLyfgeJKQ1cm0RikOnO/KqM/mW6gDHnS4lPeBC9XRd+fImAu8aizE/lTG0F5xa y0TCl04bix9TKwRiEI+fOfQ5h1N1vc+kPCJWQ+s9TX9MOf4GnuX7vdSwSGBpppuoDOK5 DjtZhiM8BrPqYH1UxmWdioA2yvHQXc+EfO8s6JuGUu4cwM1cw0xsQieeC8rXe0X+nGfT 2iVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688571177; x=1691163177; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/rvWHF9U8sfQkc3CHaYD6TnGiSef+e8bi34L1T0Ri7U=; b=ElBw0F11N/NBcF8QPtL3TcSt+St/BHhR1Ql0U4fApVlWOTkvV8HZxHRYXhvI0W+47K ci75X9o+HbecCMgymJ1vbX9wy1Oj1HnCKiCew6ghXgxtmLMEewrLO3hD9JeEgA6pgQsW Jj0eAWWQ4ciSQ3L2Rd+Em/4vRKmCfu6f0BUU6mv0kIvJYpc50fgKPc2DwXG5DZ4M4RCl RvYdOBiIBl/YgtVTr6H6B2mlG9nfIbNXTH5KGMtpAlgB+6F0I9jbFJTzRII7iULJBKC7 cpH04ijh5JdJblVD7rScPBeahfbXieKKFOXAJczL3xLhAgYJyjKmWhhaMXg2qxWlfeUP O8sg== X-Gm-Message-State: ABy/qLYEzwFa13YFzjENBpZBXFJ8xUAkSKPs+D9y/u90y72OEDBcQST8 BLHH8/w5eWrTDEf6TvtEypg= X-Google-Smtp-Source: APBJJlHVYcYNj0AWN+jIyjipazVXkXoBBdFwA36KNizeZYaZwrjyLVFXi00cia6u5eW2AWjDPiK3fA== X-Received: by 2002:a92:c604:0:b0:345:ca59:1546 with SMTP id p4-20020a92c604000000b00345ca591546mr16856498ilm.10.1688571177537; Wed, 05 Jul 2023 08:32:57 -0700 (PDT) Received: from kvasir.. ([65.140.126.83]) by smtp.gmail.com with ESMTPSA id t9-20020a92c909000000b00345b53bdea4sm6290491ilp.37.2023.07.05.08.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 08:32:57 -0700 (PDT) From: Dan Haab To: Florian Fainelli Cc: Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , bcm-kernel-feedback-list@broadcom.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Dan Haab Subject: [PATCH] ARM: dts: BCM5301X: Add Wi-Fi regulatory mappings for Luxul devices Date: Wed, 5 Jul 2023 09:32:51 -0600 Message-Id: <20230705153251.739236-1-riproute@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230705_083259_289932_7F193AAD X-CRM114-Status: GOOD ( 10.58 ) 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 From: Dan Haab This allows setting FullMAC firmware regulatory domain. Signed-off-by: Dan Haab --- .../dts/broadcom/bcm47094-luxul-xap-1610.dts | 37 +++++++++++++++++++ .../broadcom/bcm47094-luxul-xwr-3150-v1.dts | 36 ++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm47094-luxul-xap-1610.dts b/arch/arm/boot/dts/broadcom/bcm47094-luxul-xap-1610.dts index 6875625869d9..afc635c8cdeb 100644 --- a/arch/arm/boot/dts/broadcom/bcm47094-luxul-xap-1610.dts +++ b/arch/arm/boot/dts/broadcom/bcm47094-luxul-xap-1610.dts @@ -64,6 +64,43 @@ &gmac0 { nvmem-cell-names = "mac-address"; }; + +&pcie0 { + #address-cells = <3>; + #size-cells = <2>; + + bridge@0,0 { + reg = <0x0000 0 0 0 0>; + + #address-cells = <3>; + #size-cells = <2>; + + wifi@0,0 { + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; + reg = <0x0000 0 0 0 0>; + brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825"; + }; + }; +}; + +&pcie1 { + #address-cells = <3>; + #size-cells = <2>; + + bridge@0,0 { + reg = <0x0000 0 0 0 0>; + + #address-cells = <3>; + #size-cells = <2>; + + wifi@0,0 { + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; + reg = <0x0000 0 0 0 0>; + brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825"; + }; + }; +}; + &spi_nor { status = "okay"; }; diff --git a/arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dts b/arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dts index 789dd2a3d226..e28f7a350117 100644 --- a/arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dts +++ b/arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dts @@ -81,6 +81,42 @@ &gmac0 { nvmem-cell-names = "mac-address"; }; +&pcie0 { + #address-cells = <3>; + #size-cells = <2>; + + bridge@0,0 { + reg = <0x0000 0 0 0 0>; + + #address-cells = <3>; + #size-cells = <2>; + + wifi@0,0 { + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; + reg = <0x0000 0 0 0 0>; + brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930"; + }; + }; +}; + +&pcie1 { + #address-cells = <3>; + #size-cells = <2>; + + bridge@0,0 { + reg = <0x0000 0 0 0 0>; + + #address-cells = <3>; + #size-cells = <2>; + + wifi@0,0 { + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; + reg = <0x0000 0 0 0 0>; + brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930"; + }; + }; +}; + &usb3 { vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; };