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: 593357 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD377C43334 for ; Mon, 25 Jul 2022 05:55:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231327AbiGYFzI (ORCPT ); Mon, 25 Jul 2022 01:55:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231676AbiGYFzD (ORCPT ); Mon, 25 Jul 2022 01:55:03 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CC4311A1F for ; Sun, 24 Jul 2022 22:54:58 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d10so9492364pfd.9 for ; Sun, 24 Jul 2022 22:54:58 -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=STF3TNMVWHEPEcR0dCV+KUrM6tlWrmd82u6XOoCBmRY=; b=EQLXe+w/6XPXTIBQnxzMkIwByyBQXtN67fIcCLKQKcugFKU0qcY2qYaL244Xw0ID4N oiqD0VKo+5e/qGDZkWR53ByBty4ztFn8X7JqF19CvZJe51BGzuVh49sxqHzpUtrwdQEB CEgCrUmk/N9KhKlZ7QZGN28tLyOAfSAY00o88= 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=STF3TNMVWHEPEcR0dCV+KUrM6tlWrmd82u6XOoCBmRY=; b=Kb+8aacjLzJuzwNjU4mr9BlVinJuL7QCX9WUeECLZ6BCZgJuHcBwb40RpwPgELwsOJ hqQMPKLnR1j77LPy6G/kpwz7GdJP1Tfp+7eLQDs8LBq22cYpYtHHqElJZs/2bIbH8mOi YVfkrf7NN1Omn4d9eLXvOXMrtKBzUkHecjIaD8uh6J0fC+dqWMEtJATrR0RPvjxb9TMu ux96l1WSfMvFdDclsP9TTM5YUbVmqeTG6JlyylK35fxXDC0C5451xIWs4FtEwYhrD4Sy zGMYgc72oCVhcs6sqhT12JqGrR563LVKSJkaYWjlGdjCTloSRg/rvGKQ8tacgzSO0sYq f/1w== X-Gm-Message-State: AJIora9f/DX1kY66GYYo6Of3nmMgJCdXEA/reErPdeS5E1ZCy8E75oPT f2IjyKkwDWTjv+WaiM2LlXuFog== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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"; +};