From patchwork Mon Apr 11 17:28:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12809463 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 51AA5C433F5 for ; Mon, 11 Apr 2022 17:30:14 +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=3U8YJ6Q77Mz/sSEsgd61ftX2yU7LprunWDYIoKQEVxM=; b=14VT9j4vtY0YZwxhdkvlL0pB+g 1OO7R4hNU2e1trrquUj7XwCoVDY4G7YaIsNCyGtQiUaoFrqJUS6Zjjoz0GHz5kbn+ofhG9JsWQOY4 +e2PnRJIm+a7oGDFOiB06gi6ICxL2ECwjNwDJmD6AEZg4u+3aIzuBab4/FP+Ytu/XK2AUq92Lc/vP uCZF8QEj/PPwytIw0ILrxO2OUQGNac/8KvzXY6y3MsdGaIis13VyD8dX+iDLURCLttvBJ3kx/blPW K6qt08xvF72CXaqjshHaIAlVsMT/batKrIkGSuy7nWt6X/kZI/6IOV7cJcrVJcs6IOzE6YKq/0iXK ehnW7ynQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndxqV-009tDE-Om; Mon, 11 Apr 2022 17:29:00 +0000 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndxqJ-009t6V-AX for linux-arm-kernel@lists.infradead.org; Mon, 11 Apr 2022 17:28:49 +0000 Received: by mail-pg1-x52b.google.com with SMTP id c2so14772609pga.10 for ; Mon, 11 Apr 2022 10:28:46 -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=HeeDu13IeC1LppavZ6Y9TZpdr/4UUJTXEhXfWIiB5zg=; b=W1+FOTDFkZRBNSN1nYfy432/soHZprBcNo6JQ5U/XmD1C4fniMmj+v2mGHffJCMMkt fBk0Fm8OrgKcMF0HPzzZCTfU3jMmDA1Ww2zlkbBuGLMLbrM4Qn5ngk/Xgm1d+Y5IF56t eZ35T39lZhC6kepUlDGnYaS6lLWXmzFTWqhGk= 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=HeeDu13IeC1LppavZ6Y9TZpdr/4UUJTXEhXfWIiB5zg=; b=COkoXmb4kJk+PSHjNuEIqJ3kKvpn3c+WaPpluNNrUAW24QZW48/8Gt0s80phaWcbSo UCjv4zdHIH+V4r+B+nmJdmlSUsuZQ/miQdTd08IEcJQ34K/weJ4lrQIpdlJRSALrBhgZ UdrgOSh2PRT4GV1y+BRQ2QPeEVXJrVfLfyswP8lfhLf/HHA1hbq5GDFSKpsALU6yMQ4j VwTxpCrNJcEfVvDCNC4pIjQ3Ec33wR+TKrpkfFyQ/l8/Kp1A12Ss7YQ2HlH9e4zVbHJ3 AZRWkFt/2alGAdR3FnoDqsZmHs5VEmqUN4B3Kw2eXPY7o9ZnYU/ZXHLDucNiDZXhRyBz 2yxw== X-Gm-Message-State: AOAM532UvEK1HnHg44EeoZ+3VJlK0Fe6oYykBgK23QaNH7hZIX7iE2Fy K7A1BN30XqjnlrQbx3+SPMDJBg== X-Google-Smtp-Source: ABdhPJw9WOqyq0BWN1SZq+mv5TYD7Xjs0G+iXuCbelxR6d70QCXnMsyfKe0mdpM15MIwnKSwPMOp+w== X-Received: by 2002:a05:6a00:1a46:b0:505:c8a6:fef9 with SMTP id h6-20020a056a001a4600b00505c8a6fef9mr450804pfv.24.1649698125928; Mon, 11 Apr 2022 10:28:45 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id d23-20020a17090a02d700b001bf6ef9daafsm85428pjd.38.2022.04.11.10.28.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 10:28:45 -0700 (PDT) From: William Zhang To: Broadcom Kernel List Cc: Samyon Furman , Joel Peshkin , Florian Fainelli , Dan Beygelman , Tomer Yacoby , Anand Gore , Kursad Oney , William Zhang , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: arm: add bcmbca device tree binding document Date: Mon, 11 Apr 2022 10:28:11 -0700 Message-Id: <20220411172815.20916-2-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220411172815.20916-1-william.zhang@broadcom.com> References: <20220411172815.20916-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220411_102847_468065_713FDC00 X-CRM114-Status: GOOD ( 15.63 ) 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 Mon Apr 11 17:28:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12809464 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 386AEC433F5 for ; Mon, 11 Apr 2022 17:30: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-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=wGsTjsngo2tvKlqMeHW3AiN0AL7dc7geu5hz6DY6fTQ=; b=1WQOvu+EbSFdGcNbKAcvuw7+Fh EtkkuLTJf5/PPGqQ0CO3sE4N/SlR5dK3NWLYCLkUWwTlqDPk+NdQFDesCsebKm7W0VTXYxxnA25lc motHJCsCtOC29EP/j7YUOliLMcZMaDy87Na/wAbAQfC5HqxkokosAyHKaHHoa0z/ljm0VrjrapzR1 BtcJvpncIsVHfabgHdO6M8jQs1D+3EfN6h6z4q1Usn9jwXTabcuy9I1x+nWqr1F+5TfxidP12sRQY IGVfru2ATnHYY6pmqdZ2+IEgpVtHKBZxfXGJ9tusGeNb09/x+Pe6q4NvwONeoCOhZ+pUd5LOYHwJ4 a0k4eOiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndxqo-009tMz-WC; Mon, 11 Apr 2022 17:29:19 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndxqL-009t7o-P0 for linux-arm-kernel@lists.infradead.org; Mon, 11 Apr 2022 17:28:51 +0000 Received: by mail-pg1-x52e.google.com with SMTP id t13so14780700pgn.8 for ; Mon, 11 Apr 2022 10:28:48 -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=JaWeGcin9rEXSVyrjtfgtnTolDoi8OYSPjf69WIzg5Y=; b=SxOCUaqD4evHHqCyj7ExyBPnk7G5xDTfPiGrEAdU0wYsU1068DnSD/0wXVrLGtP5OH nGQ/uJeNTFiULSybLi4rnZhJ1jao7l0pKRltMyBCvWNf9qCl3Tj/W9AhqI01SeQHFOft PF3hXnNH0ZNJXf/qGgu0KaDjC5MnJSmw2XHm8= 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=JaWeGcin9rEXSVyrjtfgtnTolDoi8OYSPjf69WIzg5Y=; b=UGYCwnsOA9/RnWB0XumhStV/lFJ/uv6JUG2Df96Qm5S2TDmQRAHyJVDGnxD3eXYk79 8LPML3NpBKHPO149ngb93ZLB6ADlpFAs+KysNseBn3NxKqs4I2IKJ7WKPxTnlgr6ayeW 4aftlgQ1gtlAO2/2KH830SjURWmrbj1hLsD9CwB6XPudmaTnyaPfOwd4o+XuO6FTstay Tl2wF/S1sEIHgkqerLC4olQ+iNc3htwJCn5rNmEMv2nV6EwqI21uXJjqvtzYIO3hQLo/ 7S7gLvEZemkY/4xtBhwzQKYRs4LD7JKmqH4BKY1nOlHGG2mPAXeM9I1objOaO4qLSAF8 JvBw== X-Gm-Message-State: AOAM531kjwE2a8Rws4wHKxo6j7bKkJqwECjyuLDJ8k51fBrnAnjLhiUY PKgw0I++8Ydxg46X8h0k+CyalA== X-Google-Smtp-Source: ABdhPJxtJ9Xnbi9sEWasrPDf92szZ/T67ghRPQ+TfsFM6p1KhAB2rbu5xudL2EoPDvVQI2KOAcxfLA== X-Received: by 2002:a65:4249:0:b0:39d:88f5:6bac with SMTP id d9-20020a654249000000b0039d88f56bacmr605942pgq.561.1649698128229; Mon, 11 Apr 2022 10:28:48 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id d23-20020a17090a02d700b001bf6ef9daafsm85428pjd.38.2022.04.11.10.28.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 10:28:47 -0700 (PDT) From: William Zhang To: Broadcom Kernel List Cc: Samyon Furman , Joel Peshkin , Florian Fainelli , Dan Beygelman , Tomer Yacoby , Anand Gore , Kursad Oney , William Zhang , Florian Fainelli , Ray Jui , Russell King , Scott Branden , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] arm: bcmbca: add arch bcmbca machine entry Date: Mon, 11 Apr 2022 10:28:12 -0700 Message-Id: <20220411172815.20916-3-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220411172815.20916-1-william.zhang@broadcom.com> References: <20220411172815.20916-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220411_102849_854396_8325CC5D X-CRM114-Status: GOOD ( 13.31 ) 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 Mon Apr 11 17:28:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12809465 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 47384C433EF for ; Mon, 11 Apr 2022 17:30:51 +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=G9QdQorn/epEn+gKaQrP9hSJ9n6FLl3JHCzStxH98tI=; b=kJfpXhKSk03qpWH9/S/7AoRtQ7 ggnLMrpdMhMJsPvbK64FQdcig/P4aClzHLM3nOC4ecp94jQvX3Uq4E0iIcSXpPfJHETObnJdQXQHA tJoJa//eSvKLEXHHoEjSEe55iigEaxeNgsHwKMqvpfMeGa/gHSIadOArPHmrVCsdyQDe0rgp95pTj P4VIphgxgG6+4ZPPJsYYxejQYq/TcwR5gRODiCmXs9/lVZfwfwsmKrh1uaCoXu10xYYsQAnmyxOAU Sz6tdDtvRINk+2ywHTRRSAaUSzN0YKG3fd7V6ux/JnMnqQ5YW2AR+hnPry7R+cAvs9giIGjZ42PjH fhPF4AVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndxr4-009tUR-H9; Mon, 11 Apr 2022 17:29:34 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndxqO-009t9d-Fj for linux-arm-kernel@lists.infradead.org; Mon, 11 Apr 2022 17:28:54 +0000 Received: by mail-pj1-x102f.google.com with SMTP id a16-20020a17090a6d9000b001c7d6c1bb13so17584732pjk.4 for ; Mon, 11 Apr 2022 10:28:51 -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=CwNHWpJu12LU3monujZApYCyJW/qdyG4uJNo9Z0c5y4=; b=DT5NEGMxXZ1LjjfKv1JmB8pa81t3Al0yhmeQ70yjTMsdeLk3fqFEepisUB2t5P2JDf BUFVOfOa2ThhdNr/rOX8xgYUD1OdZ4kN4W830YJcTO1sBZYYGWCZMF8+NmzurzfGpt0S K2zNnhEnM3tToCCj+ABn8bZKmUXgeuxZEfqV0= 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=CwNHWpJu12LU3monujZApYCyJW/qdyG4uJNo9Z0c5y4=; b=kidnZA3Wt9LbV773r4gehHTj8LVYUoUzWskNrmOEWFT4ufyonrurgPltWgBpOFxxGp lpwsfjrglWOMmFJBM8QohY7i4OorfYjHjarlIZG+byees5Vt52gSvwhyNc23/tyvlJ8l +u7V3gUtPHVbk5WE1Jw7CRaD1jiZxxAeLUyDsCbGpjici9qDSd/B1KKp48l7PDSehUwd PzH9p2fzfFWc0vYM2RUvoXCi787e/0n4bf2TZwRBUELs5uD7PDUFnB3DlMoegAqPjLsW 84P3iF/lsVlDUVE84Iv1GBnEHb6Mc90wHwQ3NSHsnuFCy2q8+wazd5Y7att3wjUDjqLR /0yw== X-Gm-Message-State: AOAM531ypGEvIMTFHbydsKFscpzK6517JLlqv0Go4dMSAym9wp1pfXtX FbtAyXJ0kCw2/OhnlrU57c8Cxg== X-Google-Smtp-Source: ABdhPJwR8EU+eQ73Sdbwj3pypko1N1dlMZZStQcmYURY8FTdsPOxXEX18C6WQjs3hzVYiFZ1xNsUAg== X-Received: by 2002:a17:90a:c58b:b0:1cb:64f5:131c with SMTP id l11-20020a17090ac58b00b001cb64f5131cmr270856pjt.204.1649698130751; Mon, 11 Apr 2022 10:28:50 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id d23-20020a17090a02d700b001bf6ef9daafsm85428pjd.38.2022.04.11.10.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 10:28:49 -0700 (PDT) From: William Zhang To: Broadcom Kernel List Cc: Samyon Furman , Joel Peshkin , Florian Fainelli , Dan Beygelman , Tomer Yacoby , Anand Gore , Kursad Oney , William Zhang , Arnd Bergmann , Krzysztof Kozlowski , Olof Johansson , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, soc@kernel.org Subject: [PATCH 3/5] ARM: dts: add dts files for bcmbca soc 47622 Date: Mon, 11 Apr 2022 10:28:13 -0700 Message-Id: <20220411172815.20916-4-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220411172815.20916-1-william.zhang@broadcom.com> References: <20220411172815.20916-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220411_102852_621897_C4C95E83 X-CRM114-Status: GOOD ( 18.56 ) 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 --- 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..b41116dbfa6a --- /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"; + #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>; + }; + }; + + periph-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 Mon Apr 11 17:28:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12809466 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 656BBC433F5 for ; Mon, 11 Apr 2022 17:31:14 +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=Fkj04hBOsbNBD7gzl/8eQbFF6uMaTuW9WtFBK+AjOP4=; b=EfXHgcV1ou7g9s7Ac8Sgp6cQ8S qeXo6fM1Lc8QmlBxH6x2vPXuWKjZelI1w1NJ8+JURwU8Dzf8xkYl7HVAlwm18E6ormKR6mNc/kXOe LvQtYO6Pi+beMwifBAuueC1fVfedDFlLl0ek8hmnpZOvaqbSYBpZrX1uRZFWiHr68jeEny4Kwt6yN zPFeIxhNe1yGLMYVBlAEzKh2+X4Xg6Mez8ZP9I/muBVVdbovst3T9nm8lHNbaXNgqJm3r4kz95zHg KqJmI9zrPZwFJxw9Pa7YOp5taUgGUQz4489vdpiXF0Pdn4Wtbx/asPu/Be0EwgyOHVwQIg2SWiwu3 T4xHzfQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndxrR-009thr-5H; Mon, 11 Apr 2022 17:29:57 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndxqT-009tCC-95 for linux-arm-kernel@lists.infradead.org; Mon, 11 Apr 2022 17:28:59 +0000 Received: by mail-pg1-x529.google.com with SMTP id c2so14773016pga.10 for ; Mon, 11 Apr 2022 10:28:56 -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=lLUHnNLIziwGzcA5LC7XOoIZfRdE3uG9WYbTtqdC2BY=; b=HhiQleeIlD+wPYcmpn5FbCshI9nKs8WH64HkhQ2QF2KTtIVKfxhqoVJcD7i7DrSgcz 2ydBRkag/qwaYF75ZpnunAIqQafF8qi5jnqAUjN+R6OTPSmjU9WCSbnyvq7vXyRmaNht o3Hs/j0dBksVvvMaC1EnZ1yVhaE5AvLk7tnIw= 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=lLUHnNLIziwGzcA5LC7XOoIZfRdE3uG9WYbTtqdC2BY=; b=zxus5qmIW+8o+pQfDu9DlztBI0Dev3MgTzRVZw1HeKNGWG8TBNcW7gWWw1rXHsasoA bdh5TNSjdzIdnSLjrkJxtRvu6RPGsqzAddzR75ovXUhdHqN607bu6nWtUPQYd41ghHyc e1Dv+l8+0Trs7UH3SBTW2AlnAt8N7MYjQjssji/2JdyD68pgnk0smoN4OaZ6UJ/tDuG9 8UEeYzEZ0Ql6UQOggDZtHaCOijpR+qEuHzJtDSkSzJz4kGS+6W4jFdI3PYlWpjltxaEf N/VB01qs8abjGGbaYrq1JgVfYdnuFobxbQre26FLasVswOJwzZD/eKxQ8lJOqCABUsye 6yFA== X-Gm-Message-State: AOAM530JDP5lzftJx9ESgnPbN1PLjVppTT/1ToUIevZMWeVpR2b2KMJh CTgSWOrn6E41VXTOkWKIS21dow== X-Google-Smtp-Source: ABdhPJza1XtIRJ6jRH7LvdImF5DVPZ58uompkVnZQ2DKDsD1Gfpbl0/Gb5crrZRpJGM9kcKIlrlgGg== X-Received: by 2002:a63:384e:0:b0:374:ae28:71fc with SMTP id h14-20020a63384e000000b00374ae2871fcmr27170721pgn.159.1649698135749; Mon, 11 Apr 2022 10:28:55 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id d23-20020a17090a02d700b001bf6ef9daafsm85428pjd.38.2022.04.11.10.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 10:28:55 -0700 (PDT) From: William Zhang To: Broadcom Kernel List Cc: Samyon Furman , Joel Peshkin , Florian Fainelli , Dan Beygelman , Tomer Yacoby , Anand Gore , Kursad Oney , William Zhang , Arnd Bergmann , Dmitry Osipenko , Florian Fainelli , Joel Stanley , Russell King , Stephan Gerhold , Thierry Reding , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] ARM: multi_v7_defconfig: enable CONFIG_ARCH_BCMBCA in armv7 defconfig Date: Mon, 11 Apr 2022 10:28:15 -0700 Message-Id: <20220411172815.20916-6-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220411172815.20916-1-william.zhang@broadcom.com> References: <20220411172815.20916-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220411_102857_415475_5B67C06C X-CRM114-Status: GOOD ( 11.96 ) 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