From patchwork Sun Oct 23 15:24:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 617677 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47082C3A59D for ; Sun, 23 Oct 2022 15:25:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229587AbiJWPZS (ORCPT ); Sun, 23 Oct 2022 11:25:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbiJWPZQ (ORCPT ); Sun, 23 Oct 2022 11:25:16 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2018.outbound.protection.outlook.com [40.92.99.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 549F4317D5 for ; Sun, 23 Oct 2022 08:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a5H5QoAUlm9XseJgrz2Oqv7Ydlraa4rt+JCRk9XZOXAa8/DDUm18lUsSiI8AO8kZ3WiDQ26e7gFkzYqSuIGZq4rto3mpEWmXgZ2rdsXYRFSqp5CnkvM2QOtWN9o47vyBlx6e0ibGyi+WxTNZtN4IXOKa5U1px+4Z6/Q4OlaSlYSgslSvKIhDYWYN6cDIKBwaxTpXNBgeRETfIlhcF/KEDU+nNgF70SohHbuC+rHsJVY5wBXo2O7snC3Jd9ZrlfTHvfmpN/O7GKAZJSge5PAi47JfGKSzoI02y0RnxMyKcdh7ZTI/Q7uhTUIfFnJ4MLIwfl3tm/ZCUdadwmU/zdbmvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FORUlqgGGZFzWqmWvvRfC09/Pav3sEsvyedI+qScY+M=; b=jwhzln6e3AalpQGBtL0kk6jLKEtJB6XJzzzCurAPK/e2MKEk2rZsOgF6+67tqheniW6j0F3kLeVqESPFqE+BnTzeWb5T8PAQMdHsfuZPwyS0QG6Gk/usyL4yIC6qSI5YtyrB+82m7b/kwrrx/9mBe0QiyD6GNMEG59yjzU3IhEPJkgwqeHCgiAtOuAknOBSyRgJjrTu8p69wuTGCsb5kAzc7ou9MX9QuJrjrfC5qxq7u2HT0jBKjS7XFSsGuUBl2QWokuKHL3zILpqJn/h+zwijIrCG2qQBPsqBwn8qRPZhdmTWb4w1fcX8WCFWZ4QYW6xxkjt7Zxifcj5Mti/Nk4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FORUlqgGGZFzWqmWvvRfC09/Pav3sEsvyedI+qScY+M=; b=cZ3ows8u/gvlp7sCVoIqr4uw5p0oRimBKQzvexLbYLNvmH/Bh/iPHWEFp4bvpmpXoqQwkbLpfVTmMNXJbYB0NRU+3mRNT++Nki+lefXymiqtXf4/WId9ng4rLK5qSYIsdBTcgRHdwob9cUsvq2AC8Yw/d+0Tt5XrWEXew8/+9l2iqrbZTjkf3b4ER2mhTK2U0DGbqUlti8SXR5kOaOqoTx4Hipy+8FjVX5/tzM/alwvT3DHHPA90CVcqmhubI1Ym5/HaTtbV7czeWFCJW2dwoV4mTLWOBK/ykDCCCs4wCRikaErxsBBFn7CfbIGq9TcRjXDnZ/E6RtFrjofmIgE2dQ== Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) by OS3P286MB3403.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:208::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Sun, 23 Oct 2022 15:25:11 +0000 Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::4de9:f94b:b58f:948f]) by TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::4de9:f94b:b58f:948f%6]) with mapi id 15.20.5746.021; Sun, 23 Oct 2022 15:25:11 +0000 From: Shengyu Qu To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, michael.riesch@wolfvision.net, s.hauer@pengutronix.de, pgwipeout@gmail.com, frattaroli.nicolas@gmail.com, frank-w@public-files.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Shengyu Qu Subject: [PATCH 1/3] arm64: dts: rockchip: RK356x: Add I2S2 device node Date: Sun, 23 Oct 2022 23:24:38 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221023152440.2546-1-wiagn233@outlook.com> References: <20221023152440.2546-1-wiagn233@outlook.com> X-TMN: [75yYaoyLFJyEe2I5Z06+Z+1jgqBFAsIQ] X-ClientProxiedBy: PS2PR03CA0010.apcprd03.prod.outlook.com (2603:1096:300:5b::22) To TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) X-Microsoft-Original-Message-ID: <20221023152440.2546-3-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY3P286MB2611:EE_|OS3P286MB3403:EE_ X-MS-Office365-Filtering-Correlation-Id: a1340e7d-2dd1-4eb7-fc13-08dab50ac6b4 X-MS-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EjHXT6btNOURk6vbm8iBlwdCXiOqIsiS666zFetdGcDmIsEJoO2/PxnFbHafRYjOkyydn7zDwSBvwLG8GPKSDVLQ6MgeEYuHusmkBoa4RFGAu0ZDnPyDboOIb4FeMnBVvvHuRo4Iabvk/+kX2ZoBZfqeESFyXbpFCfmxL0s3OKXVMLUvbrqCk2K0/JlCANYZVBot+ONaMNqyBe8hhuvvdJxAeXd8InipJvpnAdYIvBPY7rFj1X64NjRzVrrA9zj5dh7eUfA/xMyGP+xA6NivF2EieWdr/OarXxpod/adA+q2+ZJoNl8jMpHPdr3A+XZZKgACLmZwq5o5d2L7dVM59RMP07iUF3vrRnpkFA3XqAC/EUY2lDo6YZsO7HYS1FaHZsD08vhEugNEq8KJDNojBlbBrEHDmg/sk2orz2zkxSpeL7G/Vae3KpBgmW5fb55SPndk0SyL9ynHudgzP24B7otk87vU4mc9UdsUGCygWd1yTo73bRh6qD9ruF2i3ZD5XgxHOqHr0VQwf8thu9cTynpCoqYfGyuMYvCrfKB0Zkb3GwxneN5Gsm2zRcB5d+LTiJW7eSQD3Wd06uIcYQdNSj4iLidJO2QTNA7Y5C2RTaMyJ+pILGjLptmJ6Zo274ATHF5+uOltWBR/16YR0xA4vRFagt7CVvAyzkDwHwpW9VlaUNJqNHJKE/s+cgb/EnOiub4xuMMOfjflXOaKmcnKcuVW2F3ByNq5u+kWxyqfzzi2hF0J8VvMzrXiXsySYoCg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a1340e7d-2dd1-4eb7-fc13-08dab50ac6b4 X-MS-Exchange-CrossTenant-AuthSource: TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2022 15:25:11.6896 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3P286MB3403 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds I2S2 device tree node for RK3566/RK3568. Signed-off-by: Shengyu Qu --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 164708f1eb67..4af1e28b3a0b 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -1105,6 +1105,28 @@ &i2s1m0_sdo0 &i2s1m0_sdo1 status = "disabled"; }; + i2s2_2ch: i2s@fe420000 { + compatible = "rockchip,rk3568-i2s-tdm"; + reg = <0x0 0xfe420000 0x0 0x1000>; + interrupts = ; + assigned-clocks = <&cru CLK_I2S2_2CH_SRC>; + assigned-clock-rates = <1188000000>; + clocks = <&cru MCLK_I2S2_2CH>, <&cru MCLK_I2S2_2CH>, <&cru HCLK_I2S2_2CH>; + clock-names = "mclk_tx", "mclk_rx", "hclk"; + dmas = <&dmac1 4>, <&dmac1 5>; + dma-names = "tx", "rx"; + resets = <&cru SRST_M_I2S2_2CH>; + reset-names = "m"; + rockchip,grf = <&grf>; + pinctrl-names = "default"; + pinctrl-0 = <&i2s2m0_sclktx + &i2s2m0_lrcktx + &i2s2m0_sdi + &i2s2m0_sdo>; + #sound-dai-cells = <0>; + status = "disabled"; + }; + i2s3_2ch: i2s@fe430000 { compatible = "rockchip,rk3568-i2s-tdm"; reg = <0x0 0xfe430000 0x0 0x1000>; From patchwork Sun Oct 23 15:24:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 617676 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BF2CECAAA1 for ; Sun, 23 Oct 2022 15:25:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230007AbiJWPZh (ORCPT ); Sun, 23 Oct 2022 11:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230113AbiJWPZf (ORCPT ); Sun, 23 Oct 2022 11:25:35 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2029.outbound.protection.outlook.com [40.92.99.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7063E39130 for ; Sun, 23 Oct 2022 08:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gr/N48BJSeJECrWzwfxrI1hTSFh9aViWNKheO86nc+ycsm4dVIIo+n3P2UDhpv0RrI6i12lbHoEDoPiaNFJ0J70UBgqKE6ga9hxPW0CVFYwT5QqB6HvpwFdKaa2UYmHLHgvRMIPCaCVxuUi+xWdFf2QE2rhNt6Af55tOCRBrDbXoarUHkBZ556M1Qhy7uCHOLuH9aFhh0WjBTuZz3/BFnhNnmEABcBUSeKuC49GWfBDcQZ9XlwbVu1jWAWcGCi0dwp9PvvQSQEBfFeA92Q7l0l35vK1fBdwljmHDMWYmwBtJn6+ziXLcvXQgxuGzAGBpi90pJu0rjh8G/8CCAC80eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B+YkZnyTaSCGaaN81OI187EPcGabNDf+qaTUxTK8lLQ=; b=TJqa8rnopYFvsD/Gug46JlSDW9oE2eXJRHrwx7dxFjWLkK6SQ/mdH7SGqtycNo0tfMM6Nw44SOyxf098CBAHEH/jSR79arA4r2qXkfJJOnSomKCEIfikMneAFQtHuFjSQjErIZ3Mk5LsHHd9nVRf+od652Nq0ecAAlLm2vUs6qYwS+VNxNlFjwRFB9zY0F/Qfp7emw152RReDsfJnV9Y1b2U6PMvA/H/q4eKPxRrw6T3oQ/QfyhCEb5zXUIWbgJ7Wuq8d/4ZdVTRB7vy8gbLcIPM8O8wEHwoumhCBCk7DziGxrYz1zXXEPS6jElqV/4V5bNOD0UrhLtqI3SvL4fdTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B+YkZnyTaSCGaaN81OI187EPcGabNDf+qaTUxTK8lLQ=; b=HYyfFzWk6WKJNXadpgwFt86RYc3GCcP/TYdXwzkVrxlzctAlPQt/lWtidkVWhifAeBM1i7E5u1CdklsU2Nsx36FOeOt3hQTn/hazi4TGpwgveiSGPPZ27hUjYDTqp5BuexNRGMNrFm/ZW8sdVeohJu6Gq/N5XQ3+YLeK/KVt6LcajSoPcvgJRx3zUodap3kupq17f9I6LrzyqQsZJuKaAdyWtZbbkgrXe+lnS2iEN7inh/oO3VGcHCD8hKl0qSQ8fALy6V1XD6+/AXKf7NEsnBmVhhbysAyscSdTnMwHYrkRag9CRjhH/XkegwLLEx2FjN21URajKgF9Unoi4WBnCg== Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) by OSZP286MB2192.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:189::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34; Sun, 23 Oct 2022 15:25:30 +0000 Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::4de9:f94b:b58f:948f]) by TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::4de9:f94b:b58f:948f%6]) with mapi id 15.20.5746.021; Sun, 23 Oct 2022 15:25:30 +0000 From: Shengyu Qu To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, michael.riesch@wolfvision.net, s.hauer@pengutronix.de, pgwipeout@gmail.com, frattaroli.nicolas@gmail.com, frank-w@public-files.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Shengyu Qu Subject: [PATCH 3/3] arm64: dts: rockchip: Add nodes for SDIO/UART Wi-Fi/Bluetooth modules to Radxa Rock 3A Date: Sun, 23 Oct 2022 23:24:40 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221023152440.2546-1-wiagn233@outlook.com> References: <20221023152440.2546-1-wiagn233@outlook.com> X-TMN: [OuWKp5PY2JM43QLRWT+RNCtTFU8sYA8D] X-ClientProxiedBy: PS2PR03CA0010.apcprd03.prod.outlook.com (2603:1096:300:5b::22) To TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) X-Microsoft-Original-Message-ID: <20221023152440.2546-5-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY3P286MB2611:EE_|OSZP286MB2192:EE_ X-MS-Office365-Filtering-Correlation-Id: a31e4f4c-e770-4829-b681-08dab50ad1f8 X-MS-Exchange-SLBlob-MailProps: HeyTOiyEx6bXUCkHGqUvW+yTD5AlCjqAjMJaomfP8MBERm4osVyGKi0Oo/+5/vzy87drNv426/7L/w8fC3OwS/OCzt+4rEl7WdbsmI+1gm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mHMKdJdlznxchTi9GZLrXXJ76W+bsv3VxLFgSXphsPMQyr1l5SY7YLJe0alR8r+IMMCCJXR1QxVjt/QnFC0PnHdnKOyNm1o3Ub/fHsINItQ5VGqO8pmlnPpfQAhgz9XjMxGMl1AW6th+TAv/UV/Iac+UAKvpnRpwuoVdr5J/oIbmfpZqxPwXYwheYKDdkI/ZYLcKKWTb+YH4BQJwA4VFFytrzzY3KqxhN785Vb9ObncmF+qCyPm+tMD3Y98lO8xljQcnx36ugHpPjwQAQzbzqzW3Lfx1isgUF71wbpzrIV5XrWGQcJO3Pb6lIbHQ4WYQMTRP2kk6sVh9+NTS3GfX0C5mcrBVveyR67UHRFnV6OBgf3UxFfRjo7KlGY3jhTwXoRogPPPR2albs8rlF5ty1UW77B+eakmkJPneXbQrBErF++TmoGVMXB2B4LALX/8oOc5v7d4QnK39ibz/GnDS8gk4Jm28QtBTeBS9491EPs/jsmQQcMdSB1d7A1BK7HJFnHl22D0GgNcpLbB94xq3w0D3ByfxNr5nQ4XliKCSD6AE0Rr5WFYz/Na5PAs+0qSepEgAEV69aD5zs6dR5c33v2AYfiVNK2lVl9TdtgR1hEADDm729eYYRDu6Zfug== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a31e4f4c-e770-4829-b681-08dab50ad1f8 X-MS-Exchange-CrossTenant-AuthSource: TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2022 15:25:30.5572 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZP286MB2192 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds related bus/pinctrl/power nodes to enable support for Radxa's Wi-Fi Bluetooth combo module. Tested with RADXA A6 module, which uses AP6275S (BCM43752A2) Signed-off-by: Shengyu Qu --- .../boot/dts/rockchip/rk3568-rock-3a.dts | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index 9577a34bb367..9cf20f3b4d16 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -60,6 +60,17 @@ simple-audio-card,codec { }; }; + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + clocks = <&rk809 1>; + clock-names = "ext_clock"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_enable>; + post-power-on-delay-ms = <100>; + power-off-delay-us = <5000000>; + reset-gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>; + }; + vcc12v_dcin: vcc12v-dcin { compatible = "regulator-fixed"; regulator-name = "vcc12v_dcin"; @@ -610,6 +621,26 @@ vcc5v0_usb_otg_en: vcc5v0_usb_otg_en { rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + bt { + bt_enable: bt-enable { + rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_host_wake: bt-host-wake { + rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; + }; + + bt_wake: bt-wake { + rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + sdio-pwrseq { + wifi_enable: wifi-enable { + rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &pmu_io_domains { @@ -654,12 +685,50 @@ &sdmmc0 { status = "okay"; }; +&sdmmc2 { + supports-sdio; + bus-width = <4>; + disable-wp; + cap-sd-highspeed; + cap-sdio-irq; + keep-power-in-suspend; + mmc-pwrseq = <&sdio_pwrseq>; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>; + sd-uhs-sdr104; + vmmc-supply = <&vcc3v3_sys>; + vqmmc-supply = <&vcc_1v8>; + status = "okay"; +}; + &tsadc { rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <0>; status = "okay"; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&rk809 1>; + clock-names = "lpo"; + device-wakeup-gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake &bt_wake &bt_enable>; + vbat-supply = <&vcc3v3_sys>; + vddio-supply = <&vcc_1v8>; + /* vddio comes from regulator on module, use IO bank voltage instead */ + }; +}; + &uart2 { status = "okay"; };