From patchwork Tue Jan 10 13:46:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13095185 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 07D8FC54EBC for ; Tue, 10 Jan 2023 13:49:03 +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-Transfer-Encoding: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-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=O4boQc0ByA+SZI0bywTw0zP9BAiwfEWAhGZeTSV7sTk=; b=fYacDwd9JbJxXb /W4IlHP+VQ6w5+m3EjLoacZowbLvVHOeO+GIuZ4S+ga05OFAAvVODz8x/ymM13FWjxXYmDDkp9Ua3 MKu8sQXsb63H68pkwJQXo4fppUSsvAcS/i/Xn9w5+T7Yc7uyC46INida5DCRN65akAtApF2WdIJJZ 2CJ/x3WqLY6btkKKdncPejwKqq0qtdWCbjXF2VQZC+Usd3XNZkfLZC34OFNPKxAzKBCqkF/lLTgI4 SQXxq01Yf3HtQgQsMTNPOxEgFfM/HHumCzMigqfopcf7vxjmYyXVKRuoNnpQNny0w7sI8cnM5FgFQ aqG/QHWbBobo1OxFry3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFEyl-00771g-Cd; Tue, 10 Jan 2023 13:47:51 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFEyX-0076wW-AE for linux-arm-kernel@lists.infradead.org; Tue, 10 Jan 2023 13:47:39 +0000 Received: by mail-pg1-x531.google.com with SMTP id d10so8229448pgm.13 for ; Tue, 10 Jan 2023 05:47:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sapLDHQ/MX6BiGPSkSOeo78dMp+HFK8St+B4rAG5HPk=; b=vJ79zekMMVT4CE5xTl2AAshZA4WxKLI0A2tgllZSygFeqiTlbNw3J0zQMLeHo+fuVm oKtMvo7NLr+I+Sk7b3E5aO+VFeZcwgiwgPJhD9ErPTyxMfJCLmWgXz/08XY0iBqtPk7h rixpENn1/gCeKEaeeGAWq7uJrQB0uxYhZlf8uLrCoUF4P49X5ggUPca/tMXxjAapew2P u20zUlS987YDZO2A/onjB/9HslTWwVxfB7egv9v2BEvcKMbBGwZzvKlh9B0WQcxcliwi gQH5nnIxXcrIZv6T4S3tTVD/w2Ps66p9XNguPW5oCKNrv62bEFwnTppKtJy5fVplKV92 PXWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sapLDHQ/MX6BiGPSkSOeo78dMp+HFK8St+B4rAG5HPk=; b=M9kYDvrcDCiC3x7Xz6By3MIq+ofxS1pCFNhMZSuxKkrRLGpm+5/ZMEYepS8zaQHEks c83cx7WVuo1iE0w/l8RTSHZ5xPEOHf2T7ix9A5XUXPRlyjnYZODoeQUKGqdXE6SsTc1/ DhUF6nY4YECT8WzBHEezzAjUYOKf8xvCXkMr1/UgdBCd/TFQyMLHkQQmn8E/N6oiKPlX AoBzMSydWryHtKPVOq3dq3T1uTCMoM4Ofy3GI53uIP8MPsKKepzULL5hJ5Ej2ZG4yO4n grejim8CM7SeAUbVqaiPB8LwTBztORS+Bfz30VYWE+IvmMg79Lka/0pX0EbBWme50JBV RrMA== X-Gm-Message-State: AFqh2kpPEwlG7kjqoPWnNbt3W1nGXvdxDCtrCSe4n/XnNyV5sfEYt53A /uv/iyINlyy0/LxSavFi5vfMNw== X-Google-Smtp-Source: AMrXdXtCea+6eZ+uKc7ZT0gY8hA0d4bl6uqeDBBSXH0NpobynJWCtEln/YVIeu6rsnNK6g0LNHrMvA== X-Received: by 2002:a05:6a00:4212:b0:583:fb14:ddc1 with SMTP id cd18-20020a056a00421200b00583fb14ddc1mr15035537pfb.17.1673358454373; Tue, 10 Jan 2023 05:47:34 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a15f:d32:8399:ca6f:14d7]) by smtp.gmail.com with ESMTPSA id y12-20020a62640c000000b005819313269csm8077426pfb.124.2023.01.10.05.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 05:47:34 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Sebastian Reichel Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jagan Teki Subject: [PATCH 3/3] arm64: dts: rockchip: rk3588: Add Edgeble Neu6 Model A IO Date: Tue, 10 Jan 2023 19:16:58 +0530 Message-Id: <20230110134658.820691-3-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230110134658.820691-1-jagan@edgeble.ai> References: <20230110134658.820691-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_054737_364750_64A990F5 X-CRM114-Status: GOOD ( 17.04 ) 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 Neural Compute Module 6(Neu6) IO board is an industrial form factor ready-to-use IO board from Edgeble AI. IO board offers plenty of peripherals and connectivity options and this patch enables basic eMMC and UART which is enough to successfully boot Linux. Neu6 needs to mount on top of this IO board in order to create a complete Edgeble Neural Compute Module 6(Neu6) IO platform. Add support for Edgeble Neu6 Model A IO Board. Signed-off-by: Jagan Teki --- Note: Patches on top of https://www.spinics.net/lists/kernel/msg4644731.html arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588-edgeble-neu6a-io.dts | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 2de9a727183e..ff5861530dd7 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -83,6 +83,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-odroid-m1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-radxa-e25.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3a.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6a-io.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-evb1-v10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts new file mode 100644 index 000000000000..b51543892078 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. + */ + +/dts-v1/; +#include "rk3588.dtsi" +#include "rk3588-edgeble-neu6a.dtsi" + +/ { + model = "Edgeble Neu6A IO Board"; + compatible = "edgeble,neural-compute-module-6a-io", + "edgeble,neural-compute-module-6a", "rockchip,rk3588"; + + aliases { + serial2 = &uart2; + }; + + chosen { + stdout-path = "serial2:1500000n8"; + }; +}; + +&uart2 { + pinctrl-0 = <&uart2m0_xfer>; + status = "okay"; +};