From patchwork Tue Jun 1 09:01:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12290801 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=-17.1 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,USER_AGENT_GIT 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 E062DC47080 for ; Tue, 1 Jun 2021 09:02:32 +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 9C57A610C9 for ; Tue, 1 Jun 2021 09:02:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C57A610C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=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=EMbsiut5OZaU54x3zjLa5opMsdn7aXuIGccQtmfQz2I=; b=PQk3kBjmpi+Oc1 r+R6wfJfHCY61HrmqVviUe6RCzWzKOJNBLDYct2JmB7b7SWQQ9/nlg09Nk2SVsdsPUqsau3y2DJ2B XLXr1o+H+z8JLXkpHEqn3yrbMTag8lzyRtGY/33VbPEqG6tPJiEXpjMCHR9kgnhnyYbTpc8Ad0afa KdQCjGyoFdyxnWrXsz86S5ma3TZfYQ0/8SPdiDwAnx6EvhqfnhjrwHtNRY+LDFYSG/SyWsvf0Ic0R Qy2WJBS81bemYc+LfS3wZqy001yrXjFZCrwuv/aZmNGbe9qmlUYaDh0FYFKSV0DL6EagnHcl/1p8T oF2rJJCexGe+Wy+j78yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0I8-00FUCT-Ds; Tue, 01 Jun 2021 09:02:28 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0HW-00FTz5-BZ for linux-amlogic@lists.infradead.org; Tue, 01 Jun 2021 09:01:52 +0000 Received: by mail-wm1-x336.google.com with SMTP id s5-20020a7bc0c50000b0290147d0c21c51so1422844wmh.4 for ; Tue, 01 Jun 2021 02:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EDi2mw6WIsOG9a2qhW6Yl1ooRjSzYn5fhSnlTxTnEKk=; b=L1bePSihMHTzgesRU+wOrg4LnzZm+Y8hnaNfY37fI2E8QemwtowmMVZQHaH3NBa8hd ZfpDirz7yNc4eJJ+Fi6Thw2q00k4xizx7nQS4OETwvntWQ2Bt1fUT7m2Zq8UCIR52V3O IymmuT0bvj2PQfAVmii/pphvrHdbV+zq/ADfu5unvwpNGLF3X0APCWAtJ2fHH7w1F2B4 1X4Q1Pvs8oFPfXjlnUkN39SO32F4ZSJv2BWBEy1mfPPh00Fo82WddJj3XiKglcjLFNQK +8W+ejmPWtWaQFdx12jeIMPlj0Ja+H3qAfAylb2DmlfvZ3twgWJjWEI+if7vEwBGOJ2P rxsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EDi2mw6WIsOG9a2qhW6Yl1ooRjSzYn5fhSnlTxTnEKk=; b=nfgM32uTz7kJe6yx+/MS4buo3xerophKVg65Sl2aBYxHosl2MHjrYZRyWcxrFzHpso gxbbBtZxWyQi5qosVp+jUmBxOpFqMLEGSiot25TY+mfF93owZmZGf0V4YWXgmYCL0YuH 0C+VYCeXt4dsm1TgfKGJEQq0r8J3U/eNHPD/9VhS3dYoqIbhNLmalTV4Xko6PDJGDAj+ oeSM16nPRFJETbx1+hYx1uLtOfCIxuH3biyE4QvvP+DvDgVqYkK6KEmX046qMUzWgyF/ 79Odg5/alTVaFps6jl3Dq6NtwmL/yh8G8nSo9IcuSaL7BWH/gysiyPcMAZ9G3tVHQf6x gneA== X-Gm-Message-State: AOAM533xsZnUZJ2xd691Cow24xqkRfQZn2w3fhES+/JJ6RI5YWzvPDcE 52yMtlxnY+fDUr3PdowVaDTc7Q== X-Google-Smtp-Source: ABdhPJx4wmLMtfAJcffUQTp7OFN7GQ7uCm4sseVIhGjWnrFYutod890o3lGcfZLNDgyJJASw/yIjKw== X-Received: by 2002:a05:600c:4f8b:: with SMTP id n11mr25617158wmq.180.1622538107692; Tue, 01 Jun 2021 02:01:47 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:a3a:d001:6a80:207a]) by smtp.gmail.com with ESMTPSA id e17sm2668199wre.79.2021.06.01.02.01.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jun 2021 02:01:47 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tobetter@gmail.com, Neil Armstrong Subject: [PATCH 1/6] arm64: dts: meson-sm1-odroid: add missing enable gpio and supply for tf_io regulator Date: Tue, 1 Jun 2021 11:01:35 +0200 Message-Id: <20210601090140.261768-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210601090140.261768-1-narmstrong@baylibre.com> References: <20210601090140.261768-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1044; h=from:subject; bh=RVG2YgfB1rqHQ1RBvlzfyjp6vgCQYnivHRfs0+IydqI=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBgtfc7TAEbzF4Q36frgpZgT0AJbdPxo50OtIppfKwp waTgzUeJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCYLX3OwAKCRB33NvayMhJ0RAGEA DE4xDEZfXa8r3NcvgA66pyh/SHC+2iK+5ZDsBmC+YLj1JTQHZD6IdR15P2tp82uD3PWZ6S0Mwq1ObR 3ro/yvYlZliQH53njyVzo5lOE6VRZdroEYcjY1kGqpRUk+Oh0vKBgcy3IQPH+kRYjsQVVwKyQAaHjX ZC4dVSi+g9Opk2TbJEd/5Xsao8uYZQL2NDr5GH/zvsCOxuHyXAkulzOTD1dcDnwc0cT6dPQvYSUKed O0kNvWKc9e4dHo4qj4ylobG/VKR9Y3KngHeHSEApXzQX4t+VhkCSSjcQEwxgjQ0gHlHrNXBxu/JDNK BNZgIOcG9ZAbQwp3OeG9bk5WqhRXHFYXnH74nKG0dLt3qafp7ZW3yK5J0MrqyN8ygLGR7YaSmYfA22 QnmASvCyqySiyEej+Iba0GgZgmqTGpZWhC9PqEdquM1Q/RGtp/oZNIx5FTvHtXoCITisVvuVcf/yGQ RWNRutSSxvlOxIcWR1gRdNot/rWACVhYXOmjcvzCxbYvSujTFuNVidICtNVZhcVSy3MKE1CI3BvdZ9 jScU4AFirjl0DytHS/ieO1oP3R8QPSryXMaeArTuf9lp851vFJ4o4VgzEe040B0oV9I0psAA+APz// /ghEmndZiq3zV/rdiVi7AYRvOIaM95sGme9246el5n9+u0lO8kRZS4+DQk2Q== X-Developer-Key: i=narmstrong@baylibre.com; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_020150_409948_25C5D1AB X-CRM114-Status: GOOD ( 10.33 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org As described in the schematics of Odroid-C4 and Odroid-HC4, the TF_IO regulator is enabled by the GPIOE_2 GPIO and gets it's supply from VCC_5V. Fixes: 88d537bc92ca ("arm64: dts: meson: convert meson-sm1-odroid-c4 to dtsi") Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi index d14716b3d0f1..af40ba461074 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi @@ -46,6 +46,11 @@ tf_io: gpio-regulator-tf_io { regulator-name = "TF_IO"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_5v>; + + enable-gpio = <&gpio GPIOE_2 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>; gpios-states = <0>; From patchwork Tue Jun 1 09:01:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12290803 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=-17.1 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,USER_AGENT_GIT 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 43166C47092 for ; Tue, 1 Jun 2021 09:02: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 02A3A610C9 for ; Tue, 1 Jun 2021 09:02:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02A3A610C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=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=0lOzWhISKCj/qmzlOiXx4rPw+INbqD4mOmsfJ9Qvw/M=; b=kqSJmA9j2kdR5J KyuVuwHtX7w/mlSiwgw+92YkAFzFr3ewj2XdeDyf26eDKEle7o1zOhwBKeiOsFJramQYqOyFBpqNb 4UTTZlxQS31KHaD55CRUF0ieR3zEELR+QYYOGbpZQnKf8+5XFsxEKR+S9tmHWGw3H7fmV9O54lZgI zg8ZFJ6J4IRYq4AlC0/fkTcqOHq/kxECCyKOydq+hxpA7bZJ/NTaG1DdIWoRpU0m53GJLquotXXJ2 8t4iZn8J579ubcIsoBtZJwYK2W5ATzzesdqnq6gFZj99W6I9JK4WLJCq1D1tHPVkTBaYlVLG7MEGA elC1U66BsseTYp4i0ykg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0I9-00FUCu-8S; Tue, 01 Jun 2021 09:02:29 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0HY-00FTzE-4o for linux-amlogic@lists.infradead.org; Tue, 01 Jun 2021 09:01:53 +0000 Received: by mail-wm1-x32e.google.com with SMTP id h3so7666021wmq.3 for ; Tue, 01 Jun 2021 02:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V8v8K0WEFQXEEpVnmTau1yLxHgljrFOj3yQnNjaehaA=; b=iFUIAErs8JLqTNy9uNleZtAnAx0vA6v+e75ppi6rvwxT93N87zBXVJTvl6lcU+0fU1 ufFccw6XOvN31uymyqoPTIZmZHOhGocNwkBqunbMytlNf4R9allT16yw0hxyMHEZeEGw iF1NK8nYAB96iVymjwI4bpLWRDfXeiuP5wCfjBpqbYG9olK7mhw/4xIqE7FUJiyjeb8U OyJ6zHh2ez8RJQ52LcF9JHKE2DRbC42md67fIB0ZaTAKe8c1n5KonbIK4ufgKcFqFIow i8bdSrSLVfxIeN+xRw7mfMmSqwYiY/8Whm7VK+dpRFMPVYQeV7ldPU29G2WDJC8YKfzL 9HPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V8v8K0WEFQXEEpVnmTau1yLxHgljrFOj3yQnNjaehaA=; b=HBT6St1aCNxnckEM9ozF5UNvUMThoP4mTq9wK3KKMcAGXH9sJak5raS3LIaFmrkgq2 Z/ymdsxcQLQ68n5K+BdJb+DIEkJyN09mxh4PyPWfQ6xurO9lnb5LIeRy5ZFQkaG4peA+ RhC4+MwM568EbjGoQcOzSWMk4YML8LgYdkumqvP0Vq4CEFb38tejn3/Zcj+9yInANln8 iqhJYLy+mg+asboP80u+u/RWy8Kpob1XbTWRSAJqfKj3cX+SKVYPgwV9YnkYqYjXOuXw 2nlMjIBOuJ1dvzXXYhUr15seE+sH+WdGfTeDeZWbFh+1ztgo4R7R9WofhPLEHlnWSirk 0Ong== X-Gm-Message-State: AOAM533xrJkhOIGy6V37sKnZ96O+u3Q6VMzaMa+yPPwHP/t7R2HjKfsn BFRtUwkquLYCNQ0aGRcafaAVQw== X-Google-Smtp-Source: ABdhPJxDNxuOkjVgNefIggbTpiKRLLV2xHre6tqn1iyIf9M+pn1DShFD1K8iVmz/2E5qaPEyNU+uQQ== X-Received: by 2002:a7b:c5cd:: with SMTP id n13mr25507536wmk.97.1622538108830; Tue, 01 Jun 2021 02:01:48 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:a3a:d001:6a80:207a]) by smtp.gmail.com with ESMTPSA id e17sm2668199wre.79.2021.06.01.02.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jun 2021 02:01:48 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tobetter@gmail.com, Neil Armstrong Subject: [PATCH 2/6] arm64: dts: meson-sm1-odroid: set tf_io regulator gpio as open source Date: Tue, 1 Jun 2021 11:01:36 +0200 Message-Id: <20210601090140.261768-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210601090140.261768-1-narmstrong@baylibre.com> References: <20210601090140.261768-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=998; h=from:subject; bh=9yMaHLPwe3jWkljS8fsiiW3t+WKkLEJUslG1TXLuy7Y=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBgtfc7olCqrUutdL0HKLAMaFWLCLUomQM2i5k6iVcw BQqPhYSJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCYLX3OwAKCRB33NvayMhJ0XmVD/ 9C1zwhHGaNkdYGhxO1DNFGEv78p5VHlsBqsd2cZvaA1vpZQm9TjTjfaB1psyZFNF+VP/9F3Ut6IuZF NtU2wmoKvv4P4tqlwikpghwd9hnYc0vcVtzpLrJL9pDjqTApqPXSuzQrtmFpnMlWNgEaMSXXITTEE+ M2DPho0YxlX9nRwP9YVSkLk6rSNhznxUSYbevCgWBVkgUGZFJfAYFQgmBzWbBVypJpjMGIkIOA51ww X1wMq4wZT7NwqdWFx6FYPoeOV4IHNTr3zuHESCSz/CcTCodaf81EZQt+O1TorioBrJUpERgimsakhA MAa2fIhPXg3ggJYx3lwsqfkyzjNBCv0K0DjGZaN6xOrmgzeR2cAFX5Yx0njg+Qi1A47zCNuPaJBFcD 2yFU0W6Ft6f18ZxWwrtsC9VVvwRb6UJMHmC4JIHOe6U1qDE8/AfeHYWg/GiIDkholWzJT34I5LJmRa dog0tVFUai1GRV2jSPTtxmi6Hy8BG8YM/Bdw2N6EbxWGVBFWJd0fZ5JIT1OC+BCOsKgn0XOq5h2qLj NQ8ryQ9MVNqIgvA3M+0tpe2x2MCz+uUCVcm3yAZ6LcDlRGAlKdfHgWadi5PD7KmxuO05wp7Q0x3PVV ebrd5YGquacK19hGE18LZjGqWyRW5A8y81Y4DBUvuTNRHKgZxHS06ESN7ceA== X-Developer-Key: i=narmstrong@baylibre.com; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_020152_201173_457E10C8 X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org According to Odroid-C4 & HC4 Schematics, the TF_3V3N_1V8_EN can be in Hi-Z for 3v3, and since it's the default GPIOAO_6 mode at reset, let switch this GPIO as Open-Source to drive for 1, and input for 0. Fixes: 88d537bc92ca ("arm64: dts: meson: convert meson-sm1-odroid-c4 to dtsi") Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi index af40ba461074..e64359163331 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi @@ -52,7 +52,7 @@ tf_io: gpio-regulator-tf_io { enable-active-high; regulator-always-on; - gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>; + gpios = <&gpio_ao GPIOAO_6 GPIO_OPEN_SOURCE>; gpios-states = <0>; states = <3300000 0>, From patchwork Tue Jun 1 09:01:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12290807 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=-17.1 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_NONE,USER_AGENT_GIT 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 899A6C47080 for ; Tue, 1 Jun 2021 09:03:13 +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 438666138C for ; Tue, 1 Jun 2021 09:03:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 438666138C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=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=aUm1zL6j4sWUQWOKbTCqP37ukGfWji5+HAICEOXPf0c=; b=OXl28ZvNAI97V2 OI1qKLSuTUZdArUYMWlnBIy0doWtZUyCdrN8UeSQ+9V+cBGsmt457HtNbLVyUWHv8HlTAV+TyVkyT aPcikYxwGy/anveP2fjJsaqC9hJXgoOSOnnHHNrJ/yBuvRgU6Y/1UFTZ2jjIENWGQj2Al60hLSLsp LT1gOrCQpd53PYa8yOygLKLihbQtDRqNpsSWK9zWL4zNLpQzgZpJBEsinMCuYOoQY7HJI4WXYZ1Ku MMQcK+A4+9//fwz1lT5p1hedDRYsx4MpvvDNr1qc7WXAtJSYx7zUprJah/SpU7Ptm2668bl8SbCTm SUXkWA8KpZC3SbomqqgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0Il-00FUXK-HP; Tue, 01 Jun 2021 09:03:07 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0HY-00FTzs-JL for linux-amlogic@lists.infradead.org; Tue, 01 Jun 2021 09:01:54 +0000 Received: by mail-wm1-x32b.google.com with SMTP id s5-20020a7bc0c50000b0290147d0c21c51so1422946wmh.4 for ; Tue, 01 Jun 2021 02:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rKDRJmHZMttlPazPpLKHDHRMGULieniEi0dVs1UUNhU=; b=l5wDNWXw4cqTBt4syqV9crdRJqm/REl/4kIxoAwrGT2c5hlrGMjnP355npzLeP50Zq jTqNdXtkXoOpVSFqdBhrhHSuHewM+Im1hYCTjgRAALIcozGVYrnZKjNjSfnX4m8ZAA+u BXSXvecZmDPHQRq5UPJRCWSFDsX6OtFNMmi7dFsPFTWvty+JTXaF/Dw6Hl9Wb7uwPu9Z 7zlQX+ntkocvYsheYqDMZjUB1eUoDtoMv8s49HV9Nt6gbnTDGzIVXQrZjPLXCgizZU77 5j+Wkvs+upMPD3ny3YrlYHGmjwdib2lA0e1VoKf9Scdop5nKvr/fQTrOq9mW85unHecW 5WsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rKDRJmHZMttlPazPpLKHDHRMGULieniEi0dVs1UUNhU=; b=EyVvU8E8vFGkBehtj61rYGfkyj0ALy5+WDTKIqzUgZeBy9PNBlS4NYKVR8ROGBCX3V b87WI61ailBV0mPsDVRouPzCHmEnSO1BY8Vwj0n7uEmwflBb67akyOg2qdHFuMwwfsV+ tOY/Bwzi/cQP2Y8d3E+cMAluf1bmvkRMBIWlmDczSRJYqOFFWO+blG4NnD/qMWsRlvxK IU6uOpfqVQZQH/cjvKSVVo4OJG00MhlzdLrUQWGdpiTBtv8tZawmlRFLqoUCiaZdOSfS je3x5p/WemUMlBEeYqWcI0A1UmGxWthTptod5GRU8a9YzVUi+c+kXont8sWivgHUeiny N21g== X-Gm-Message-State: AOAM533AXpcGLqO1YXsZoX9zuQe8fPmPaIpWLafA4zAmwak8MLY6/Pys n6FEP/hbIkfbqtVv39GOOKzpvg== X-Google-Smtp-Source: ABdhPJwb0D1ljl9jqkDdlMD1b5Tt0ywJhK1NOqRLW4VGZkjTCrbHVE5tB/0Tvu1x4KA60a6ZfQWkEw== X-Received: by 2002:a7b:c042:: with SMTP id u2mr25126567wmc.127.1622538109884; Tue, 01 Jun 2021 02:01:49 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:a3a:d001:6a80:207a]) by smtp.gmail.com with ESMTPSA id e17sm2668199wre.79.2021.06.01.02.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jun 2021 02:01:49 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tobetter@gmail.com, Neil Armstrong Subject: [PATCH 3/6] arm64: dts: meson-sm1-odroid-c4: fix hub_5v regulator gpio Date: Tue, 1 Jun 2021 11:01:37 +0200 Message-Id: <20210601090140.261768-4-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210601090140.261768-1-narmstrong@baylibre.com> References: <20210601090140.261768-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=970; h=from:subject; bh=+HX1gg32b5nfI1HpsRVt78lcl7f9Y+0WlkxAc4RatNw=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBgtfc7dRy4QVTV+uXHTDrPa6RSP+kH0/tRtz4WQN/f 94GH8xyJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCYLX3OwAKCRB33NvayMhJ0Ur8D/ 9qjOSWOCqqeI4U9sOTWJdg9pm0MuOZCQKdpX9HhKHeOvbMwATil8QLbSfDHuxtnEIUIfgnGNBdThD3 /M6+2whxepZJnMAnxWcA5MVfNyZrB94dU6aI2AX9+sApZgvK9eFAZQQF2I6wXz5ExnkdfLJlDZaxlZ 63GTj1HZ/HS2KKvx9jUaeq/bte2wJSJ23uWue1G0sc5+ZR3PkOJI60758wlNx3KsG05B+kprDxxrR9 22E9U9CE5Hm7LUt8vzH34SAWx0egC/37ETqBABrQOSxKFVIBu47BuY+S8+bIgvWrOZetS9ssQMcoKZ qINDH8CXqzadkxIm7+NWsaV2tySZfB4e/yuwqqLymMCPRvHUcj//cbaRh1//0K9SjotV6ncWSzIWNi pvb6k6MBtBYUdu1Yl0K/hdwR4PBFKLQSYP90NROKZ/bXXsGkzMFYhvF6XPKi5iOQdBNZP5nREzNkEl hqAgQNyc0rLinvBd6bLHLiUkOuaVzWuH9H5rAyxES6ZJ9iB/LBy/z5MIIC+xUvfCZN5NNQOcE/pdoB 5WAP9VgXY5EV05QnCHFKaHCoa+U3SEDakqCejIZQ76tiK0XjkyLsHCuE5nbZVJsbhALUzqFFTKdj/x tHeMjvOeZroDfTioxAx9eSxW+v0DE6B94V+pcCakQ+m0E02eeYARvaDiCmDg== X-Developer-Key: i=narmstrong@baylibre.com; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_020152_662132_5E83400C X-CRM114-Status: GOOD ( 12.68 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org As described in the Odroid-C4 schematics, the HUB_5V regulator is controlled by GPIOH_8 and in Open Drain since this GPIO doesn't support Push-Pull. Fixes: 326e57518b0d ("arm64: dts: meson-sm1: add support for Hardkernel ODROID-C4") Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts index 8c327c03d845..63695ea21b1c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts @@ -31,7 +31,7 @@ hub_5v: regulator-hub_5v { vin-supply = <&vcc_5v>; /* Connected to the Hub CHIPENABLE, LOW sets low power state */ - gpio = <&gpio GPIOH_4 GPIO_ACTIVE_HIGH>; + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; enable-active-high; }; From patchwork Tue Jun 1 09:01:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12290805 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=-17.1 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_NONE,USER_AGENT_GIT 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 195DDC4708F for ; Tue, 1 Jun 2021 09:03:13 +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 B4A8961364 for ; Tue, 1 Jun 2021 09:03:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B4A8961364 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=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=xbIFlOIaVEpjzaKSBCKhtPEsx9Ddc/lNk9FcVbW4YFY=; b=EZ157dmO3waG4w yNiNPRqj5RQKAzzShVs5qD4k8RYyBpdSrQolDqK03EusL3DaNcseumP4GVn0mjpDMBDxsz1eeEiGy kBUrwnRx/7Qgp6unQRXToldw4RD8WMJWTbt2zKHOONzLjm0Vklzl+n3qbyk26hSZZ5Uek4qqTJxle /evjAUyGmORe/3YhxRXmAdX34cLcTUyhaPm5bpl8nXPUejvgI0uud9rK2aPMfxQ9DlWeheVOx4zRG lBSCDtlcP1V3GcUmgKWPYqXtVJfInKrApFHngoUib3CpNGEcTDU5z2PXlOeQim0YxaY4ObXrZGJ4B qzeq3GoDpk1V/cvtHsCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0Ij-00FUWQ-UW; Tue, 01 Jun 2021 09:03:05 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0HY-00FU0b-8f for linux-amlogic@lists.infradead.org; Tue, 01 Jun 2021 09:01:54 +0000 Received: by mail-wr1-x431.google.com with SMTP id v23so11086526wrd.10 for ; Tue, 01 Jun 2021 02:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M/EhBdL/mcwjthyCLjo7WM86qd4xvEeOPLsDx4c68dM=; b=brIgtgyXP5wH6/eJGW+yCKboXD+vUEy/oq8cVeFXz3/ICuFwChJgt1MD6QATwiWytj y8jK/aaF6VCfPE1jv8nN9X4CTB1cdDtehwv0Ug2TWFMfkY/ACJd4wunQNIw5DkrwlhHX 8KXt2YOKyP6TWJyD+JdukwEOIawXI809cN21DeHtLQuIXPZC7JPQgrhHV58MzOy4mFvK B2tzlvTy1opf/ctFjWEBOwbSs+P/4YltrwwEWBJLJt1VcXaRkZtq8ZdCvVNJ1KbnsxTh HpqwXQDDGhQ1N6unhRwtPsMkiI8ZArx9kdFxzUFOsEmvvHjP+NkKD3uu6bnP21Pz22JW YRUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M/EhBdL/mcwjthyCLjo7WM86qd4xvEeOPLsDx4c68dM=; b=C3R2VH3uqZoh7VP6YckI08kzoz2NPwlXhW2Az17zg3XEwS0rNvhJ/wzVBjS2UsHpoG 6LhTVaM0Sek094LgKoZNEOh6Tls+Cty20bbKxw99rPkrzl+Si2oWI9vyBJBAsDFcXs0j sw2q6Aec6c3QYOrIDAuPXbX42PIrilEJWSQTDFJctMOf1f3W2WDQrZj6SpQbD8BT6Tg1 lG3o7JLwYkMryeJ9VVCMdZbsQNmjfR5q1G9WJyCCm4+sieEHx9WXTkAIJR6l7lVyUHvy YDPgoe6dnRH09ZZcRWkDGl2XKLVkz5GrEI09kUsBEuAU/xVtgr0ukHQiLKUm0R7HzTIT KT3w== X-Gm-Message-State: AOAM533vdNSSTieLiVwT0GfAbf1yTup4TxS0Tj7hZr408j0k921AD/FM AWKGAQVYAuXKhBiHNHyZo6Uk1Q== X-Google-Smtp-Source: ABdhPJwXhg802s5xEq9kaawNtBg4wA52SPsR6PFx/qF0B/gQ89XcZZ4uasLjdOblWXv0UD7QUklXsg== X-Received: by 2002:adf:fc11:: with SMTP id i17mr21836907wrr.374.1622538110933; Tue, 01 Jun 2021 02:01:50 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:a3a:d001:6a80:207a]) by smtp.gmail.com with ESMTPSA id e17sm2668199wre.79.2021.06.01.02.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jun 2021 02:01:50 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tobetter@gmail.com, Neil Armstrong Subject: [PATCH 4/6] arm64: dts: meson-sm1-odroid-hc4: disable unused USB PHY0 Date: Tue, 1 Jun 2021 11:01:38 +0200 Message-Id: <20210601090140.261768-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210601090140.261768-1-narmstrong@baylibre.com> References: <20210601090140.261768-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=856; h=from:subject; bh=wmaKsMmGNI6Mptjhlh3CWm/GG+i5sUZ0+LOTljh2gmk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBgtfc7TiwJuBdWNWz+GFjbrmG1iwLtkpiDhF8p9NNz lkUlPM6JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCYLX3OwAKCRB33NvayMhJ0dGHD/ sF+s6vTMAe+c6LXAhuzTXJmf1LGY3Vxsw+/J1CaksxHDoIXmzLtGBikdOfMGRSZGgzv4xFI+ZPJJq3 0Mahhc3EYNa7mNMT9jofX0Y475dgX9YFavsnMfvswiiB50tcKTXqNbM9J6Lm0xiHps010mqRaNnD4s NaLRxqcolX1mFcN5sPCGJ62bzV69EgquwtaI9ot6ddfR6X0kqFx8uOMQ5rtfxgQ+AGgzMmxkigNbPI OWuZgB/jvX3p3/WXQYSbNP4aPTatkS0rmaQA0B9NrlqeFs6gVzGYN/kZrBNiOZP0V7HMWxWWD5+NI3 TJdhgWxIu850srjrzlvdP65mxA6mjmzZsjkUeDBCT4/Jz+5lAUGmtipd1cWrQJPrqoGjK+Sap03x/5 bOTegFIrWQxp8GjpNKNvJ9EkoxkR++xpUhAP9GlJYU//4aZHTit+jAKKU0hq5G7C7ipYeIX+FqcYfo qcsfllNI3Yd2hwoqSsoKhLs/zk1wvVLSHLqP/ONJLS12aJhfvCG0G5w9b0hWn0aJUuuYgFLauVqjZf PXgK8/3DU7RJMsNRToUqEv7Js6BviSY+oUm/co/AUZcaWHDsh8QGr9fjIcdY7nNwpz8V3yw/Mia/Y/ KFxg7EsMLn7LUHI3Lgy+kcxSuWdAaYnkz6pjAZV4A/Y7BoroMDcKfFomx2tg== X-Developer-Key: i=narmstrong@baylibre.com; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_020152_318895_7BA2D875 X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org As described in the HC4 schematics, only the USB port B is used, port A is left unconnected. Thus disable PHY0 and remove it from PHYs list. Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts index bf15700c4b15..0a34b658f994 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts @@ -91,6 +91,10 @@ &sd_emmc_c { }; &usb { - phys = <&usb2_phy0>, <&usb2_phy1>; - phy-names = "usb2-phy0", "usb2-phy1"; + phys = <&usb2_phy1>; + phy-names = "usb2-phy1"; +}; + +&usb2_phy0 { + status = "disabled"; }; From patchwork Tue Jun 1 09:01:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12290809 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=-17.1 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_NONE,USER_AGENT_GIT 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 5C6E5C47092 for ; Tue, 1 Jun 2021 09:03:16 +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 17B6061364 for ; Tue, 1 Jun 2021 09:03:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17B6061364 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=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=1MMqE/d7wvHNVUo9+JCRN567L9GovyGGo4NdGdApWko=; b=y5J4YpkQOIs498 Hr7ha1zrcH9dyOEWWWnkZQmQ1zmH2MHFZ8do/3hkd4+B44TqdJXVa0HqOoJucafmQL4rZzr2yNsZ1 S17mhNgpsjStpGKjMDpbTW0fGtGTS72A1iuYqcZq5fU/BneUkVs4rYZG0KAyXwViT+/jatI05TFfC sVe8rXq+7/ou0nWEBJAr8FbxOxetFsS4Kku2vFYia6nwoITtrxJJr0hZ49WbWi4VHQ2JWsqGgB9Ze RZr9zBT39PTmsSprUU3waOCjIwVTi0FZnNRj+U6wVCQtIJWCqtA+LEWn/qaG6VigdH5u/SHQqkpM8 D8LRKL3u4UGurkmEU+PQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0Io-00FUYn-4L; Tue, 01 Jun 2021 09:03:10 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0HZ-00FU1e-AQ for linux-amlogic@lists.infradead.org; Tue, 01 Jun 2021 09:01:54 +0000 Received: by mail-wr1-x42e.google.com with SMTP id n4so13434256wrw.3 for ; Tue, 01 Jun 2021 02:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UHCQFBQhPzsG0CEaz0yeVlmPsGxszD+zPyDJnZSWUzU=; b=AqIMn9yHEuwVr2ZBVnbEs98mMuS9lRFi1IoNMU/OqM75U+SlAS1KDC1VuZBbAyaUVo sUdT2rJt1umJmcANWdjUkfevG0P43m91gzI3o+pwpf9n5MpAgZYkI1PUvI2Bh8V6V1VB g/ZuowGQmO110Wi7Sv43GFydJzWdk49VbTAsZabF1dPR0IKy4kts3ZGtHINhiZJFFK8j 9QNsEYR5+DJxxy89ccxwFoRjcA5wAfIpjTfZbzn3nuxhOCYkjzUwfigfx/KwqgfrIkQB TkadOsbtF1jH3LAziq93w3gG9yhEqkvgh5d5kKE/ZnlVvaRlcs7A/8+XR+i0pA3H8/wA k0PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UHCQFBQhPzsG0CEaz0yeVlmPsGxszD+zPyDJnZSWUzU=; b=rYSOVfZ3UmVRP6ONzS/Q+cmhWm1quu87EeI9YL10GVXGs74tvcCgoEHbX/EzsY+I+A LZT03F14BrK0H6AA0fPvN2XPHm0eln2n81RwgYL5YcHWM7aswAltveQ6cFuo9E3QNjqP +Q+sN50kIeZhkg45rdcQF35rsvBRud326almiadDwTQc5GvHBCQ6hmAkuX9Z6U7N2nVj F4bFEtO+6aW0fDtJ/I3Z1Dqb5pCK+loRtg3B5tMGkYwjQ04jiIpJpwPKV4KN6Ospk4Jw IukxbqAp8tg3hxT7dmzkOkbWqEYDt3YGfFPdIY6BC2mnm4nBWy/dE2ay0PNgIWXtz9w6 eLMg== X-Gm-Message-State: AOAM532EvcVoWqVlio6wUdNWNNjjDDDzj9vKsOPwGkU//Ed5ZDAfBzq9 XfAc/0RayNG4NA9+SR3Kx9BrJg== X-Google-Smtp-Source: ABdhPJzvIQebSNhoRt02RhludXujwexK7xW5RN0kUkeQ46rqmWXK+XEQICKQXdtppbGrD7k+CaDAUA== X-Received: by 2002:adf:d1e3:: with SMTP id g3mr26324279wrd.21.1622538111949; Tue, 01 Jun 2021 02:01:51 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:a3a:d001:6a80:207a]) by smtp.gmail.com with ESMTPSA id e17sm2668199wre.79.2021.06.01.02.01.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jun 2021 02:01:51 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tobetter@gmail.com, Neil Armstrong Subject: [PATCH 5/6] arm64: dts: meson-sm1-odroid-hc4: add regulators controlled by GPIOH_8 Date: Tue, 1 Jun 2021 11:01:39 +0200 Message-Id: <20210601090140.261768-6-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210601090140.261768-1-narmstrong@baylibre.com> References: <20210601090140.261768-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1713; h=from:subject; bh=sSgXAcLCZAuhm54ZUZ6B4N280tFMWl0vaDNAR/nWRyw=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBgtfc8Vbr2sDac/s+JTxxGHeDjlM2n08Puv6+y7xTy 6jap8PiJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCYLX3PAAKCRB33NvayMhJ0UQtD/ wLbwAP0eI6j4rtkrOzyfsrLx8Vz1/+wP64GaK8WGSO2mUi9iFWwrzgj0+oBdViiIm2Yjo1jY+5U8r1 ylhvE83B8p9t/keDyYlF5xkganfVyLmkCXO+ppSqNEKnbdnw21+pzjr2KxXbRTDleHjJoUNTsmLrNZ aRXG4QpLQM2penC8CrOuqDwOSjWcyVenExlQyyXRndm/vUNo3jBUbwoZq+HLSXjbRwZX3tL83Af2hk wBssARI03BO2BBcfaMYj6pPcW3gjFAt7CaL4tkfk8YSqKJP7uC5jHXplVjaYYo77wdd5DFuaxr/zSM dT2AA9WnyPJbq3DSHXdNhK6Bxet4RnhnbVTVuLUgUcc7CMoC2s5HyvC7WN8YJGHRlT6v0Yvq+hJbJD Hi7qQJQhIDmm8Xsjy/Z7Rezmr5HWITaWojRE8iV89CBk+s6l3tVw/G8rzyclhk61qn/bAF2ZWzY0i1 yiunXR5I4w2o+jV0qcGgdiU/q5vHlvlHjOMlxwrbOodB6HVSxepCoTSf0NMqearMjCCc31fRJNvWRw r/6W6CeB/OE0ut4yu66x0AcpzRljfnvYjVMsWud8RON+577jUHOSKKMNfLFPGSYTcVTu5vC8C3DfYH TFRqpjIfEQsBFRK+B+NDoFWs3OgETo2b6fhzcXWqF4xP4AKZp7Feq1rK2E5A== X-Developer-Key: i=narmstrong@baylibre.com; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_020153_411710_C16040EC X-CRM114-Status: GOOD ( 11.89 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org As described in the HC4 schematics, GPIOH_8 controls the USB 5V and 12V regulators used to power the SATA drives. And is set as Open Drain since this GPIO doesn't support Push-Pull. Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- .../boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts index 0a34b658f994..d36c25b5b690 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts @@ -44,6 +44,32 @@ led-red { }; }; + /* Powers the SATA Disk 0 regulator, which is enabled when a disk load is detected */ + p12v_0: regulator-p12v_0 { + compatible = "regulator-fixed"; + regulator-name = "P12V_0"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + vin-supply = <&main_12v>; + + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; + enable-active-high; + regulator-always-on; + }; + + /* Powers the SATA Disk 1 regulator, which is enabled when a disk load is detected */ + p12v_1: regulator-p12v_1 { + compatible = "regulator-fixed"; + regulator-name = "P12V_1"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + vin-supply = <&main_12v>; + + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; + enable-active-high; + regulator-always-on; + }; + sound { model = "ODROID-HC4"; }; @@ -98,3 +124,8 @@ &usb { &usb2_phy0 { status = "disabled"; }; + +&vcc_5v { + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; + enable-active-high; +}; From patchwork Tue Jun 1 09:01:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12290811 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=-17.1 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,USER_AGENT_GIT 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 1C7A7C4708F for ; Tue, 1 Jun 2021 09:04:03 +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 D0967610C9 for ; Tue, 1 Jun 2021 09:04:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D0967610C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=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=9yOBc57ZsmCAEdARa1CQLr9XxMlPhfmIfyjEvzMjMys=; b=hxAEeWlvOODKfn fMDdNgb2U65DfTe167KxNfORbtfKpNBlr7mxYwCvMy+vyVvs1/hZHhE0EUipbLQT3y26gPjugnQ8Z Fov8sodJrV3S0ojn9wSg0XpnjTVkR0Mk4zg8inggqIGdxjFo06Gt6RZUQ+oMEGiDTJagcJiXDYtm0 IIZjL6BQOQ/9ORB1S+YrEzY5d+ohwY0/66wx6Lo/uHpAIxQLlO7uPVDb1r9OByCcnZA5UmvIh5+rn HJjcK0d1cqwCtU9kb03VWM9d1tmUTxirW+KJ2dKl3VNu/FDxypXKcS1562S2R0NhI+/HiVKtyyukf i1D28PI0ym6CET6fTbUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0JZ-00FV1P-RX; Tue, 01 Jun 2021 09:03:57 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo0Ha-00FU2r-Us for linux-amlogic@lists.infradead.org; Tue, 01 Jun 2021 09:01:56 +0000 Received: by mail-wm1-x32c.google.com with SMTP id l18-20020a1c79120000b0290181c444b2d0so1425302wme.5 for ; Tue, 01 Jun 2021 02:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5IwYtF72UjHa9iHdNpTtLmTlD6+WFBrg2eN19aC9Omk=; b=OfHfr2YXdaik4HKexBimsUEZCrWe/vMas3BTeQo75Ubex1ai0ml+iFJUOW0SlBQsty qy0yBRbXnatJv9JiqrN44w+xgkP2NABvzTKh34RjnuKF09ocolSaZGoFVj5br5TT0utJ qLx4psENsGYhXwZ9zGm1odrUfe8ctjMdkJR+9qWCBVRRvsWbUMzh8OUshjVSbc8x7e5G tKKGPv5cUwJv5PWAdheSFcfDEPI5QH/TIbcDyIT2zTuh8EIXNcDddzM5p0lHFs16Z7nO Wed3cRXItq1DqC4sksn74Q+qlCGOrbGLLxGaJcimxO2O4hIWiMPoIHQsM7M6BtEu6xKv WOxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5IwYtF72UjHa9iHdNpTtLmTlD6+WFBrg2eN19aC9Omk=; b=K1BkBYjsaUJ0qQhkvsjD4NU4VQ4LEzOTNuJbJwMEu7oxaLy/tTWi3NpY5fBjy0ni+u 8V6yiYRZQQs5PUR13dpbqh5m++BzUynHMYpL1xYE/24kqMzvf9ZOEGheD20gZ3HycXk1 hqh2PV7f9AX5x7R4LmL5h2CCBUkOBRti5Lru+L08K9x4jISVEW88tMcBzTbgfeq9uPgy YV+et03bO0p4VC0Bios/m9ZNBLDwWJ18yd0FwO6br3x36y2GW2XY0SZASqJb+4wuFHWV zyG0p9WbqOvIiINkSpSMFE8+U2Fe7Pb2WTCtp67ObefB6hg4pr837os25USzWqmPaGFr RyzA== X-Gm-Message-State: AOAM530TifxYrKug7+e5FUskgVIjRjKkmtMP+79VlHkA5If6ZLy/kBB8 xBXzbg35TZJvlnfPXbwuoLvTAA== X-Google-Smtp-Source: ABdhPJw937YIFZ3Mgv/DYBbwiziumbrHOQVmBQ3enRfvTw+ZjCIAI3CQUIO+DpKL0u1MnzrsSMqu4A== X-Received: by 2002:a1c:6782:: with SMTP id b124mr3412909wmc.159.1622538113518; Tue, 01 Jun 2021 02:01:53 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:a3a:d001:6a80:207a]) by smtp.gmail.com with ESMTPSA id e17sm2668199wre.79.2021.06.01.02.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jun 2021 02:01:53 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tobetter@gmail.com, Christian Hewitt , Neil Armstrong Subject: [PATCH 6/6] arm64: dts: meson-sm1-odroid-hc4: add spifc node to ODROID-HC4 Date: Tue, 1 Jun 2021 11:01:40 +0200 Message-Id: <20210601090140.261768-7-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210601090140.261768-1-narmstrong@baylibre.com> References: <20210601090140.261768-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=997; i=narmstrong@baylibre.com; h=from:subject; bh=4Apj0m6+83jroquluYgqns8V8hJcFEuKMqCVi55Btpk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBgtfc89atbVaTE3uafIleEYxQ46PDSj92zOM1wRlkq xyAYr5CJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCYLX3PAAKCRB33NvayMhJ0aP2EA DOy817Oo3Aw84S+Vq02JvA9hnzMVgdWOH2Xwq8XXi21rpRxxEh3wCNcd7TR4zXAipgkWmsrAlnCQHV gYnk3Kzqi45QnjCLQFg84z/AySFoj3xYPXZcAnXD0EcjZhxDYJp7eO1Q3THuMl+3KyEl+ggQZUFwxn Eu8MKw0nss4YCdEX3MPGzP7gQaWRdfh5oEXHFGNvUiVDQauiIRBi0CMKDR5LkarQv8QQItSjX0VRaF RHWzQgAKhDwQEEI5I9TzPgnV+vnEGKhdwa3tn0g7qVc5wEgGkO3D/nwL9bx+ZsaQrbDs/E4srkbN23 P0L32/DxrxqIZ9x/lMmPnmAG85gWZ4uqRjyWMonZdk5LF1VxH/gcdw4DV7dcmU1jXvUdlcAKtUnAW1 EK5AK8luOn/JkXoqFNtLQK4peojuEEjT3XVYN6WuO4K9eo5ihFKyyiQfAOttb2XM66Vqz5D9QVdwRy NklDye6BtHYHHtqIf+YUIuUFB1/3CPda9YEOuqkbnyFKbelSyHDt30c3W30mpihcJZ1UhfrCPADIUj IKrlfhgf2xXuzuLNJtM1gETqRiAS3wx7qfLDuV2LIAwQvBEMDNDPNCUxi6r4Lu4CMaLJu57e9NoaxQ bolmEBvHycxccGDNqm38g0kBao4zf5f++xXwU1c9G17H9Nx7YNvl4du2hs0w== X-Developer-Key: i=narmstrong@baylibre.com; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_020155_039577_9DA85BE6 X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Christian Hewitt Add a node for the XT25F128B SPI-NOR flash to make it accessible from Linux. Signed-off-by: Christian Hewitt Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- .../boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts index d36c25b5b690..3c2ebc7333a1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts @@ -116,6 +116,20 @@ &sd_emmc_c { status = "disabled"; }; +&spifc { + status = "okay"; + pinctrl-0 = <&nor_pins>; + pinctrl-names = "default"; + + spi-flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <104000000>; + }; +}; + &usb { phys = <&usb2_phy1>; phy-names = "usb2-phy1";