From patchwork Tue Nov 8 04:13:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035812 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 134F2C4332F for ; Tue, 8 Nov 2022 04:14:47 +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=W3l5gEElIpUiyhPefz+u1vvUcK9NBVd01xBs9U72Upw=; b=F5sDYDOMK6tRTK BIYTV1+p0bOqADj3ErdKcllrH7NnodPZ3D1hUNKncRVgi9LgptvPHq9dhSwCoKoGrt25U11PIJ76V izBZJPxojUk92orL00xTfNYOEEqe6RzVFZwGrP68oEPiKGjOcDQzjG4IGpkJ64Q4NsV80s2rGZxxE b9T07ZJMZQNVGsFJx0gC02K/UHMbYd3ALYEWw/ZuThxuB6Rzn/Rbgf+V8iQq81zGaS9sXpaDv9AFd g1L6gM0tj/ko6IR1x8Gl+iH+o0xFAFwUCu9Wz84u7j9DTg5q1GudGuZohN/IfZxGJuDrBVbbQMlxz sX3+1QUwE+49DS6N56KA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0T-002aIE-CQ; Tue, 08 Nov 2022 04:14:37 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0J-002aEx-8n for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:14:28 +0000 Received: by mail-pf1-x436.google.com with SMTP id z26so12743685pff.1 for ; Mon, 07 Nov 2022 20:14:26 -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=WggUs9c+nJlbaHOwoUyw7DZEi+csMErKOjBTJLuhk70=; b=Wbqhv6rx/8pJzGBEGWt+NVMuhgd9hwDIn9lmujR7SXLyowfQKmjDVy2gTB5jGT7EuZ Zc3uYgySTk5DtvF0TVUUdAD1Xle+MLGqUjMbo6GVJH7ahQufmW9xKo2oR7TH8xhetiZC 74d0EXsKmaGO1JCb1+KrhnwGK22LBgy0rDYNThwd/hob10AmqmK0zqM2AnOIlhnj67t5 xngP9bGIOl2oN4pPEQoQOJzee3HWVxmoJ0leL8ovYLUBinWh88du4+ZsnKIRA0XqNxoh hRt91EVgm80LM8kT7ORVCwa1FrXi4rKYFHWpxVj9mMBHKJ7Rt/UWm5AhnCBGTh/jlkn6 FnmQ== 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=WggUs9c+nJlbaHOwoUyw7DZEi+csMErKOjBTJLuhk70=; b=B7uBxbv30kPVsE59r/92nIGjVO03v+CV+qGAcO4NW1LFC1/1/0EpD+BTH6djAivwC4 tiMi475Ow4VXP5xNHIwa0XT7I4CJPFdqM3WPQ99VlJP77ANM7O04MZ+KGwvNZtBnTlGR e/vPZak12wu79mPjI2e5zSX6jB9mesxJ649yiqyu0KnsJmlfHeTwdJlMN1E4ya6DoVcc 3GcVjikLAUoEPm5VYqrQLyUcGOU8tdzY8S7Ly+QPvVPAgM1/hszXI0k52i5fNYZccsKo j44pionwdRyA531cHa7f5yWGYUb/qrFlotAotj6SWMVNS1At70h8Mci6q2MGckHPleLc 8+ow== X-Gm-Message-State: ACrzQf2XDeA5hY/wTkvoAXJmNIJ/nF1gJmGP1pDIept0ExVjVbRleHgT veALhxfb7rnbFvsYFrxZ/c8+Iw== X-Google-Smtp-Source: AMsMyM7dNxNHQy7mYucy/S/24wFdnyyf7hzLAY4tQqP2mJ8i/FMeWyowgHMPefe3h6lJv4tY+Q3Zsw== X-Received: by 2002:a62:174a:0:b0:56b:9fc2:4ebd with SMTP id 71-20020a62174a000000b0056b9fc24ebdmr37482673pfx.21.1667880866254; Mon, 07 Nov 2022 20:14:26 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:14:26 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki Subject: [PATCH v7 01/10] dt-bindings: arm: rockchip: Add pmu compatible for rv1126 Date: Tue, 8 Nov 2022 09:43:51 +0530 Message-Id: <20221108041400.157052-2-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201427_326505_9252B6E9 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add PMU compatible string for rockchip rv1126. Signed-off-by: Jagan Teki Acked-by: Krzysztof Kozlowski --- Changes for v7: - new patch Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml index 8c73bc7f4009..b79c81cd9f0e 100644 --- a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml @@ -27,6 +27,7 @@ select: - rockchip,rk3399-pmu - rockchip,rk3568-pmu - rockchip,rk3588-pmu + - rockchip,rv1126-pmu required: - compatible @@ -43,6 +44,7 @@ properties: - rockchip,rk3399-pmu - rockchip,rk3568-pmu - rockchip,rk3588-pmu + - rockchip,rv1126-pmu - const: syscon - const: simple-mfd From patchwork Tue Nov 8 04:13:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035814 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 746B9C433FE for ; Tue, 8 Nov 2022 04:15:14 +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=A2NlhN4a8tYnTPG1ZNt8A7/+wpLWOEy+sbIrda3cyAU=; b=T34r3bkqf1+YDn dR8MyxEIz8EpMexQRL5w836impDpC9u0ZF4OHF3lFZJ5WRwc3yr/RBHNvuUHAZmPDNivrPRTRjhDG efmRUHN0ln17j0e7jFC3j7bgAkdYBTPRS5cbVESkYbIwI/GcfBNv4BXvwW0mXgkBd2S4xlcjUQ0fk uxl4ntpLdu6aIElN3Z5kWQ4YMbhHLneAiCadPFIJ4kUcmOdj78/GudBnBfY5me4YIndEbTvufa3u6 eAok+TQGyfsH/Ovob3kzksr0Xl6OIg6ozdjuWAAxmaJpH78VyOhbFfyphgcX41kYEsUZ1sdD+wD11 CuQDxjLjB5AVpMK7/yYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0n-002aR9-Bo; Tue, 08 Nov 2022 04:14:57 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0S-002aH4-Dp for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:14:37 +0000 Received: by mail-pg1-x52f.google.com with SMTP id 78so12328431pgb.13 for ; Mon, 07 Nov 2022 20:14:35 -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=KvVKBdD+O5vHgZ+WUSF5TR185G5cSVikAYO7GBsOUyc=; b=Q8jmaePBVTwlbLFxwaxJK2Eyh7lMIse91drNfCwWtWfseBIbUofCImwGWuSQWdWOgL KeSXzrYMZ2aPQlFwM0JpspT7ruyJ4ykJQUq3aFnFjDQm0iHC7Zo4veWiWKrS/pBL9fCe huOf2aU1YuTImJYADUJFvUOA5b+pEj9Rsqp5KB5oA+kT67qdBWfh76c2UZc/FW7oVBlH HaCTpYWCYvWBvpY3dnVncb1CieLXHKIyfwlPJNmhyEJ47JagONqNSgiZ6pAIE+EkO3s+ c2ACVwEyQyhTI/Z4HQ6al2f4CYUds1oXWF08XmFFNwFeoaWTjy6x+F88aq8lRaglFS6A kl4Q== 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=KvVKBdD+O5vHgZ+WUSF5TR185G5cSVikAYO7GBsOUyc=; b=s4F2OW5pSslKPjzXdPRAeZFTZo3wwMbeIhKQ4uSRWw/MJeHnJZWbvc/PyCdA7K9VcK a52YzUX14zzQBcktEfYoKMiGlmOyfynm1qWVhbFxgqKSRRIVJfmnZYFR7lBkG5sRbjXy 7GtD2emzHeEPwpizR07wkQQM/6JsWKuwEB/S7rNQkVSwBEnPUy6wEhsvkXmBNB9odXTl c3P0L4qaDuxekSi3VS79BY5YRP/k8E5mSKzmrD/Wfc42lCcFYKd8VkcaaH37Hz2Tjb76 kjNcd4Xjy8yZqLMHOfgmWtJrFr6BzrBA8G0YzGOyegSTq6ThFcdEBc56DdyS01J7IM28 3g+A== X-Gm-Message-State: ACrzQf3aLEL+WzOHVcMoPcfmwabEXlfvVsbVuWyFtCapQwY8ZuWXq9Pt BIPrepa8NAvF0lF80XcXV2KR1Q== X-Google-Smtp-Source: AMsMyM6wsYcCCVpobtd0f0K57c6DyDwurbZLCHjPx7BRWoNlRXbMXPqq13o+JkUY8ua1OJZvF6IKTA== X-Received: by 2002:a63:fd4f:0:b0:45f:d7ef:9f94 with SMTP id m15-20020a63fd4f000000b0045fd7ef9f94mr47171172pgj.137.1667880874769; Mon, 07 Nov 2022 20:14:34 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:14:34 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki , linux-mmc@vger.kernel.org, Ulf Hansson Subject: [PATCH v7 02/10] dt-bindings: mmc: rockchip-dw-mshc: Add power-domains property Date: Tue, 8 Nov 2022 09:43:52 +0530 Message-Id: <20221108041400.157052-3-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201436_478956_1A757EC1 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Document power-domains property in rockchip dw controller. RV1126 is using eMMC and SDIO power domains but SDMMC is not. Cc: linux-mmc@vger.kernel.org Cc: Ulf Hansson Signed-off-by: Jagan Teki Acked-by: Krzysztof Kozlowski --- Changes for v7: - new patch Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml index 95f59a5e3576..c7e14b7dba9e 100644 --- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml @@ -71,6 +71,9 @@ properties: to control the clock phases, "ciu-sample" is required for tuning high speed modes. + power-domains: + maxItems: 1 + rockchip,default-sample-phase: $ref: /schemas/types.yaml#/definitions/uint32 minimum: 0 From patchwork Tue Nov 8 04:13:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035816 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 0E317C43217 for ; Tue, 8 Nov 2022 04:15:45 +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=3+6p1UTm0lU4ntMKJrTLqZWUFmNPobK/OskbrvzOhdc=; b=e2ldnbzSDFEwjB 9VS8tR96HE+3m/j3koIxaOya5sPfCWGGIOHfAq0hnUV5xQAksdZt7uTcTrEkWrPgKc1W+yMELa0g5 YDEoYyQNOR9VVCxG7Bg+1LSqMSe4LNimvgp4ybxSnDjq9IDc0EY4CI3wRSa2UA8KiS+bcJdZ5XCVp 6agzPRQvnq1m6bNKWMku9QRhyKJihEqiNvPxPmdfZSdB3Gckf4prT5o97GvLaD6+Kf/MfRXpfLiHX tXAHNheFJBPlW2LyXr2xPOLRPxh7k5Ga6g6/NBuSECD1eKaxZk6GUwcFukYmuU0o1Kold5AmXQeWU Lu2f3xRMgbd9ZQemE36A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG1D-002ahJ-6C; Tue, 08 Nov 2022 04:15:23 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0b-002aKx-01 for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:14:46 +0000 Received: by mail-pl1-x62c.google.com with SMTP id b21so13091141plc.9 for ; Mon, 07 Nov 2022 20:14:43 -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=DeXjuqYbv+Cb2PzWLDv8ZdQcHNUBRbHrV9FuI04HiFk=; b=xrvPoM2tveDNMWjBFoOnZxZ9+swsBuT1Qj7K9yL1aecAL25mUzlcdaRunjKd9PsgvH PK6UGjKuUkb6ZbHelumE+CriPl9dIVBYX+BMpHEzIHQDA21UdTN5nAflmQaMn2zBvlwK 4AOsYgqHTyVa1MOu3exEkIbqI82w89Ays+JQUXFZfXSzUk5I1SNfjFg0qFfe6WAobrJ9 WUHyVaOZ4WJv1UU/RwqO4W3NSYT8R3PcwrO7eUiRySJKzfd0nTozZ4CkmwuzcK3ovt7K 75TR3SWzehXXNtHYAAK7rkEVkyiL+ALXWBMSjZbalJOeXvB7rN8jkHKyHSl2YTxPrsGN c6DQ== 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=DeXjuqYbv+Cb2PzWLDv8ZdQcHNUBRbHrV9FuI04HiFk=; b=NPBjxv9YiNMgYUux9UAaijYk3syP5/aIAqj0dxyHypvoHR3CsGb1/GoYT44q7mOOWp oNgGUVS2p3IeLDFRAAykqpV3mX4zA6cNu7csCcfwtSyGMAYDlUT2BRRzgQz+dl1/FCXz sAeD22jQLlXA+AQJ/9pf6jSYAORnhuINJXbkriS9AHp3SxSTs58XhJQZMoSDuhH+VKi8 CcGxl4idwEy3nS5Gi/nRq6hqBrTbriupgpRygcZok3IVyBgfvb0N4LNmEhgbSIsOuf9o Sf70JTuw8XfGpHK3RFGWm12ILgwh9mCc3geaziAOTxjaENxRs611FjrdtAGPqf+1enLv 3Bxw== X-Gm-Message-State: ACrzQf3/ycwrCSxAt05vv9kAqYPkElSTolt+g12rWywp7A6zd4OrAcSv fPdiGghZ1+i9qscBTg6c8IY0AA== X-Google-Smtp-Source: AMsMyM49Cy0rzn7lDtrz7hhhWGHfpSa9jMSze1nNUDTy+W0egtDAsPT0pLjV0pdA5Le49S279Alv2Q== X-Received: by 2002:a17:90a:3c8a:b0:213:8043:4b7f with SMTP id g10-20020a17090a3c8a00b0021380434b7fmr63212085pjc.99.1667880883405; Mon, 07 Nov 2022 20:14:43 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:14:43 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki , linux-iio@vger.kernel.org, Jonathan Cameron Subject: [PATCH v7 03/10] dt-bindings: iio: adc: rockchip-saradc: Add saradc for rv1126 Date: Tue, 8 Nov 2022 09:43:53 +0530 Message-Id: <20221108041400.157052-4-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201445_085372_797116FE X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add saradc compatible string for rockchip rv1126. Cc: linux-iio@vger.kernel.org Cc: Jonathan Cameron Signed-off-by: Jagan Teki Acked-by: Krzysztof Kozlowski --- Changes for v7: - new patch Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml index e512a14e41b4..da50b529c157 100644 --- a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml @@ -22,6 +22,7 @@ properties: - rockchip,rk3328-saradc - rockchip,rk3568-saradc - rockchip,rv1108-saradc + - rockchip,rv1126-saradc - const: rockchip,rk3399-saradc reg: From patchwork Tue Nov 8 04:13:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035815 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 6063CC4332F for ; Tue, 8 Nov 2022 04:15:36 +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=0DDL3RSm0+vTPnpKgqfp3YouRrRyk1Xb3SU4w3k6v3c=; b=A7YcHuYNDDMKOU l877WvirMMJpnuyBytOwwghUm+ALko5uJmYDYt+R2IXIScIzzPKIf/2iUchT/t66CCVUczbZJOnHR P2hIFxOIWYErUBsO6I790TSUB8kwR11E22WoiR+Mc4EIDRZHwez0ZAYhdjJzhZBKpbd5eYB+lDjcf YIvHGujkXIXBT7igvZRJCSNp9VT7oq1HvgJhBcXr+vtL1Uosd8EkjemkmQgCwrPHm1eKNBp2d4OzF gkI/06bVMFtVCtz/KJu812nEEpoFcMm/UeMlQJqz0Y/2wR6yQafJUPBHui31ofXtjdXXQs1RT33nu 1bq77n1m+CpER5TFfalg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG1E-002aiC-Aw; Tue, 08 Nov 2022 04:15:24 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0l-002aPN-6W for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:14:56 +0000 Received: by mail-pg1-x536.google.com with SMTP id 6so4219721pgm.6 for ; Mon, 07 Nov 2022 20:14:54 -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=TB99EEY0Y3TeXE5S6hRL8Vsg8GtXXnj74TlFbr4XijM=; b=elfRSxTLKt6m0KjUPlq9hs9+Xj8mzgCWzAj/vP5boe3WhM0SayXAjYKMEYigPjG/0N jL0JyOmaQnchYpVAJMQZe99YJBVJgq4pEcvVQjY3QfGUBvcHwymlTuO+vH+2CnxgtJMG dvVSBCTanAnORR5uPC1nTOQHVzrJkSCg5Q62SnNiVO7WfHVkxQq/GIABZ2nnhmCv5x96 dV+c4WVeU4SpN8AR+UCGqPsR2FaX8SgnEevAhRzGt47yASFR3BZmWiljBhfzzCKjG6PW cjAe+Aqug1YxK6FvK83J05G95jtlEW38ZEavQh/3e/Omap5PGd0sUN4aGyW5XKBs3lUB YlaA== 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=TB99EEY0Y3TeXE5S6hRL8Vsg8GtXXnj74TlFbr4XijM=; b=eGQIcNW9idNuPU8NZS0lyRspPdJLnNkjm+93MoF0QcBrRJEmzBYgWfJC/JBu91vtgB 7svThfrNUrWXtmIbm7+hLB8/rVASre6eZJC4Cx1w7/H1urW8pQu/CDjHpoHZDejbKqgi 3t1p3kI/rsKpQUo/kItM4h8DZqVtmX/HDlZNkbyc3GpuYImI0YoocCKNA2pGuBewEWG1 hp8g3BYrKV5vz1XtjIxbc8QetBt5sep5+m473ziwLXu4c9/zjXm7/M+iTcGTZ9CqeqSq oaQIq+RAWP8D7U7eXoktco7nx1ZqmnCDxLSfbgseqCh/S7TA51Crxb2CiibCB9mu52e+ X21A== X-Gm-Message-State: ACrzQf0O0Ha18rdfVWw54+P34tvsufE7hWp6aT6GmUqQ+iu0400GGXak iN8DkygB2hUWktX79YCtye2LBg== X-Google-Smtp-Source: AMsMyM4w1pzoUs1BAG02rCILKSDqI53ov/i7CowJDD4s3mYmdk8h21rz2OXmiLccWOZ7dtlk8z3VfA== X-Received: by 2002:a63:4753:0:b0:462:b3f0:a984 with SMTP id w19-20020a634753000000b00462b3f0a984mr45108940pgk.501.1667880894536; Mon, 07 Nov 2022 20:14:54 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.14.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:14:54 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki , linux-kernel@vger.kernel.org, Daniel Lezcano Subject: [PATCH v7 04/10] dt-bindings: timer: rk-timer: Add rktimer for rv1126 Date: Tue, 8 Nov 2022 09:43:54 +0530 Message-Id: <20221108041400.157052-5-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201455_263594_5E4481B2 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add rockchip timer compatible string for rockchip rv1126. Cc: linux-kernel@vger.kernel.org Cc: Daniel Lezcano Signed-off-by: Jagan Teki --- Changes for v7: - new patch Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml index dc3bc1e62fe9..a6221222e948 100644 --- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml +++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml @@ -17,6 +17,7 @@ properties: - items: - enum: - rockchip,rv1108-timer + - rockchip,rv1126-timer - rockchip,rk3036-timer - rockchip,rk3188-timer - rockchip,rk3228-timer From patchwork Tue Nov 8 04:13:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035817 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 934CCC433FE for ; Tue, 8 Nov 2022 04:16:14 +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=VQRrCHT6lM5T7s3YTZakI+Zt2MpksoW/QM+o+coCNIk=; b=czCHpMNFoJC/ml oMlBUY+aw+GzAoQ+jOPsJCGB5QSIjxwkEmbDyZJcLaAU+N5qjOYEfQeoc5c4qElT09OI4WXm3OgD4 9wMRF+BM3Ivx8m/XsRuVtejFUw5c3TlpAdaSiWDU8WTpI/4z07at4NNqYOUl6WO+BgGzOiSgensqs //0tMK/CenSTB3SLUxlDJDcnYjcdsZ2JFFHLXYKR/GXMNtu9H45DBcxBvUQiobA8wj+meskLI/kg5 BEEmLEz8ElVFO89HRrVCb2a3E9Tw8JhTi0brwB6Vl5fQbjAKO+NUDco2x8MTUvlKuteG/ObJmPT4E beaP5571mo+blOMZDozw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG1i-002b0m-TM; Tue, 08 Nov 2022 04:15:54 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0t-002aU0-Rc for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:15:06 +0000 Received: by mail-pj1-x1030.google.com with SMTP id v4-20020a17090a088400b00212cb0ed97eso12278554pjc.5 for ; Mon, 07 Nov 2022 20:15:02 -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=u8AupBO7ArfsThYZ4F3jhut22sgUXTSHnSRij7H265o=; b=Z0zqCeISHuhuSD/Z0K1gipY/JTZEs0knMG8OVc+G7PYWuJ464GtgOSQcZ4Urb0PZSS cxQbdIMHb5p7IDI3TGiXMtY4mcOSd9HXGXDUoSqLLEHMBxljc/jN68dfnF+T9K3B6wfr MKUKkBl4DOgW8fQc7gtM6xYgg08rh606h+6zVdbJj3jjmUyakS013aB+WJdkpwHE8LCU dNnD/voVDUVQ1Xl9R7wlputBqomfmr+2gEQ2DRQNySxCca3F8UEXV0LcolSQ1aaNyeTe 8RKfjqe7gmpVmxP6EspjWPd9yIvVOvuj7SSCBriA4kOWIsteNJYomZlc0rdfPwA4adg3 Oe4w== 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=u8AupBO7ArfsThYZ4F3jhut22sgUXTSHnSRij7H265o=; b=HnlZuzuyWy+hDInfEEcZPeN+uMXrN5h7Uomyl3R1La5K+1sNDvWhY3bybCiQ+CA0HB P0WOBtCobLSGl2q2clelir/8t+qRg/kq4vyT1zDtaA6rDV/szIqg5/KGmiKgd3g8Fo1x Z+ad3SGciS4PL67rZKTqFc2m75U4pSlQybi7QpSn581cFrENHl/Rj+GD9MiAX/PID0f9 UaTUUCoMJ/cEWFu/gx1wseqyhEpJdFafLmolJeQRl+bv3KCy05zKAcSdOZzvdHwPW6jJ SxqZHmWHtvaFJFOPMSwVkDKW048HklpxrNq9AiARaaTEMzR7N8YFLTVuYjDb8zu7A58u Xqug== X-Gm-Message-State: ACrzQf2gDwFEuAtbpMkxQ9orLLWsmsSsTATvTL8Eo9e/HMuYJcKenS7A 1pX1F6mXnOB3j+zcyG6fqKDsBA== X-Google-Smtp-Source: AMsMyM57mOu2cJHtkfCwvWT27HoYaS1v11oVrytwy8uNPnTPpNMSS70eVV3rF74CttyFGXW9qcOCJQ== X-Received: by 2002:a17:90b:3594:b0:213:bf67:4d50 with SMTP id mm20-20020a17090b359400b00213bf674d50mr52403215pjb.32.1667880901522; Mon, 07 Nov 2022 20:15:01 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:15:01 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki Subject: [PATCH v7 05/10] ARM: dts: rockchip: Add Rockchip RV1126 pinctrl Date: Tue, 8 Nov 2022 09:43:55 +0530 Message-Id: <20221108041400.157052-6-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201503_914319_D4BDD017 X-CRM114-Status: GOOD ( 17.44 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add pinctrl definitions for Rockchip RV1126. From RK3568 on-wards pinctrl configurations are maintained in common conf file rockchip-pinconf.dtsi and it is available in arm64 path (arch/arm64/boot/dts/rockchip/rockchip-pinconf.dtsi). So, include the same conf file to RV1126 pinctrl from arm64 path. Signed-off-by: Jagan Teki --- Changes for v7: - remove Edegble in license text Changes for v6: - updated commit message Changes for v5: - none Changes for v4: - update i2c pins - rebase on -next Changes for v3: - none Changes for v2: - spilt pinctrl as separate patch MAINTAINERS | 2 +- arch/arm/boot/dts/rv1126-pinctrl.dtsi | 211 ++++++++++++++++++++++++++ 2 files changed, 212 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/rv1126-pinctrl.dtsi diff --git a/MAINTAINERS b/MAINTAINERS index 5f66378dcfb0..4fd0fa773209 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2750,7 +2750,7 @@ F: Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml F: Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml F: Documentation/devicetree/bindings/spi/spi-rockchip.yaml F: arch/arm/boot/dts/rk3* -F: arch/arm/boot/dts/rv1108* +F: arch/arm/boot/dts/rv11* F: arch/arm/mach-rockchip/ F: drivers/*/*/*rockchip* F: drivers/*/*rockchip* diff --git a/arch/arm/boot/dts/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rv1126-pinctrl.dtsi new file mode 100644 index 000000000000..4bc419cc1210 --- /dev/null +++ b/arch/arm/boot/dts/rv1126-pinctrl.dtsi @@ -0,0 +1,211 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + */ + +#include +#include + +/* + * This file is auto generated by pin2dts tool, please keep these code + * by adding changes at end of this file. + */ +&pinctrl { + emmc { + /omit-if-no-ref/ + emmc_rstnout: emmc-rstnout { + rockchip,pins = + /* emmc_rstn */ + <1 RK_PA3 2 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + emmc_bus8: emmc-bus8 { + rockchip,pins = + /* emmc_d0 */ + <0 RK_PC4 2 &pcfg_pull_up_drv_level_2>, + /* emmc_d1 */ + <0 RK_PC5 2 &pcfg_pull_up_drv_level_2>, + /* emmc_d2 */ + <0 RK_PC6 2 &pcfg_pull_up_drv_level_2>, + /* emmc_d3 */ + <0 RK_PC7 2 &pcfg_pull_up_drv_level_2>, + /* emmc_d4 */ + <0 RK_PD0 2 &pcfg_pull_up_drv_level_2>, + /* emmc_d5 */ + <0 RK_PD1 2 &pcfg_pull_up_drv_level_2>, + /* emmc_d6 */ + <0 RK_PD2 2 &pcfg_pull_up_drv_level_2>, + /* emmc_d7 */ + <0 RK_PD3 2 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ + emmc_clk: emmc-clk { + rockchip,pins = + /* emmc_clko */ + <0 RK_PD7 2 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ + emmc_cmd: emmc-cmd { + rockchip,pins = + /* emmc_cmd */ + <0 RK_PD5 2 &pcfg_pull_up_drv_level_2>; + }; + }; + i2c0 { + /omit-if-no-ref/ + i2c0_xfer: i2c0-xfer { + rockchip,pins = + /* i2c0_scl */ + <0 RK_PB4 1 &pcfg_pull_none_drv_level_0_smt>, + /* i2c0_sda */ + <0 RK_PB5 1 &pcfg_pull_none_drv_level_0_smt>; + }; + }; + sdmmc0 { + /omit-if-no-ref/ + sdmmc0_bus4: sdmmc0-bus4 { + rockchip,pins = + /* sdmmc0_d0 */ + <1 RK_PA4 1 &pcfg_pull_up_drv_level_2>, + /* sdmmc0_d1 */ + <1 RK_PA5 1 &pcfg_pull_up_drv_level_2>, + /* sdmmc0_d2 */ + <1 RK_PA6 1 &pcfg_pull_up_drv_level_2>, + /* sdmmc0_d3 */ + <1 RK_PA7 1 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ + sdmmc0_clk: sdmmc0-clk { + rockchip,pins = + /* sdmmc0_clk */ + <1 RK_PB0 1 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ + sdmmc0_cmd: sdmmc0-cmd { + rockchip,pins = + /* sdmmc0_cmd */ + <1 RK_PB1 1 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ + sdmmc0_det: sdmmc0-det { + rockchip,pins = + <0 RK_PA3 1 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + sdmmc0_pwr: sdmmc0-pwr { + rockchip,pins = + <0 RK_PC0 1 &pcfg_pull_none>; + }; + }; + sdmmc1 { + /omit-if-no-ref/ + sdmmc1_bus4: sdmmc1-bus4 { + rockchip,pins = + /* sdmmc1_d0 */ + <1 RK_PB4 1 &pcfg_pull_up_drv_level_2>, + /* sdmmc1_d1 */ + <1 RK_PB5 1 &pcfg_pull_up_drv_level_2>, + /* sdmmc1_d2 */ + <1 RK_PB6 1 &pcfg_pull_up_drv_level_2>, + /* sdmmc1_d3 */ + <1 RK_PB7 1 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ + sdmmc1_clk: sdmmc1-clk { + rockchip,pins = + /* sdmmc1_clk */ + <1 RK_PB2 1 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ + sdmmc1_cmd: sdmmc1-cmd { + rockchip,pins = + /* sdmmc1_cmd */ + <1 RK_PB3 1 &pcfg_pull_up_drv_level_2>; + }; + /omit-if-no-ref/ + sdmmc1_det: sdmmc1-det { + rockchip,pins = + <1 RK_PD0 2 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + sdmmc1_pwr: sdmmc1-pwr { + rockchip,pins = + <1 RK_PD1 2 &pcfg_pull_none>; + }; + }; + uart0 { + /omit-if-no-ref/ + uart0_xfer: uart0-xfer { + rockchip,pins = + /* uart0_rx */ + <1 RK_PC2 1 &pcfg_pull_up>, + /* uart0_tx */ + <1 RK_PC3 1 &pcfg_pull_up>; + }; + /omit-if-no-ref/ + uart0_ctsn: uart0-ctsn { + rockchip,pins = + <1 RK_PC1 1 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + uart0_rtsn: uart0-rtsn { + rockchip,pins = + <1 RK_PC0 1 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + uart0_rtsn_gpio: uart0-rts-pin { + rockchip,pins = + <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + uart1 { + /omit-if-no-ref/ + uart1m0_xfer: uart1m0-xfer { + rockchip,pins = + /* uart1_rx_m0 */ + <0 RK_PB7 2 &pcfg_pull_up>, + /* uart1_tx_m0 */ + <0 RK_PB6 2 &pcfg_pull_up>; + }; + }; + uart2 { + /omit-if-no-ref/ + uart2m1_xfer: uart2m1-xfer { + rockchip,pins = + /* uart2_rx_m1 */ + <3 RK_PA3 1 &pcfg_pull_up>, + /* uart2_tx_m1 */ + <3 RK_PA2 1 &pcfg_pull_up>; + }; + }; + uart3 { + /omit-if-no-ref/ + uart3m0_xfer: uart3m0-xfer { + rockchip,pins = + /* uart3_rx_m0 */ + <3 RK_PC7 4 &pcfg_pull_up>, + /* uart3_tx_m0 */ + <3 RK_PC6 4 &pcfg_pull_up>; + }; + }; + uart4 { + /omit-if-no-ref/ + uart4m0_xfer: uart4m0-xfer { + rockchip,pins = + /* uart4_rx_m0 */ + <3 RK_PA5 4 &pcfg_pull_up>, + /* uart4_tx_m0 */ + <3 RK_PA4 4 &pcfg_pull_up>; + }; + }; + uart5 { + /omit-if-no-ref/ + uart5m0_xfer: uart5m0-xfer { + rockchip,pins = + /* uart5_rx_m0 */ + <3 RK_PA7 4 &pcfg_pull_up>, + /* uart5_tx_m0 */ + <3 RK_PA6 4 &pcfg_pull_up>; + }; + }; +}; From patchwork Tue Nov 8 04:13:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035818 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 BA8B4C4332F for ; Tue, 8 Nov 2022 04:16:26 +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=KuCdItyVE+HAn+rvi/lKn6g3xNJ/iSP/bePWt25NK3w=; b=qwquPYSddy0NoT ulTQeoz/0t4I7c/w2VbaRdtG/IbFm09I/4LAoy7Eo7UVTrPXtRewzNzpiHoR/84/Ts+lR4/Gh1IfS YEyqvEYL7qDl6KfAbSxgTVUoO2HUkckHLcR4SxxVxZ8OyUGpDl5MjgsbbO5FcrK00GTZ5MZTq60II WDEaqrOw+3Yv9WIqKwrTkR7JzC5V85bmsKf96QyvrFEkF9/TNYBv/1ppuionEW3+qeUhdQCCxodS+ WQH574VWBgyMmKUTTYx4PSSJPyWfDHiWaJMo8twqKvUgQiTJ6Q4JlZOidQiFbto+O5S7OfsvXqBAl voQePICMpcPO+CSBPhZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG1y-002b9j-I9; Tue, 08 Nov 2022 04:16:10 +0000 Received: from mail-pj1-f42.google.com ([209.85.216.42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0w-002aWR-IO for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:15:10 +0000 Received: by mail-pj1-f42.google.com with SMTP id l6so12678352pjj.0 for ; Mon, 07 Nov 2022 20:15:05 -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=mWS8BoQ/EcusET/w8/XY+cVCPURdPMxaalQCp1TwR34=; b=GFVIVhwx+HPxoKs4XS+oxbWCYpUjBA0yQEAOwYNxY4vGYg8jtJcKqGnKdQ4m9uxfub MT79y3MYyg+taxqfjoE+wmM26DR0/O/NnH+tVxulh2ldy8ziFlzXeW1bBj+Y5WGpcj4u 7WduENY7/VyowYcRr0lxk097PTEv8LP9C/Uazx3kvdd39WtUEzJyhRDOz/PiIT/X5fBN fWYotLx63CDIJDRx+EOgTexDxRRfeJmYzigg3hnDAIh0iWT8Pmr2oIIQ2nXY9gYP538b oVfEwJRjzWupWtuhKYdR5oJa3ZRU2bx/JlcYjiswjMjuJiNZulOXkWkLAq+M9TCw2y6y 2kJA== 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=mWS8BoQ/EcusET/w8/XY+cVCPURdPMxaalQCp1TwR34=; b=ZbBNwElWTvgC3UMWTk6oMbCOnMVDCCADBCT6Me1c4eWWBW6UYSmelg3LfVVxyVllUS HjwhP4uaHMKBplY2lgnj1YlSAeYZevGgU/a67WbuM9rkjrSC+aij3TGhyFsaP2NIrkbP eTrZo/ZJnK2v+H2zawXFc7cVFyfZm1w/y86VXp8x9N9s4wDC39vJubWFXqD1ZT8gyy3E RqvfZHm+QgePSTd+pPsiCxh2Hfg/gdxoCzWAy9GW5UaZ5cuFqwd5V+3sVIWsM3LDMUpw ilxGsfWRWWl5DvIVWpN4uhdcjRNvjzrao+qDotPC0GTvAPs6wmkxrqFWuRNcH6NvtzBt 5CLQ== X-Gm-Message-State: ACrzQf2c2XxatCFg7Ie3fxEnoacXf4uF0eoV+xVuTt8iK57YxeQUuqjj LAuxM/D4OY38SBIj4ztyizBhEA== X-Google-Smtp-Source: AMsMyM4fLF3/tKpJGpqhGOtbELjfZt8BUqUWtT3D8jAZV39+IbJtPKxf/oSEpIZx6OALYOG92yY3Cg== X-Received: by 2002:a17:90b:4a0d:b0:213:587b:206a with SMTP id kk13-20020a17090b4a0d00b00213587b206amr71528646pjb.195.1667880905010; Mon, 07 Nov 2022 20:15:05 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:15:04 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki , Jon Lin , Sugar Zhang Subject: [PATCH v7 06/10] ARM: dts: rockchip: Add Rockchip RV1126 SoC Date: Tue, 8 Nov 2022 09:43:56 +0530 Message-Id: <20221108041400.157052-7-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201506_670404_1D4679F6 X-CRM114-Status: GOOD ( 15.31 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org RV1126 is a high-performance vision processor SoC for IPC/CVR, especially for AI related application. It is based on quad-core ARM Cortex-A7 32-bit core which integrates NEON and FPU. There is a 32KB I-cache and 32KB D-cache for each core and 512KB unified L2 cache. It has build-in NPU supports INT8/INT16 hybrid operation and computing power is up to 2.0TOPs. This patch add basic core dtsi support. Signed-off-by: Jon Lin Signed-off-by: Sugar Zhang Signed-off-by: Jagan Teki --- Changes for v7: - fix dtbs_check - rearrange nodes - remove Edegble in license text Changes for v6: - add psci node Changes for v5: - none Changes for v4: - update i2c0 - rebase on -next Changes for v3: - update cru and power file names Changes for v2: - split pinctrl in separate patch arch/arm/boot/dts/rv1126.dtsi | 438 ++++++++++++++++++++++++++++++++++ 1 file changed, 438 insertions(+) create mode 100644 arch/arm/boot/dts/rv1126.dtsi diff --git a/arch/arm/boot/dts/rv1126.dtsi b/arch/arm/boot/dts/rv1126.dtsi new file mode 100644 index 000000000000..a485420551f5 --- /dev/null +++ b/arch/arm/boot/dts/rv1126.dtsi @@ -0,0 +1,438 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. + */ + +#include +#include +#include +#include +#include +#include +#include + +/ { + #address-cells = <1>; + #size-cells = <1>; + + compatible = "rockchip,rv1126"; + + interrupt-parent = <&gic>; + + aliases { + i2c0 = &i2c0; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + serial4 = &uart4; + serial5 = &uart5; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@f00 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0xf00>; + enable-method = "psci"; + clocks = <&cru ARMCLK>; + }; + + cpu1: cpu@f01 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0xf01>; + enable-method = "psci"; + clocks = <&cru ARMCLK>; + }; + + cpu2: cpu@f02 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0xf02>; + enable-method = "psci"; + clocks = <&cru ARMCLK>; + }; + + cpu3: cpu@f03 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0xf03>; + enable-method = "psci"; + clocks = <&cru ARMCLK>; + }; + }; + + arm-pmu { + compatible = "arm,cortex-a7-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + clock-frequency = <24000000>; + }; + + xin24m: oscillator { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "xin24m"; + #clock-cells = <0>; + }; + + grf: syscon@fe000000 { + compatible = "rockchip,rv1126-grf", "syscon", "simple-mfd"; + reg = <0xfe000000 0x20000>; + }; + + pmugrf: syscon@fe020000 { + compatible = "rockchip,rv1126-pmugrf", "syscon", "simple-mfd"; + reg = <0xfe020000 0x1000>; + + pmu_io_domains: io-domains { + compatible = "rockchip,rv1126-pmu-io-voltage-domain"; + status = "disabled"; + }; + }; + + qos_emmc: qos@fe860000 { + compatible = "rockchip,rv1126-qos", "syscon"; + reg = <0xfe860000 0x20>; + }; + + qos_nandc: qos@fe860080 { + compatible = "rockchip,rv1126-qos", "syscon"; + reg = <0xfe860080 0x20>; + }; + + qos_sfc: qos@fe860200 { + compatible = "rockchip,rv1126-qos", "syscon"; + reg = <0xfe860200 0x20>; + }; + + qos_sdio: qos@fe86c000 { + compatible = "rockchip,rv1126-qos", "syscon"; + reg = <0xfe86c000 0x20>; + }; + + gic: interrupt-controller@feff0000 { + compatible = "arm,gic-400"; + interrupt-controller; + #interrupt-cells = <3>; + #address-cells = <0>; + + reg = <0xfeff1000 0x1000>, + <0xfeff2000 0x2000>, + <0xfeff4000 0x2000>, + <0xfeff6000 0x2000>; + interrupts = ; + }; + + pmu: power-management@ff3e0000 { + compatible = "rockchip,rv1126-pmu", "syscon", "simple-mfd"; + reg = <0xff3e0000 0x1000>; + + power: power-controller { + compatible = "rockchip,rv1126-power-controller"; + #power-domain-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + + power-domain@RV1126_PD_NVM { + reg = ; + clocks = <&cru HCLK_EMMC>, + <&cru CLK_EMMC>, + <&cru HCLK_NANDC>, + <&cru CLK_NANDC>, + <&cru HCLK_SFC>, + <&cru HCLK_SFCXIP>, + <&cru SCLK_SFC>; + pm_qos = <&qos_emmc>, + <&qos_nandc>, + <&qos_sfc>; + #power-domain-cells = <0>; + }; + + power-domain@RV1126_PD_SDIO { + reg = ; + clocks = <&cru HCLK_SDIO>, + <&cru CLK_SDIO>; + pm_qos = <&qos_sdio>; + #power-domain-cells = <0>; + }; + }; + }; + + i2c0: i2c@ff3f0000 { + compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c"; + reg = <0xff3f0000 0x1000>; + interrupts = ; + rockchip,grf = <&pmugrf>; + clocks = <&pmucru CLK_I2C0>, <&pmucru PCLK_I2C0>; + clock-names = "i2c", "pclk"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_xfer>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + uart1: serial@ff410000 { + compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; + reg = <0xff410000 0x100>; + interrupts = ; + clock-frequency = <24000000>; + clocks = <&pmucru SCLK_UART1>, <&pmucru PCLK_UART1>; + clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac 7>, <&dmac 6>; + pinctrl-names = "default"; + pinctrl-0 = <&uart1m0_xfer>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + pmucru: clock-controller@ff480000 { + compatible = "rockchip,rv1126-pmucru"; + reg = <0xff480000 0x1000>; + rockchip,grf = <&grf>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + cru: clock-controller@ff490000 { + compatible = "rockchip,rv1126-cru"; + reg = <0xff490000 0x1000>; + clocks = <&xin24m>; + clock-names = "xin24m"; + rockchip,grf = <&grf>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + dmac: dma-controller@ff4e0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0xff4e0000 0x4000>; + interrupts = , + ; + #dma-cells = <1>; + arm,pl330-periph-burst; + clocks = <&cru ACLK_DMAC>; + clock-names = "apb_pclk"; + }; + + uart0: serial@ff560000 { + compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; + reg = <0xff560000 0x100>; + interrupts = ; + clock-frequency = <24000000>; + clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; + clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac 5>, <&dmac 4>; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart2: serial@ff570000 { + compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; + reg = <0xff570000 0x100>; + interrupts = ; + clock-frequency = <24000000>; + clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; + clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac 9>, <&dmac 8>; + pinctrl-names = "default"; + pinctrl-0 = <&uart2m1_xfer>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart3: serial@ff580000 { + compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; + reg = <0xff580000 0x100>; + interrupts = ; + clock-frequency = <24000000>; + clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>; + clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac 11>, <&dmac 10>; + pinctrl-names = "default"; + pinctrl-0 = <&uart3m0_xfer>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart4: serial@ff590000 { + compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; + reg = <0xff590000 0x100>; + interrupts = ; + clock-frequency = <24000000>; + clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>; + clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac 13>, <&dmac 12>; + pinctrl-names = "default"; + pinctrl-0 = <&uart4m0_xfer>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart5: serial@ff5a0000 { + compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; + reg = <0xff5a0000 0x100>; + interrupts = ; + clock-frequency = <24000000>; + clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>; + dmas = <&dmac 15>, <&dmac 14>; + clock-names = "baudclk", "apb_pclk"; + pinctrl-names = "default"; + pinctrl-0 = <&uart5m0_xfer>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + saradc: saradc@ff5e0000 { + compatible = "rockchip,rv1126-saradc", "rockchip,rk3399-saradc"; + reg = <0xff5e0000 0x100>; + interrupts = ; + #io-channel-cells = <1>; + clocks = <&cru CLK_SARADC>, <&cru PCLK_SARADC>; + clock-names = "saradc", "apb_pclk"; + resets = <&cru SRST_SARADC_P>; + reset-names = "saradc-apb"; + status = "disabled"; + }; + + timer: timer@ff660000 { + compatible = "rockchip,rv1126-timer", "rockchip,rk3288-timer"; + reg = <0xff660000 0x20>; + interrupts = ; + clocks = <&cru PCLK_TIMER>, <&cru CLK_TIMER0>; + clock-names = "pclk", "timer"; + }; + + emmc: mmc@ffc50000 { + compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc"; + reg = <0xffc50000 0x4000>; + interrupts = ; + clocks = <&cru HCLK_EMMC>, <&cru CLK_EMMC>, + <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; + fifo-depth = <0x100>; + max-frequency = <200000000>; + power-domains = <&power RV1126_PD_NVM>; + status = "disabled"; + }; + + sdmmc: mmc@ffc60000 { + compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc"; + reg = <0xffc60000 0x4000>; + interrupts = ; + clocks = <&cru HCLK_SDMMC>, <&cru CLK_SDMMC>, + <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; + fifo-depth = <0x100>; + max-frequency = <200000000>; + status = "disabled"; + }; + + sdio: mmc@ffc70000 { + compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc"; + reg = <0xffc70000 0x4000>; + interrupts = ; + clocks = <&cru HCLK_SDIO>, <&cru CLK_SDIO>, + <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; + fifo-depth = <0x100>; + max-frequency = <200000000>; + power-domains = <&power RV1126_PD_SDIO>; + status = "disabled"; + }; + + pinctrl: pinctrl { + compatible = "rockchip,rv1126-pinctrl"; + rockchip,grf = <&grf>; + rockchip,pmu = <&pmugrf>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gpio0: gpio@ff460000 { + compatible = "rockchip,gpio-bank"; + reg = <0xff460000 0x100>; + interrupts = ; + clocks = <&pmucru PCLK_GPIO0>, <&pmucru DBCLK_GPIO0>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio1: gpio@ff620000 { + compatible = "rockchip,gpio-bank"; + reg = <0xff620000 0x100>; + interrupts = ; + clocks = <&cru PCLK_GPIO1>, <&cru DBCLK_GPIO1>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio2: gpio@ff630000 { + compatible = "rockchip,gpio-bank"; + reg = <0xff630000 0x100>; + interrupts = ; + clocks = <&cru PCLK_GPIO2>, <&cru DBCLK_GPIO2>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio3: gpio@ff640000 { + compatible = "rockchip,gpio-bank"; + reg = <0xff640000 0x100>; + interrupts = ; + clocks = <&cru PCLK_GPIO3>, <&cru DBCLK_GPIO3>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio4: gpio@ff650000 { + compatible = "rockchip,gpio-bank"; + reg = <0xff650000 0x100>; + interrupts = ; + clocks = <&cru PCLK_GPIO4>, <&cru DBCLK_GPIO4>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; + +#include "rv1126-pinctrl.dtsi" From patchwork Tue Nov 8 04:13:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035819 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 08A27C4332F for ; Tue, 8 Nov 2022 04:16:44 +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=/6bTuOZNfk0IJgl1TV1DjNCfZOdDlfUSFWrHbQacbDM=; b=3w/2EKiCq+oFJX MStvT/XSQfRRtL9AgvIoNiaQE9EyvKCHii9SecuVoyYUd2X9vHtbWWhn+QWU1U3k7Juk0K3nYDm9j 0ED7dkiZyf1puaSlWV4hqWM9rihEgrxRhcDCGioyf+r48pMFmSPPF8EDCeaskcvtpd7HhOG9WJ+uN j8ck1OlTd5AhDBCq9IJeu5soUCwIQia6N+W9zi1iUZPIQw4aniqzIfuHeIpytq8OOrvcLL3/KHP6i movB3dsH/vNx7Xhz4m3LxzNUzv7rP/trmDJW5JC0SPqfao1+DArSARMATn4uKhaqP8RMtSgtFizVU CWezJsy1E/KziCOWbJPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG2L-002bNB-It; Tue, 08 Nov 2022 04:16:33 +0000 Received: from mail-pf1-f170.google.com ([209.85.210.170]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG0z-002aYq-EM for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:15:12 +0000 Received: by mail-pf1-f170.google.com with SMTP id 130so12722822pfu.8 for ; Mon, 07 Nov 2022 20:15:08 -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=/qVOEvkyYaZx4zfNA7ja9/Y1cc6/CGlvhh8eaDdH7L4=; b=eBg3VeRby4Wie387PjhdCc3k5Sr+wlVZ2Trr65u5jIwnychaNKQPim70TLoVes8NJU BCTnvay5/9zsKMyyHN2tPLnXsh0i5g+h92VZx7HtaCo2aDOhVF+wv+tCEHL4I4IB9F2d ZJYIHHPjOTuvuacMmM+HrRqwNCMInxfqjAuyFIHpGTE0qy2w4iw2uqfd3TNS8B2Lq9B8 9/uU+CDmBDwU4sVnxInOb4YOVFoAcVThKXN4T6QAG/ircDYdooNf8WYpHFiHzVxskAWH Y0W/yQ55lYDfpuawxenB/dzeeVMnOL+YuCKhIRxSfq1X4rorlVUbDMAeOyy8yRLXi9aH uHyw== 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=/qVOEvkyYaZx4zfNA7ja9/Y1cc6/CGlvhh8eaDdH7L4=; b=uAYLpuSjW/Cr3Z1TBfLdNv+P9jIoQpLsd23IBHjsZeJ6sEhfGf2dh1aA/krQ7QAwOO w3JldkUv4T30mr62wtZlGd54lIqM1zRPljHo3UnFXEeNeESHLIwLMuu4IQ/GYQN8U/UH PT6CBfIME9IsfiBBUUJkwFxZgegoW03+F/qJvzLo4/suJN2nA1Erkwj26a9p8pXIYUv3 v87HTZsTqLQzKSX1Z/cuEsgaXOa1REa8b5IN99OP/8paov56gihKPA5qofLtgklpBAD1 Sc736/iMEZS4XouTsEc6v3eDowmT8aYNnBaLJn0uwwyAZkxeLPibqoPM2Cx4v1/iAcAk 9chA== X-Gm-Message-State: ACrzQf0CzwaKh3mMuPriFitZwRVtyEPLJtBCQ5spRs9YUYBAoU+hBOF4 6UXWYih2NSQPyn2RtG7mvKbTiA== X-Google-Smtp-Source: AMsMyM4tZbWmhnBnQXqvt/O2B2Gr/a3wwoWIhf8Ts3ytZrzf6J4iXteF1Rjg8z3GXky9VrAmy114gw== X-Received: by 2002:a63:5d0b:0:b0:464:bb2b:9b0e with SMTP id r11-20020a635d0b000000b00464bb2b9b0emr45177669pgb.583.1667880908228; Mon, 07 Nov 2022 20:15:08 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.15.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:15:08 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki , Rob Herring Subject: [PATCH v7 07/10] dt-bindings: vendor-prefixes: Add Edgeble AI Technologies Pvt. Ltd. Date: Tue, 8 Nov 2022 09:43:57 +0530 Message-Id: <20221108041400.157052-8-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201509_510153_9DDA8283 X-CRM114-Status: UNSURE ( 8.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Edgeble AI is an Artificial Intelligence company with a focus on deploying Neural Acceleration principles at the Edge. Add vendor prefix for it. Acked-by: Rob Herring Signed-off-by: Jagan Teki --- Changes for v7, v6: - none Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index c601f5438b02..dfc071548e91 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -370,6 +370,8 @@ patternProperties: description: EBV Elektronik "^eckelmann,.*": description: Eckelmann AG + "^edgeble,.*": + description: Edgeble AI Technologies Pvt. Ltd. "^edimax,.*": description: EDIMAX Technology Co., Ltd "^edt,.*": From patchwork Tue Nov 8 04:13:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035838 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 A4CEFC433FE for ; Tue, 8 Nov 2022 04:16:48 +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=otBhAOmlGR4N4uwWA1U98y9wGGpHOFEATFBFuKS/cO4=; b=aMcMJuiT2NDY6U NNA3VpiXzzH6Bfa9WI5iLegb51Gq0zBQbtz+nJlmZK0sELwnbziaUWDoJiguSpL4hXW63RQLBBAfo ubAbpudr9+rw8dSRBVbruCiUm9oxCEOK/Ip+O2b6Qkco5fILZtID2ljcrAg42Qp2iAlWyFcP3WCtn oNdf2UZr/J6cqSIYQB/iwTC3z29WoVFM17D4SingVNF3G6bO5M46JzwsJUzpnhkGiDE5Hs2VjdliX wyAmRBkBUFfoNW/3ByHaq4h8saxG64YaxLJLaKpaq0dlooDfEQfnHqbYGO6A6cl6nASHDTXjM2uWy 7DmsVgXNlGCZT7olNb1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG2M-002bNk-IS; Tue, 08 Nov 2022 04:16:34 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG11-002aPN-Q7 for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:15:13 +0000 Received: by mail-pg1-x536.google.com with SMTP id 6so4220200pgm.6 for ; Mon, 07 Nov 2022 20:15:11 -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=6eA4MJ/qoMP/W5SydwhxRhNTGiKKsFvgB72Epz7yqRE=; b=gsYUEWLJX04V2A/ruH1eDUIOiysfNa3NMn0XreSSVrEWc2eB0pcbqyyQyYPFb87nkG 1URIrVAhMGFWzkFSjiDP6+Qj9628vlsBYSITl2fD4cjePrmszhdIkFX4tX6Cmdo11J4W JH3s1ti+dHkpgRo7PZxRHBQGMs76PwG0YnYm2eylFdhdhrJ1b15SPPl928aQRF72SIUA YL9RfSEw9XKb/dDIpv/8ihXA3EQHraBDC9oeO/VCVCHCSAw7n8INtt8FBkaQbBIkU7zn F1g/I8AtwgODJ8HhD3FTyLRBFU9FqEyjSo7QaY0P4k5PExqBkIF4UYIt4O+0ZdtPpTxC v+9g== 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=6eA4MJ/qoMP/W5SydwhxRhNTGiKKsFvgB72Epz7yqRE=; b=QYIvOwT6DWCKbipahpgF4dkqbQqPJsWNVZnULfYU7sxJPZIkW0W57Lcdfx55OjVKLh 25Zx1ZIEG4ULlP4BkC+yZk51TQE839NojJr7AyAxv63Q4RcrNMyJzUYEj2ojS5KjaeGc MGn0tUd9+o9K4LJIhsf36su4yQqMjPui1bhjHodsVLyomTUr7UIRHhHVh+nHJKJMXEhY niBZo44SsuCdnoez9UwDNvP+/bsoaB3AOC7ZPvZ9Emq1H5riSsoSinH/RaUN0klCqj0j ctSfOuqDQPgP0vEG8sqVLE5jaXOo9S5xBG8dIF+zqA7yD6b9YyWI8kFzs3K9MSa1CWxY flNg== X-Gm-Message-State: ACrzQf1kV9RF6lQGueRyAlBRKNPGLQXaIsjoJpuhTQhmcnhsaY3/yFzz dAQG4IJzIX3TU+7hnF/xPq4duw== X-Google-Smtp-Source: AMsMyM4kzy7ZFvcAOfDTWkdOWLdymXVXgyYs7V+o6zwMxpKpLJp0wKVnncWZ8IveoewLHgHRflPCCQ== X-Received: by 2002:a63:c65:0:b0:470:cb4:aca3 with SMTP id 37-20020a630c65000000b004700cb4aca3mr25383910pgm.389.1667880911428; Mon, 07 Nov 2022 20:15:11 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.15.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:15:11 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki , Rob Herring Subject: [PATCH v7 08/10] dt-bindings: arm: rockchip: Add Edgeble Neural Compute Module 2 Date: Tue, 8 Nov 2022 09:43:58 +0530 Message-Id: <20221108041400.157052-9-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201511_900043_C6A19F69 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Neural Compute Module 2(Neu2) is a 96boards SoM-CB compute module based on Rockchip RV1126 from Edgeble AI. Edgeble Neural Compute Module 2(Neu2) IO board is an industrial form factor evaluation board from Edgeble AI. Neu2 needs to mount on top of this IO board in order to create complete Edgeble Neural Compute Module 2(Neu2) IO platform. Add dt-bindings for it. Acked-by: Rob Herring Signed-off-by: Jagan Teki --- Changes for v7: - collect Rob Ack Changes for v6: - updated SOM and Carrier name Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 244c42eaae8c..26fdd205a899 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -85,6 +85,12 @@ properties: - const: chipspark,rayeager-px2 - const: rockchip,rk3066a + - description: Edgeble Neural Compute Module 2(Neu2) SoM based boards + items: + - const: edgeble,neural-compute-module-2-io # Edgeble Neural Compute Module 2 IO Board + - const: edgeble,neural-compute-module-2 # Edgeble Neural Compute Module 2 SoM + - const: rockchip,rv1126 + - description: Elgin RV1108 R1 items: - const: elgin,rv1108-r1 From patchwork Tue Nov 8 04:13:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035839 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 99DB1C4332F for ; Tue, 8 Nov 2022 04:17:33 +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=j+vVfcclJI5Iw3BnRLD2pqNHPFOmQ/6UyKKhrf9gMxs=; b=5DhFOWsFlSLHXh Cm78fGHYPWTYVlGdcqEx6JGGTk/CB69IlA35sGijXTVUAJL65dk4eB6TGYrYdxSzn5fV38+uoxkHE RYL4ZRePXEGPbq8gX3xfiak6mZehS+S8MAMsTXZeGnAef7a9kGLY3dI7vGcuNwwItza5pILO7fFdP OukNaimpNfGrRknNWotHG6GuGxugM2LI3rnHAALFavQOaiVjBGLwmMlvxE87hKw1y0BL5lq3x8o5O IuhXFGvOeUg+RyKRuGW1fiooKxqip16Tv27yL+7+ITwsKWaXJBKnei2D5IL/wCEPuRA8jyAA7tsnO E69ngv0zFWG+Y0hEEZ/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG31-002bl6-BC; Tue, 08 Nov 2022 04:17:15 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG15-002ack-KU for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:15:17 +0000 Received: by mail-pj1-x1032.google.com with SMTP id gw22so12648187pjb.3 for ; Mon, 07 Nov 2022 20:15:14 -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=J7TIOSQJVwUHHTldTEQpOAnn1sQ9gAs/7w4EUzJDqds=; b=4TPWxPB8jQtrfmZ9EI1q8i8bmhIAcGAtDjh8atf6RcrTl3srZE6wMNCDCWUZeZ+Tor 8djcCF883i3khpQZGD+cbWK6id5JFa3Vt9ND6pPNT+MZHsUvbXhqeKs5idfMFV3sO94a v3J7hRWbVlC6NcMcj+29vga3GYBzTVeaZqBZRI8PCtrx9YWJRZArb1rWzPTtwRy3EN31 9BCPwmqBil97RGz0MWJsnvIm0G4CRTDUwk0ako9PpXcB/aAazBSH15pwTvy+SDStF+am OXOaRiZ/5kjqFURqNJ5RBuoNhWhRRYNvUc9wQP7IyVa6jcCSDzC4n2uM+j3Q9yh4WuuN PJAQ== 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=J7TIOSQJVwUHHTldTEQpOAnn1sQ9gAs/7w4EUzJDqds=; b=mZnd2qX9q3GzRGYgD3mN5NrgEX+/97Ou8Mu8hfEXBrJYpMIgoE58cQ31iUTJmBe9fK oKbfRgyU0fwnwKPtBtcfvFVwDAmcAKm+TAnOPi0/lSipGKEPgPzPm29r7X5ySVQpLfPk IpC6nDS7eTWpJYLSsksfmWoBhkIIL+kSAp76kBc6o7bi7NEGyQbX1rFfKQ0Trtt4VGwT aGJMxA4PqtlzWggZ6RZNJIEhLliokdxpM6q/5LzVVKjw9BVaY3lVayQIabkbUrwBJxzA hO5za7X5CztTv84btjHtNVA0XWbK69fgwcqyV7IGsJCJULbxVyrbQF6sP8alkZ4eouWW deiw== X-Gm-Message-State: ACrzQf3mUZrFEmOthwgnsKnVXmevbO2Oj8PBL6MNOOoCYrXUVbUwjWXJ Vqww2L4Nahm3W4xN1KtjV7o60Q== X-Google-Smtp-Source: AMsMyM4r6GJOCnWYnBuP9GfVLfyBvC2lEpzvII8O+2cqakwi4lncd0XsF/0/QGzxSbh1hR3LXvIj4A== X-Received: by 2002:a17:902:c949:b0:187:2be9:9f0a with SMTP id i9-20020a170902c94900b001872be99f0amr41832712pla.58.1667880914257; Mon, 07 Nov 2022 20:15:14 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:15:14 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki Subject: [PATCH v7 09/10] ARM: dts: rockchip: rv1126: Add Edgeble Neural Compute Module 2(Neu2) Date: Tue, 8 Nov 2022 09:43:59 +0530 Message-Id: <20221108041400.157052-10-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201515_712900_C572D97E X-CRM114-Status: GOOD ( 14.87 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Neural Compute Module 2(Neu2) is a 96boards SoM-CB compute module based on Rockchip RV1126 from Edgeble AI. General features: - Rockchip RV1126 - 2/4GB LPDDR4 - 8/16/32GB eMMC - 2x MIPI CSI2 FPC connector - Fn-link 8223A-SR WiFi/BT Industrial grade (-40 °C to +85 °C) version of the same class of module called Neu2k powered with Rockchip RV1126K. Neu2 needs to mount on top of Edgeble IO boards for creating complete platform solutions. Add support for it. Signed-off-by: Jagan Teki --- Changes for v7: - fix dtbs_check Changes for v6: - updated the SOM name arch/arm/boot/dts/rv1126-edgeble-neu2.dtsi | 338 +++++++++++++++++++++ 1 file changed, 338 insertions(+) create mode 100644 arch/arm/boot/dts/rv1126-edgeble-neu2.dtsi diff --git a/arch/arm/boot/dts/rv1126-edgeble-neu2.dtsi b/arch/arm/boot/dts/rv1126-edgeble-neu2.dtsi new file mode 100644 index 000000000000..7db3f8bb581d --- /dev/null +++ b/arch/arm/boot/dts/rv1126-edgeble-neu2.dtsi @@ -0,0 +1,338 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Rockchip Electronics Co., Ltd. + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. + */ + +/ { + compatible = "edgeble,neural-compute-module-2", "rockchip,rv1126"; + + aliases { + mmc0 = &emmc; + }; + + vcc5v0_sys: regulator-vcc5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + vccio_flash: regulator-vccio-flash { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&flash_vol_sel>; + regulator-name = "vccio_flash"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc_3v3>; + }; + + sdio_pwrseq: pwrseq-sdio { + compatible = "mmc-pwrseq-simple"; + clocks = <&rk809 1>; + clock-names = "ext_clock"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_enable_h>; + reset-gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>; + }; +}; + +&cpu0 { + cpu-supply = <&vdd_arm>; +}; + +&emmc { + bus-width = <8>; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk &emmc_rstnout>; + rockchip,default-sample-phase = <90>; + vmmc-supply = <&vcc_3v3>; + vqmmc-supply = <&vccio_flash>; + status = "okay"; +}; + +&i2c0 { + clock-frequency = <400000>; + status = "okay"; + + rk809: pmic@20 { + compatible = "rockchip,rk809"; + reg = <0x20>; + interrupt-parent = <&gpio0>; + interrupts = ; + #clock-cells = <1>; + clock-output-names = "rk808-clkout1", "rk808-clkout2"; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int_l>; + rockchip,system-power-controller; + wakeup-source; + + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc5-supply = <&vcc_buck5>; + vcc6-supply = <&vcc_buck5>; + vcc7-supply = <&vcc5v0_sys>; + vcc8-supply = <&vcc3v3_sys>; + vcc9-supply = <&vcc5v0_sys>; + + regulators { + vdd_npu_vepu: DCDC_REG1 { + regulator-name = "vdd_npu_vepu"; + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <650000>; + regulator-max-microvolt = <950000>; + regulator-ramp-delay = <6001>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_arm: DCDC_REG2 { + regulator-name = "vdd_arm"; + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <725000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-name = "vcc_ddr"; + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc3v3_sys: DCDC_REG4 { + regulator-name = "vcc3v3_sys"; + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc_buck5: DCDC_REG5 { + regulator-name = "vcc_buck5"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <2200000>; + regulator-max-microvolt = <2200000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <2200000>; + }; + }; + + vcc_0v8: LDO_REG1 { + regulator-name = "vcc_0v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc1v8_pmu: LDO_REG2 { + regulator-name = "vcc1v8_pmu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vdd0v8_pmu: LDO_REG3 { + regulator-name = "vcc0v8_pmu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <800000>; + }; + }; + + vcc_1v8: LDO_REG4 { + regulator-name = "vcc_1v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vcc_dovdd: LDO_REG5 { + regulator-name = "vcc_dovdd"; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_dvdd: LDO_REG6 { + regulator-name = "vcc_dvdd"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_avdd: LDO_REG7 { + regulator-name = "vcc_avdd"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd: LDO_REG8 { + regulator-name = "vccio_sd"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc3v3_sd: LDO_REG9 { + regulator-name = "vcc3v3_sd"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_5v0: SWITCH_REG1 { + regulator-name = "vcc_5v0"; + }; + + vcc_3v3: SWITCH_REG2 { + regulator-name = "vcc_3v3"; + regulator-always-on; + regulator-boot-on; + }; + }; + }; +}; + +&pinctrl { + bt { + bt_enable: bt-enable { + rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + flash { + flash_vol_sel: flash-vol-sel { + rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + pmic { + pmic_int_l: pmic-int-l { + rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + wifi { + wifi_enable_h: wifi-enable-h { + rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&pmu_io_domains { + pmuio0-supply = <&vcc1v8_pmu>; + pmuio1-supply = <&vcc3v3_sys>; + vccio1-supply = <&vccio_flash>; + vccio2-supply = <&vccio_sd>; + vccio3-supply = <&vcc_1v8>; + vccio4-supply = <&vcc_dovdd>; + vccio5-supply = <&vcc_1v8>; + vccio6-supply = <&vcc_1v8>; + vccio7-supply = <&vcc_dovdd>; + status = "okay"; +}; + +&saradc { + vref-supply = <&vcc_1v8>; + status = "okay"; +}; + +&sdio { + bus-width = <4>; + cap-sd-highspeed; + cap-sdio-irq; + keep-power-in-suspend; + max-frequency = <100000000>; + mmc-pwrseq = <&sdio_pwrseq>; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>; + rockchip,default-sample-phase = <90>; + sd-uhs-sdr104; + vmmc-supply = <&vcc3v3_sys>; + vqmmc-supply = <&vcc_1v8>; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_ctsn &uart0_rtsn>; + status = "okay"; + + bluetooth { + compatible = "qcom,qca9377-bt"; + clocks = <&rk809 1>; + enable-gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>; /* BT_RST */ + max-speed = <2000000>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_enable>; + vddxo-supply = <&vcc3v3_sys>; + vddio-supply = <&vcc_1v8>; + }; +}; From patchwork Tue Nov 8 04:14:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13035840 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 52C28C433FE for ; Tue, 8 Nov 2022 04:18:29 +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=W6Ss/eP8bR5YynQ8cYQFkZrak2KECgoB9Uf0Vlvp4RU=; b=DZl0VF8VGGx0Jp yHPekdigbkiGZG+/Ciic+FKVEkmhdZp97Z3+xNWuARVAD7g9lcNZOEuue4/JTOusF0PuaHRswdKqd N3e/XaIP9UodgWZlbSBLz6H6K3Wyyy5kAHVaCoLJMpF3H2YBq1E5WwcIsevCbpo8UyqLRaJFAkBnp Am+fApL9yFSWRHs2kysYwjVVTB3DNvo6GE2j/+rDqSbfUsbbU4fak6RtppNH1GXNn/+ICY6ewZ62c BH9qp2hIn0FAEGOMmdOYsfYtRGaMG/Y7T/9+NoPKU4oTp5FQIgAfHfpRTEaAD+li5FD3zpo/YahTC b/F64n26+WYB3ocWe+hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG42-002cFk-OZ; Tue, 08 Nov 2022 04:18:18 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osG18-002ae8-SM for linux-rockchip@lists.infradead.org; Tue, 08 Nov 2022 04:15:21 +0000 Received: by mail-pg1-x532.google.com with SMTP id 64so12359428pgc.5 for ; Mon, 07 Nov 2022 20:15:17 -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=TYyNTGIwXr/GE3idzYmzpH2DtKCuhncte1jYNZp9aAc=; b=OAgv1jX6xzIECtZXDJMubwEYPjmOTnnJhBukpuLkJaed7E1GWrna9MWzcipU/aKDFd dWR2T54wiv6YlJmA1VuIdVcz4WJ7gnYY1fLPsAFC4Slpp2k7DkLWTszL9jEOIs+IoFwv 7nARqDQil+0fEpPac9JzR8K/IFVnC1Dh0RrlKmzI8p4o5Ee7ftrcAHSzFYtCKKYyVSmx 4O0CntLKneKNVJOU7A7d07pkt6CZD+8w8tw2Brppqhd2EUkRx3SdRqqX1RX5Cqj/eqOa AEEzWqu/H1VDqCuIA6rGnAERpnSCm545MtrG8vKSDufZG1j0xaWFW9oqZmgHrX3wV+Tt aHbw== 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=TYyNTGIwXr/GE3idzYmzpH2DtKCuhncte1jYNZp9aAc=; b=5Imp3FjFz1Sygkl6L+9B5eeW4RWLQvzIkMWx/gL9OO9FsMCISe7eLBOA8/bpou+fBq J5jYWGqlA3JLjY5X83+nw5Ka/YxF6TeVWTqq2ujFMP0hotSlKz1HEqYhtCQB2DxePZZE Lm41vlfS0I+zDyHSBD4mNxKfl9t1nngImEMv1GbE0RaVf9UJkMVyY7Mgbmna0San27eQ UerNdKZfSrOWP9geusOGQEeT9jg//iOXP/oKiUoBIvLSwNmJchbAGtqq+F7XnYyJLhf2 cXSArkL393eueneOKikzbJIV7BE8VSz6EJqpEIeAsWXOV93uFtQFBOuaVelvj9ZVriUo wL+g== X-Gm-Message-State: ACrzQf1zEAtvsherTx6nL1zKWtn1oy7A+oojiWEZeAyGnOHnJD1ll42W t99SrvQ6cSz+zi4T9JKzTNPu6Q== X-Google-Smtp-Source: AMsMyM6Xjnc2MFXNPjQNxB4+JepsOpRNFHKjnNYWo28X1Agifr4p7e+WBqh5KMeLQE8UzAFkBP72UA== X-Received: by 2002:a65:6702:0:b0:470:15c5:4363 with SMTP id u2-20020a656702000000b0047015c54363mr24853682pgf.546.1667880917243; Mon, 07 Nov 2022 20:15:17 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:63d1:2564:ea55:4e97]) by smtp.gmail.com with ESMTPSA id e5-20020a170902b78500b00186ac812ab0sm5799783pls.83.2022.11.07.20.15.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 20:15:17 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Johan Jonker , Jagan Teki Subject: [PATCH v7 10/10] ARM: dts: rockchip: rv1126: Add Edgeble Neural Compute Module 2(Neu2) IO Date: Tue, 8 Nov 2022 09:44:00 +0530 Message-Id: <20221108041400.157052-11-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221108041400.157052-1-jagan@edgeble.ai> References: <20221108041400.157052-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_201518_961593_F783331F X-CRM114-Status: GOOD ( 15.58 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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 v7: - none Changes for v6: - update the carrier name. arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts | 38 ++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e48cfbc4e8e4..40cc34bd4945 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1122,6 +1122,7 @@ dtb-$(CONFIG_ARCH_RENESAS) += \ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rv1108-elgin-r1.dtb \ rv1108-evb.dtb \ + rv1126-edgeble-neu2-io.dtb \ rk3036-evb.dtb \ rk3036-kylin.dtb \ rk3066a-bqcurie2.dtb \ diff --git a/arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts b/arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts new file mode 100644 index 000000000000..ae1cf344239b --- /dev/null +++ b/arch/arm/boot/dts/rv1126-edgeble-neu2-io.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-neu2.dtsi" + +/ { + model = "Edgeble Neu2 IO Board"; + compatible = "edgeble,neural-compute-module-2-io", + "edgeble,neural-compute-module-2", "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"; +};