Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1877006pxa; Mon, 3 Aug 2020 01:08:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAuMAGoCI5u+aMY5V6hHm8lISooFuhvDdcKe+5hZe9d62M8JRxRUzNdvO0WtSxjqDD+9LW X-Received: by 2002:a17:906:6bda:: with SMTP id t26mr16139722ejs.214.1596442105016; Mon, 03 Aug 2020 01:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596442105; cv=none; d=google.com; s=arc-20160816; b=Dp0y3knntNrH2WdBZ9QXxpgo/2g7F7rxov/RiU8MhsGyimsyIfQZ2WWbzwLDYMpgcw 0EeT6UVK7CdnEw+VFzviLJ2XFLhw0qsyBJrnfWHXxgcsUMVjswrqegiFyt2AYjE1irVw WLHUqE3NJq4yUlB17XQOen9H3HszYZfNNGRm2T0O0D6hQYgvFzs9wUSVe7RCzQ0PbEix S4PIkDk4xfxRN7+7DExw01QzBXK8w9JkwX5D9cvEDXXG1zb0P7cRP5IVLp8/E74h+xIz K6hrhne8CZ2ucVOvMJ+c/WwqANgikALy/KOcAKL2kPIoSxI9xv8ztZOxev9DoKnBRTPe e94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=QF53Bv/GOF4I+q3ZXZEH60dDC49+nF6BfcY+01YJdBA=; b=H8uODGl3l4d08Ssn64WXZUdqUHfgORShdFpwrnPhKTkqhaSfxIL6RBG/zeVlM1/eeh JvGiQRqvuTiTu1nR2WYXRzD96j3k5Xk0tydA+hGwgaj9yktu6HlAP4Qdfi1xOd26rpgP XIyorVDc0iqGP0Rhc1pDWAV8RzhlERszNnR1xy3sa46i8g/CD6jHauW9dXi1uzySWdIY OuFkRywxARg3tfpPlY0zl6Itf0jKU4K5Nvjw+FCat7i88AEYhO7xB2tN3l+FqyyjO14F dna+seKS4KkanLFwwiwRgZBJHyil8pB3PbWjvAOQvxIkJdIAb4fEYueIgZb+w/fyz/h+ xxnw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si9135448ejb.4.2020.08.03.01.08.02; Mon, 03 Aug 2020 01:08:24 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726011AbgHCIF7 (ORCPT + 99 others); Mon, 3 Aug 2020 04:05:59 -0400 Received: from inva020.nxp.com ([92.121.34.13]:49610 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbgHCIF7 (ORCPT ); Mon, 3 Aug 2020 04:05:59 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 758A11A0148; Mon, 3 Aug 2020 10:05:57 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5F7981A0181; Mon, 3 Aug 2020 10:05:53 +0200 (CEST) Received: from 10.192.242.69 (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 05E47402BE; Mon, 3 Aug 2020 10:05:47 +0200 (CEST) From: Anson Huang To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] ARM: dts: imx7ulp: Correct gpio ranges Date: Mon, 3 Aug 2020 16:01:24 +0800 Message-Id: <1596441684-30127-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Correct gpio ranges according to i.MX7ULP pinctrl driver: gpio_ptc: ONLY pin 0~19 are available; gpio_ptd: ONLY pin 0~11 are available; gpio_pte: ONLY pin 0~15 are available; gpio_ptf: ONLY pin 0~19 are available; Fixes: 20434dc92c05 ("ARM: dts: imx: add common imx7ulp dtsi support") Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx7ulp.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi index 3674396..b7ea37a 100644 --- a/arch/arm/boot/dts/imx7ulp.dtsi +++ b/arch/arm/boot/dts/imx7ulp.dtsi @@ -394,7 +394,7 @@ clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, <&pcc3 IMX7ULP_CLK_PCTLC>; clock-names = "gpio", "port"; - gpio-ranges = <&iomuxc1 0 0 32>; + gpio-ranges = <&iomuxc1 0 0 20>; }; gpio_ptd: gpio@40af0000 { @@ -408,7 +408,7 @@ clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, <&pcc3 IMX7ULP_CLK_PCTLD>; clock-names = "gpio", "port"; - gpio-ranges = <&iomuxc1 0 32 32>; + gpio-ranges = <&iomuxc1 0 32 12>; }; gpio_pte: gpio@40b00000 { @@ -422,7 +422,7 @@ clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, <&pcc3 IMX7ULP_CLK_PCTLE>; clock-names = "gpio", "port"; - gpio-ranges = <&iomuxc1 0 64 32>; + gpio-ranges = <&iomuxc1 0 64 16>; }; gpio_ptf: gpio@40b10000 { @@ -436,7 +436,7 @@ clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, <&pcc3 IMX7ULP_CLK_PCTLF>; clock-names = "gpio", "port"; - gpio-ranges = <&iomuxc1 0 96 32>; + gpio-ranges = <&iomuxc1 0 96 20>; }; }; -- 2.7.4