From patchwork Wed Apr 13 19:26:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12812543 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 3A4BEC433EF for ; Wed, 13 Apr 2022 19:41:58 +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-Type: MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RtCv4xRacK46pLvRDowfhQ2m9l7QDcF5QWwINU0XSrc=; b=gLM3BF8wjxWe3I1hj9MuEDZkFy dOiBfRW2zbyNRtj9rSzXpJMZdgycoV+CZ4aFVgvrdwjxFxSHzNdTN7/Cm+zo9V1GESRXAtzFsvcOz Yq6ZiXOXW7GIOzrZojQ5dZySz8OwnG3gq2xB53t9au2gitAIJwYrRrfbSUU/fQ2rBuwNwektQeMdB Z+n7vR7xVJ6LYAR/PCaelkr+KyXcWhsnxm5zm3N6+cQ2CUg2aU6y/GzEzHymdRwVdzBmJb0yUNupU H4K6kayZvQtVhA/2umCn/LJDy0+DWwp7h7M2peT4o0bwDVE1YjmVj2s/dQN+tp0T4BVm+Cg0RcwiO o7mKBi8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neiqy-002Wl2-OG; Wed, 13 Apr 2022 19:40:37 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neie2-002Qrg-NJ for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 19:27:18 +0000 Received: by mail-pg1-x531.google.com with SMTP id bg9so2668511pgb.9 for ; Wed, 13 Apr 2022 12:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AOMnYMUKl/NheasCC2gkpeOTv95T+QScZKxhAMNwBLk=; b=bDNCQA9gzkSXsyIVwmTlm88RHxV8zpf1vRhEbeghQwPnZo4bM/wrq9ED6dE2spTC9w cvzkHPyouhu1tAvMsgtJpvPEghG7CLua25uqD+MyxpP7/0Als4GLT0wd1ybcmu4MGp/N w77W8dNcM8gQln1QNNcy0utcrBZB7BlBM0cIg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AOMnYMUKl/NheasCC2gkpeOTv95T+QScZKxhAMNwBLk=; b=gK1YxNQ1Wl7G9f1nFZaT1KWLJab5qSS8BBoG2pquaESUKW9DGtSBu26V054QJxpHe6 GA+ZvVBaixkmhCWPyTbWGC3wqK2wjDfgS/iAefOTMb47v2gbe+S5aXvLeD92yA7lbpas jnM3AeivFuiVPdV1Ak51+qqoHeKqliQc5vtV8QWdxp3engfbcYV6GHadTCY14OSi/ohQ ePxW1PQPKzoRwoIBM2UpFoXCOVCMFqZ+7zNvzE0NM09dnIEdbh8b5dAcsy/PvCEGqMGt 399Ou/fXIfkoGLFdAbOQlV64VAY9+VElZOEupV6CuAUNXtva5Lhpt7N+L2Jf6f+M9R8j OzCA== X-Gm-Message-State: AOAM530FRcq7ez5Iyj2C527Po0yjVsgCLgDGJENVnLxdOj8BYFlVl9RT KfRg8IySQbWPj/rz3TP8y/aUYubhnQtsWXHkE2yWojPBM8pHwYLbXGK347EVfd2hqJ7Avt48tlI fea6sQcL1VgtlDNjrNr5P8hZticEVxEreGdtbNw+yQE862L3RqC2EG8N2VejNe8pUmb7QrzDBRI Kwqx1mfjhhF9Ct4kb2wOw= X-Google-Smtp-Source: ABdhPJz1rB8+bOhgsScpYqYNIsdJtRQCGwLgApPlJKz6Y1t5ZZx99Z0Lug62nK3OocEboUWnD5eGPQ== X-Received: by 2002:a63:846:0:b0:39d:9a9d:1178 with SMTP id 67-20020a630846000000b0039d9a9d1178mr7515437pgi.225.1649878031045; Wed, 13 Apr 2022 12:27:11 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id u7-20020aa78487000000b00505d9277cb3sm8624906pfn.38.2022.04.13.12.27.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 12:27:10 -0700 (PDT) From: William Zhang To: linux-arm-kernel@lists.infradead.org Cc: Broadcom Kernel List , Kursad Oney , Joel Peshkin , Anand Gore , Dan Beygelman , Florian Fainelli , William Zhang , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/5] dt-bindings: arm: add bcmbca device tree binding document Date: Wed, 13 Apr 2022 12:26:41 -0700 Message-Id: <20220413192645.7067-2-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220413192645.7067-1-william.zhang@broadcom.com> References: <20220413192645.7067-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_122714_842678_86F28326 X-CRM114-Status: GOOD ( 14.91 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add arch bcmbca device tree binding document for Broadcom ARM based broadband SoC chipsets. In this change, only BCM47622 is added. Other chipsets will be added in the future. Signed-off-by: William Zhang Acked-by: Krzysztof Kozlowski --- .../bindings/arm/bcm/brcm,bcmbca.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml new file mode 100644 index 000000000000..5fb455840417 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcmbca.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Broadband SoC device tree bindings + +description: + Broadcom Broadband SoCs include family of high performance DSL/PON/Wireless + chips that can be used as home gateway, router and WLAN AP for residential, + enterprise and carrier applications. + +maintainers: + - William Zhang + - Anand Gore + - Kursad Oney + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: BCM47622 based boards + items: + - enum: + - brcm,bcm947622 + - const: brcm,bcm47622 + - const: brcm,bcmbca + +additionalProperties: true + +... From patchwork Wed Apr 13 19:26:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12812542 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 BF6F1C433F5 for ; Wed, 13 Apr 2022 19:41:05 +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-Type: MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DKQf0pWcFc2CmEdZ/5tZFbOUVfiW7aPnkQ5mN17Umao=; b=t+6l06UUWLEe1ktnn30JVK7LDF THzljuvAg3hRQBfVzsDqNX/OPXnfzUzAECQlu6YPIuLY/g1SxnDNbqltpneqWR8Z+a2ZisBP2aOSp 6lcqTLw4c5HpNRNMY2WNyqvlLoVblEZmzAio1bwWqf0rdrT0kediXSfQwaYQR0iAqyrhqjJiAjaa0 VyZOMMC9mIlvZbZ6VWfmCzDC1cPrLgf1RwwShB72PnnkUg3djTV3FgkQwDIVVwqqgAJPPjX1Q8PRs tpPCWA8crOY/FGAFClGYUVQHLLLLit9+1DAbgDbnXCOboHxwBSxV2RH1zhpbcht1eCEgQDvsGYtWu NiLPn+WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neiq7-002WO9-F5; Wed, 13 Apr 2022 19:39:43 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neie3-002Qsc-Eg for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 19:27:18 +0000 Received: by mail-pl1-x62c.google.com with SMTP id p10so2777326plf.9 for ; Wed, 13 Apr 2022 12:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1/PJJWSAQHmER4qRSc4BlXs+svaCQqDaXqRXXWz7JVk=; b=GXHlR+Szha7T9kyoD4VHfnOUwlqIY/5FZeDNoi/5zFNovYvKX3KIQqwVctc6yn6gdC 03AVFX8fZURQI5aWX7S/5+atp9MODwCQnK3p+/GqEJaNb2b/hv4U9U+x6w5t+Gk0V1DX fl/w4/aRcTR7s/k3gSDz6bIZzlc9GgkAc+d2k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1/PJJWSAQHmER4qRSc4BlXs+svaCQqDaXqRXXWz7JVk=; b=wNM3ErHWvW9Ge1B4n4Txb5M7KOQUURSIs73KzQ+7sRLOoLPPmLfsAkfd2pvnK+x2po dpiCvOkLqMwx92e+LkrnPaFdn6lfDk/yRWHE61Tid4CW9jcbo56vDlBxnCd9Q6iQ2EQ6 c55WrSuKht0Vn6cXY4jC53g6y7YRWmwVsY9gT4kSgM23b6BEI6J3HKUz3k7qXpoqpyAX vAJSk95wGBBWpySIBFbNDQoPAXy5AafPqTHuMbHuum357Tg+Mgn05ImXxM1DmKVdnyR7 vbMX3LlKDY4gY6MxuuW1L9qZElpUUjiWlm/Lr8oqGHfIi+HcReghU0gaSja8S6YAR06B zGSQ== X-Gm-Message-State: AOAM531qTAaXiayQEI2ydRmJiuA9OZtfBzGmRdJNQy12rmVfkMUDAZfN LAEuClCIGO3yafmdzVTpgrmXOkrx9S5PtD2/ojL5ylUVE1F/x7AJ7Ac94FJef+uyswugXqhszTb Sn9+4eoAyI/mIg1EJ7WRy9kJy9mMZ5nerdzM8eyLTmoUzJJBOcpQvt88RIh/toI+/Ur2J0Uxecs 3f46A2beVowylAGFbs7bw= X-Google-Smtp-Source: ABdhPJwgeDCZyCqwy8ZRUESzIFEFHi7rksLodfhxlSTNxWsX2Or6waJ/ZFeNDLy+b3N4t0inwvFUGw== X-Received: by 2002:a17:90a:4e04:b0:1cb:a26f:70c2 with SMTP id n4-20020a17090a4e0400b001cba26f70c2mr299399pjh.130.1649878033194; Wed, 13 Apr 2022 12:27:13 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id u7-20020aa78487000000b00505d9277cb3sm8624906pfn.38.2022.04.13.12.27.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 12:27:12 -0700 (PDT) From: William Zhang To: linux-arm-kernel@lists.infradead.org Cc: Broadcom Kernel List , Kursad Oney , Joel Peshkin , Anand Gore , Dan Beygelman , Florian Fainelli , William Zhang , Florian Fainelli , Ray Jui , Russell King , Scott Branden , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/5] arm: bcmbca: add arch bcmbca machine entry Date: Wed, 13 Apr 2022 12:26:42 -0700 Message-Id: <20220413192645.7067-3-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220413192645.7067-1-william.zhang@broadcom.com> References: <20220413192645.7067-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_122715_561027_BFEA4F84 X-CRM114-Status: GOOD ( 13.80 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update mach-bcm Kconfig to add ARCH_BCMBCA config and select the required configs for Broadcom Broadband SoC chipsets Signed-off-by: William Zhang --- arch/arm/mach-bcm/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 8db655c3e321..f73a056bf560 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -218,4 +218,16 @@ config ARCH_BRCMSTB This enables support for Broadcom ARM-based set-top box chipsets, including the 7445 family of chips. +config ARCH_BCMBCA + bool "Broadcom Broadband SoC" + depends on ARCH_MULTI_V7 + select ARM_AMBA + select ARM_GIC + select HAVE_ARM_ARCH_TIMER + help + Say Y if you intend to run the kernel on a Broadcom Broadband ARM-based + BCA chipset. + + This enables support for Broadcom BCA ARM-based broadband chipsets, + including the DSL, PON and Wireless family of chips. endif From patchwork Wed Apr 13 19:26:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12812544 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 488FBC433F5 for ; Wed, 13 Apr 2022 19:42:39 +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-Type: MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ku1QryHS28/jgfBKc3MmbybWiLJvz/0LlRT7AnSDSl8=; b=QpaHnq70egRzlDWyOVO/ivWOYS RaEo6JZbMOQ0g5rwshUJxiMwPsfHtwepfxMXrpNLyyTJaGahmZLpXiyOrBKqUULpediA8tZvCiOFP EdLbvy+zYZwwrB7FPingQ0v/ri9Lek4o0JTuxqLCLnB9f6YR/bftCg3TFoJALtkV3zDlovVQaYO5T 2RnI8hc1SSFhW73SkZsJkGGbrmfJlpRCNKofkdolwAEzLOMtMZ6anOvXeJZgMPJ3YD5ZdYw7LARHc bYWbui7TadKe3cAgC0uNkRDonHn+ETwngCRwZS1uVK/iPLXfJQW3HKH9T0imu7cAQJr8AGy9XjM46 XiTHufSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neiri-002X4z-LX; Wed, 13 Apr 2022 19:41:22 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neie5-002Qu0-6P for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 19:27:19 +0000 Received: by mail-pj1-x1033.google.com with SMTP id e8-20020a17090a118800b001cb13402ea2so3383411pja.0 for ; Wed, 13 Apr 2022 12:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CHtikQOby0HD6XaCtNoK5w5hLWoGVqO8ablQ1XcZFlg=; b=OcTYJUVvvoPsO5ihsL+ZN400phjvSQ7/iv0UymRFK9WJk7R+4xDTabx+mDx/HKXCfi IdEOTweHQRVyfEqqk4n2ag4H5AiBM1Kk/GMi4RIOv2zMdJhZRWjr/VySgq9jIIOkxIoJ 8VwCwUhlJyyO52yMQDOi9Y9myAuF3Hi7QzzIg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CHtikQOby0HD6XaCtNoK5w5hLWoGVqO8ablQ1XcZFlg=; b=xMuHM8fzW8Ue9SdEPB4FdKNESGDJNMEWgXnMuSypm2QEA5nvK3+zOxCy59uJeigkMJ ssW0cyjNNIMQ9tcZMlkTEp+6A+WTUrY8OWW5RYUy4TEoR5k37tXKAPphe51gQ+doVCBz 0RuzJQJXGC0y9zc7RswQ/xrS6cGSC2ChD4m3PZB/LblnXkoIrOZIqMOv96+BXHR6KXbx qGASnnM64XxhbF2n1rQL/FsPDvIdfyK9eW/E1mqjFDADwplSSnc4n0k92RdjR6Wr6O5F nijS5YaRuU29yHm7764hkIdsY3dXSm2mwDPy2jFGv51ctQwGDXZLam8Fy9Er9uqqesNd VwiA== X-Gm-Message-State: AOAM533jX2aYPTbpjWrf67imAOhrdXDL/u/DRTFyXXDYdglYdCfV4aKY EToKLAonGpVVID3Om+ZSUJ1eOP/CE0+RFDrwOVcSxoTY9I5WyHO7EEjINWv6b86GlpO0Cx8qVTE OX/S9IwkEizSNbIQqom1EDr8JN79MI4qT3bw6kXFsGD2MUQ2+Yckvz0Tejf0CZlTiHKToRZw4Zj NQrFR04UZbSGSL+xvsMs4= X-Google-Smtp-Source: ABdhPJzQb0khpocik8a4XS7IQBwyQXlDJ5DkNxubVaeZP4oBZJuwH0YHiX6SU7rDKdlk7nWXZ5DCHQ== X-Received: by 2002:a17:90b:1d04:b0:1c7:b10f:e33d with SMTP id on4-20020a17090b1d0400b001c7b10fe33dmr258845pjb.165.1649878035034; Wed, 13 Apr 2022 12:27:15 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id u7-20020aa78487000000b00505d9277cb3sm8624906pfn.38.2022.04.13.12.27.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 12:27:14 -0700 (PDT) From: William Zhang To: linux-arm-kernel@lists.infradead.org Cc: Broadcom Kernel List , Kursad Oney , Joel Peshkin , Anand Gore , Dan Beygelman , Florian Fainelli , William Zhang , Arnd Bergmann , Krzysztof Kozlowski , Olof Johansson , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, soc@kernel.org Subject: [PATCH v2 3/5] ARM: dts: add dts files for bcmbca soc 47622 Date: Wed, 13 Apr 2022 12:26:43 -0700 Message-Id: <20220413192645.7067-4-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220413192645.7067-1-william.zhang@broadcom.com> References: <20220413192645.7067-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_122717_348085_61E35B0F X-CRM114-Status: GOOD ( 18.43 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add dts for ARMv7 based broadband SoC BCM47622. bcm47622.dtsi is the SoC description dts header and bcm947622.dts is a simple dts file for Broadcom BCM947622 Reference board that only enable the UART port. Signed-off-by: William Zhang --- Changes for V2: * Update compatible string and node name in bcm47622.dtsi arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/bcm47622.dtsi | 126 ++++++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm947622.dts | 30 ++++++++ 3 files changed, 158 insertions(+) create mode 100644 arch/arm/boot/dts/bcm47622.dtsi create mode 100644 arch/arm/boot/dts/bcm947622.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7c16f8a2b738..ff0054d55590 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -179,6 +179,8 @@ dtb-$(CONFIG_ARCH_BERLIN) += \ berlin2q-marvell-dmp.dtb dtb-$(CONFIG_ARCH_BRCMSTB) += \ bcm7445-bcm97445svmb.dtb +dtb-$(CONFIG_ARCH_BCMBCA) += \ + bcm947622.dtb dtb-$(CONFIG_ARCH_CLPS711X) += \ ep7211-edb7211.dtb dtb-$(CONFIG_ARCH_DAVINCI) += \ diff --git a/arch/arm/boot/dts/bcm47622.dtsi b/arch/arm/boot/dts/bcm47622.dtsi new file mode 100644 index 000000000000..c016e12b7372 --- /dev/null +++ b/arch/arm/boot/dts/bcm47622.dtsi @@ -0,0 +1,126 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +#include +#include + +/ { + compatible = "brcm,bcm47622", "brcm,bcmbca"; + #address-cells = <1>; + #size-cells = <1>; + + interrupt-parent = <&gic>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + CA7_0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x0>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + + CA7_1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x1>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + CA7_2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x2>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + CA7_3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x3>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + L2_0: l2-cache0 { + compatible = "cache"; + }; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + arm,cpu-registers-not-fw-configured; + }; + + pmu: pmu { + compatible = "arm,cortex-a7-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&CA7_0>, <&CA7_1>, + <&CA7_2>, <&CA7_3>; + }; + + clocks: clocks { + periph_clk: periph-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <200000000>; + }; + uart_clk: uart-clk { + compatible = "fixed-factor-clock"; + #clock-cells = <0>; + clocks = <&periph_clk>; + clock-div = <4>; + clock-mult = <1>; + }; + }; + + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + cpu_off = <1>; + cpu_on = <2>; + }; + + axi@81000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x81000000 0x818000>; + + gic: interrupt-controller@1000 { + compatible = "arm,cortex-a7-gic"; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + reg = <0x1000 0x1000>, + <0x2000 0x2000>; + }; + }; + + bus@ff800000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0xff800000 0x800000>; + + uart0: serial@12000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x12000 0x1000>; + interrupts = ; + clocks = <&uart_clk>, <&uart_clk>; + clock-names = "uartclk", "apb_pclk"; + status = "disabled"; + }; + }; +}; diff --git a/arch/arm/boot/dts/bcm947622.dts b/arch/arm/boot/dts/bcm947622.dts new file mode 100644 index 000000000000..6f083724ab8e --- /dev/null +++ b/arch/arm/boot/dts/bcm947622.dts @@ -0,0 +1,30 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm47622.dtsi" + +/ { + model = "Broadcom BCM947622 Reference Board"; + compatible = "brcm,bcm947622", "brcm,bcm47622", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; From patchwork Wed Apr 13 19:26:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12812547 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 5B033C433F5 for ; Wed, 13 Apr 2022 19:44:11 +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-Type: MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ccziUhlJWpiMcRyHbwlm2OLJeaH9Cj7D2aslfApjpn0=; b=x8fmRF60sQu8RAwXoK/9TdgIdP o6sMKy5qRqjVkFO2SFw+pp7SBGNAFnVxiYGidhNWHh9wIdNcHH95WYFTMBITScE5UoRtNYevNapPF gGbww4OSwwvmwII7Tp02e+n3yDHxjxKrTrI+fCUOUwPD4oPTHFx6I/XArvQ/o3lLTlrcnCfxDER+0 6sYgJjDzvp+TcQx6G6KxSwfNY8KHLODZx0y44n4k0rPdrYY4GkFNdtOLW+yTSKmxJPgjK/XCPQmHD R9CUtlLWSnz20jlrAK0DAN+tQQ5RK+s5hYKB6jjMfi+SsNfpuk28g9qhOSEcC/MRVEHjPc3YjxSaY 8RsA9w/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neit8-002XdF-O3; Wed, 13 Apr 2022 19:42:52 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neie9-002Qus-0Y for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 19:27:22 +0000 Received: by mail-pl1-x634.google.com with SMTP id j8so2764950pll.11 for ; Wed, 13 Apr 2022 12:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sYRPfGcOAAUa+k/M6ly4/DMudnjGToaL2EyUlUlVSYY=; b=hKrbp0ogGuK+lJps4yy/tYlWSjhf+mPz2+iqO5CKQf28EKiTMZs+9jcADkYpLV0HQ6 lMtmpmkToVkhNN+9JLhboFs7uVCMXYDejqt/RslgWTdj1ecGf70maNiW2IXpHBv0X/vM n9k2Gqu3s3Spnq44D5aJWq9MgVeI7g9gv1DlE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sYRPfGcOAAUa+k/M6ly4/DMudnjGToaL2EyUlUlVSYY=; b=oCdE71C3vq5mTsP2mJIp59j0PBFvN8sWtqtGF0ZQ1pgrKRaX7hMMWa4E5YbwH0Ly4H p/I+DdBDpwg54tHfhh1kBpKZgYiH+eW3sOB0Dopv3jrTZboMOMxNFkBw+7deI1WopMDg R3xvCxBlKkgSa3IT3I8IYtI06/i3U8jKupmsWHPUwb7lWzf2VA2Smoy/KudfUdbz8EB5 jgEIkZbkCSjgRXU2/j/wRbXUQe1k4J7qMmwNJ+up13gPDEhl4VasepfSNUV7QWTRqQZW zRZelZJDKEOtpLsdWuXex7PXtOnNz+MYXYs/3GypyazjvPi8XaNixFjkw9p3AyJ7xtIb y6LQ== X-Gm-Message-State: AOAM532Tv3jjmQqHdMR2cSSvk23k2Jsvpi2WdNkLCjlJBW1qZF/TQp2V ze01rVpCNRynhXXJPNK8QIT3A+vmzxPNUmnPr+T1+NNCdbcjrWnArmt4xlBsjow6wQxNtnW4LiL mK1jbHaOT+2d0bglvhaBVVMP6yBy7cPYWzrlhZazLDeUGj1ugprUe4R78yg/qID7ytRUZq6ZEJY 8sNdBXe6WrGZUU6+WfmO8= X-Google-Smtp-Source: ABdhPJzYHvgYSvzzxbZcpZfpTIbC6ykkBQcCuBywzVRiXGRmQqkek/U1fkogzBenKcQGHqzVjWxLZQ== X-Received: by 2002:a17:902:ec86:b0:158:5039:a145 with SMTP id x6-20020a170902ec8600b001585039a145mr19138354plg.5.1649878037233; Wed, 13 Apr 2022 12:27:17 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id u7-20020aa78487000000b00505d9277cb3sm8624906pfn.38.2022.04.13.12.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 12:27:16 -0700 (PDT) From: William Zhang To: linux-arm-kernel@lists.infradead.org Cc: Broadcom Kernel List , Kursad Oney , Joel Peshkin , Anand Gore , Dan Beygelman , Florian Fainelli , William Zhang , linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] MAINTAINERS: update MAINTAINERS file Date: Wed, 13 Apr 2022 12:26:44 -0700 Message-Id: <20220413192645.7067-5-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220413192645.7067-1-william.zhang@broadcom.com> References: <20220413192645.7067-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_122721_139094_CCAA341E X-CRM114-Status: GOOD ( 13.23 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add maintainers, SCM tree, files and directories for the new BCMBCA arch. Only add 47622 for this change and will update in the future when more SoCs are supported. Signed-off-by: William Zhang --- Changes for V2: * Change Broadcom internal list from maintainer to reviewer MAINTAINERS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 61d9f114c37f..382436f23c72 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3740,6 +3740,20 @@ F: drivers/net/dsa/bcm_sf2* F: include/linux/dsa/brcm.h F: include/linux/platform_data/b53.h +BROADCOM BCMBCA ARM ARCHITECTURE +M: William Zhang +M: Anand Gore +M: Kursad Oney +R: Broadcom Kernel Team +L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) +S: Maintained +T: git git://github.com/broadcom/stblinux.git +F: Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +F: arch/arm/boot/dts/bcm47622.dtsi +F: arch/arm/boot/dts/bcm947622.dts +N: bcmbca +N: bcm[9]?47622 + BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE M: Nicolas Saenz Julienne L: bcm-kernel-feedback-list@broadcom.com From patchwork Wed Apr 13 19:26:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12812546 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 8E76BC433EF for ; Wed, 13 Apr 2022 19:43:33 +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-Type: MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OzIqVmctN5j+BCd64Akw3qDEwK8elFs8zWtdMRFdkvQ=; b=CdduhgmpiB10tWLFiQFuYkLoVc n/yUsE2VOZ0YmVb4/iOXN3wvc2RtWPCL/mq4Yswu6rHGyKY9ea4o1pB+jKr+bcRdve2QXTO2fG3qP iQjImcDPDoXtItrxCrvuV97W6dckmGIsaued4OxFt3K/GYf0ozHLI3y4IXYtZHCgW6ct4QZi9XXjY X/z2dAtN6A81J3j49ulJS2NkVs9JzdFgC/HbL6O621QqrCq5+PI9URvJqRO8B8sd6qwW5BUZHheXD X1FnBzr7CufrjPVY4IchDajMsvPEMUMbAGhwcO3oVTF04T2mHHgdBME8z7+V0SIPlZIh6d3j9cpBt BYCVsUjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neisY-002XPa-HD; Wed, 13 Apr 2022 19:42:15 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neie9-002Qw1-Qk for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 19:27:23 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d15so2765747pll.10 for ; Wed, 13 Apr 2022 12:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WgaWwsnxLH0yICQYlYX9IJO0UC8E2JjXgTf+CbdY8XM=; b=OsYXPbqLrPHqBLsL7yoz2NvG9TbDpimFSLl2869BwZj9pLA2YS0WY+NRQqCKxR8uGm LI5QpBPPkkpSwbpR45+OBEWvMuue/12qmVzFsZ0q5t9Qf9aj0crnFylo2PpLBBpvdBEb icZWMXkwI0WEHsvsfakWcKVObbkREL7tDDbcc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WgaWwsnxLH0yICQYlYX9IJO0UC8E2JjXgTf+CbdY8XM=; b=1zssIiEjt/W35z/QSmc/17v39QQDlWIBCHViXMH4W/wD+n1MDxxNW3YJUqqrqF3jrA GetzYE2TKLNejzGJ356vwrzPy8bT0INtJEk0dwTaU8/CGRu/f4lzalCatC6ZxS/QLzSx 5/LMo+eEwcWGZphx5sSfp005awBm4up25ThusbclcpKUyxOFGERBKrgjcuyfWOm7VhB1 oeSpBBS0IeoiBYBlDj1ihZlv4s0sARyEsd5Nyq7HhxrpF94EPB7iPokrEe5u6K8lKlpQ Mwtchfc77itEIvGLyM4kUA2Sd0xc13CXRI9KymHdWVbpvufVKUNiQE3t4eHjg9638u2N CXLg== X-Gm-Message-State: AOAM532gAMublp2eGMqQbXciCf2kXfTIaXniv9RmVflmqKTeGrksAxSi QcbZEQpvts0ZJOiE/fL4kFZpZ86a8JqSXeaIC1M56lfufjKXK5YeW9qp99u7LDgClISmTGKY8t8 NpJYhJNJcJJTjWxacAgWlfcyHcsHNTiZj7vsCPMDrVhJkJFz/gIxCskpxOQGtd4IKRedAy68YL3 XrE3cAWW0pFs7hUdm26P8= X-Google-Smtp-Source: ABdhPJyeQrHIXqSUpz1jPgLYg9znlP0OubWG+w7VFYMEmTg1I5BvFT3JB2ptJoxNHL7GlVUNpR4AEw== X-Received: by 2002:a17:90b:3b8f:b0:1c7:b62e:8e87 with SMTP id pc15-20020a17090b3b8f00b001c7b62e8e87mr294362pjb.156.1649878039154; Wed, 13 Apr 2022 12:27:19 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id u7-20020aa78487000000b00505d9277cb3sm8624906pfn.38.2022.04.13.12.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 12:27:18 -0700 (PDT) From: William Zhang To: linux-arm-kernel@lists.infradead.org Cc: Broadcom Kernel List , Kursad Oney , Joel Peshkin , Anand Gore , Dan Beygelman , Florian Fainelli , William Zhang , Arnd Bergmann , Dmitry Osipenko , Florian Fainelli , Joel Stanley , Russell King , Stephan Gerhold , Thierry Reding , linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] ARM: multi_v7_defconfig: enable CONFIG_ARCH_BCMBCA in armv7 defconfig Date: Wed, 13 Apr 2022 12:26:45 -0700 Message-Id: <20220413192645.7067-6-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220413192645.7067-1-william.zhang@broadcom.com> References: <20220413192645.7067-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_122721_917411_B7BEFCFD X-CRM114-Status: GOOD ( 12.64 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable CONFIG_ARCH_BCMBCA in multi_v7_defconfig. This config can be used to build a basic kernel for BCM47622 booting to console. Signed-off-by: William Zhang --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 6e0c8c19b35c..8d333560bbca 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -29,6 +29,7 @@ CONFIG_ARCH_BCM2835=y CONFIG_ARCH_BCM_53573=y CONFIG_ARCH_BCM_63XX=y CONFIG_ARCH_BRCMSTB=y +CONFIG_ARCH_BCMBCA=y CONFIG_ARCH_BERLIN=y CONFIG_MACH_BERLIN_BG2=y CONFIG_MACH_BERLIN_BG2CD=y