From patchwork Wed Aug 3 17:54:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12935839 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 7A9DDC19F28 for ; Wed, 3 Aug 2022 17:59: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: 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=jsiWGG+QGWtFmwUcFj5iGhanU9DuVl1t9s+atlO2ybk=; b=L2A6YNfXoBhphjgCNYFt2AYI9m 1F0oF1l/4myciBOgNo8M371ouUPpatjIyM/3sLzG5QUkLAbvxwvStjrebr9BX/fDkZ+BOSecplsz6 xn6UzVHyqujtrFLaMDfozofST+PwkPqU7Wwu5F5iVRx48EcyQRMi/y7J1ywuRIMYx7XYLxZEPwEAZ noGJ1Lu2ey+qIKfYjQC7EcNubZ+V9LuoKlrFPa2zxUm5bDfscyyS184A8hMBNXJFapjwA12+pgfCT ncJ+ir9zetZQY8pOfsLG2qMdUn97SJBFEInyDv3H4ftbrtnXURrCFC/GcQnRex+i8DWGRnhbJqqqz hR5MBRNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oJIdU-0089A3-Ei; Wed, 03 Aug 2022 17:58:25 +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 1oJIcJ-00887l-IF for linux-arm-kernel@lists.infradead.org; Wed, 03 Aug 2022 17:57:13 +0000 Received: by mail-pf1-x435.google.com with SMTP id 130so9311976pfv.13 for ; Wed, 03 Aug 2022 10:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc; bh=5Es5pvhrp5zW2qLSwCSzyMBqmoFFPyJZwZgpJbAnfYc=; b=fS8EKNRdjUB2lTuyNNuVPM/lkixQXqOfCEzUR3iutYknRCgMO4Z6u76Ku4g9h++PFI q+WX1zr1IQAOv+mm6h/RoqEyJ3SjcYEkgNcJjSo4B0+Ig+oq5KR62swcedHsLFNyqeRJ 5u/DlgRiYqgdvEFCI6/M5FPT10cN7seUjxkDU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=5Es5pvhrp5zW2qLSwCSzyMBqmoFFPyJZwZgpJbAnfYc=; b=h9euaT6nfdB4jra0iqm17jKYQ9msQ8XOuo/p1MYbKGw1+3f08KIKqCPajj5RkvAK5T wLqlth/ZJgJ2CMaiiBiU4TUekTAWKMXVzHsbxQiqiTWkfe2caXIed8bSiGU9wPOxMoO4 1s3cR4BwgMXiwFbpntAztIqJRP1Ybd/zXrS6QI6Gbn6z0QSTxDUlY9BgNYXt+LlZPA1w gbQep5q9tbfoQ5uW45Lk4jgASiNiCi0+uq576JHpkOAD7ogHXO9G+z1oH8ZvhpdKxOUT 6YVJkL0NzBAxrwIwg9gW0MRRD/0xZrpS3CPNpKUG8m9yAs6spBEXqtAvPaLzb6aie7qo VUzQ== X-Gm-Message-State: AJIora8uauvS4wzmu7+Qj0WskZ4T3YOvcOIofqbqfhNOdH4p/DJhjc1X qH9f6M1UojXafBbl8cM+2vMVz1B900ukx+GyIrDgTrsv2ibFUIl0EaNaV9fFwioCth5DnB2WK6X UNHkCzM5hWr3iHeIFjwa4IjHY88TnIdXFErEHCRXl/e/pf01jHflyCzCPNrWMwEp58xSWu+zDXy zt/BPruB5JYUuZZhRLWqQ= X-Google-Smtp-Source: AGRyM1ttAkD51uy7udVHrkYNmu8LuQVeD3Cp0JAwHHCYzdZb4LBesdrnbPUyughYJw3cKaqDbZjdrQ== X-Received: by 2002:a05:6a00:a8b:b0:4cd:6030:4df3 with SMTP id b11-20020a056a000a8b00b004cd60304df3mr26613409pfl.40.1659549412296; Wed, 03 Aug 2022 10:56:52 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id iw4-20020a170903044400b0016d150c6c6dsm2238639plb.45.2022.08.03.10.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 10:56:51 -0700 (PDT) From: William Zhang To: Linux ARM List Cc: Broadcom Kernel List , joel.peshkin@broadcom.com, dan.beygelman@broadcom.com, f.fainelli@gmail.com, krzysztof.kozlowski@linaro.org, rafal@milecki.pl, William Zhang , Anand Gore , Krzysztof Kozlowski , Kursad Oney , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 5/9] arm64: dts: Add BCM4908 generic board dts Date: Wed, 3 Aug 2022 10:54:51 -0700 Message-Id: <20220803175455.47638-6-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220803175455.47638-1-william.zhang@broadcom.com> References: <20220803175455.47638-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-20220803_105711_699969_1D3A8003 X-CRM114-Status: GOOD ( 17.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: , 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 --- (no changes since v2) 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"; +};