ARM: shmobile: r8a7791: fix "gpio-ranges" props
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 21 Oct 2015 23:05:19 +0000 (02:05 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 23 Oct 2015 00:19:56 +0000 (09:19 +0900)
On R8A7791, GPIO banks 1 and 7  are missing  pins 26 to 31.  Correct the
"gpio-ranges" properties of the GPIO1 node (GPIO7 is already correct).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791.dtsi

index 57029d3fe1e5d777ca51c2a32a39864fe6a8682b..2bc54e359768855fe3d870bfeabaa8a2d535ad83 100644 (file)
                interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
                #gpio-cells = <2>;
                gpio-controller;
-               gpio-ranges = <&pfc 0 32 32>;
+               gpio-ranges = <&pfc 0 32 26>;
                #interrupt-cells = <2>;
                interrupt-controller;
                clocks = <&mstp9_clks R8A7791_CLK_GPIO1>;