From patchwork Fri Feb 19 05:50:26 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: 385017 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.7 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, URIBL_BLOCKED, 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 E4A6DC433E0 for ; Fri, 19 Feb 2021 05:51:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8476D64D5D for ; Fri, 19 Feb 2021 05:51:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229498AbhBSFvd (ORCPT ); Fri, 19 Feb 2021 00:51:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbhBSFvb (ORCPT ); Fri, 19 Feb 2021 00:51:31 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7095CC061574 for ; Thu, 18 Feb 2021 21:50:51 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id e17so13531239ljl.8 for ; Thu, 18 Feb 2021 21:50:51 -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=oJIkzBWRehY9m6clxALzeXL22NeGZx8hHxsoLZRErZVKbOxWiJ0m65OTzpLr1D9Bcq qu6SOWw5T+NYR6IChh69ovtcgC1Q/+gZRH3lKaLGUxu568gt3twrv2vk7tYksTmlZzB3 jBdbLXbc4Tpwrsq+QxcuqeoxEqeejkk2BqTRCfUA41aa4mO/eymj2ilb40JSESo9bNDA t7LG7ABMEuPhfuQ1o6s+8/RBGJla7TNCL27XMbc73A9KhPgEreUwiEEI4r8+sXv32INM ZBdIrGpxEis6vAmGX1qKWCGdAiuTeeRfTzsZmmDEs45cNVUHC8n5adbC/fiZ1xjSVsl7 BD+Q== 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=D8NU9jiFdStUjTJTtg4vXKH84aQdcm9AMQy2C8bqqGWJ8BC98Ib1WKiE63II+1Lf53 QzQy/sxsxnzdxsa8TrRkRFu+gSw/Jk19Ptm4q55gQseNGUmo7N/n9KnKKbltX2iKPJ3z DHJtZuDeALjuKmNVSCV0X9DYmyz3u1EMlhsygoBNgYwKu3o5Z03bSaczCKPTsqxXtXuO nHXmsVjbtgj5i1GekB3Xt9lUgL+m1bov7/Q8fiojVwnEMSgGIPuMnN+IiPdnHdR/XfCO YBiEx1q6yxKdmBK32txmArpAmkn5EIRiMDA2Kq+QFU35nnsDW4vjwRjKH50bsEogrFao u2uw== X-Gm-Message-State: AOAM531YLiwKkY5oLOLcIiwzSF/TE3HTyP7BG2lGOALB4p2xRlbH8tk6 +hd4Je+OOpDQ427QEi5BJQc= X-Google-Smtp-Source: ABdhPJzw+rZpC3gGi6UChACa7SeideTsht8uaX/zyHFLOFSrD0ET6LKWqsMeLds0oY9BTaH4EtveQA== X-Received: by 2002:a2e:5ca:: with SMTP id 193mr4794291ljf.70.1613713849886; Thu, 18 Feb 2021 21:50:49 -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 n8sm819712lfe.276.2021.02.18.21.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 21:50:49 -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 V2 1/5] arm64: dts: broadcom: bcm4908: describe USB PHY Date: Fri, 19 Feb 2021 06:50:26 +0100 Message-Id: <20210219055030.3997-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 Fri Feb 19 05:50:28 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: 385016 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.7 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, URIBL_BLOCKED, 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 0409BC433DB for ; Fri, 19 Feb 2021 05:51:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD93264D5D for ; Fri, 19 Feb 2021 05:51:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229530AbhBSFvf (ORCPT ); Fri, 19 Feb 2021 00:51:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbhBSFvf (ORCPT ); Fri, 19 Feb 2021 00:51:35 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 735AAC061786 for ; Thu, 18 Feb 2021 21:50:54 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id v6so13521065ljh.9 for ; Thu, 18 Feb 2021 21:50:54 -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=wUKkyU5+mkY7WKTP9frJ5YCLQkIQ2gAiZ5Zap8gQ9Jk=; b=AId9BOaofwIXYGapu+QaFFGZgooCUgJrJRPNH6q5AmuAs9N7HetQldvKWQsaKORKpN tHskuxYZiNlvfwHA19fxTTcNZTsiaXKNarlTzWk50DR44CXUwsggM2F0OzQRw1WbHCC3 r1Xpy+VtDaVRzKqtrXv0YcO6Nlpa6vg08U9Fa904iFNpa+ZxJBH1Jz3zNxShiQBHN4gG cvCyycwpHwUq8i/KDRvP7RJwVNqhsQs+5dwhVXuZQfNN4D3Wq4pZZq9CyTy1vrxUH89x ZIn+HqMk0NORdyhWvvnTe1yKS2bkWy8afylCK9R+uqWAiNi1wdFAGUC5tRt9EXEGTqnb chNQ== 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=wUKkyU5+mkY7WKTP9frJ5YCLQkIQ2gAiZ5Zap8gQ9Jk=; b=Dl4G2ljIsE+fx/QdO9TLjurXW8OPe4mVuapenNG7bJbTimViOg7Bp5zNsd+jQBZM4P UxqclvoMEZjbw0+70WlyPEyo7ctkfj4bup+UUpTKbGb0Ahv7gP/2MddJZ2NfKHflG1EV k1+HPc4/j9CwGN+u/trZykrXRrGaQFEkHoVWkJraRICw5b+/hyjOsWJIZ9i3CdYOt4DU aA0UfNktvejR2lBL9Bz3aSqiXBs7lMhMD3PtY9A03FZ+gQ9ETS/2MoNABDkidiS7Bf07 zoY4DE5G0bV5K+GL+Mq3rtSgO8kAN7fFPDlWl67IyYjvsakXqw8JToNb0P98OHSrq3B1 uZLA== X-Gm-Message-State: AOAM530n0Q2JFJBWSU2c8WY75g+IL2aCMQETMFGSWb1+g8W3Stk2c1t6 RW+B0dXSFNalquFpUIo2s/M= X-Google-Smtp-Source: ABdhPJyUleutk6KeEpB6vGW2fIbgFw0MRJV8gfl4gTyNHmLCjfvE5BQ8BxMEAB1xH7RIFh4ZDSfHZg== X-Received: by 2002:ac2:42c7:: with SMTP id n7mr4700057lfl.268.1613713853067; Thu, 18 Feb 2021 21:50:53 -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 n8sm819712lfe.276.2021.02.18.21.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 21:50:52 -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 V2 3/5] arm64: dts: broadcom: bcm4908: describe Netgear R8000P switch Date: Fri, 19 Feb 2021 06:50:28 +0100 Message-Id: <20210219055030.3997-3-zajec5@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210219055030.3997-1-zajec5@gmail.com> References: <20210219055030.3997-1-zajec5@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Rafał Miłecki R8000P model has 4 LAN ports and 1 WAN port. Signed-off-by: Rafał Miłecki --- .../bcm4908/bcm4906-netgear-r8000p.dts | 25 +++++++++++++++++++ 1 file changed, 25 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 bf0d534ace2e..af2616e82e83 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts @@ -43,6 +43,31 @@ &xhci { status = "okay"; }; +&ports { + port@0 { + label = "lan4"; + }; + + port@1 { + label = "lan3"; + }; + + port@2 { + label = "lan2"; + }; + + port@3 { + label = "lan1"; + }; + + port@7 { + reg = <7>; + phy-mode = "internal"; + phy-handle = <&phy12>; + label = "wan"; + }; +}; + &nandcs { nand-ecc-strength = <4>; nand-ecc-step-size = <512>; From patchwork Fri Feb 19 05:50:30 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: 385015 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.7 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, URIBL_BLOCKED, 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 18736C433E6 for ; Fri, 19 Feb 2021 05:51:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CD4FA64D5D for ; Fri, 19 Feb 2021 05:51:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229481AbhBSFvi (ORCPT ); Fri, 19 Feb 2021 00:51:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbhBSFvh (ORCPT ); Fri, 19 Feb 2021 00:51:37 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43966C06178A for ; Thu, 18 Feb 2021 21:50:57 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id c17so13621314ljn.0 for ; Thu, 18 Feb 2021 21:50:57 -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=a9KEmY1wiZJqNQ7xsBJHRifd1m9ei1PALjMgRph321ov540Y0zWNBH87tuZIyPaE3+ L0CIn0wVZB2uf7naui0NimAUgrVDEzf7Egisz/D1YocSQxEm9cXS6oO9WztktFWLhb5S Ps4LvGDv95SoMelGfGWgSBZRbnlPUAayjFn8CnahX0/SP9UxbYBjmbUAYXO2+BhJTNTx Yfb1+ORkWG+OFBD9ExMQ1K3O5L45CKrOdW0UsD8FtXRpv/67RvgK8hW3VPDvvUdDNzoa voy4164DdubumBaZrHoZwy1ylv0G/vnJbYWFZ+h4OlkD2rbpGm7DQXWCx7bfv25a2+Kh Ut2Q== 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=l0uyh7LwfPbHip6zv83UGYfOiN8CPFMTGQ9QRcbRR+8yfYSuo3h3GBeHiCjgOx+j5n 1eeLDo0GEc39so2XxaZc1xGiR5XpBkPJ8jywHQEFsWOfy3pSvVDICfdFmJ0rumOTZsMj kmnN44J9X0caQ1joxGcbHRB/fglYhF03II8kKy+lXip5S0N6enNQw7q5MKYerdwd0LI+ Zz4VquSEtTolvhk9scs8moDBUcEtKEcLhwPodEQizq49WJhsgtKx95L/0P2FVqVVqlkk CQ+hLS56hvYLwlM3DKQoiDrNSl0LGhvy3YQQp64Up91qz+yeMS7RZ8OXu2XsE7nlTg3G blYQ== X-Gm-Message-State: AOAM531I8gP8nI4ErgucohVv53z/z3kHtfzIg/j/ExL8xXU23nzYVYbo 9pTSBQBC7TNTKSSVdrf32zI= X-Google-Smtp-Source: ABdhPJwEkRKKN6xTLC0QSzqjN8mIJtEC6TgUOA+57EqDE69CxxKGIE6ceY+ZV0eG1M2u4oBsqddBIQ== X-Received: by 2002:a2e:b0ca:: with SMTP id g10mr2699017ljl.31.1613713855862; Thu, 18 Feb 2021 21:50:55 -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 n8sm819712lfe.276.2021.02.18.21.50.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 21:50:55 -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 V2 5/5] arm64: dts: broadcom: bcm4908: describe firmware partitions Date: Fri, 19 Feb 2021 06:50:30 +0100 Message-Id: <20210219055030.3997-5-zajec5@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210219055030.3997-1-zajec5@gmail.com> References: <20210219055030.3997-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>; + }; }; };