Skip to content

Commit deb6323

Browse files
Anson-HuangShawn Guo
authored andcommitted
ARM: dts: imx7ulp: Correct gpio ranges
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: 20434dc ("ARM: dts: imx: add common imx7ulp dtsi support") Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 81dbbb4 commit deb6323

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/arm/boot/dts/imx7ulp.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>,
395395
<&pcc3 IMX7ULP_CLK_PCTLC>;
396396
clock-names = "gpio", "port";
397-
gpio-ranges = <&iomuxc1 0 0 32>;
397+
gpio-ranges = <&iomuxc1 0 0 20>;
398398
};
399399

400400
gpio_ptd: gpio@40af0000 {
@@ -408,7 +408,7 @@
408408
clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>,
409409
<&pcc3 IMX7ULP_CLK_PCTLD>;
410410
clock-names = "gpio", "port";
411-
gpio-ranges = <&iomuxc1 0 32 32>;
411+
gpio-ranges = <&iomuxc1 0 32 12>;
412412
};
413413

414414
gpio_pte: gpio@40b00000 {
@@ -422,7 +422,7 @@
422422
clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>,
423423
<&pcc3 IMX7ULP_CLK_PCTLE>;
424424
clock-names = "gpio", "port";
425-
gpio-ranges = <&iomuxc1 0 64 32>;
425+
gpio-ranges = <&iomuxc1 0 64 16>;
426426
};
427427

428428
gpio_ptf: gpio@40b10000 {
@@ -436,7 +436,7 @@
436436
clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>,
437437
<&pcc3 IMX7ULP_CLK_PCTLF>;
438438
clock-names = "gpio", "port";
439-
gpio-ranges = <&iomuxc1 0 96 32>;
439+
gpio-ranges = <&iomuxc1 0 96 20>;
440440
};
441441
};
442442

0 commit comments

Comments
 (0)