Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3815329pxb; Mon, 1 Feb 2021 05:35:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLZ0v7XSP/LuR8CFRq+xR9cLVPP/ezDg+5Ia9tatajxleTIOaPEcZHAZAAHT/n+mjQwz1F X-Received: by 2002:a50:b742:: with SMTP id g60mr18568018ede.113.1612186543247; Mon, 01 Feb 2021 05:35:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612186543; cv=none; d=google.com; s=arc-20160816; b=ONBpJHZ6/E98JXipAjR/soI4dzARi8Qwa2m/A4LvnGQ5oIg00zEBy8TZ0k523LW9Mf ztEOiwoJrKgeBt3zI2BNaFckv+Hpvl6z5wg+1+M26U2EPFfaKCBw12CfY7EVN0r5SEcd MoBrq0r7tIg7HoR43QFGC5fNqv8pXTuB1tNoNIk1SaUqMWIlJ4iMJlm9RfdLIkeu+lJJ cN3OSw9pPG5ZE5N9dZpzB8MpADXA3gW9fql6iU3qjkMv0ocK/z87u2UScF7ovumEtoUp u//NVKjW0pmpxnuKMooRnjUYUSPRF2G69On78fMnIZ/+y4aYg1HXWcIuv5XvGQL0VHIS VRZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=maCy+B6n2Fbcr8Fi1rd2zituw4tm1nmh1LwbMnO7xG0=; b=mumboCFc9IHdZh8qo/znE/SBg8aUzU9W27swsK3TXF86cDyUTp3N19aCH1M11ayZL1 1vQPHdhtx95q6IVJSUqX6JyGKiqPegUkbdm4S7f3W+iwgdBkbfBqOD9JlpA5VUaRFrlN YDv8OCloAh2rdF9FipBIQ6rqNIlRsCSneWG11rjTGAm9HRg002EHfvoYaEiEpsPOS88j g13eJqprg1dRzBqNsyt6u1XiJvO+oPmb2sucyGK+fjT+M2icRQY/1hd/c9dQLkrS1Sxw zlEQm6C77UwovfLiEJrFBLJlvuNAFqYPl0nUWv3Kf9doh8FXxexxB7jPU5OOmp8JLXL5 FM0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=cCRPHZpf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn22si10416663ejc.74.2021.02.01.05.35.18; Mon, 01 Feb 2021 05:35:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=cCRPHZpf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232075AbhBANbT (ORCPT + 99 others); Mon, 1 Feb 2021 08:31:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231867AbhBANbI (ORCPT ); Mon, 1 Feb 2021 08:31:08 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB166C0613ED; Mon, 1 Feb 2021 05:30:25 -0800 (PST) Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 3849922F99; Mon, 1 Feb 2021 14:30:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1612186221; 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; bh=maCy+B6n2Fbcr8Fi1rd2zituw4tm1nmh1LwbMnO7xG0=; b=cCRPHZpfACpoomwp39XDrTGc1ktrC32CNpTL95mm5zVxuzHcG0f4FzccdC0I4aPmaHC8nn xjDRFxVRZ79j58RM1cOuJnZ9cfTZ1bxCo+VDq4J31xWbgzTJmWM+JAnCImR1Oj/bxzWQ4R MrYWNEVTW2Z9nDefyFL4zJPQXzMNeow= From: Michael Walle To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Michal Simek , Michael Walle Subject: [PATCH] ARM: dts: ebaz4205: add pinctrl entries for switches Date: Mon, 1 Feb 2021 14:30:00 +0100 Message-Id: <20210201133000.23402-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the pinctrl entries for the GPIOs which are connected to the push buttons on this board. Signed-off-by: Michael Walle --- arch/arm/boot/dts/zynq-ebaz4205.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/zynq-ebaz4205.dts b/arch/arm/boot/dts/zynq-ebaz4205.dts index e802d4ae8804..b0b836aedd76 100644 --- a/arch/arm/boot/dts/zynq-ebaz4205.dts +++ b/arch/arm/boot/dts/zynq-ebaz4205.dts @@ -43,7 +43,30 @@ }; }; +&gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio0_default>; +}; + &pinctrl0 { + pinctrl_gpio0_default: gpio0-default { + mux { + groups = "gpio0_20_grp", "gpio0_32_grp"; + function = "gpio0"; + }; + + conf { + groups = "gpio0_20_grp", "gpio0_32_grp"; + io-standard = <3>; + slew-rate = <0>; + }; + + conf-pull-up { + pins = "MIO20", "MIO32"; + bias-disable; + }; + }; + pinctrl_sdhci0_default: sdhci0-default { mux { groups = "sdio0_2_grp"; -- 2.20.1