Skip to content
Permalink
Browse files

gpio: arm: cmsdk-gpio: Fixup dts binding / nodes

Add missing gpio-cells and gpio-controller properties to arm,cmsdk-gpio
binding and dts nodes.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak committed Aug 9, 2019
1 parent 413f1be commit a3318a45837687ad5a0d2cdd157914e42d6db766
@@ -126,24 +126,32 @@
compatible = "arm,cmsdk-gpio";
reg = <0x40010000 0x1000>;
interrupts = <6 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio1: gpio@40011000 {
compatible = "arm,cmsdk-gpio";
reg = <0x40011000 0x1000>;
interrupts = <7 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio2: gpio@40012000 {
compatible = "arm,cmsdk-gpio";
reg = <0x40012000 0x1000>;
interrupts = <16 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio3: gpio@40013000 {
compatible = "arm,cmsdk-gpio";
reg = <0x40013000 0x1000>;
interrupts = <17 3>;
gpio-controller;
#gpio-cells = <2>;
};

eth0: eth@40200000 {
@@ -49,24 +49,32 @@ gpio0: gpio@100000 {
compatible = "arm,cmsdk-gpio";
reg = <0x100000 0x1000>;
interrupts = <68 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio1: gpio@101000 {
compatible = "arm,cmsdk-gpio";
reg = <0x101000 0x1000>;
interrupts = <69 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio2: gpio@102000 {
compatible = "arm,cmsdk-gpio";
reg = <0x102000 0x1000>;
interrupts = <70 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio3: gpio@103000 {
compatible = "arm,cmsdk-gpio";
reg = <0x103000 0x1000>;
interrupts = <71 3>;
gpio-controller;
#gpio-cells = <2>;
};

wdog0: wdog@81000 {
@@ -93,24 +93,32 @@
compatible = "arm,cmsdk-gpio";
reg = <0x40010000 0x1000>;
interrupts = <6 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio1: gpio@40011000 {
compatible = "arm,cmsdk-gpio";
reg = <0x40011000 0x1000>;
interrupts = <7 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio2: gpio@40012000 {
compatible = "arm,cmsdk-gpio";
reg = <0x40012000 0x1000>;
interrupts = <42 3>;
gpio-controller;
#gpio-cells = <2>;
};

gpio3: gpio@40013000 {
compatible = "arm,cmsdk-gpio";
reg = <0x40013000 0x1000>;
interrupts = <43 3>;
gpio-controller;
#gpio-cells = <2>;
};
};
};
@@ -15,3 +15,7 @@ properties:

interrupts:
category: required

"#cells":
- pin
- flags

0 comments on commit a3318a4

Please sign in to comment.
You can’t perform that action at this time.