From patchwork Fri Jun 2 13:59:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13265367 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 A5603C77B7A for ; Fri, 2 Jun 2023 14:00:12 +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=rkM44eTDQd8hqhVDigw+nbCVHtlwWIlh5wU7vxlBYL8=; b=gYV/3bzAMd7cPH GDDth/hOiGy4maO9kNh7XZL82vXhue0boZl4faxWBObA8UQE4ruz/ag2we37oJ1XbroIsOaiMOxjw MydkSOz+/WyDo9VLUswCGYfgFJXpMZjF+/jPzHFPgPDd0I1rZth540FpRodlt4QT54i4Xe5dTYiNT TgkCMxqYzjTDrcM7nAQ5meed8fQMs5ZOi8i7e9RjvXAsjJiZlgpa1klvKXZO32NT2OpkBlF6nRGXm SXCYXblQu+AVpKDmABKer02oCwRv93oMUjKPhsakXbAdNEiMPajOHEQTDoCMg45g/BgH6Vj4hYkd8 tZYLEQkjxMolLcJ/sbUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q55Jn-0074Wn-19; Fri, 02 Jun 2023 13:59:51 +0000 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q55Jl-0074Uy-25 for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2023 13:59:50 +0000 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2af7081c9ebso30032211fa.1 for ; Fri, 02 Jun 2023 06:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685714385; x=1688306385; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nTN3SqBStdfh47dkRHJQq2annqGcH5JYkK2qy9Njd5A=; b=NlIcjLaqw+UJ4KMHwtXzN9tvEZMSxzwkfvzVg988ePm1k7mdTVc3Nc6ItSknw3wLvo POZi029DR3dzEnfriPincsQejUzZckw1MH2qBUPxCDKliTPL59/El/Q9N9AII5rAh+Cz VP8yXiVo8I4yg7KHWjMJmThZNjmcqXghnnKSLtfBkeuH89RkvOG7+NeLszWIhx9nQV/7 oCzuOsbvjbKigEnUwh3Q6dFaWebml9aG/iKhI8uKoUMLxPXTg93LkAC+AgOm9pKlMv0I V3Wvvi0pd/Djyx1yO7HpFE5VvKaIYbiTVCHY7D//8dVGNRJhuMYsaTV7dDI/EXhV5zdt 9QgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685714385; x=1688306385; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nTN3SqBStdfh47dkRHJQq2annqGcH5JYkK2qy9Njd5A=; b=TrnCfUscQbStEVAg/c75K67Q3nUvzJ7Iy2DDAX55XkPiYwPEA2CoXaXkqOEALeVuDZ io4emHpsP7OHNGTtElE93yu8jZ0kQUHJL64Tj9zt8IR5FznDTV18ESLmqBkEJnlRiqYT xwl63J8MqvrWeWWRnxsnka9ogYaOAbZ0z3jgR967xa/ijS4JS/YiEPVZ8FBoBA6i2agh gylxmUYbG3bW9LEdnZjm0kcCsicWvPilzS8GMZXHAHQfd98S8FRuUte0vLyGytvgH0kt pctrApUJKJ3Joo6qAornDPX7kIUJD/mCboVSlo+/C/+ohBZ/2Gv5+d5jaX7unGa0LFlf gFYw== X-Gm-Message-State: AC+VfDxvLsgMx7jzt3vBKEWGKtutcjLFaQ1RnnWj299jyaXo/yLsRxcQ 6NSFnmQoaEOdIkM+E6kzFlI= X-Google-Smtp-Source: ACHHUZ7l909Tryh8qYkMllMSiYfajl6Ve8Ib66Jep6sx4kUqMNiBCc0vU3137Hc8OAifDcZmjGy9wg== X-Received: by 2002:a2e:87d6:0:b0:2ac:819f:f73f with SMTP id v22-20020a2e87d6000000b002ac819ff73fmr68955ljj.20.1685714384802; Fri, 02 Jun 2023 06:59:44 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id e25-20020a2e8199000000b002adbf24212esm236579ljg.49.2023.06.02.06.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 06:59:44 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Kalle Valo , Florian Fainelli Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hauke Mehrtens , Arend Van Spriel , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 3/3] ARM: dts: BCM5301X: Add Netgear R8000 WiFi regulator mappings Date: Fri, 2 Jun 2023 15:59:25 +0200 Message-Id: <20230602135925.14143-3-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230602135925.14143-1-zajec5@gmail.com> References: <20230602135925.14143-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230602_065949_685215_A34A9DFE X-CRM114-Status: GOOD ( 11.92 ) 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: Rafał Miłecki This allows setting FullMAC firmware regulatory domain. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts index 14303ab521ea..3552b6deffc2 100644 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts @@ -137,8 +137,10 @@ bridge@0,0,0 { #size-cells = <2>; wifi@0,1,0 { + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; reg = <0x0000 0 0 0 0>; ieee80211-freq-limit = <5735000 5835000>; + brcm,ccode-map = "JP-JP-78", "US-Q2-86"; }; }; }; @@ -159,6 +161,19 @@ bridge@1,1,0 { #address-cells = <3>; #size-cells = <2>; + bridge@1,0 { + reg = <0x800 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 = "JP-JP-78", "US-Q2-86"; + }; + }; + bridge@1,2,2 { reg = <0x1000 0 0 0 0>; @@ -166,8 +181,10 @@ bridge@1,2,2 { #size-cells = <2>; wifi@1,4,0 { + compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; reg = <0x0000 0 0 0 0>; ieee80211-freq-limit = <5170000 5730000>; + brcm,ccode-map = "JP-JP-78", "US-Q2-86"; }; }; };