OSDN Git Service

ARM: dts: mxs: add missing reg properties for GPIO banks
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 5 Jun 2016 13:49:27 +0000 (13:49 +0000)
committerShawn Guo <shawnguo@kernel.org>
Sat, 11 Jun 2016 09:18:22 +0000 (17:18 +0800)
This patch adds the missing reg properties for the MXS GPIO banks
in order to fix the dtc warnings.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx23.dtsi
arch/arm/boot/dts/imx28.dtsi

index 0c9a357..440ee9a 100644 (file)
 
                                gpio0: gpio@0 {
                                        compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
+                                       reg = <0>;
                                        interrupts = <16>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
 
                                gpio1: gpio@1 {
                                        compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
+                                       reg = <1>;
                                        interrupts = <17>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
 
                                gpio2: gpio@2 {
                                        compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
+                                       reg = <2>;
                                        interrupts = <18>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
index 74aa151..0ad893b 100644 (file)
 
                                gpio0: gpio@0 {
                                        compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
+                                       reg = <0>;
                                        interrupts = <127>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
 
                                gpio1: gpio@1 {
                                        compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
+                                       reg = <1>;
                                        interrupts = <126>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
 
                                gpio2: gpio@2 {
                                        compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
+                                       reg = <2>;
                                        interrupts = <125>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
 
                                gpio3: gpio@3 {
                                        compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
+                                       reg = <3>;
                                        interrupts = <124>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
 
                                gpio4: gpio@4 {
                                        compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
+                                       reg = <4>;
                                        interrupts = <123>;
                                        gpio-controller;
                                        #gpio-cells = <2>;