Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4366054ybe; Mon, 16 Sep 2019 11:00:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqynvWbwSSQ7dlbTzHzRVff5K9C6yiXPMceKnQZNArI7WFHycQfbImfJTVBvOqPdyPYUq38h X-Received: by 2002:a17:906:a895:: with SMTP id ha21mr1124963ejb.291.1568656809191; Mon, 16 Sep 2019 11:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568656809; cv=none; d=google.com; s=arc-20160816; b=rNwiICS2lJc239606W7TkkDAIJyKv7cFUcFXEe/777//mw2fwzsazvQPnOIEzznfZ5 MeLd9hKRVB/AwwNfsKcE0IDDiChk56ehM6ykyuXuXCvoKLbQGii1m9uZd+mM+duftxpM hI8fUf23Uvig52TbVGkGzdVU0JFl8lLQfWBnUYFKH6KLoz6Qx/M5ZrXyKQhKa+XQHt6Z 0DHOI4gZO1MhUs2tPisik1IkE3mEqT5x8sndnbM2wvsCNZRp9vZQNczpG1vudRHjWwRi /niNqFxuz2+l+tJzacF9GC9WaPnoaNedaFkAVeUkR9x2156svDwZbWeIPCAgwPsGqqh1 QW3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=jclHGuU0EyxSlqQZCE5H16NhOX+HxcIV9zDQTrPSP1w=; b=jm4/0yMalUpsnhO7e2bVcbxxe9Yj5jeAnYDL38LDYPj78B9rpbEfQ+CConOvCfGCts rh3sE8jDZNi35I0psnBzxdNe+iF0Tm82I/W+YJJQ9PZKGeYiSTaQ5qxGJcwXhZ+N2JWR v6QhANdSjH+kTMSxH0mHI7IMHgvb6mGPuKZCo9DFIqLP41Ibbu+szcXD7IjQ0Z7fqpRc eWHktkDYKDf0M9NQ5DDs9Hh1PoUGFz0C3zKwF8WHUPA6rlkNTkPPY17VcPKTmg601zBn 3ZY5+LLMXKVP9Smbmd5Gf6MYFd/HJOuHBOJ1vgt7puTBBZWN2NedJP9swkvmf05Z1Eg+ 6k0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si7312091edi.22.2019.09.16.10.59.45; Mon, 16 Sep 2019 11:00:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731906AbfIPKoO (ORCPT + 99 others); Mon, 16 Sep 2019 06:44:14 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:38376 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725826AbfIPKoN (ORCPT ); Mon, 16 Sep 2019 06:44:13 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 1A7B69C017D; Mon, 16 Sep 2019 06:44:12 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kFmGDLlrphLV; Mon, 16 Sep 2019 06:44:10 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id DB5AE9C028F; Mon, 16 Sep 2019 06:44:10 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KKf5wO2X-a9a; Mon, 16 Sep 2019 06:44:10 -0400 (EDT) Received: from gdo-sfl-laptop.home (lfbn-1-1474-163.w86-253.abo.wanadoo.fr [86.253.99.163]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id 493AA9C017D; Mon, 16 Sep 2019 06:44:09 -0400 (EDT) From: Gilles DOFFE To: devicetree@vger.kernel.org Cc: rennes@savoirfairelinux.com, jerome.oufella@savoirfairelinux.com, Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] ARM: dts: imx6qdl-rex: add gpio expander pca9535 Date: Mon, 16 Sep 2019 12:43:53 +0200 Message-Id: <20190916104353.7278-1-gilles.doffe@savoirfairelinux.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pca9535 gpio expander is present on the Rex baseboard, but missing from the dtsi. The pca9535 is on i2c2 bus which is common to the three SOM variants (Basic/Pro/Ultra), thus it is activated by default. Add also the new gpio controller and the associated interrupt line MX6QDL_PAD_NANDF_CS3__GPIO6_IO16. Signed-off-by: Gilles DOFFE --- arch/arm/boot/dts/imx6qdl-rex.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-rex.dtsi b/arch/arm/boot/dts/imx6q= dl-rex.dtsi index 97f1659144ea..8a748ca1b108 100644 --- a/arch/arm/boot/dts/imx6qdl-rex.dtsi +++ b/arch/arm/boot/dts/imx6qdl-rex.dtsi @@ -132,6 +132,19 @@ pinctrl-0 =3D <&pinctrl_i2c2>; status =3D "okay"; =20 + pca9535: gpio8@27 { + compatible =3D "nxp,pca9535"; + reg =3D <0x27>; + gpio-controller; + #gpio-cells =3D <2>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pca9535>; + interrupt-parent =3D <&gpio6>; + interrupts =3D <16 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + #interrupt-cells =3D <2>; + }; + eeprom@57 { compatible =3D "atmel,24c02"; reg =3D <0x57>; @@ -237,6 +250,12 @@ >; }; =20 + pinctrl_pca9535: pca9535 { + fsl,pins =3D < + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x17059 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins =3D < MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 --=20 2.20.1