ARM: shmobile: r8a7790: fix "gpio-ranges" props
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 21 Oct 2015 23:04:41 +0000 (02:04 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 23 Oct 2015 00:19:25 +0000 (09:19 +0900)
On R8A7790, GPIO banks 1 and 2 are missing  pins 30 and 31.  Correct the
"gpio-ranges" properties of the corresponding device nodes.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790.dtsi

index ae5eb281d43a360eb41c79b8c114cd4bdc4f71c1..b545fef3f7dbc9e941eaa2f1632dff1286de69c1 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 30>;
                #interrupt-cells = <2>;
                interrupt-controller;
                clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
                interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
                #gpio-cells = <2>;
                gpio-controller;
-               gpio-ranges = <&pfc 0 64 32>;
+               gpio-ranges = <&pfc 0 64 30>;
                #interrupt-cells = <2>;
                interrupt-controller;
                clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;