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 28B27C4332F for ; Wed, 14 Dec 2022 17:56:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6379C854F5; Wed, 14 Dec 2022 18:53:02 +0100 (CET) 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.20210112.gappssmtp.com header.i=@edgeble-ai.20210112.gappssmtp.com header.b="ThpYB0CU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 30763854B1; Wed, 14 Dec 2022 18:52:35 +0100 (CET) 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 8DE5A85490 for ; Wed, 14 Dec 2022 18:52:30 +0100 (CET) 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 d3so4100556plr.10 for ; Wed, 14 Dec 2022 09:52:30 -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=mh4gNkjThrmmiqkoGj2jZbBEi8Y8ht7MRHQ5KL54Htg=; b=ThpYB0CUTzyvFlRfERU17b1o8WyPygCwyAbT2bfihuNGe6fbQjrN93Xk1kt3b2CfNH iEuYR9dtkBxpsMBgJ7tpXWxTz50nuWqqxpbkt1fhlZ16y3M/xja1d/AClkKcKdx3UNAs WGlWqtu6niMCV4G/Vpt3KMkGfoyTbml5TyRi5huFd+A1C6CZKjY/eLpqx0USszM0Lzc7 e6P3+WVi/TnpyAiYWk0+tqHgZ85+snZPI0Lonpxrw/77XiivUZUpLLNlERayDG5S3KZ7 wn/6xF7uNAGT7qWc5wx8BPj8oKQVid2qIdZJ/QW5oFL0wFm5thu0MUOlIQgUgbaZSCmD H2wg== 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=mh4gNkjThrmmiqkoGj2jZbBEi8Y8ht7MRHQ5KL54Htg=; b=3FMLjTNPOfo7rBsmVjVDzkTdNT8rxkdSygDSEAuvJu2GV0PHDbLhp4/+CTnTw7Rngu drVRVtI2k4kZOtjLrWH/H/8piTJ9VxapxdYQDvTMRCFs4phP3JDD3+BVH9Mq1Ey+JySR yLiLONqYh9tXnP99a+W8J72KAA8O5K6cIgM0Y7knjLfMbJ9LJB7Itp0nF8ufPSornhsS hDy6KD72/Z1ycfo8yTRyXUr2tN7tJJEMvB461+x3ghAf4srz19gaNn/893G/6KjH201a bVZQt2vanrvEGQLR9QFeFPPNbeAkVv27IsddR5aJfJ5MP1pItO4LKA6YQdiknRXJB/rC rnYg== X-Gm-Message-State: ANoB5pkCOkERwf8ys+86APXTsemyPMlVTGlUA8D8asojmbEMc6HaAScY Ur29ra3b8ZX4JOt/EGUy3FeGrQ== X-Google-Smtp-Source: AA0mqf4c13wuj29ClIWRJjcbWAxd75FQGrxQUR2pLcVRwWXlJukqMKC6xXuTxWbq74mTHLXEKfVG7w== X-Received: by 2002:a17:902:7441:b0:189:80d1:9d19 with SMTP id e1-20020a170902744100b0018980d19d19mr30377766plt.26.1671040350056; Wed, 14 Dec 2022 09:52:30 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:5e03:faf:846e:352d]) by smtp.gmail.com with ESMTPSA id c8-20020a170903234800b00186748fe6ccsm2149442plh.214.2022.12.14.09.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 09:52:29 -0800 (PST) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v4 23/25] ARM: dts: rockchip: rv1126: Add Edgeble Neural Compute Module 2(Neu2) IO Date: Wed, 14 Dec 2022 23:21:09 +0530 Message-Id: <20221214175111.477134-24-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221214175111.477134-1-jagan@edgeble.ai> References: <20221214175111.477134-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.6 at phobos.denx.de X-Virus-Status: Clean Neural Compute Module 2(Neu2) IO board is an industrial form factor evaluation board from Edgeble AI. General features: - microSD slot - MIPI DSI connector - 2x USB Host - 1x USB OTG - Ethernet - mini PCIe - Onboard PoE - RS485, RS232, CAN - Micro Phone array - Speaker - RTC battery slot - 40-pin expansion Neu2 needs to mount on top of this IO board in order to create complete Edgeble Neural Compute Module 2(Neu2) IO platform. Add support for it. Signed-off-by: Jagan Teki --- Changes for v4: - pick changes from linux Changes for v3: - rebase on linux Changes for v2: - none arch/arm/dts/Makefile | 3 ++ arch/arm/dts/rv1126-edgeble-neu2-io.dts | 42 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 arch/arm/dts/rv1126-edgeble-neu2-io.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 43951a7731..a0ea23113c 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -170,6 +170,9 @@ dtb-$(CONFIG_ROCKCHIP_RV1108) += \ rv1108-elgin-r1.dtb \ rv1108-evb.dtb +dtb-$(CONFIG_ROCKCHIP_RV1126) += \ + rv1126-edgeble-neu2-io.dtb + dtb-$(CONFIG_ARCH_S5P4418) += \ s5p4418-nanopi2.dtb diff --git a/arch/arm/dts/rv1126-edgeble-neu2-io.dts b/arch/arm/dts/rv1126-edgeble-neu2-io.dts new file mode 100644 index 0000000000..dded0a12f0 --- /dev/null +++ b/arch/arm/dts/rv1126-edgeble-neu2-io.dts @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Rockchip Electronics Co., Ltd. + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. + */ + +/dts-v1/; +#include "rv1126.dtsi" +#include "rv1126-edgeble-neu2.dtsi" + +/ { + model = "Edgeble Neu2 IO Board"; + compatible = "edgeble,neural-compute-module-2-io", + "edgeble,neural-compute-module-2", "rockchip,rv1126"; + + aliases { + serial2 = &uart2; + }; + + chosen { + stdout-path = "serial2:1500000n8"; + }; +}; + +&sdmmc { + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + card-detect-delay = <200>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_bus4 &sdmmc0_det>; + rockchip,default-sample-phase = <90>; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr104; + vqmmc-supply = <&vccio_sd>; + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; -- 2.25.1