Commit ee8696be authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo

arm64: dts: imx8mn: Add gpio-ranges property

Add "gpio-ranges" property to establish connections between GPIOs
and PINs on i.MX8MN pinctrl driver.
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 6c3debcb
...@@ -173,6 +173,7 @@ gpio1: gpio@30200000 { ...@@ -173,6 +173,7 @@ gpio1: gpio@30200000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 0 10 30>;
}; };
gpio2: gpio@30210000 { gpio2: gpio@30210000 {
...@@ -185,6 +186,7 @@ gpio2: gpio@30210000 { ...@@ -185,6 +186,7 @@ gpio2: gpio@30210000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 0 40 21>;
}; };
gpio3: gpio@30220000 { gpio3: gpio@30220000 {
...@@ -197,6 +199,7 @@ gpio3: gpio@30220000 { ...@@ -197,6 +199,7 @@ gpio3: gpio@30220000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 0 61 26>;
}; };
gpio4: gpio@30230000 { gpio4: gpio@30230000 {
...@@ -209,6 +212,7 @@ gpio4: gpio@30230000 { ...@@ -209,6 +212,7 @@ gpio4: gpio@30230000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 21 108 11>;
}; };
gpio5: gpio@30240000 { gpio5: gpio@30240000 {
...@@ -221,6 +225,7 @@ gpio5: gpio@30240000 { ...@@ -221,6 +225,7 @@ gpio5: gpio@30240000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 0 119 30>;
}; };
wdog1: watchdog@30280000 { wdog1: watchdog@30280000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment