From patchwork Mon Jul 25 05:53: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: 12927763 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 AB069C433EF for ; Mon, 25 Jul 2022 05:57:00 +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: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version: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=mJpKl09m0feqNmpKnlt6qMnuYXXq3PQQ/bHBldXrVJU=; b=qk2oJdrP6drM+3VMPRXl6j7fUi JLhzXUInZwAkeKR8zZL3I1D4E3vlZgwebl8kBK37yqT9VoD6643Xk39KP+qI4GX9/rqv5q+epylcZ Zf5/uTgHHd3KVyfJOZDCY9AKCmjq1hBIGWlbHemxwVr/kdE3oCYEuJbkCMenYBD9h1e8sJEVUd68+ jIqWNEOVjBZ3PpptvE4mrr4Z94YapF0B/3naDg0PvGHcnmfPEnBKCcKe+8i5VE2gFwlWcQ/l5YfC+ Dkvymg3pEPwVDsLdMNu4BhSW6kt+Mo3iEgouJUAjT8TZksgcDDicSAVJ7P83Viv6V1pN4BFW5SnEx 5/KqkkRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFr4S-004oH3-6P; Mon, 25 Jul 2022 05:56:00 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFr3R-004mqg-Md for linux-arm-kernel@lists.infradead.org; Mon, 25 Jul 2022 05:54:59 +0000 Received: by mail-pf1-x435.google.com with SMTP id e16so9481881pfm.11 for ; Sun, 24 Jul 2022 22:54:57 -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 :mime-version; bh=klqjIRzmLPgV1QRAx7QPLk/W/jkiQfRCYScDv5QUF28=; b=DUl95PVhJp/mVC6Sfwz2xF1x6gBAyGwGbtOgkbYlWISvJXv3aX3NNhj6WAQ48pa+MM pSbX7oQQDMo973xDiozAWSj6AfiDg5if8CYz1NChhz9EHhnDtPRKz5WG2+DmuA6Kejnr BtqwXIcxIaZfGfJAtbHLdcvkNFR2AZWtymJ3A= 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:mime-version; bh=klqjIRzmLPgV1QRAx7QPLk/W/jkiQfRCYScDv5QUF28=; b=jZfW/ROLb8tvSt48Ir9VjWirhIlfE4r4d5wBqjHt/XSEqo0WtRLxetPu8j4LKUibQy bflnaOco7+tgkPkCCSAKJ/dopu2+Zab1JUfy0Va6ZWBvL/xd2e/Ipwr/UPms1cA4NFtu 993/RNk6hIq3mMaVEeXLIWGH8v0Fxq0+kdWMjGCzuxS+dDAypvzD/5F7+Q1R45pRM4dz 6dybLEZE0TvS5lzZxXh7RQW7Yofiy3u3Sb6Wwfum2Ts9s4W0gcoKWGYbvmHWlKbq6RtZ duRFGnEDTcpqz5WBhyxLCx/EyOsNh2whmcecPboT8eI0nhuN90ZRckDCJKUv7srv2HtL gr8A== X-Gm-Message-State: AJIora/Y4UT87SON29Id/KWqr2zz5gPX+L10xhBX7w7sMkQx/mjaQtoH VeWq/auD0Nw8Mcdfsehn1qU2Cc8RcFMELUZnWFC6mB0zwjCemuGpQn2Pjpm7Xr6n1n92is6otqN rxfUCo4vUnMnJF8FGOb4z6lQtEzZVVhgNXLug0mIeZhTwwn5qGb/RbFM33jFomWpQxRdkNGq9n6 CwWVu1Q0WVhefcIr3Cc4E= X-Google-Smtp-Source: AGRyM1s4t7un511r+DoGQLPBhcaUs3emYvIahqdo0mDv4xkMADdcq2qp2AwkghPTSziKIlO8J3ss5g== X-Received: by 2002:a63:554a:0:b0:419:acae:721 with SMTP id f10-20020a63554a000000b00419acae0721mr9152156pgm.505.1658728496968; Sun, 24 Jul 2022 22:54:56 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id m5-20020a170902bb8500b0016c4331e61csm8198910pls.137.2022.07.24.22.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jul 2022 22:54:56 -0700 (PDT) From: William Zhang To: Linux ARM List Cc: joel.peshkin@broadcom.com, f.fainelli@gmail.com, Broadcom Kernel List , dan.beygelman@broadcom.com, anand.gore@broadcom.com, kursad.oney@broadcom.com, rafal@milecki.pl, krzysztof.kozlowski@linaro.org, William Zhang , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/9] arm64: dts: Add BCM4908 generic board dts Date: Sun, 24 Jul 2022 22:53:58 -0700 Message-Id: <20220725055402.6013-6-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220725055402.6013-1-william.zhang@broadcom.com> References: <20220725055402.6013-1-william.zhang@broadcom.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220724_225457_784513_E7382FC9 X-CRM114-Status: GOOD ( 16.89 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add generic bare bone bcm94908.dts file to support any 4908 based design. It supports cpu subsystem, memory and an uart console. This can be useful for board bring-up and cpu subsystem and memory related kernel test as well. Signed-off-by: William Zhang --- Changes in v2: - Update commit message with more details arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 1 + .../boot/dts/broadcom/bcmbca/bcm94908.dts | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile index d30fa75f0611..27741b71ba9e 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile +++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile @@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_BCMBCA) += \ bcm4906-tplink-archer-c2300-v1.dtb \ bcm4908-asus-gt-ac5300.dtb \ bcm4908-netgear-raxe500.dtb \ + bcm94908.dtb \ bcm4912-asus-gt-ax6000.dtb \ bcm94912.dtb \ bcm963158.dtb \ diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts new file mode 100644 index 000000000000..fcbd3c430ace --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts @@ -0,0 +1,30 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm4908.dtsi" + +/ { + model = "Broadcom BCM94908 Reference Board"; + compatible = "brcm,bcm94908", "brcm,bcm4908", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +};