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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BE55CC7EE23 for ; Sun, 11 Jun 2023 06:58:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9E2B28619C; Sun, 11 Jun 2023 08:57:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=edgeble-ai.20221208.gappssmtp.com header.i=@edgeble-ai.20221208.gappssmtp.com header.b="Woojy3px"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BD6EF86168; Sun, 11 Jun 2023 08:57:45 +0200 (CEST) Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E315F8468B for ; Sun, 11 Jun 2023 08:57:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=jagan@edgeble.ai Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1b038064d97so16029565ad.0 for ; Sat, 10 Jun 2023 23:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1686466661; x=1689058661; 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=Ye5DSZw/jBQFtChguO7s8uEWf8fnfgq/2gub5Up8Z5o=; b=Woojy3px4hhRBOL2Nd+63Lg96GxzkSM34DKQgAuqvmVhzI0AIH7un1RmAF+aw/sXXB nRQO6HtpwtBW+zaPRJCdGiY/JXGmPZvosAQysmmebcyQfeCVYfEz+BDdxrGs2GcTmA1y 4ZQPLQitASlRKk5CU7ppJj0chdga6a1XEQhF3PzcSv6ZPDwZkB0SuzjPlhV2NueE6s0Y be9tXs6asLzeIC0Z5R0gylrrL76fW6XwoCLdE4H9hfW5qHprSjozqOSL7q+vGrqHQy6o 5BYn+PyfWUIsYmes6YcU2WBLbk/MvOHv+QJxFjqyGDiCVhkvNIsbpCKiEEAa6Xihq70x Mb5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686466661; x=1689058661; 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=Ye5DSZw/jBQFtChguO7s8uEWf8fnfgq/2gub5Up8Z5o=; b=RO5AHDb0EywhSsFkgIUoqnT06miJKbIN0ptqNrXCBg/lvvZAi9t2m/jh90DBUeIAuI cnsmC2ZLoOaTa1PXvLPEVMBoIl8WKoo5yyw/fDVH5Z8bDj5Hfjc4T5IqnsqQhVZrC2jd QxlkAhdb8u5StYCZnsvbvRWsMAvxEzKCpTm9rb36px/7ZsP83lJo/dxZFcz7j1gSOokJ BrH//psvpOb0FCOsz+WxBBa0ZfMZqkNJGMjsF87aGmMIlwDdxwTC/ng4t8syc6Ufzmwg SranJDn6DIprZ16CPi5JY+ydgQzhtIiVA532ChKAOya6WWHuyHr99pBvDEgzTuIALe7j 9n1Q== X-Gm-Message-State: AC+VfDzcDgl0whrnwv1Jbv/l6rHbzWMGpHKMKXNNF8s6eYed3tsF+zz6 C0PnjV1T6taIGYIj1P9ZykwKWeKNProuoKvo2MxRvfI21sk= X-Google-Smtp-Source: ACHHUZ7ZwKij2Px9w5jGYmrpC+TodqcJRNmCX+NgqLX2dwY+1xb92SPEjZSCidMVCsfEcdQ+MeMbiw== X-Received: by 2002:a17:903:11c3:b0:1b0:42fb:19e6 with SMTP id q3-20020a17090311c300b001b042fb19e6mr3557209plh.6.1686466661331; Sat, 10 Jun 2023 23:57:41 -0700 (PDT) Received: from localhost.localdomain ([120.233.194.110]) by smtp.gmail.com with ESMTPSA id az5-20020a170902a58500b001b034faf49csm4437777plb.285.2023.06.10.23.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 23:57:41 -0700 (PDT) From: Jagan Teki To: Kever Yang Cc: Simon Glass , Philipp Tomsich , u-boot@lists.denx.de, Jagan Teki Subject: [PATCH 4/5] arm64: dts: rockchip: Add rk3588 Edgeble Neu6B Date: Sun, 11 Jun 2023 12:27:12 +0530 Message-Id: <20230611065713.33479-4-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230611065713.33479-1-jagan@edgeble.ai> References: <20230611065713.33479-1-jagan@edgeble.ai> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Neural Compute Module 6B(Neu6B) is a 96boards SoM-CB compute module based on Rockchip RK3588J from Edgeble AI. General features: - Rockchip RK3588J - up to 32GB LPDDR4x - up to 128GB eMMC - 2x MIPI CSI2 FPC - On module WiFi6/BT Neural Compute Module 6B(Neu6B) IO board is an industrial form factor ready-to-use IO board from Edgeble AI. General features: - microSD slot - 1x HDMI Out - 1x HDMI In - 2x DP - 1x eDP - 2x MIPI DSI connector - 4x MIPI CSI2 connector - 2x USB Host - 2x USB 3.0 OTG/Host - 1x SATA - 1x 2.5Gbps Ethernet - 1x M.2 B-Key for 4G/5G cards - 1x M.2 M-Key slot - 1x Onboard PoE - 1x RS485, RS232, CAN - 1x Audio, MIC port - RTC battery slot - 40-pin GPIO expansion Neu6B needs to mount on top of this IO board in order to create a complete Edgeble Neural Compute Module 6B(Neu6B) IO platform. Kernel commits: commit <5f06c3f508f7> ("arm64: dts: rockchip: Add rk3588 Edgeble Neu6 Model B SoM") commit <3a9181a43b94> ("arm64: dts: rockchip: Add rk3588 Edgeble Neu6 Model B IO") Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3588-edgeble-neu6b-io.dts | 27 ++++++++++++++++++++ arch/arm/dts/rk3588-edgeble-neu6b.dtsi | 32 ++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 arch/arm/dts/rk3588-edgeble-neu6b-io.dts create mode 100644 arch/arm/dts/rk3588-edgeble-neu6b.dtsi diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 480269fa60..145e14eae9 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -173,6 +173,7 @@ dtb-$(CONFIG_ROCKCHIP_RK3568) += \ dtb-$(CONFIG_ROCKCHIP_RK3588) += \ rk3588-edgeble-neu6a-io.dtb \ + rk3588-edgeble-neu6b-io.dtb \ rk3588-evb1-v10.dtb \ rk3588-rock-5b.dtb diff --git a/arch/arm/dts/rk3588-edgeble-neu6b-io.dts b/arch/arm/dts/rk3588-edgeble-neu6b-io.dts new file mode 100644 index 0000000000..e9d5a8bab5 --- /dev/null +++ b/arch/arm/dts/rk3588-edgeble-neu6b-io.dts @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. + */ + +/dts-v1/; +#include "rk3588j.dtsi" +#include "rk3588-edgeble-neu6b.dtsi" + +/ { + model = "Edgeble Neu6B IO Board"; + compatible = "edgeble,neural-compute-module-6b-io", + "edgeble,neural-compute-module-6b", "rockchip,rk3588"; + + aliases { + serial2 = &uart2; + }; + + chosen { + stdout-path = "serial2:1500000n8"; + }; +}; + +&uart2 { + pinctrl-0 = <&uart2m0_xfer>; + status = "okay"; +}; diff --git a/arch/arm/dts/rk3588-edgeble-neu6b.dtsi b/arch/arm/dts/rk3588-edgeble-neu6b.dtsi new file mode 100644 index 0000000000..1c5bcf1280 --- /dev/null +++ b/arch/arm/dts/rk3588-edgeble-neu6b.dtsi @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. + */ + +/ { + compatible = "edgeble,neural-compute-module-6b", "rockchip,rk3588"; + + aliases { + mmc0 = &sdhci; + }; + + vcc12v_dcin: vcc12v-dcin-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; +}; + +&sdhci { + bus-width = <8>; + no-sdio; + no-sd; + non-removable; + max-frequency = <200000000>; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + status = "okay"; +}; -- 2.25.1