ARM: shmobile: bockw dts: define sdhi0 pins with pull-ups
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Thu, 29 Oct 2015 19:57:34 +0000 (20:57 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 24 Nov 2015 03:06:44 +0000 (12:06 +0900)
Ensures that the pull-ups for pins SD0_CD and SD0_WP are enabled.

This is one of two features from the DT reference platform that are
still missing in MP.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7778-bockw.dts

index 90543b12d7e26bcbd9eca0e0c113ffaa718a3873..8a540767871792c6af8ff508ae3291ec2d7bc0ee 100644 (file)
        };
 
        sdhi0_pins: sd0 {
-               renesas,groups = "sdhi0_data4", "sdhi0_ctrl",
-                                 "sdhi0_cd";
+               renesas,groups = "sdhi0_data4", "sdhi0_ctrl";
                renesas,function = "sdhi0";
        };
+       sdhi0_pup_pins: sd0_pup {
+               renesas,groups = "sdhi0_cd", "sdhi0_wp";
+               renesas,function = "sdhi0";
+               bias-pull-up;
+       };
 
        hspi0_pins: hspi0 {
                renesas,groups = "hspi0_a";
 };
 
 &sdhi0 {
-       pinctrl-0 = <&sdhi0_pins>;
+       pinctrl-0 = <&sdhi0_pins>, <&sdhi0_pup_pins>;
        pinctrl-names = "default";
 
        vmmc-supply = <&fixedregulator3v3>;