]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: imx8mm: Add gpio-ranges property
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 2 Jul 2019 01:44:00 +0000 (09:44 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 3 Aug 2019 10:28:15 +0000 (12:28 +0200)
Add "gpio-ranges" property to establish connections between GPIOs
and PINs on i.MX8MM pinctrl driver.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index b0304872c4088d0da036062a645f886f44b22b81..0eb85561cfa371ff547dadeb89b004141e6a0315 100644 (file)
@@ -295,6 +295,7 @@ gpio1: gpio@30200000 {
                                #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               gpio-ranges = <&iomuxc 0 10 30>;
                        };
 
                        gpio2: gpio@30210000 {
@@ -307,6 +308,7 @@ gpio2: gpio@30210000 {
                                #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               gpio-ranges = <&iomuxc 0 40 21>;
                        };
 
                        gpio3: gpio@30220000 {
@@ -319,6 +321,7 @@ gpio3: gpio@30220000 {
                                #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               gpio-ranges = <&iomuxc 0 61 26>;
                        };
 
                        gpio4: gpio@30230000 {
@@ -331,6 +334,7 @@ gpio4: gpio@30230000 {
                                #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               gpio-ranges = <&iomuxc 0 87 32>;
                        };
 
                        gpio5: gpio@30240000 {
@@ -343,6 +347,7 @@ gpio5: gpio@30240000 {
                                #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               gpio-ranges = <&iomuxc 0 119 30>;
                        };
 
                        wdog1: watchdog@30280000 {