ARM: shmobile: r8a7790: lager: add pinmux for iic0
authorWolfram Sang <wsa@sang-engineering.com>
Wed, 9 Sep 2015 17:48:19 +0000 (19:48 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 14 Sep 2015 01:16:47 +0000 (10:16 +0900)
It seems we used to rely on the default pinmux setting of this HW, but
currently we need to explicitly set the pinmux to access this bus. It is
better style, too.

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790-lager.dts

index 6f5d7f50d5ca09869dc229c8ae1fc090dd9430cf..c553abd711eeb3813f786ad7a95bafc76502ee1c 100644 (file)
                renesas,function = "msiof1";
        };
 
+       iic0_pins: iic0 {
+               renesas,groups = "iic0";
+               renesas,function = "iic0";
+       };
+
        iic1_pins: iic1 {
                renesas,groups = "iic1";
                renesas,function = "iic1";
 
 &iic0  {
        status = "okay";
+       pinctrl-0 = <&iic0_pins>;
+       pinctrl-names = "default";
 };
 
 &iic1  {