From patchwork Wed Jul 27 17:40:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1661385 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=edgeble-ai.20210112.gappssmtp.com header.i=@edgeble-ai.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=6FSmdxAn; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LtMjw4M95z9s2R for ; Thu, 28 Jul 2022 04:28:52 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C10E384486; Wed, 27 Jul 2022 20:24:30 +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.20210112.gappssmtp.com header.i=@edgeble-ai.20210112.gappssmtp.com header.b="6FSmdxAn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 442A48341C; Wed, 27 Jul 2022 19:42:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (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 C4F83817E6 for ; Wed, 27 Jul 2022 19:42:02 +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-x634.google.com with SMTP id z19so426121plb.1 for ; Wed, 27 Jul 2022 10:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pKb4iNl6Szp2S4P+EgNyIZFsuZC3Gvyx26efZJ7Icsg=; b=6FSmdxAnDsr4u1mjI5K9YqLBU+5aj5Epmq/OyDX9Bbv2vUNmynh+U/GW51h+seotHK 9XRowdd/SGGxBkfMH7q3hVCKJDirspdBVDn2UaI6sDutLXYKfxowadopwEy+4fPEPnEE oFFxXLh3+35r9BB2mNSeLrzlb6Tg2F4JPcBSyM5lOpgdwSltfYiNnEe22KfUlSmFvZ7k XDiso/YiiRb1/S1LZflDzZSftUgvehh19P/BiGoupQeHpLE3Cp2HAOCBx/8OWp76LNmd wrqvqPFvoZ/2MdVAvZT6hEXst/cF9hJl4TPbEJui85IsOAu2jjCxIWhL6m/itrjkYZzD VePQ== 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:content-transfer-encoding; bh=pKb4iNl6Szp2S4P+EgNyIZFsuZC3Gvyx26efZJ7Icsg=; b=U+Y/onz/+qYszt7D/jgZJlsJr2eTYrOXH8xOQumdPs4D9NV7OGCw78y9WHkctX3V3X vChTh5N7Lx7FSoYlsWWilIxMQxfjbTWD9ltPdLqPhnmTzp7p5cwyyu0Ppw05eOrPip3o RVomffujot4zKu9E3OiBMMUxiUpdfCqNyCTSHt97h55lJVWp9Fh26EVlmDkc1+LyPUpr fy07ZG3XKwGSKLiI/BjJ/ZS5zZi+rR1LM0zd6Ofx0jS2BPvHvB7tMMWNqhqrJqiXH1rH bo6sVAGj07TcCBZHBLk1Sz87bIpk1vkWXQw2Uu/MyDalvDB09gZay5gVdN8W6HrkqeYp CC/w== X-Gm-Message-State: AJIora+3IKJfFVe7O7UPNoCXrwvdDZgosL8hfGvuot3zp+v/2v5Icwxe iWB97o+N/qGrdYcqWZh73y3d5A== X-Google-Smtp-Source: AGRyM1uLd0U8YL04Mp+W+ni83Dr08CpUD+ixIavOm/pQw//AIrt5wHT4fIriZIPKMC7ZWFwKXzjAnw== X-Received: by 2002:a17:90b:4a4d:b0:1f2:5211:e8d6 with SMTP id lb13-20020a17090b4a4d00b001f25211e8d6mr5769619pjb.96.1658943722249; Wed, 27 Jul 2022 10:42:02 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:7b77:efa3:a08f:c6d8]) by smtp.gmail.com with ESMTPSA id d4-20020a621d04000000b00528c8ed356dsm14492958pfd.96.2022.07.27.10.42.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 10:42:02 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: u-boot@lists.denx.de, Jagan Teki Subject: [PATCH 26/28] ARM: dts: rockchip: rv1126: Add Edgeble AI Edge Compute Module 0 Carrier Date: Wed, 27 Jul 2022 23:10:48 +0530 Message-Id: <20220727174050.2214617-27-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220727174050.2214617-1-jagan@edgeble.ai> References: <20220727174050.2214617-1-jagan@edgeble.ai> MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 27 Jul 2022 20:23:40 +0200 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 Edge Compute Module 0 Carrier is an industrial form factor evaluation board from Edgeble AI. General features: - microSD slot - 2x MIPI CSI2 connectors - 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 Edge Compute Module 0 needs to mount on top of this Carrier board for creating Edge Compute Module 0 Carrier platform. Add support for it. Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 3 ++ arch/arm/dts/rv1126-edgeble-ecm0-carrier.dts | 38 ++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 arch/arm/dts/rv1126-edgeble-ecm0-carrier.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 7fa275ea7c..2070eb1540 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-ecm0-carrier.dtb + dtb-$(CONFIG_ARCH_S5P4418) += \ s5p4418-nanopi2.dtb diff --git a/arch/arm/dts/rv1126-edgeble-ecm0-carrier.dts b/arch/arm/dts/rv1126-edgeble-ecm0-carrier.dts new file mode 100644 index 0000000000..150bfb9bd0 --- /dev/null +++ b/arch/arm/dts/rv1126-edgeble-ecm0-carrier.dts @@ -0,0 +1,38 @@ +// 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-edge-compute-module-0.dtsi" + +/ { + model = "Edgeble AI Edge Compute Module 0 Carrier board"; + compatible = "edgeble,edge-compute-module-0-carrier", + "edgeble,edge-compute-module-0", "rockchip,rv1126"; + + 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"; +};