From patchwork Thu Jul 15 02:56:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Gilmore X-Patchwork-Id: 12378333 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67EFAC12002 for ; Thu, 15 Jul 2021 02:57:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2AC5960C40 for ; Thu, 15 Jul 2021 02:57:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2AC5960C40 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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=par8hUjd+mSMe/J84kbMiWguiGkpiHiN2w6b0QvTeNA=; b=sTOnwlvIPScEVw wRCC8jvatNEQ42DW1o1OhW1xCScRJp67iqtKgPMsHWZt0H+b1gw5raYS2RTIHtQGBMxcnRpsai9cP K4qVgVnGip87IUya04b8t4CxtvtEtIC92zwbIXyQDmNuH1iFPx1pukzwrcYGga1dr5ps9rZONrHhO +ux+frqKb9rjnMWhAUqhFVC3nT053gRFam4YgtgwPMu1IuiUEuyhJNATqzID2wtBXDrXuDvClanPJ +/TCNEKknBEXTmpHweLxZ3HQSUBxj7VUAos/FUfgeTmlSXO1N+IR2rn4AnFTpNucMUR1nEB+7dV0d zG+FUF+LcLebRYd2j+Ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3rYt-00GwqF-F7; Thu, 15 Jul 2021 02:57:19 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3rYX-00Gwkc-V7 for linux-rockchip@lists.infradead.org; Thu, 15 Jul 2021 02:56:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626317817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5HtOhtY9A3lJk+S03M4q/MteJLZvObE+vhVxSQf8wa8=; b=eSyMYlgki1u1qDkQydC11EuPoopY/EJNtqXR/I3tg/h5Yd6cLL5Mfo2RmyB8PvALIP9f0J QaNk4G/HvNd3CP5b0b6DdFockhOx9aPv4KnKg/12coILv4bFWP3JGJiVdy8KtaAHL9DNUr GS/zAE8BGDd/GncYKeKU72ErNsHYTqA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-504-MrutHEZ8O625yAa-5Ya7WQ-1; Wed, 14 Jul 2021 22:56:53 -0400 X-MC-Unique: MrutHEZ8O625yAa-5Ya7WQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 54B5436254; Thu, 15 Jul 2021 02:56:52 +0000 (UTC) Received: from dreyauc.ausil.us.com (ovpn-112-46.phx2.redhat.com [10.3.112.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0DCA91A872; Thu, 15 Jul 2021 02:56:49 +0000 (UTC) From: Dennis Gilmore To: linux-rockchip@lists.infradead.org Cc: dgilmore@redhat.com, Rob Herring , Heiko Stuebner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 1/3] arm64: dts: rockchip: helios64: set stdout-path Date: Wed, 14 Jul 2021 21:56:29 -0500 Message-Id: <20210715025635.70452-2-dgilmore@redhat.com> In-Reply-To: <20210715025635.70452-1-dgilmore@redhat.com> References: <20210715025635.70452-1-dgilmore@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210714_195658_089907_F6C6DC30 X-CRM114-Status: GOOD ( 10.83 ) 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 set the default output path to uart2 Signed-off-by: Dennis Gilmore --- arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts index aeedf098f67c..bdcf6472664c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts @@ -43,6 +43,10 @@ avdd_1v8_s0: avdd-1v8-s0 { vin-supply = <&vcc3v3_sys_s3>; }; + chosen { + stdout-path = "serial2:1500000n8"; + }; + clkin_gmac: external-gmac-clock { compatible = "fixed-clock"; clock-frequency = <125000000>; From patchwork Thu Jul 15 02:56:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Gilmore X-Patchwork-Id: 12378335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C6E2C12002 for ; Thu, 15 Jul 2021 02:57:34 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 10FA660249 for ; Thu, 15 Jul 2021 02:57:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10FA660249 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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=xhV+8mkvHiDMNjhwjm0ADPAL6gUvlFiRL9dChzCKwno=; b=G3VDPlHUmn0cxP cYYBallieFWUVFqHh5LC6KljDsZKoEPcPuU+iWrHcR0jJt/pamjxq2B825hRjmEk2BsrmAhZql6rG TU3G12Xilcr3Z/JZvl7PUNG5v566o8YCS4pfFAHq7/7DtR1YjbkRyPuoteRkSgM4Ne5VdZtvGCl+Y v95xJdIXZFhdGm80oA2sVT3TzMX2spJydxRB+GsCr6FEiw5C/jOhSBbF40K5IpxYcVbhOETNarZRp XC2Xt3eH0mP7an7egwyOWZGDmUkf7UCaisGUPFzdc92/ov4WTNsmNjQc/LlK0RtM8lVG/emSJ9SAu FANWaIWULBjYvgVwYyNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3rZ5-00Gwtr-7g; Thu, 15 Jul 2021 02:57:31 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3rYa-00GwlF-TM for linux-rockchip@lists.infradead.org; Thu, 15 Jul 2021 02:57:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626317820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lwoHLx2eJfcqWlSuvHPH6Uv2QHfVsHItf+nTiFi6sqA=; b=bz1FXCkwBLrO1bXNjpszSWee9FrS3M75V0H9SJYVSt+9SOgCezfLUfqREvyrSvIXjT83ah V+stgxvz3rL8pf6iaoYR3GhkptO33vShoYej6i2vYlnv3fMkgoJCoXnQ3QaMgs1h9Tncl+ 8OaMZCJjoGS0lLUuH7TLsI7BAadj+eo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-418-MxUKuWkdNAaDGJFu6GEnjw-1; Wed, 14 Jul 2021 22:56:58 -0400 X-MC-Unique: MxUKuWkdNAaDGJFu6GEnjw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 89ABE1835AC3; Thu, 15 Jul 2021 02:56:57 +0000 (UTC) Received: from dreyauc.ausil.us.com (ovpn-112-46.phx2.redhat.com [10.3.112.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E54B626E60; Thu, 15 Jul 2021 02:56:56 +0000 (UTC) From: Dennis Gilmore To: linux-rockchip@lists.infradead.org Cc: dgilmore@redhat.com, Rob Herring , Heiko Stuebner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 2/3] arm64: dts: rockchip: helios64: add SPI support Date: Wed, 14 Jul 2021 21:56:30 -0500 Message-Id: <20210715025635.70452-3-dgilmore@redhat.com> In-Reply-To: <20210715025635.70452-1-dgilmore@redhat.com> References: <20210715025635.70452-1-dgilmore@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210714_195701_106209_BE8F331C X-CRM114-Status: GOOD ( 11.45 ) 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 SPI support for the helios64, u-boot can live in spi1, spi2 is user accessible, spi5 is for the sata controller rom. https://wiki.kobol.io/helios64/spi/ Signed-off-by: Dennis Gilmore --- .../dts/rockchip/rk3399-kobol-helios64.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts index bdcf6472664c..09c5a6fa11ff 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts @@ -21,6 +21,9 @@ / { aliases { mmc0 = &sdmmc; mmc1 = &sdhci; + spi1 = &spi1; + spi2 = &spi2; + spi5 = &spi5; }; avdd_0v9_s0: avdd-0v9-s0 { @@ -473,6 +476,27 @@ &sdmmc { status = "okay"; }; +&spi1 { + status = "okay"; + + spiflash: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0x0>; + spi-max-frequency = <25000000>; + status = "okay"; + m25p,fast-read; + }; +}; + +/* UEXT connector */ +&spi2 { + status = "okay"; +}; + +&spi5 { + status = "okay"; +}; + &tcphy1 { /* phy for &usbdrd_dwc3_1 */ status = "okay"; From patchwork Thu Jul 15 02:56:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Gilmore X-Patchwork-Id: 12378337 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7538AC12002 for ; Thu, 15 Jul 2021 02:57:48 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3FD4C60C40 for ; Thu, 15 Jul 2021 02:57:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3FD4C60C40 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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=nLqSVVxsyXE/csvET59xFEk6GUbtKH4u4l9OZhWg1ic=; b=k/UR68fgCdZ/MA yp0t+U6heYtBtq0i5qVG/3yYdLf/++Hc52oxjfuMusoyAsiNBVf4QqRpwmzAOcHKAkl0VyrHJMNbB 0INU4oKWr7xBcH7/24HmQ5cDK7cUaD/e/84yOlz+mlQkuaLLee74k+Y+oMnR/vCY05Fk40Sc977vY vSS8K6wM2Rlat6i3oPp7BZO/6CwmM+QtdCoCDl3KAYE/hd/gtrzNIaWVj3ObhXffSAaPg66H8m1nV 2ihHWsYB4v4w9NsxK+NBzdDXYRLiDDBtMN7bUn6ILVM+ABgNxIXs5LddbS3hmVsPpl6kObgJQkx6I 4/Fagn0Q06F0oe5twc0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3rZJ-00Gx0K-Dl; Thu, 15 Jul 2021 02:57:45 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3rYj-00GwnZ-Ox for linux-rockchip@lists.infradead.org; Thu, 15 Jul 2021 02:57:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626317828; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aVBk4SHqyOlcbF1ifNVSq0kIYoC+2bJkL0n2RJO/CS0=; b=fXHJNudV1qcQcz9KEvODxxMOOV6gWkikjo7F1ksya8E4dLZzFLkimaxxzalDBt595bDaPZ pc8ZeOmwwxhPlT+NENGUtTQPaIswKNqZ+DKGXbsySHaCT1YyZQc/OxyqNqZOImy4p/zcLn rsSWAuQ1+FeJRlqOpgneRcBkfQEUkpE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-593-bnnHU_MUP3qKj-JLrGIaHg-1; Wed, 14 Jul 2021 22:57:04 -0400 X-MC-Unique: bnnHU_MUP3qKj-JLrGIaHg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8EE7E1835AC3; Thu, 15 Jul 2021 02:57:02 +0000 (UTC) Received: from dreyauc.ausil.us.com (ovpn-112-46.phx2.redhat.com [10.3.112.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EDA6326E61; Thu, 15 Jul 2021 02:57:01 +0000 (UTC) From: Dennis Gilmore To: linux-rockchip@lists.infradead.org Cc: dgilmore@redhat.com, Rob Herring , Heiko Stuebner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 3/3] arm64: dts: rockchip: helios64: enable tsadc on helios64 Date: Wed, 14 Jul 2021 21:56:31 -0500 Message-Id: <20210715025635.70452-4-dgilmore@redhat.com> In-Reply-To: <20210715025635.70452-1-dgilmore@redhat.com> References: <20210715025635.70452-1-dgilmore@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210714_195709_904596_FE715DFE X-CRM114-Status: GOOD ( 10.82 ) 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 Enable the tsadc thermal controller on the helios64 Signed-off-by: Dennis Gilmore --- arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts index 09c5a6fa11ff..b44e54571c31 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts @@ -502,6 +502,14 @@ &tcphy1 { status = "okay"; }; +&tsadc { + /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-mode = <1>; + /* tshut polarity 0:LOW 1:HIGH */ + rockchip,hw-tshut-polarity = <1>; + status = "okay"; +}; + &u2phy1 { status = "okay";