From patchwork Mon Feb 15 20:41:01 2021 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: 383016 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EA38C433DB for ; Mon, 15 Feb 2021 20:42:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C8F7864DE0 for ; Mon, 15 Feb 2021 20:42:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbhBOUl5 (ORCPT ); Mon, 15 Feb 2021 15:41:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbhBOUl4 (ORCPT ); Mon, 15 Feb 2021 15:41:56 -0500 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6366C061756 for ; Mon, 15 Feb 2021 12:41:15 -0800 (PST) Received: by mail-lj1-x22b.google.com with SMTP id k22so8774945ljg.3 for ; Mon, 15 Feb 2021 12:41:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X6cRi5iB+RmhFHWpgneVYfTKCJ7xAR/n7ekYwFpABDw=; b=K7L3q5uRqFy5c/kJIzkddW8tZcePYGAM/ck8R5WFYXVPjF/RaVgNFDLvR/8Q9PgalH b4hFmKsEipCepuShtYWl/Ux3J0Mw6AjyX1Fj+PQ0Kd3DvL5Fmfc/3EErX+W3KN2I3jC/ X7Rg14G1Pl+fdN2KSh6ZSPGd2uh4XZC//O+0qFyBbZbQOknZIlasR0gLql6NLDKol+yd FzUk0P4MBJVO7I3MngvHhyOyyeRjFfgyai25EAGAUoEmRtUICM6A39Gqy/HRrXrTd3Ny wQ1VMASNaTTKX14j1Njsh6v/ari/Mnq+FAO+ndUckxR55ARBiJxHyr3wHSB3HA/I0ys7 2/JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X6cRi5iB+RmhFHWpgneVYfTKCJ7xAR/n7ekYwFpABDw=; b=ikgbJb7wu8vgBvpxwPdo4G7HC5vynGLm6QaEg8bkifF49Rlcap8nMF8z44/uoDx6/U Ua6BvNgZnpvSNVUyvmyLQgT9jhcQNlwcRZDBPm6rfePz4Ba502pmi6AYs3uyNiM7gi2o 0ofmjR0ojP4NJxkTqQppAc+ZMAVNkVbl0fOSeD5niBeTzLK8iO2z58RRRS4Pwu84zYiq eUQ7j7DTFuAibqvour/GST5PwarP9LnjUKJq9zbDHL6vp7bWnQmiUuPbnhpjZxiNeokr iZ50LSpdk7sjbuw2eMN5c0D9OqBTaTJWmI1/2gbkQVrd5H+LVhwTadGYGi4VTUz6zX9l 70tQ== X-Gm-Message-State: AOAM531OjaO9vHfXt0isoGzdfp2jcq0YBzrvxQjvfDwyR2m/+Clzsvf0 fAlt85d/GZPxZx25Vl2c+Os= X-Google-Smtp-Source: ABdhPJy2YwKxA8K7voIIti7KXbFptCHhFdOxZfbHHgk4Vyd3iV+cYH/ex4SWDWDApaQDCZV8wIIy+Q== X-Received: by 2002:a05:651c:1195:: with SMTP id w21mr2257906ljo.292.1613421674207; Mon, 15 Feb 2021 12:41:14 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id x36sm2922841lfu.129.2021.02.15.12.41.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Feb 2021 12:41:13 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 1/5] arm64: dts: broadcom: bcm4908: describe USB PHY Date: Mon, 15 Feb 2021 21:41:01 +0100 Message-Id: <20210215204105.27830-1-zajec5@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Rafał Miłecki BCM4908 uses slightly modified STB family USB PHY. It handles OHCI/EHCI and XHCI. It requires powering up using the PMB. Signed-off-by: Rafał Miłecki --- .../bcm4908/bcm4906-netgear-r8000p.dts | 17 +++++++++++++ .../bcm4908/bcm4908-asus-gt-ac5300.dts | 17 +++++++++++++ .../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 25 ++++++++++++++++--- 3 files changed, 55 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts index ee3ed612274c..bf0d534ace2e 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts @@ -26,6 +26,23 @@ wps { }; }; +&usb_phy { + brcm,ioc = <1>; + status = "okay"; +}; + +&ehci { + status = "okay"; +}; + +&ohci { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; + &nandcs { nand-ecc-strength = <4>; nand-ecc-step-size = <512>; diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts index 6e4ad66ff536..bb06683d6acf 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts @@ -44,6 +44,23 @@ brightness { }; }; +&usb_phy { + brcm,ioc = <1>; + status = "okay"; +}; + +&ehci { + status = "okay"; +}; + +&ohci { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; + &ports { port@0 { label = "lan2"; diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi index 9354077f74cd..358958105337 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi @@ -2,6 +2,8 @@ #include #include +#include +#include /dts-v1/; @@ -110,24 +112,39 @@ soc { #size-cells = <1>; ranges = <0x00 0x00 0x80000000 0x281000>; - usb@c300 { + usb_phy: usb-phy@c200 { + compatible = "brcm,bcm4908-usb-phy"; + reg = <0xc200 0x100>; + reg-names = "crtl"; + power-domains = <&pmb BCM_PMB_HOST_USB>; + dr_mode = "host"; + brcm,has-xhci; + brcm,has-eohci; + #phy-cells = <1>; + status = "disabled"; + }; + + ehci: usb@c300 { compatible = "generic-ehci"; reg = <0xc300 0x100>; interrupts = ; + phys = <&usb_phy PHY_TYPE_USB2>; status = "disabled"; }; - usb@c400 { + ohci: usb@c400 { compatible = "generic-ohci"; reg = <0xc400 0x100>; interrupts = ; + phys = <&usb_phy PHY_TYPE_USB2>; status = "disabled"; }; - usb@d000 { + xhci: usb@d000 { compatible = "generic-xhci"; reg = <0xd000 0x8c8>; interrupts = ; + phys = <&usb_phy PHY_TYPE_USB3>; status = "disabled"; }; @@ -222,7 +239,7 @@ procmon: syscon@280000 { #address-cells = <1>; #size-cells = <1>; - power-controller@2800c0 { + pmb: power-controller@2800c0 { compatible = "brcm,bcm4908-pmb"; reg = <0x2800c0 0x40>; #power-domain-cells = <1>; From patchwork Mon Feb 15 20:41:04 2021 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: 383015 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74BEEC433E9 for ; Mon, 15 Feb 2021 20:42:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 30A2D64DE0 for ; Mon, 15 Feb 2021 20:42:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229706AbhBOUmG (ORCPT ); Mon, 15 Feb 2021 15:42:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbhBOUmE (ORCPT ); Mon, 15 Feb 2021 15:42:04 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 596BEC061788 for ; Mon, 15 Feb 2021 12:41:24 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id z11so12500422lfb.9 for ; Mon, 15 Feb 2021 12:41:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wRVk3haqZC4wsxCzwKAuBBWTX+kKmI5vIx4SonSz0iQ=; b=ku7fqrpZKKz7s5UhfegaVZ2e7x3PIR5wuVt78b7XCKhwlMbKDVZvrduZe8S9uqtF30 VMbNKenZ6T2wSdlfNKoEi66ilBFK9ZxCRE2Ur6IsXOnzl1rE7MnNeAZORVLlu3mDEaM9 sePXWmedtz/VCaFkLGujHgJ9cT6Pa/BiISI09zaCN35pThD0NLhRSg9QxLL49kEuICbg iAMyVAKfu3ss1TfMuoRPYy+HxTQ9tRrE/65PqDkC75HcS2kXYK5oyHomQOiX+GHq0pg9 e2+FUe7JxyOfEGOYbwSe4FcddkquV+jwpQ94sk0fxYwU9A721ggCswUL1XGpE3lu/nSY 4EPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wRVk3haqZC4wsxCzwKAuBBWTX+kKmI5vIx4SonSz0iQ=; b=swRwWtB2y1GURkyCOknMac42q0/ZC5qvhUMnD20g37I/bu6Z+GVujPLXqbZLunsGbR 7WCKs3f7GiFd0QPV4BauxpRH4Se1CC/H0DSsOR7NwMk+g33yB5ucmJ2/QERJRxg1/J88 2PswZ37E1UtrIzTSVl0YP+HhYCQHM7aUPvyQuobvMY0mbrjHuFmujzBmpap/Pztdh8G5 7vQuZtFqRMC3xMS1EVRyI11pW15MCWg6/1601/Rt0ttAI7/NbHcmbLPykzbKjnEarLob +kgdvuXr9nv25KvhO7efLOFg9o27IrLdhv6YY85x2J0A5LqR7LQfocyoqGLD6kQ9a349 fVLQ== X-Gm-Message-State: AOAM531JC/zVO7BImgJu/TYphj2GrDYYidP3k87nNRziitPmfIOJxsKu t3mkuVvkA/nG2Iwur8z4DuM= X-Google-Smtp-Source: ABdhPJzsm8HD5LjdUYk2DhBkxQst0Buf/kA402Dl2os76F38a67+AcuMWVS5l3gaRSz3lRliuxqKrQ== X-Received: by 2002:ac2:52bc:: with SMTP id r28mr8805066lfm.451.1613421682938; Mon, 15 Feb 2021 12:41:22 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id x36sm2922841lfu.129.2021.02.15.12.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Feb 2021 12:41:22 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 4/5] arm64: dts: broadcom: bcm4908: add remaining Netgear R8000P LEDs Date: Mon, 15 Feb 2021 21:41:04 +0100 Message-Id: <20210215204105.27830-4-zajec5@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210215204105.27830-1-zajec5@gmail.com> References: <20210215204105.27830-1-zajec5@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Rafał Miłecki There are a few more GPIO connected LEDs there didn't get described initially. Signed-off-by: Rafał Miłecki --- .../bcm4908/bcm4906-netgear-r8000p.dts | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts index af2616e82e83..0d02986c80ab 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts @@ -18,11 +18,59 @@ memory@0 { leds { compatible = "gpio-leds"; + power-white { + function = LED_FUNCTION_POWER; + color = ; + gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; + }; + + power-amber { + function = LED_FUNCTION_POWER; + color = ; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; + }; + wps { function = LED_FUNCTION_WPS; color = ; gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; }; + + 2ghz { + function = "2ghz"; + color = ; + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; + }; + + 5ghz-1 { + function = "5ghz-1"; + color = ; + gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; + }; + + 5ghz-2 { + function = "5ghz-2"; + color = ; + gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; + }; + + usb2 { + function = "usb2"; + color = ; + gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; + }; + + usb3 { + function = "usb3"; + color = ; + gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; + }; + + wifi { + function = "wifi"; + color = ; + gpios = <&gpio0 56 GPIO_ACTIVE_LOW>; + }; }; }; From patchwork Mon Feb 15 20:41:05 2021 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: 383014 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F0DCC433DB for ; Mon, 15 Feb 2021 20:42:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 680DF64DF0 for ; Mon, 15 Feb 2021 20:42:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbhBOUmR (ORCPT ); Mon, 15 Feb 2021 15:42:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbhBOUmP (ORCPT ); Mon, 15 Feb 2021 15:42:15 -0500 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D680CC06178A for ; Mon, 15 Feb 2021 12:41:26 -0800 (PST) Received: by mail-lj1-x22c.google.com with SMTP id r23so9467107ljh.1 for ; Mon, 15 Feb 2021 12:41:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=f2vud9FYihwZwBcd0ZX7QXrGZwYrdLQaFuR8oz36xRk=; b=cdFUw2aJ8h7PK6ZIUQdLV9l9o37oN3/uOqSMbUUgH9HnxJO/Q+/Gh8rwr61BU+LaZA g9ms/udrxOz682iYhtlR2XF7xY44LHtbGzMJVxIvJijH7LN6Xlzrw1gVwthrwml+VKLB CpoHpygSQl92kGPMQPmgXncg4s1+RA6ycb4wweTzBiXu/6TkzO/m3fpHje3GVXpcUmuO eFLDAbUAXjaATsWeN+11o+RSrtippM3A+jEXKU7xnKaM0auneclUsr/18EDMs1zwj5yQ CvQLyUcg//8sIZ3aPgWY43PKon7Ce+9jPhwNfO+kI2L+1ggklyTvQSRWdFSP9A/MdL6n Zf+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f2vud9FYihwZwBcd0ZX7QXrGZwYrdLQaFuR8oz36xRk=; b=Qdlf5amKEVj7EI7HvVU/9v/LGIyoGVhvo4m5uTDDiiPhBY8VGVpfkA3F5+HaH781bN Fx8C9nljxp4ycwOgkF1GfKuX7pV2kUOaPOKrfC5C1zMqtZWJkvKblShkZZh8ZvtoZzZt W0bjLSol/Gkvl9c3rgPlY+B6vlEun7N77RNj9tqs3djs3dsdis8B6A2vEcBoMR8uTK6b FFtegHk6iwUFrBoaKEExCvawHa2RF8ujnLycBSEzr9el3INBS/lTDqPQ4BCwQZvawsYz /SgCmV/0jbky3i8FQ7va3L0CryFcucTXkBkdZjdkTzkL0Ot0nh+8SjCWilMa1khTu3B/ x+TA== X-Gm-Message-State: AOAM530GFef1/RtLL27D66+Wi5NH9Wt4xkJnb9hgOnfKArfj7DputwZf K5vLwdZfMSmKCrBXSnywaHo= X-Google-Smtp-Source: ABdhPJwl062O/s0YSouyZUL6H4gHZ6idDZh7neDOFFwmufxUHrxGQOw3oPgrkF9BuT9AH7BTVUmLnA== X-Received: by 2002:a2e:a487:: with SMTP id h7mr10559672lji.59.1613421685393; Mon, 15 Feb 2021 12:41:25 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id x36sm2922841lfu.129.2021.02.15.12.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Feb 2021 12:41:25 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 5/5] arm64: dts: broadcom: bcm4908: describe firmware partitions Date: Mon, 15 Feb 2021 21:41:05 +0100 Message-Id: <20210215204105.27830-5-zajec5@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210215204105.27830-1-zajec5@gmail.com> References: <20210215204105.27830-1-zajec5@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Rafał Miłecki BCM4908 bootloader supports multiple firmware partitions and has its own bindings defined for them. Signed-off-by: Rafał Miłecki --- .../dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts | 1 + .../dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts index 0d02986c80ab..7b24ad365a3c 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts @@ -135,6 +135,7 @@ partition@0 { }; partition@100000 { + compatible = "brcm,bcm4908-firmware"; label = "firmware"; reg = <0x100000 0x4400000>; }; diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts index bb06683d6acf..7240a9ee9812 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts @@ -122,7 +122,7 @@ &nandcs { #size-cells = <0>; partitions { - compatible = "fixed-partitions"; + compatible = "brcm,bcm4908-partitions"; #address-cells = <1>; #size-cells = <1>; @@ -130,5 +130,15 @@ partition@0 { label = "cferom"; reg = <0x0 0x100000>; }; + + partition@100000 { + compatible = "brcm,bcm4908-firmware"; + reg = <0x100000 0x5700000>; + }; + + partition@5800000 { + compatible = "brcm,bcm4908-firmware"; + reg = <0x5800000 0x5700000>; + }; }; };