From patchwork Sat May 14 23:27:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12849951 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 B21E8C433EF for ; Sat, 14 May 2022 23:29: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=9GBWNt6K+1jbVC6ln01JfFqhynPDP5q7FBfeI3LrMQg=; b=2hsylH1GPkHb3dvDhb2m8VPbmp naQdSOHj/xe2v4bJCZyIIqi+NIAD2E5jYhJKINKZ8uwrODf6qu1z7fUJaVY4hy57qDL8nMkH5caSR AXAPpWx0gM6VxniZ4LsMS/auyvk2zSHyT1nrWWaMSxPit8hJIv1DSkw0E5BMBwXklxW5TK86HOYBy ajmO3Al3hSW0XWXc18enUTduU6pLsYVNZm5pMY6FJLA0ILOMX0hHmm4Co+Dgv+5EBA32y7/zbhM7Z p66AoiNV1Ft1Do/2K8O6WKd4V86vFUZdu2F6D6kJqf7xdW2M0GN0V38Ak1jiF+gLTiKUKWlj6U1fV ALJ2y2sA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nq1Bq-002Zym-24; Sat, 14 May 2022 23:28:50 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nq1Bm-002Zvs-Lc for linux-arm-kernel@lists.infradead.org; Sat, 14 May 2022 23:28:48 +0000 Received: by mail-pj1-x102d.google.com with SMTP id ev18so496198pjb.4 for ; Sat, 14 May 2022 16: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=TvUzVfsLgmaR0wSG5wDzNtNpfuXzMyKVazKRZrVZtwA=; b=DnGoOrwfhjnXEURrf1x3OQVOMPMz/gmq2MzqogtMbcD0MLlm1eXuX5TCYYssoh1nR6 2bgpvHK34CiV8A+iJuYp62zYtyfXYOqANmP/Uh05VCCC0BERleCPyOrvnKSaHJunxezA 2gs3J9KONibhy3Oa0aOkbjughEEtV8pO7MXrs= 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=TvUzVfsLgmaR0wSG5wDzNtNpfuXzMyKVazKRZrVZtwA=; b=78OT9MFny7HzLTSV902cCjPW/a391Oq36dso3bFyXCKmGzKmXiFdwR238tLOHZmoXo 4EurNIPFuRwJyZuQ8oBgsSWBpWoc5fuWJ+m52CMl5omQ0qQK6dqdStijohB0QtQB91OZ F/R3zt51oYmcbGkw+7TcV1eRe61q752lMPq0olffsxqq7Tlxst+QIga0G/v1g9oIXujt yh8KWuG25mnfz61KstHhABf+8EmdLC9GAbocZnSo2cIPvI2JDhnRtTMpHEChirOgF9bO iSSBKQDsgTldw2ydBBKPB+fEoBYQK/pbNDU8e35VxP2XZMAyf6KFu3F90mmUOUxl+kjT Dq7A== X-Gm-Message-State: AOAM531cFCz7dFBkAth4h1SPvz3l/79xcqz7JX/wM1LVkWY1d7iCoay9 +Ym9ms5H4WTzeKitIFRMeD4Fq4FZW1fjspyXJAftZXtIS6N91CH18wQIcbTCz8YUhkoTrK+fYny ZNOgI+PwwR6RbFyv6r3YsPLAnVzGV+3eXmDZJy5l0W4vRnwjsQcdD68FmuONX4MWfamZw8s2n9/ xXG+be0b9Seio2c1UlfEo= X-Google-Smtp-Source: ABdhPJz1ZnnpjnfItdXmdyhukGj7li0Ly4S14lROQtfPN2XF7lolJCoYUO+Le2VGW1e8/mLbpVypng== X-Received: by 2002:a17:90a:343:b0:1cb:234a:a975 with SMTP id 3-20020a17090a034300b001cb234aa975mr23320106pjf.83.1652570925259; Sat, 14 May 2022 16:28:45 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k9-20020a170902d58900b0015e8d4eb2b8sm4165087plh.258.2022.05.14.16.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:28:43 -0700 (PDT) From: William Zhang To: Linux ARM List , Broadcom Kernel List Cc: kursad.oney@broadcom.com, florian.fainelli@broadcom.com, joel.peshkin@broadcom.com, tomer.yacoby@broadcom.com, samyon.furman@broadcom.com, philippe.reynes@softathome.com, anand.gore@broadcom.com, dan.beygelman@broadcom.com, William Zhang , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: arm64: add BCM63158 soc to binding document Date: Sat, 14 May 2022 16:27:56 -0700 Message-Id: <20220514232800.24653-2-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220514232800.24653-1-william.zhang@broadcom.com> References: <20220514232800.24653-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220514_162846_750882_1F8882EA X-CRM114-Status: GOOD ( 12.01 ) 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 BCM63158 SOC device tree description to bcmbca binding document. Signed-off-by: William Zhang Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml index 5fb455840417..4e3a1a5391f6 100644 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml @@ -28,6 +28,13 @@ properties: - const: brcm,bcm47622 - const: brcm,bcmbca + - description: BCM63158 based boards + items: + - enum: + - brcm,bcm963158 + - const: brcm,bcm63158 + - const: brcm,bcmbca + additionalProperties: true ... From patchwork Sat May 14 23:27:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12849952 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 C4E64C433F5 for ; Sat, 14 May 2022 23:30:02 +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=3i5zYuulirT+mzEPsVMgpdBZ654nZA97QAQxJFpDRuw=; b=ULUl6xyeQMP6FrjaT5ULyEftAh fujEjVURX8G2pF8U1RjlGJdXW3IHB6HLxpbij1EBqgyxC3Zy0/w2sHj6m+DSNcfIHY63p50rBrg4n PkvwU2zv6BEHALFj/gkVNQompsvEOZZ9A/Tq3luandT+b9d1nj+3J2Znq8/T3FWvYDIzo1p7EZkQy 5AG2wegB10XsNsBdi1RY4NDiM2lBUhA0HSP0tL0cAoMCpGQ+dbA/toBLmHr72xV7ydQT/9XLFjmyz pWmXvKLndI4o/EtjBPuQmE26x8WQT/3idtPzhp6BkQpDwbc/26h+IVJ1A/naeqK05B/Bo1p0S0Svj 4kZHRoZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nq1C0-002a5Y-4A; Sat, 14 May 2022 23:29:00 +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 1nq1Bp-002ZxI-Dk for linux-arm-kernel@lists.infradead.org; Sat, 14 May 2022 23:28:50 +0000 Received: by mail-pj1-x102f.google.com with SMTP id a15-20020a17090ad80f00b001dc2e23ad84so14001089pjv.4 for ; Sat, 14 May 2022 16: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=1jg2UxdzPAdpqQnvwnCQgzikqc0bxynwrG8HZRmBly0=; b=ZfcYIRZ0tY/NyisnjSlaqgFIfemvAnC8skAFmc41+FLP7FUoIj6VMG5z09Dq/FilpC vsNTpVpgpGsrhONUAOJpnFObhfdMDw0OJEYe/jkN+1SlWbpSyryPZKtDJ9hhagkvTPVT t+bKTFmslcBKTPaYpdK40hIYQDe3rcU9HNq4E= 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=1jg2UxdzPAdpqQnvwnCQgzikqc0bxynwrG8HZRmBly0=; b=AOO9Ok3i7gqHtuwEr9W6YNFdgeJXZxbdE86ZLSmxbB7aWUkaCdQRKnWlnweR2S4knX ECblc3Z4egKfPPnW5tnLB7ywGb7UkWgOMpRdEGNvfko5cPQUHIf5yzDAfYDogrLM/mwc Ux79q66M0NjYq/smY8CM/MRHXlzOff7lI7bjyYJ0MEfMKW38b9uwEPvxFlD4FxYrF8DB w31xMCow6XxBNP0WHK+KJ7ryX54VyfHgBoTDkZ2A+01njy5qvCgnvnJmT+U/gQubq7li qCCkGcPy8/PVR3psRyCw2SelITEIQ+RSWbRHcPQOUlurLya695XASdpoegTul1D9VfX5 srhA== X-Gm-Message-State: AOAM532o2pCHj80nOMxV3krmshEXaST8DoH2KidIDGcN62sZJH4CSmEm ZixCpOUIw6+xqSVDH2/Hu1LaoGpVGZQrfzmRBfXPu3kZ0bDwzXMQzENGNm1++jhxLB9k3N2fwRI +vrThD+YWmS2n/lb8Q6DXT7an/Cwrmpzt8sDlTijXMfdIKn6sbTRmdlFZ3dW9bPD10r2Eq6uJj4 rLgAuhcpUoaZNcBPn8nlY= X-Google-Smtp-Source: ABdhPJxyq6k1HCVDQkzcfoBp/WhFSC4DTqLh742JE0+KzwJDYXHfNTRiXp9hQM888BoiiVTHbvzBJg== X-Received: by 2002:a17:903:40c3:b0:15e:9d4a:5d24 with SMTP id t3-20020a17090340c300b0015e9d4a5d24mr11174523pld.77.1652570927692; Sat, 14 May 2022 16:28:47 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k9-20020a170902d58900b0015e8d4eb2b8sm4165087plh.258.2022.05.14.16.28.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:28:46 -0700 (PDT) From: William Zhang To: Linux ARM List , Broadcom Kernel List Cc: kursad.oney@broadcom.com, florian.fainelli@broadcom.com, joel.peshkin@broadcom.com, tomer.yacoby@broadcom.com, samyon.furman@broadcom.com, philippe.reynes@softathome.com, anand.gore@broadcom.com, dan.beygelman@broadcom.com, William Zhang , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH 2/5] arm64: bcmbca: add arch bcmbca machine entry Date: Sat, 14 May 2022 16:27:57 -0700 Message-Id: <20220514232800.24653-3-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220514232800.24653-1-william.zhang@broadcom.com> References: <20220514232800.24653-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220514_162849_505493_5801BF1D X-CRM114-Status: GOOD ( 12.99 ) 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 config for Broadcom Broadband SoC chipsets Signed-off-by: William Zhang --- arch/arm64/Kconfig.platforms | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index aaeaf57c8222..952c2f04f7c9 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -64,6 +64,15 @@ config ARCH_BCM_IPROC help This enables support for Broadcom iProc based SoCs +config ARCH_BCMBCA + bool "Broadcom Broadband SoC" + 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. + config ARCH_BERLIN bool "Marvell Berlin SoC Family" select DW_APB_ICTL From patchwork Sat May 14 23:27:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12849953 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 A08C0C433F5 for ; Sat, 14 May 2022 23: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=+yK3O9k0bJ5MkgOG4Q1e0BJc8QMCi+adGgOweo5yRe8=; b=e+OZEjORip1JjFYpImqECd/q2w 6R7e8Nvy6b62LFGeO9sw8Ra3dK5LrjISt+2pDWREIndU8k0Q39cowpHXZK9Uihp3Ghhsi24RbmcO7 XiZ9cwd9v5utwdf+mh+SuPO3jit/P1Nr9yUI/ZYs6W5xQ4vCb7jZSoRa39y2nyJcagRyuTOJFLOO2 5/aL+MnnPyuE/ll87eFjTh1YwZToouRuDPdrlk7ETme2J+wiISj9xSS0rMyROi5jhcdDyPu44+HRX 6DNjzbeioUQtJaf/iT4w0n2HrUTkdTg14kCcCRn3lUTQlAsA/iEJBpDyBUwovSz+Ok321/vxEVq5Z SLlKibHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nq1CA-002aDC-6A; Sat, 14 May 2022 23:29:10 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nq1Br-002Zzl-6b for linux-arm-kernel@lists.infradead.org; Sat, 14 May 2022 23:28:53 +0000 Received: by mail-pl1-x632.google.com with SMTP id n8so11226960plh.1 for ; Sat, 14 May 2022 16:28:50 -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=r7vBx4COTK+POmwWtuwtXOz2WPZEm2IwuH3FgNQksHw=; b=b//gZCieDqVUPYWQtSyBi3jh42AzK5J4RO6UsB1sy0broEhE6FInaYU8lBrzl4yVu8 TQaBLaxrI0IHurao7ejgPabjGZQ7Fb7aS4TIb68PgiOGFaQvwQeAfZWJptTAVNNlPRO5 tfPntJILrYMAAp9DY1Ha1cj1+4F+4Bmu+uOR8= 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=r7vBx4COTK+POmwWtuwtXOz2WPZEm2IwuH3FgNQksHw=; b=EdObfTp3pYk7564wK/+9m5dFSDvujllmXrXW9d2wg3foUdGlyGPnt70Ga49Kd9dsO6 DJX0YKGAutC2ie01buTXquAgd1UQBqwBCCJ1PyW2PHX7n9/DKrUzo/WO7nIgNIXT6MTa otXeJjTluEQx6xgMuHSwk3lzoa+rA2ijYDlJo53jT1c3spJZ+nn/NuwKZ3VaA2KaG8wN PjSsATRAeW3g/C1KgLyuPSz9bZyA9MZW7F3R4SoSNaiFLUoJO23ydIwmwR2+ulKS52Eg QBpw9EHsDuiWq1i5G/SYr2VjhZ/5Lnx4jODO3Z4K9JlinaE9oYj/odj+7NHoSXw61pBB fUmg== X-Gm-Message-State: AOAM531atzB3NrkCvoSen7pdH7deOKsl36W+PR5jxmtzngj54qYD/OTP pHkHobN3muF51mS5FeMvf09F9ALy3aum6xsodGm5fmg+UzscMt3a2tXe15trouTaR8GMChpEwYu dZT6l8ccR8vAJZVC0w5BjoD6dFtWxIGg4D+wnZP+ZZEOsAFOf4OdDDSVQceWZhrELlf8y81MIKl 8gO766KIJCXGmjktv7OY0= X-Google-Smtp-Source: ABdhPJz2b5SJhj6uFkp+wWP7bRXaYoRfspb6GFr2rRMUE0+GPPbY5c5N8zV89xyT//jQ0EyhQDzdww== X-Received: by 2002:a17:903:1205:b0:15e:8cbc:fd2b with SMTP id l5-20020a170903120500b0015e8cbcfd2bmr11190155plh.99.1652570929705; Sat, 14 May 2022 16:28:49 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k9-20020a170902d58900b0015e8d4eb2b8sm4165087plh.258.2022.05.14.16.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:28:49 -0700 (PDT) From: William Zhang To: Linux ARM List , Broadcom Kernel List Cc: kursad.oney@broadcom.com, florian.fainelli@broadcom.com, joel.peshkin@broadcom.com, tomer.yacoby@broadcom.com, samyon.furman@broadcom.com, philippe.reynes@softathome.com, anand.gore@broadcom.com, dan.beygelman@broadcom.com, William Zhang , Florian Fainelli , Krzysztof Kozlowski , Nicolas Saenz Julienne , Rob Herring , Stefan Wahren , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: add dts files for bcmbca soc 63158 Date: Sat, 14 May 2022 16:27:58 -0700 Message-Id: <20220514232800.24653-4-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220514232800.24653-1-william.zhang@broadcom.com> References: <20220514232800.24653-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220514_162851_300865_09F6A1D3 X-CRM114-Status: GOOD ( 18.22 ) 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 ARMv8 based broadband SoC BCM63158. bcm63158.dtsi is the SoC description dts header and bcm963158.dts is a simple dts file for Broadcom BCM963158 Reference board that only enable the UART port. Signed-off-by: William Zhang --- arch/arm64/boot/dts/broadcom/Makefile | 1 + arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 2 + .../boot/dts/broadcom/bcmbca/bcm63158.dtsi | 128 ++++++++++++++++++ .../boot/dts/broadcom/bcmbca/bcm963158.dts | 30 ++++ 4 files changed, 161 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/Makefile create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile index 5082fcd1fea5..e8584d3b698f 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile @@ -9,5 +9,6 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \ bcm2837-rpi-zero-2-w.dtb subdir-y += bcm4908 +subdir-y += bcmbca subdir-y += northstar2 subdir-y += stingray diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile new file mode 100644 index 000000000000..d5f89245336c --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_BCMBCA) += bcm963158.dtb diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi b/arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi new file mode 100644 index 000000000000..cfa235d99a32 --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi @@ -0,0 +1,128 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +#include +#include + +/ { + compatible = "brcm,bcm63158", "brcm,bcmbca"; + #address-cells = <2>; + #size-cells = <2>; + + interrupt-parent = <&gic>; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + B53_0: cpu@0 { + compatible = "brcm,brahma-b53"; + device_type = "cpu"; + reg = <0x0 0x0>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + + B53_1: cpu@1 { + compatible = "brcm,brahma-b53"; + device_type = "cpu"; + reg = <0x0 0x1>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + + B53_2: cpu@2 { + compatible = "brcm,brahma-b53"; + device_type = "cpu"; + reg = <0x0 0x2>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + + B53_3: cpu@3 { + compatible = "brcm,brahma-b53"; + device_type = "cpu"; + reg = <0x0 0x3>; + next-level-cache = <&L2_0>; + enable-method = "psci"; + }; + + L2_0: l2-cache0 { + compatible = "cache"; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; + + pmu: pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = , + , + , + ; + interrupt-affinity = <&B53_0>, <&B53_1>, + <&B53_2>, <&B53_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 = <2>; + #size-cells = <2>; + ranges = <0x0 0x0 0x0 0x81000000 0x0 0x4000>; + + gic: interrupt-controller@1000 { + compatible = "arm,gic-400"; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + reg = <0x0 0x1000 0x0 0x1000>, + <0x0 0x2000 0x0 0x2000>; + }; + }; + + bus@ff800000 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x0 0x0 0x0 0xff800000 0x0 0x800000>; + + uart0: serial@12000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x0 0x12000 0x0 0x1000>; + interrupts = ; + clocks = <&uart_clk>, <&uart_clk>; + clock-names = "uartclk", "apb_pclk"; + status = "disabled"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts new file mode 100644 index 000000000000..eba07e0b1ca6 --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts @@ -0,0 +1,30 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm63158.dtsi" + +/ { + model = "Broadcom BCM963158 Reference Board"; + compatible = "brcm,bcm963158", "brcm,bcm63158", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; From patchwork Sat May 14 23:27:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12849954 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 0FF5DC433EF for ; Sat, 14 May 2022 23:30:22 +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=3j64nahxWNWW52q53ajGlv74UBVlvQUPPynG39QYzHY=; b=0oMv9ZUcDn1zgtoT5Rqem3m0vc lutljAdhFVuxIamqggA93edf6AEpBTkuanNWpWUc1wr1Z3E3+hDcx9RqRu9qWebDyCxsTWLKA5/4x Dy8ofaIyKwuJpAL/zxytw16MbazudY4WGb1scPgDNC8V9R7bWU2ytQu0T/3UJKdWFIl4VDdLGmn6f XAUeBroM/AEVi/dMYr2att28Bl0vwagM3BQFd7nxaVpiMwMmqf+vPyFQgXUvuPpHJniiOh+/0QmBn SthEuLSh1ha0OsR+qYAfSn77SFVfqPvX6HB4mImhanBQNnNmR8T+6ygYzdk+YppGHXZx1RmpQt7nU wKJb+Oww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nq1CL-002aOo-Jd; Sat, 14 May 2022 23:29:21 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nq1Bt-002a14-8v for linux-arm-kernel@lists.infradead.org; Sat, 14 May 2022 23:28:54 +0000 Received: by mail-pj1-x1030.google.com with SMTP id w17-20020a17090a529100b001db302efed6so10969065pjh.4 for ; Sat, 14 May 2022 16:28:52 -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=BpdoX08WA4IapK6YKCUfkTMVfRqfS5qbuBryab4GJFk=; b=hqptPajX8wTa0f3T4YN0BJ5v5vP8eRXkhZoLj81Hltmr2KcRVV4mHP7/UfqSxE9XGw bpgHcAnERxeW4tMe+CTmTK1FIACt/J2cURCJh7jrWKDlZdyNg7521J3MbBsEao3rc0zQ zBH+h2Yi7TWBof//wy9mRgloL/soYmYj/Rszo= 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=BpdoX08WA4IapK6YKCUfkTMVfRqfS5qbuBryab4GJFk=; b=iQZER/FSgXXs8YeHkqDeldD2pfVOP8U5Jqq6sRyaqMTg8p4WvUHNKVQ2IR7VX7tYuO x+0/nXNP8S7KudHVSFSBf3ejmwdN5Mx8D9hbK8YUtywQpTLUU19cb0joLkbAuGbHjF/5 vzpjOFvrDHAW7e9lWXFNZ7uSVn/9MljP07vfJZTWgvVSdnrA3rh8kpMM+CKHq6REi0su XpmXKtE2EwzXWflsFJS1gFowJT4YuaA78u5V3G+cBAImrNc7sirGRXLZ1t/v+gXmd8Yo 4dPKb9CfiLUByb5Oca7OblAm+9WK+eN23JyN0Hno3SlWB4DRD9xw1g6szw6wYBqA5/0O IYzw== X-Gm-Message-State: AOAM530AOKISi4PdaYSE1liAiCdjkZr5PePDjNhq4M7l9AzhfgCNp7/r vuY9t0+M1nT7vCzjoALEilpIS1zCyRLV+R1g1KWZ0Xx9ZuWyFOiImTUwNAj6QmvcNBq48BOY49n Io3ZPA1/gAUCfPRmQxH2+6nYHd2+u2j4/RnimHVvGhoe54jsxyko8B1nvtWLh2mSOmmiLSkG36Q /Ol6gqAH4zUAUruQL54HY= X-Google-Smtp-Source: ABdhPJxp7OJFSzR/ChQ87ADtV6W26dL28vz3W2dt2ke0iGVS+q8dWP9TofQRc/LX9NvsBvOvQhDf8w== X-Received: by 2002:a17:90a:780d:b0:1df:959:235a with SMTP id w13-20020a17090a780d00b001df0959235amr5871325pjk.92.1652570931485; Sat, 14 May 2022 16:28:51 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k9-20020a170902d58900b0015e8d4eb2b8sm4165087plh.258.2022.05.14.16.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:28:50 -0700 (PDT) From: William Zhang To: Linux ARM List , Broadcom Kernel List Cc: kursad.oney@broadcom.com, florian.fainelli@broadcom.com, joel.peshkin@broadcom.com, tomer.yacoby@broadcom.com, samyon.furman@broadcom.com, philippe.reynes@softathome.com, anand.gore@broadcom.com, dan.beygelman@broadcom.com, William Zhang , linux-kernel@vger.kernel.org Subject: [PATCH 4/5] MAINTAINERS: add bcm63158 to bcmbca arch entry Date: Sat, 14 May 2022 16:27:59 -0700 Message-Id: <20220514232800.24653-5-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220514232800.24653-1-william.zhang@broadcom.com> References: <20220514232800.24653-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220514_162853_394952_AD187982 X-CRM114-Status: GOOD ( 12.47 ) 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 bcm63158 related files to BCMBCA ARCH maintainer list entry Signed-off-by: William Zhang --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6fa9eecd6c97..d07e64de945c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3766,8 +3766,10 @@ 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 +F: arch/arm64/boot/dts/broadcom/bcmbca/* N: bcmbca N: bcm[9]?47622 +N: bcm[9]?63158 BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE M: Nicolas Saenz Julienne From patchwork Sat May 14 23:28:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12849955 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 0039BC433EF for ; Sat, 14 May 2022 23:30:36 +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=ukOWDBXYEoiMpo/VdqnW4yjv0UnoyuG2IfiVX8CkshM=; b=vVVBY7MhR67vQALwzOfLgA3xj/ npVdU2kZcV1+tJQwtoQpAOquFEPIZA12LicpOsjWEM6vcZnSaKBZKhZn6+G+zxlIcMosZmcoj1odJ vjqfnPWr0Tfhg5Ge+u9Qy9wcgloYieQAutPFH7XB737nQdfjf/ILV8aI8asJTdsyvSP7MaTdv1woQ tby8Mo6SbbqEBPkrDN7PGt1hVTe+R/5DcRAlXJ1HRZNNvlRQxNhmqsOFz77UVnZvRgXP8Kt+Q2xOX n682yOr4HwdyucvnQa3c19WyquYIT8idtXDHNLo9YdwNhzxYb+nazbZpK1jxBpdIcDbXd/EIMNcuK pXt3G3CQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nq1CZ-002ad8-V2; Sat, 14 May 2022 23:29:36 +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 1nq1Bu-002a2S-Vq for linux-arm-kernel@lists.infradead.org; Sat, 14 May 2022 23:28:56 +0000 Received: by mail-pg1-x52b.google.com with SMTP id x12so10794004pgj.7 for ; Sat, 14 May 2022 16:28:54 -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=i0ccXHHgnV1iy9g8PRS6MA+qJpNs2EEfOuOjbRUFOe4=; b=WsZ+q8omEN7I1KmewBIUWM1vyqjcYpS3zlqUekUpMgJApzSKwpO6y0sHQTXD3SFSyJ Gyasnr74jclX/Mi9hSk9dPpCBuak035GTBaUdMBqPnAOo74/06JJ+CpaCXFMDFqIRX1Q wzOAwqoZqXZhDms9Sxkzi098zl3HnvFfStxNg= 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=i0ccXHHgnV1iy9g8PRS6MA+qJpNs2EEfOuOjbRUFOe4=; b=iZoj1/SrJhGjeSeAweklQGFAVVogvMa7c0fBPOk41v/jHkJ52yr6qRqBopH0H38nhD MXwkcd/KStiI2beDDDbwhZYEZaRLg9XwBdGNf70Kk4MJjR2fUfmkHD9eGCW2YtVY1tqe 5QPFnZx6ZZpD+ZTY2WqRKBxxbbuBoMYo0WwScOnnA0p6VYIXHOwNGXuYeKTomKRjPpsr wy+jsLypE/Em6D2ejfABpNgbLuXkT4y+QA6ZH05jyTJiCq13vW4FTseQP/UiC4zH57qK 5ZKVQut5QK8IvoHxxmSmmrUuQTymuYN8EPpKe6i941HASOGuO+qdJJ33LWVSX0xGImJW 3Kzw== X-Gm-Message-State: AOAM530AZ0nBCGWp+lMx0v8FoQgPfLPElFbBB6h43iQYQGNvnAEBu15W T86o8t4BRsEQMca12flzLi7q1TIL5uGvnM/CNJS9AXjwwL6pB2iwT+m8fKnsKtXj4P5HY6zc9pP xMzk6vLmqJFXhd/st7d/g7J4rsHqIlMvGaRshBjvX5xNrmGBVBjh9QiPjVlR8BLcjpO46ZwFtp+ 9G+QTxDi+zfMs3qAOkwFo= X-Google-Smtp-Source: ABdhPJyfdgpwHMpgOAP5KwCDtrWMsvcNrYWIi78txjz8hyyAHzKsyzRR43SY68IAMCIOT/ZU8QOQVg== X-Received: by 2002:a63:fa41:0:b0:3c2:1941:5894 with SMTP id g1-20020a63fa41000000b003c219415894mr9528571pgk.296.1652570933621; Sat, 14 May 2022 16:28:53 -0700 (PDT) Received: from T3500-3.dhcp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k9-20020a170902d58900b0015e8d4eb2b8sm4165087plh.258.2022.05.14.16.28.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:28:52 -0700 (PDT) From: William Zhang To: Linux ARM List , Broadcom Kernel List Cc: kursad.oney@broadcom.com, florian.fainelli@broadcom.com, joel.peshkin@broadcom.com, tomer.yacoby@broadcom.com, samyon.furman@broadcom.com, philippe.reynes@softathome.com, anand.gore@broadcom.com, dan.beygelman@broadcom.com, William Zhang , Biju Das , Bjorn Andersson , Catalin Marinas , Dmitry Baryshkov , Geert Uytterhoeven , Krzysztof Kozlowski , Marcel Ziswiler , Shawn Guo , Vinod Koul , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: defconfig: enable bcmbca soc support Date: Sat, 14 May 2022 16:28:00 -0700 Message-Id: <20220514232800.24653-6-william.zhang@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220514232800.24653-1-william.zhang@broadcom.com> References: <20220514232800.24653-1-william.zhang@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220514_162855_075554_F5FFFBD0 X-CRM114-Status: GOOD ( 13.24 ) 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 defconfig. This config can be used to build a basic kernel for arm64 based Broadcom Broadband SoC booting to console. Signed-off-by: William Zhang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7d1105343bc2..7cf31913bcdf 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -36,6 +36,7 @@ CONFIG_ARCH_ALPINE=y CONFIG_ARCH_APPLE=y CONFIG_ARCH_BCM2835=y CONFIG_ARCH_BCM4908=y +CONFIG_ARCH_BCMBCA=y CONFIG_ARCH_BCM_IPROC=y CONFIG_ARCH_BERLIN=y CONFIG_ARCH_BRCMSTB=y