From patchwork Wed Aug 16 00:23:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 13354418 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 D769AC0015E for ; Wed, 16 Aug 2023 00:23:53 +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=FvmbsGBYwbQsYutY7fFk+/pN8fBseYD1XZW0ZyN9Brs=; b=R8C3jsoPzOdLRN Z7TtSq69CDhIEr1bdcbISkBTg/k9HZxLJnbnMx5A1xVl0H9+E9TyR9cwNuRF0ItTjdtuz++CwMfAh 2DTkYx/1y2M37yiMdF/Yb6Ta7c6WGw+QKDPt/vl3zOYjXSMyqIjC4PUzVWQlooZlOmhtijSDF/HrZ xPlpEhsQkOn/wMdrcl7O0QiRLVNCcvg1ULKcbfrYoDCya3MAJ3/s/eHkAeQvHt+Y3lHOTiMjXd5Zg b+ZLNxwO7RUzbTWI3nxYu/GHc1hvJHj08GWr0iCQjI3j4WeETW/0aKhet+6rx7bLKyrJFah68AUZ9 ZJKdUFZdZncSD+z4JE+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qW4Jr-002rdA-2v; Wed, 16 Aug 2023 00:23:27 +0000 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qW4Jl-002raI-04 for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 00:23:22 +0000 Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-63fbfca1302so24855886d6.2 for ; Tue, 15 Aug 2023 17:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692145399; x=1692750199; 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=5/8K2QeZwhFqsUJjMS9Z0FDVEgMP4aY8Jq0ZFbU+wFw=; b=eJFvD+IcO8uvgiz89WpZ+yFprOak0v2Geg6OUZR86fL2Hyyex2SgTDMvUkdNMz4XXq fk/XKuDyEgiNJuoe+v2dKpQXmLS/FX8hA22KKSoOmvYmbRv/9bBNAiQlVEGHbm7F3Mvz EuZpcTQksQdFtLzxK63k6kA1dY+2/MKoyVRLVCkqMzFOEf+HRVNsJ8fPTZ/DxEXO2j5S 6nF14hUF6eVGwDama823C0uHk+LMUeTK7Am2L02uQ1WRL4/q+kNbO7zl8h6mDxvIIlXi UGHD2kiC7zOlzjZzLiPqbP4XY5noDF+2hfwlMJDN0fyOSUzWRG762MZxicQjSzBlgECV Lfvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692145399; x=1692750199; 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=5/8K2QeZwhFqsUJjMS9Z0FDVEgMP4aY8Jq0ZFbU+wFw=; b=U4uGKxH1MgCADq9XSdbMvekeOqOBa/fWCbFCaszZBTHxhA/BF/LSVvC1qOSyZXQz2S L99If9q7/GGmy0EQWA2wyz4gQ3j05IUGdsZxYb3zyVjT1KMj3woh5kkWcCo7OT5sVcIM dhu9kB+tpM5z7ce1qexpnNAk4SoQEDYwCUOzgTEP+XUue0ga2h1IOd1EN7uRTu1IucLb M/dPNu7RZS8MuBWDAOqdNiSlZR9TAleqITRBYwrzchR18Eo+K78PXCxvZJLXS6yOJ0l6 aPtebDVdCX3zz/5VXIzDxI5PEP1IpMYEgFOI5vhsSQRkXIcoBgLeagCNrcG1oVBCLjhL z+bg== X-Gm-Message-State: AOJu0YxBa0TTQScfSABQ0SKm7wy/FafdLv0lzTJyAA8t3XZgLkFLAaMH h7K2eHCeaaUFfKT9QiwylN9+MyjMwLA= X-Google-Smtp-Source: AGHT+IEy/k30Pb0SnuXft2UU+8PxSkioYv54YN09Kc1tPlmtFls7ljh3AdSEozuP98R4pc7KjSa1RQ== X-Received: by 2002:a0c:f187:0:b0:647:42bc:d00b with SMTP id m7-20020a0cf187000000b0064742bcd00bmr274177qvl.63.1692145399542; Tue, 15 Aug 2023 17:23:19 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id r11-20020a0ccc0b000000b0063d5c9de720sm4452436qvk.80.2023.08.15.17.23.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 17:23:18 -0700 (PDT) From: Trevor Woerner To: drew@beagleboard.org, =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH 3/3] ARM: dts: am335x-pocketbeagle: add missing GPIO mux Date: Tue, 15 Aug 2023 20:23:06 -0400 Message-ID: <20230816002308.36800-4-twoerner@gmail.com> X-Mailer: git-send-email 2.41.0.327.gaa9166bcc0ba In-Reply-To: <20230816002308.36800-1-twoerner@gmail.com> References: <20230816002308.36800-1-twoerner@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230815_172321_060145_7C05176A X-CRM114-Status: GOOD ( 14.73 ) 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 the default MODE setting of a GPIO pin that was missing from the device tree (i.e. P2.20/gpio2_00). This is to ensure the GPIO pins match the pocketbeagle wiring expectations. Signed-off-by: Trevor Woerner --- arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts b/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts index 6d875cf13e09..3d7bad8bfb2f 100644 --- a/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts +++ b/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts @@ -214,7 +214,7 @@ &am33xx_pinmux { pinctrl-names = "default"; pinctrl-0 = < &P2_03_gpio &P1_34_gpio &P2_19_gpio &P2_24_gpio - &P2_33_gpio &P2_22_gpio &P2_10_gpio + &P2_33_gpio &P2_22_gpio &P2_20_gpio &P2_10_gpio &P2_06_gpio &P2_04_gpio &P2_02_gpio &P2_08_gpio &P2_17_gpio >; @@ -272,6 +272,16 @@ AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE7) pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; }; + /* P2_20 (ZCZ ball T13) gpio2_00 0x888 */ + P2_20_gpio: P2-20-gpio-pins { + pinctrl-single,pins = < + AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT_PULLUP, MUX_MODE7) + >; + pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; + pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; + }; + + /* P2_10 (ZCZ ball R14) gpio1_20 0x850 PIN 20 */ P2_10_gpio: P2-10-gpio-pins { pinctrl-single,pins = <