From patchwork Thu Jul 13 14:39:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312310 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 40366C001DE for ; Thu, 13 Jul 2023 14:40: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: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:In-Reply-To:References: List-Owner; bh=mBHqkBwUQ552B8Pb738J15SM8HrbgolJij9zFUGFISs=; b=x7rmzXWsnUr4co LsJqddHHgrwwFwu4X4zYtLP/rgB3y72uDtmCdmKCBWYT9JcQx/hLooJ9k35ThCQhmQaSpqUNk1gSp R03SYnAyRXZeaxefl2X6ZhZ2ZXYuZ7KT7JmsLcM5NYnvoLFzynvCcR8s8oB6cnLZZRQH9GNeNurAL 7Y3yvic1Aen0iZnFHR5wJ+GfQLSAK8hnVeUDOj0vCq+kbxDALcBJ7F/5guL1/LoOWViadAFF2/4Zq DJpJEsC7V22xV1M9E7vu6Y2VUJBAGcXD0xFZ0pfM2ZenHZ5iUNkVzXSOa2offo58uEIj9vJKlg8lO mN725wqEqMIV9KYZNFcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU2-003aUl-24; Thu, 13 Jul 2023 14:39:54 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxTy-003aSO-2a for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 14:39:52 +0000 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-67ef5af0ce8so813505b3a.2 for ; Thu, 13 Jul 2023 07:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259187; x=1691851187; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+mjy0mS9NqxXX/xSAPkaEBYuaAZOyd6RQ1LTcKYvQi4=; b=Ji0vh+OrzUWrCOAHK6zb05/j3uqPMb1EoKWqW3ENaSqLESZHUusPiYulDVgp8GH5qx zfe4oNtRfOixWrFQZTBdTzxs+c7X6H9nEkDi16wX4rfHEdBNguWNBXfbe8DL8FhKQhIE hcIIsilKb7sZOpq1KNsYs39hgCVqFgpdaUHts/EF7B/wg0iLwsa/OWiuK647WfehNZG1 +FulzRgcNoX5W7J5XEvz060eFxLTCp3G4hjMS9fhSJe6iZIPNTpLipG0aZGruCm3okxG QvAArZO4etx+SmzIHAQVXsEdru58MVYDvrmNF+ODV52aX2O7RgHJvqM1V1cXoNKVsUX4 6KGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259187; x=1691851187; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+mjy0mS9NqxXX/xSAPkaEBYuaAZOyd6RQ1LTcKYvQi4=; b=MeDxMCTpTv5YwdI4wcclQeEjBLUCuEe0U+IJbdILKcw8kg0QFh99UYOMf4ij7JTgY2 6JS8BcquVT3UpvZHGD+mLLsG2FWBHmBU1/mUxvdp9jjM83E+gnr5Hzt3oxJMvMO4PSlc RMMf+FJjMFIexYLgQNA3843BSeOYMV1OCSlLV8owF3CIAGRGJbFv238HAev+mP5ljzgI adRh8san3exFu7W5lLD8O6eeornQ5eo2lvR9vkzVSujig32M9At47yfDI1FcKfcyzpMk Qx6C86VGcXPg0RiBaSRjTga7EARhl88X/8BN9QlrwH1zPWyMkSoSOO9y1QGSc/+RZQ90 SidA== X-Gm-Message-State: ABy/qLY3SpBgxpLNVsCX2YdKYmrm0EzjeRx5shm6DB31sGdP+/5CLvq0 yhbjj6J5pa1Br8/2tGnV+gXAcQ== X-Google-Smtp-Source: APBJJlH4WpKhfJFp1/CsLRbAC/Pxm5EGb3jbFP3+OjmTfpdW6K5f3VeTJGzmmHdh7rhfgZV/383qNA== X-Received: by 2002:a05:6a00:2e94:b0:654:4a24:d787 with SMTP id fd20-20020a056a002e9400b006544a24d787mr2453205pfb.12.1689259187258; Thu, 13 Jul 2023 07:39:47 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39:46 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:34 +0530 Message-Id: <20230713143941.1756849-1-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_073951_030774_7FB4B545 X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds PMIC support for the Edgeble Neu6B NCM. Signed-off-by: Jagan Teki --- .../dts/rockchip/rk3588-edgeble-neu6b.dtsi | 360 ++++++++++++++++++ 1 file changed, 360 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi index 4a87ead15b3f..db7656617bdf 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi @@ -18,6 +18,42 @@ vcc12v_dcin: vcc12v-dcin-regulator { regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; }; + + vcc5v0_sys: vcc5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; + + vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_1v1_nldo_s3"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + vin-supply = <&vcc5v0_sys>; + }; +}; + +&cpu_l0 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l1 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l2 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l3 { + cpu-supply = <&vdd_cpu_lit_s0>; }; &sdhci { @@ -29,3 +65,327 @@ &sdhci { mmc-hs400-enhanced-strobe; status = "okay"; }; + +&spi2 { + status = "okay"; + assigned-clocks = <&cru CLK_SPI2>; + assigned-clock-rates = <200000000>; + pinctrl-names = "default"; + pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; + num-cs = <1>; + + pmic@0 { + compatible = "rockchip,rk806"; + spi-max-frequency = <1000000>; + reg = <0x0>; + + interrupt-parent = <&gpio0>; + interrupts = ; + + pinctrl-names = "default"; + pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, + <&rk806_dvs2_null>, <&rk806_dvs3_null>; + + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc5-supply = <&vcc5v0_sys>; + vcc6-supply = <&vcc5v0_sys>; + vcc7-supply = <&vcc5v0_sys>; + vcc8-supply = <&vcc5v0_sys>; + vcc9-supply = <&vcc5v0_sys>; + vcc10-supply = <&vcc5v0_sys>; + vcc11-supply = <&vcc_2v0_pldo_s3>; + vcc12-supply = <&vcc5v0_sys>; + vcc13-supply = <&vcc_1v1_nldo_s3>; + vcc14-supply = <&vcc_1v1_nldo_s3>; + vcca-supply = <&vcc5v0_sys>; + + gpio-controller; + #gpio-cells = <2>; + + rk806_dvs1_null: dvs1-null-pins { + pins = "gpio_pwrctrl2"; + function = "pin_fun0"; + }; + + rk806_dvs2_null: dvs2-null-pins { + pins = "gpio_pwrctrl2"; + function = "pin_fun0"; + }; + + rk806_dvs3_null: dvs3-null-pins { + pins = "gpio_pwrctrl3"; + function = "pin_fun0"; + }; + + regulators { + vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { + regulator-boot-on; + regulator-min-microvolt = <550000>; + regulator-max-microvolt = <950000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_gpu_s0"; + regulator-enable-ramp-delay = <400>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <550000>; + regulator-max-microvolt = <950000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_cpu_lit_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_log_s0: dcdc-reg3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <675000>; + regulator-max-microvolt = <750000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_log_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <750000>; + }; + }; + + vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <550000>; + regulator-max-microvolt = <950000>; + regulator-init-microvolt = <750000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_vdenc_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_ddr_s0: dcdc-reg5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <675000>; + regulator-max-microvolt = <900000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_ddr_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <850000>; + }; + }; + + vdd2_ddr_s3: dcdc-reg6 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vdd2_ddr_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_2v0_pldo_s3: dcdc-reg7 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <2000000>; + regulator-max-microvolt = <2000000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_2v0_pldo_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <2000000>; + }; + }; + + vcc_3v3_s3: dcdc-reg8 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_3v3_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vddq_ddr_s0: dcdc-reg9 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vddq_ddr_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v8_s3: dcdc-reg10 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_1v8_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + avcc_1v8_s0: pldo-reg1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "avcc_1v8_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v8_s0: pldo-reg2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_1v8_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + avdd_1v2_s0: pldo-reg3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-name = "avdd_1v2_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_3v3_s0: pldo-reg4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <12500>; + regulator-name = "vcc_3v3_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd_s0: pldo-reg5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <12500>; + regulator-name = "vccio_sd_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + pldo6_s3: pldo-reg6 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "pldo6_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vdd_0v75_s3: nldo-reg1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <750000>; + regulator-name = "vdd_0v75_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <750000>; + }; + }; + + vdd_ddr_pll_s0: nldo-reg2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; + regulator-name = "vdd_ddr_pll_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <850000>; + }; + }; + + avdd_0v75_s0: nldo-reg3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <750000>; + regulator-name = "avdd_0v75_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_0v85_s0: nldo-reg4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; + regulator-name = "vdd_0v85_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_0v75_s0: nldo-reg5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <750000>; + regulator-name = "vdd_0v75_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; From patchwork Thu Jul 13 14:39:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312309 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 5B20CC0015E for ; Thu, 13 Jul 2023 14:40:28 +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=haWMXTg4fzc74oLGLN89iwGE8rZ4VmIwuD/mJT7Dy9E=; b=eNi2quPMtqhxMN Utn44O02XOrMhyu128wszl2rvNgWwqoXQL5L9f0lO+gbe4yPhRSlR4V41OSMZnrjBB/UeAYAjdWvx KPshuKgWbgLzD/7cMn3F1zIbrKyumFppi1mj1dFFySnm4z5woQqGY9ordIkAnS3wOkqdC47235Xxr bBbXbRe8JiDXtW84M8ySEaLfyZkvLGjg9+rJqqi2Vn3ohF/0m+C0GTgKZE8qNFSRcqLVNFDywPrDx UP43jK2DvrQDrckYsp0TM31eUCTlN7MkzwUhDKleDGWdmRK//uTvsFQ3YldPhxpT0FdgoUjQHICic IA5spS3TI9NkF7dNzx5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU6-003aW7-0t; Thu, 13 Jul 2023 14:39:58 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU1-003aT9-0J for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 14:39:54 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-666ecf9a081so818179b3a.2 for ; Thu, 13 Jul 2023 07:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259190; x=1691851190; 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=44xntmQVuIocvp9s9TbsDCmRl73TYtCTvSM3VlELycA=; b=KT79sBxeert8Qlb1aWZLVC/38nQgjwbe7HVTKUvBPbHE2QfBJBLBoDnDL5+GDId3nJ kA/hrbbQidWUtsN6wVyXo/3/3zm0R4UoaRG7dhIQv2PgezUkprnknCMER4hUkkiQhULZ iP1YylGitYnwrJoJL1iT2cO4OY8y5h3mO10th+stBAty2CeObFEoxEsNCfq1kEtSCL/W iwynbZHYwt/Kq/YFuj0/7KVtBU1lsAJd8+fsyONZ2fr7Vb6uMGrlROvhqpnyhee/5zOJ fA4JUyVBTw6tN2kNwG7GpSL+HqNV1g4YZX7/GSXiFgyF3WaBBBeoZiUy3jmfEdyazj1o zGLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259190; x=1691851190; 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=44xntmQVuIocvp9s9TbsDCmRl73TYtCTvSM3VlELycA=; b=FWRQyV3Dw6IbU0SnCneJkXvvFzNgysf6ugGprqVLaLt6uDVgwD0Wzb1ThIpJ0uE8KR ymam9bPrLi/OzW3FIwC4pwGKa3eJoXGUoxKisWiWGqRNHsAaTvupzOd+htU9lk//cvwM F0kIxHjhBOf4BqUwlRbpvS7HFTG9MVlBGS6upX730FWbjk/UiqqxIAPjPxX9G37S8XgO fTpB5BKCHAmIKUPFUlS7POSdANojosJO3Z4HH5wa8aIbs76mLFuhO2ILek00IAblRZHL +7t8YiEOFlVbWbon3meMrI4C1gy+Pa+JrPggBCmFz2PSt412kEXN8FI2CeDYAnCwmVXs mX+g== X-Gm-Message-State: ABy/qLZUsSnYcDf0uH3/vX7FTsNx7XIVocEz3NXuIMdvYIHWQnb0EgJz PLV709j/RnINJYqYdGEI6CQLCg== X-Google-Smtp-Source: APBJJlHgQi7IAw3UGaYH8fi8qgIWy+V/PE6O0DiYgylzUsU1VOkGEolDAugg26tqgaJfWlTnwUUKng== X-Received: by 2002:a05:6a00:2e98:b0:662:5146:c761 with SMTP id fd24-20020a056a002e9800b006625146c761mr2330273pfb.17.1689259190279; Thu, 13 Jul 2023 07:39:50 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39:50 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 2/8] arm64: dts: rockchip: Add microSD card for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:35 +0530 Message-Id: <20230713143941.1756849-2-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_073953_134979_0F872642 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add sdmmc support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- .../boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index e9d5a8bab581..7f9e2c750287 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -21,6 +21,19 @@ chosen { }; }; +&sdmmc { + no-sdio; + no-mmc; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + sd-uhs-sdr104; + vmmc-supply = <&vcc_3v3_s3>; + vqmmc-supply = <&vccio_sd_s0>; + status = "okay"; +}; + &uart2 { pinctrl-0 = <&uart2m0_xfer>; status = "okay"; From patchwork Thu Jul 13 14:39:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312311 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 B023BC001DD for ; Thu, 13 Jul 2023 14:40: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=m48VF7ELZaA8KtHkQtplUxENiD4DL9vaV+ebAOzQi44=; b=kpAN8Od4vcciAY yOVjygOItweqVtCD6Q8esF5YwNwNBGsm+reOq8BFtoL2qWphfd52QQGYcaCPR/KjmMa+/Ud7rJTNk Jys2qY1S81ooSw2UQX81lkpeolkSr3Y50VHXbAjnjvpEpRd9ivwC4l1NTLK+KyAyi36B6FTy/hSzp 6Lx0snl68u6uSUq0XdHlkB5pAjQqYIuD0lAKTqe9EKFxFkdEfMx0MHFEXlECTX5nDeYXuwCc/gTzt hWPI8ogi/HYsYd9M437TDtr8IhcSoYkx/jV0Uu7vB3rmnU44C4Vo9b9rIbK8MengwuPofcv0HfiYy 0KsCQBfnzIj0O9S5jwvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUA-003aZ7-2a; Thu, 13 Jul 2023 14:40:02 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU4-003aUV-0Q for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 14:39:57 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-66869feb7d1so516563b3a.3 for ; Thu, 13 Jul 2023 07:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259193; x=1691851193; 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=7zB1XPfhcNMtArl3vuKIcc3WSzGrnVrigx9OQGKNyiw=; b=0P9DSscAeX+uPqfiFSd7MFJE+7fGIgHocGha1bu7Htu/PibTRPvs9ejyWs30Xu4P0b Y3gw6m2vuG3owKyw4f0o+vsf5uY4tKVVmXnsKKbrrZ6vvvbarfmJpBYG/qvbnU0UT0b4 KfYAZpqx3M14d10JPpEz8jjsYeJIYwZ20Adf9bnvYTiTdOpjthd8bw4f/pOzxbzNNF6r jl71izEVFl104mYK5YpiD2SLHo+9FCncm44HAH2/nS5C1WRgVcEG5jm5IxTiT2YDNAzU 4j8A4KLsW0fBa7uiWg+Z0RzXYZYdL4OYMzn/boYrl5UpSVXR8CXrd8wmQjBeGVVH3C91 Bxwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259193; x=1691851193; 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=7zB1XPfhcNMtArl3vuKIcc3WSzGrnVrigx9OQGKNyiw=; b=GCvvSRGrQaBX3fMLKgeVzQc6G+Pfe2a5y2UETsLjmeJb4A8YuyOMDI3+Qfch0PaJHR N/LMMbZI0Y/mEjijX0+t9vUd4V7jUx4zT102PRErgOACDyEtg8gDSWWRvcmV456D0TjV VMfofYcqm1F3jvc76siiZo6jy/GdZknL4XikI8o82BsnZBjVEzHTaLPne8f2swnbf+q4 WG3KF/V2UOmbL3efbwwfYpTbQvSCau3tLpOm0s3l9Pc89BRdcZHMs7NggMcsTIdt9FWR euj1bMLYsmSX9KmNVlu1ZJIJ5hH+8eEJWtZgdBpv3GHAFh1A48aQLFgv70hO1hpGOpyn UbXQ== X-Gm-Message-State: ABy/qLYO5+ra8GljAoe0NTlBbQHcwdgweAXol8+196trvqyyqrblGaK6 dcWwpKf0gIoZgGQDzU0cGHCPTg== X-Google-Smtp-Source: APBJJlHHasrwoctMJrPEurc6F42vi24LFPbZDgofhEE1TweUVlUzY/otWUJ5rUuxaRvD+CXflZW8cw== X-Received: by 2002:a05:6300:800a:b0:118:2e5a:efab with SMTP id an10-20020a056300800a00b001182e5aefabmr1166089pzc.4.1689259193164; Thu, 13 Jul 2023 07:39:53 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39:52 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 3/8] arm64: dts: rockchip: Enable SATA for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:36 +0530 Message-Id: <20230713143941.1756849-3-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_073956_181422_DB149ECA X-CRM114-Status: GOOD ( 10.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add SATA support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 7f9e2c750287..0b6f32e9b820 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -21,6 +21,14 @@ chosen { }; }; +&combphy0_ps { + status = "okay"; +}; + +&sata0 { + status = "okay"; +}; + &sdmmc { no-sdio; no-mmc; From patchwork Thu Jul 13 14:39:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312313 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 8CAAFC001DD for ; Thu, 13 Jul 2023 14:40:38 +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=PvdmuxCpWMrh71RrixAXlC+VLvw+RRfQ2selQPgy4ZI=; b=CFr6VMwHZFZsFz SPUBp4oMKcI56Lud65wnUEc+oNvpHuQ3iVPJCjyFgEH8znXGdBGEf4C8u8ST8v/DWR8PidCMGxLnX QIuyed2f1GXpN/OCpzSk9WeaLlA0v3bVatu8RE33KQGSWMf6p5IUEbBQ34/qIaVG11vtQmrPRCdam Rgx2oDbFxhD4lBg9JhIzKxkl74JaaNOfU7vC0Qqo3uJrxSoT0VwNfg2wpmqUSEYIEKOBvJpw1jImk hgD65wk5WwjBXJBk2uLDQcDITRsIyNHrZCquFt4Q8sNieFPm1I9dJQ9W8IhqLoaSAyKRhQ9ANJNDx 8hI25S+7KZ/kmbKoUIAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUB-003aZb-1X; Thu, 13 Jul 2023 14:40:03 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU4-003aVX-1W for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 14:39:58 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-666e97fcc60so521391b3a.3 for ; Thu, 13 Jul 2023 07:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259196; x=1691851196; 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=657oCXGaEC1qcJW0ADVKblYgk8WH34A8M/Ct3AJE75g=; b=Ccnm6l7dp8BUccBVmo570I2uE1NE/PoAnSeMKRPcz6vMnWStaj7AZ7WUUbn5sMk6X2 rM+HO5CeQoNW9RoshZ8d7x+ZxDzOQUUW15aCzAHH3iadkzTj7TgoWOoOy6glkT8GbgBG SIwsZKb9610mQf2qWouXlKKaFUyCkPay2UMOaYLCKZbsoJw5IXbhim4V458bwqVq4d4t i7aDSz7yBhfq3Z5ZllbjcpmFHqVfajhSPC9MNRnc/UWnGmJ6draCEf1uOlngfjTO1jeD lo4HybjMoA6BLXN6t1e+dNNo/ffoxkB0VSW2nJmdUCpgiYQFOBHaM9pBdy3g+MIG7o1L KKUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259196; x=1691851196; 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=657oCXGaEC1qcJW0ADVKblYgk8WH34A8M/Ct3AJE75g=; b=BDW+u5zrKe3TuN4jb3UP5bvc1FPfofeGc0uydCpshP6e197U6BT+kSEv1m9kTUOQ6t fXk+Oxf/m2DcSaAcsw8v6yev5BpeDo9al/rKQrwQq5iOi1WLS6fwbiupnZJSflKylWng 2Na8bxwTNiARW5Upju9ZIGdgTlsehKfcsa2VnYyQ8XZW/kKEX79QNwbtVTaEHkPFnJMJ q2Ek8H04WfINvp0iJHHXBySWCZFu8720ZaM4Htl+TqHcqH0ZTIdp8czK+x1uf/EV6054 pgSGgB+oZLWJnutVoChhEkpeTyWpjhbf6tWfw2FDWpXO0OVUs2il8DM4Axd0ThzgyJWB ommQ== X-Gm-Message-State: ABy/qLbSdUAjelAdV8+YNzhjo2zQVl5QV4w7hZsIXcF4FLBLYqxuQEZJ DzvoDnEGb+ntxB29RyokLiesmg== X-Google-Smtp-Source: APBJJlEv5CMhsWbLWCQQJzBhUkl2wK7p/N1rvYEl07j+cHYOj9/qbBAnaXMwfwDV8/H/wBunxU1s9Q== X-Received: by 2002:a05:6a00:13a0:b0:66f:913a:7c1c with SMTP id t32-20020a056a0013a000b0066f913a7c1cmr1630524pfg.22.1689259196010; Thu, 13 Jul 2023 07:39:56 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39:55 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 4/8] arm64: defconfig: Enable PHY_ROCKCHIP_NANENG_COMBO_PHY Date: Thu, 13 Jul 2023 20:09:37 +0530 Message-Id: <20230713143941.1756849-4-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_073956_509785_3BD70808 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rockchip RK3588 SoC has NaNeng IP PHY block used for PCIe, USB3, SATA and SGMII. Enable Rockchip NaNeng PHY driver. Signed-off-by: Jagan Teki --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 347307eb737f..4be8815c1d51 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1394,6 +1394,7 @@ CONFIG_PHY_ROCKCHIP_EMMC=y CONFIG_PHY_ROCKCHIP_INNO_HDMI=m CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY=m +CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=m CONFIG_PHY_ROCKCHIP_PCIE=m CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PHY_SAMSUNG_UFS=y From patchwork Thu Jul 13 14:39:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312312 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 28D57C001DE for ; Thu, 13 Jul 2023 14:40: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=jkCm9lXo3t5oWln+wqu4IszpZaMHnLJPIayXxm5bMkc=; b=wG71E90HxQ7c9F qrXM4Pnjz1brMJ9l6fYhSn7+jikxAmG5V7o4sGzFdVD+QN805hc9TMCNzlPGr+3lOgoD0F8QKckwb G4Deodjx1DCTG72ChT5GlWy8KmrX9lw0m+1jVkWQ9bBCzav/GzYCWEmeg6b7NVGeiyzlLjCh7TN22 DLhxftC5LkSdGsVQKbezRgoeNocNYoaAC5aZ4YpROIGrb/xa2m1aGwpghbV9VL8NWf9WuGi1xSCLt TGkDBktfTaCSHW9dciUAl7qjbSSVJF41MmSouQBk+guLDeH1F093Aq3rHEeUHE4NbTsujypATc5hu 2K/9LD36Xo3J9KuWAyCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUI-003afQ-37; Thu, 13 Jul 2023 14:40:10 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU9-003aWr-2H for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 14:40:03 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6831e80080dso524381b3a.0 for ; Thu, 13 Jul 2023 07:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259199; x=1691851199; 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=RPx8TXoMTBPqv3uRnnY6UKXIImJhBduWLO7dIf7/AC4=; b=xqlwKQjsTqzmn1QJEGd8JXe/ZovSTVQG8sxdzZUhd0KKws6MSZrJTGvJoB0oQJxuvq 8RNXMIn1LV29fHId75foL62pGPrcAUoFnTuLm8zwAyqdo2zd8G2vn6v7vfEDCwQjLXXq 8PmvJUIlFAYRw0r1zSAcDHYng0sNhakloiIt5GZxxGIKEjxHNulQAk223PQUT6iexQFS PG9ow9GNMdJBzVSpjXJVSfAcyHLGvD7JV0bpBxrzJmDYCVaIFLFu9V6pg1/VFoZHfZ5b yuJ11FYceQWtqn4r91hf5PSbgmzoPtthk9hn6ytO/9vqephyAHJ502kJvZm/wpMxe8wl pmVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259199; x=1691851199; 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=RPx8TXoMTBPqv3uRnnY6UKXIImJhBduWLO7dIf7/AC4=; b=jtrN8DNzBeNfu/og2+pbELSxVyEhhG06uCTEF+0yJ9eVxkgEDr0D310px8PKonkpGv 7YVdi4iiXDjWq8hzcnvi/O4Vg49vAra7O+fIr+WwMjVt9W2Iy7k8IwGD6UaoINL5yy8c PIYSXmYxW4BPWNZqsyFRqw5jWC++ELbPEz/Mfm3r0ELq1bM+3GK7qiAgbj/o8ZP/Ze7S pII6yDcOg2eritGok/eHgMMkYv4ZdCW9vsHQG0EB//KxsDXWWXut0yqF6+bn0UyZC826 kitJDdzlNQ6QdLYz1suycb+5StPGyVZfugmU4yru6vFktZ64UCHbddPet9XxMtFj1aIl kFnA== X-Gm-Message-State: ABy/qLb+Qndh58UMnD7jgkkt/QJB+7BLwfdtFyGFLrLx1/9ZAOIslNDQ RLcUonFvLEKVkk38UFftDX8P/w== X-Google-Smtp-Source: APBJJlFcXSP+5J66G/A3nfy7geKUuQg05H6iIsJR+VanemdB50VS1DtFF6IgNq4ZIR2uniMrG3KhxA== X-Received: by 2002:a05:6a00:2d90:b0:661:4a00:1ea5 with SMTP id fb16-20020a056a002d9000b006614a001ea5mr1496470pfb.20.1689259198793; Thu, 13 Jul 2023 07:39:58 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39:58 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 5/8] arm64: dts: rockchip: Enable RTC for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:38 +0530 Message-Id: <20230713143941.1756849-5-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_074001_767205_BB1EE092 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add RTC support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- .../dts/rockchip/rk3588-edgeble-neu6b-io.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 0b6f32e9b820..4a9f85d7542a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -25,6 +25,30 @@ &combphy0_ps { status = "okay"; }; +&i2c6 { + status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio0>; + interrupts = ; + wakeup-source; + }; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + &sata0 { status = "okay"; }; From patchwork Thu Jul 13 14:39:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312316 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 4CE2CC001DD for ; Thu, 13 Jul 2023 14:40: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=MovXurS2FwkL9mXlsGCtpxnIeXhnKLWL9S5bWfYezq4=; b=1i8ezquu+oYIQy zUKotxzEwnmRrR0bPTKeHH+wnZDzpluV950nT9SoCH0PvghDSxTmKrueg4LFCBpM3BaDIwPWoBtKm O0SRTXXNdbnMVXx3i6Q8GxiYsPZeCX1i2UTFewqT3iajAY88QmRYUxWmobL6E6xvbEkwqsSzTpifT wdFg/G0uwl/JYhAkos55wJe4NcRWQsQTXivvWeapHmMEJr5T2fjPOVbi2G99v3UOYRu1gCTHGaang z3U2V9tbyvfam9fkizXhkx+4GWCTR22NPRJN7JrKl+fmReH3ZT8s/WYfUFzs99L6565Xx1sbrzrl6 DwICdRcaEc2OMkMShjQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUN-003ai3-0q; Thu, 13 Jul 2023 14:40:15 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUA-003aYN-0N for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 14:40:04 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6687466137bso539127b3a.0 for ; Thu, 13 Jul 2023 07:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259201; x=1691851201; 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=0608aQZ2HvApP79qrdqZ0Ss7hF0O6yLKjS9tzV8PstE=; b=al6RGEnf3A+MKz1SAsviIufGTBuXTDfmLe2a7xdRYDaeS1VT6TtwG94xd32G9O4VXE Szdc+N30Bg+P2QY0n+TnsTHhQjyZ3G1KqjE2eFhf8y+rUip3q8v8dhzwNXWQC2X1gGTi c/537zBegypsLkmq96Gly3nHtxx5hzQ2AmMtwzrFDpEd3K2L7Bu7yoRuwYq0VdSvroUL NqTe7D3E0C2zZ5vCtSz/iYsHg7/wyT+8eU0BL1/SyiNh6lWxYl0MRny4fIFrAEr3wPhd GBJ89d/fUarGzZNErta55llwRx3P+NdBaKe/fP2RUGucN1+UxkU7tjhaU0YeDkpx2m08 Oeww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259201; x=1691851201; 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=0608aQZ2HvApP79qrdqZ0Ss7hF0O6yLKjS9tzV8PstE=; b=XHmRJf/04lPj+i5FyGXcvEhTbPSBq/rlhGqobkk0RYh8AQKu0k3H0sWqxR2wocuIBN Xc8OiYFF8HQMLBzHn0DcJr1ZgX6FDDKyqAbpbhmTOIrtKfc9qOkaRBItiNrIAEr6NVHz cTJWNd4MltuNF/+br+4Y1B+8DPyyAEBaztyG+rqbaYhKl9povuRpurap+bw3T8teQgEa R0OBQgldUzF94So6Wx/0C2oBw6xlHQcbnaEJtIsIdXDccBiS93uXqQI1jqX5IQRo0rnz tdEBpvq4r0OurDkTUduTyZ4OyZvxLBrbYky9XusTs6GLZOuG25nKvtun1SzpHzfz6etl N12g== X-Gm-Message-State: ABy/qLYuwF1Y6JiZ3Y8Vi5cb3359kk91+cXLKiaH8T0JFAQy4vHoAU21 Dt3tV4ftypKAdZM9ba5l3HWZQQ== X-Google-Smtp-Source: APBJJlEdBAb5H+qipDdXPCl2HPctT6sc0210Fshtlh4TkkCNZ++Cp4jSjCmmQvACL33UejYd3wYbzg== X-Received: by 2002:a05:6a21:7890:b0:132:ef90:1f64 with SMTP id bf16-20020a056a21789000b00132ef901f64mr1306671pzc.46.1689259201569; Thu, 13 Jul 2023 07:40:01 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:40:01 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 6/8] arm64: dts: rockchip: Enable PWM FAN for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:39 +0530 Message-Id: <20230713143941.1756849-6-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_074002_175400_57F40F47 X-CRM114-Status: GOOD ( 11.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add PWM FAN support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 4a9f85d7542a..7ce87366c16c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -49,6 +49,13 @@ hym8563_int: hym8563-int { }; }; +/* FAN */ +&pwm2 { + pinctrl-0 = <&pwm2m1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &sata0 { status = "okay"; }; From patchwork Thu Jul 13 14:39:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312315 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 D2F78C0015E for ; Thu, 13 Jul 2023 14:40:46 +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=Lko13NuT555senkHzDY3LGmH8rOtWR4gVVjJUMivS7c=; b=n2ZRc2E0ZHDzfw o2IRW+WkZ/p7psMntck+rkJtZsECpqUi+rByuC6fEAbhUdx/ZmXzKeyOmR+40mOxYeTNUPUCk7qkN 6gFrFdV2Io2jEG3QFemy7Qzlp+tYbS0ogMT1/qANZosUIqsa3lufcmKyUffDbgLmx5ntcpIQWd1/l O8XQ8Mlzmro3yn/29YgCUMomu81EkhLKKvTsLzt+eZSevBPSuDm5LcWndF8YW2oNt9DSSDM7DoKtO m5B3WyodSbRY7QKO3lFUFEutlBUCh0ljZMMW7WRh1oKA/IWPIIpDWWA2dDEbY6RZh4kdWtIh68gE7 syXkf3sSgFhVEcIIfjug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUS-003amb-2x; Thu, 13 Jul 2023 14:40:20 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUG-003ab9-38 for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 14:40:10 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6689430d803so528527b3a.0 for ; Thu, 13 Jul 2023 07:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259205; x=1691851205; 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=7FgQIEmSzQ4dFeEFG76qRf/jhDRaMc5SrZrSKL4bD1Y=; b=KTEmLT4F8Cah0ovXAWR3WZ+iIf5n88zvYx6AeJQpdfDQGPXSTGGMvHYv2c/+6nrJRP 9l4h+HqU6yslx59r8zY8+3FL+8GVx3gmqft44V74DU9RCabgvFfGdOs6zI54tVHUFlS+ UVhSALUdvxRZLShushRqNlDwCQVTJODQfYNhkHERV2vo9sVjLzg8oAQxCc4c8JR1tGCP 5Ukb7NriUld+fbt71YSjdOVazfB7CkvdTfaYUPIWbZl3VrTEm5gyBnwYwiZOZac4k9jq n6j55WQYrlsUHz2xsIw/dHsoOQzrPuOIYg5LlQmwJ/cidUo2NhVZtksSDpq1Ul9lj9fN eU1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259205; x=1691851205; 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=7FgQIEmSzQ4dFeEFG76qRf/jhDRaMc5SrZrSKL4bD1Y=; b=Lj4n450DIVy/vVbtJhR9drCAJIGSwVhj4g8Wst/PSmkdryS4XPEQdIRhH8boFWo5A8 AbrIU0Z5HgPuvhAafJHQqsTrOOiDQE9p7mhSzvZWBGD16BSTJ8qUdX6HjoUGO/NO4hHX 5pWFg1PLDH7xt9whtfFAeVN8M4n8dJXick7tKjcF9R2P0maLCGiOGHkFzGaXHxZ6VH9Q pHpknIPrVhdjnQg2Dz8xfwPWtKu/1gVY0a+RRmDyCqZViExqL3jD3UoF+Ozq8N3UuQfU Z5y+BFKrtoj7uxPxzdaeioobx7aSAiBPq4FXPYM7Q1/xZ1QcN/voM7E8wicr688o70tH gKzA== X-Gm-Message-State: ABy/qLY3oEAdk5IHHnWdirFqvx3SirLMnCLCSvxg0u9MhBUWWyWjX5hu 7ybPOFVa5EPSi8usnxpK9l8NMQ== X-Google-Smtp-Source: APBJJlEPTj0LTZ9j4HJ7wKnTjcCoEfBrmnuijG+9GGHwH7UEyrUfZvu2cVGcA2ICM7t3pGSIklBJqg== X-Received: by 2002:aa7:88c3:0:b0:682:562a:39ae with SMTP id k3-20020aa788c3000000b00682562a39aemr1908978pff.32.1689259205162; Thu, 13 Jul 2023 07:40:05 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:40:04 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 7/8] arm64: dts: rockchip: Enable RS232 for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:40 +0530 Message-Id: <20230713143941.1756849-7-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_074009_008108_BC1FFAC3 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add RS232 support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 7ce87366c16c..1bcd64680ff0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -77,3 +77,10 @@ &uart2 { pinctrl-0 = <&uart2m0_xfer>; status = "okay"; }; + +/* RS232 */ +&uart6 { + pinctrl-0 = <&uart6m0_xfer>; + pinctrl-names = "default"; + status = "okay"; +}; From patchwork Thu Jul 13 14:39:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312314 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 C34BFC001DD for ; Thu, 13 Jul 2023 14:40: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=K0x0vFSMYJMlxUHsp82IqQk/xZERHAFhZQR+AnSM0EQ=; b=fQQQ5K4efdhJgr j3I4FNkhpK/7r4PjrZpbVbr4GMsZPlou7i5DSyh3NI+t9zpr4AM4W3NIReAk8HX57eALozKgHU7+r Aj8TKlGLgemyxkc+66kzdL+uLiFhOp1peEJQOxUwtjTZXizEDmT9840sjm6mTp3dXbY2zdFKdMWej WDZg5dT7G7GBMqqJ8Auomr04pUUwB5GhMAF1tyIV7NuBu0BWitmRnfG5He3yp2jBcRGfLjmDjMvDd PcXge0mzcaW0lkVCQgAbQ63qmWL3zlQtZNTFAoYptOim/YrQ56TiAJPPehEVNvDpn2cd3DzpkTHOi ws4qAbRWFCu0a9QyTxqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUS-003alu-0Q; Thu, 13 Jul 2023 14:40:20 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUG-003adO-1M for linux-arm-kernel@lists.infradead.org; Thu, 13 Jul 2023 14:40:09 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6831e80080dso524545b3a.0 for ; Thu, 13 Jul 2023 07:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259208; x=1691851208; 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=K5vZ1vv0N6K8LaB+S//93BMQdabNI48ulO78d3KhNAs=; b=ViUr4yqzbp/7T1fHL1dSLBxZ5canTK9h+yFzNEtiMTgBVeXe/XRCSjtU8Ys6/nxdVC hG0ythVN0K8XferSdjJdJCB1jugLF/mHAFmdqxx99/crMOQJXOsg/pw87UENZCYePGuo j/Mll1JQmB3xSa/IQ6wOWCeRsTtbqqtTXiU6TAJjw5rviSJXqh2KzjLkLSTFxxBAsfKH jJaIyb4jeYgYElpXMGeRcWr0ski9x88Dvuk9pDjKT7yIDHqZp1ISSuWYDILxTyhLeHTQ aDy3wz+5ehBKBHI+F6tXdK4D+BwAb6AyAy4o/hmjhUD5bxtAYhKnDtTa0BZavaYkm7fh Vbxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259208; x=1691851208; 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=K5vZ1vv0N6K8LaB+S//93BMQdabNI48ulO78d3KhNAs=; b=ETn2wiNSvX9y0LB1XlW/JYxYznaCxahds71T3dwXSb/Qb19K1TmGANmdTMzSrQGCci TR0FLhk63nGoz+Qr3HLQWguAh325UqKZArHRfazTUYjB++a+cbOMcIMIoR67wGVdXANY g8aKg6uWsZjxKaOxpZV/ldJCXB6EdleGCzWavZgnzW22DaxnQFYnCeywVSfmgmaDr5Sg 0Pk9ummaxpCFwpxoySA4iW+CUhvMohedO07FM6Idw1FzCKdDb6K6pe2Tld2EWsy3hzdc eSQrxuq/r56U7FWvFYWpVwk+HvSZlJ9FRyNrLxQHTZwjfaCswv0MoEB3Bpk4N/TUlHkZ oUeQ== X-Gm-Message-State: ABy/qLahgi9c0Hackg4pbMfs1BdknzcM5HRBBFtV7GjkIfvoBaUOw4fl EBAIywZk2MqQTIoApZLSDgtbGw== X-Google-Smtp-Source: APBJJlHaB4XRsF1iruppO3ErGKHoxLxsp5GZ23w3i5jBtiochO2BfLPG5L2raB1yLQjo/ijQpc7KXA== X-Received: by 2002:a05:6a00:3a1d:b0:680:f6fe:8908 with SMTP id fj29-20020a056a003a1d00b00680f6fe8908mr1431203pfb.9.1689259207857; Thu, 13 Jul 2023 07:40:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.40.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:40:07 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 8/8] arm64: dts: rockchip: Enable RS485 for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:41 +0530 Message-Id: <20230713143941.1756849-8-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_074008_463903_9DD09816 X-CRM114-Status: GOOD ( 10.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add RS485 support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 1bcd64680ff0..72b0e5150155 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -84,3 +84,10 @@ &uart6 { pinctrl-names = "default"; status = "okay"; }; + +/* RS485 */ +&uart7 { + pinctrl-0 = <&uart7m2_xfer>; + pinctrl-names = "default"; + status = "okay"; +};