arm64: dts: r8a7795: salvator-x: add bias setting for usb1_pins
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 27 Oct 2016 10:29:27 +0000 (19:29 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 4 Nov 2016 09:18:06 +0000 (10:18 +0100)
Since this board doesn't mount pull-up/down registers for
USB1_{OVC,PWEN} pins, we should enable bias setting to pull these
pins up/down.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts

index da3e996ba1212646f0b2c51e0ff2faffa8494307..bcaf4008d32d005920821881d0229c9d2f08f83d 100644 (file)
        };
 
        usb1_pins: usb1 {
-               groups = "usb1";
-               function = "usb1";
+               mux {
+                       groups = "usb1";
+                       function = "usb1";
+               };
+
+               ovc {
+                       pins = "GP_6_27";
+                       bias-pull-up;
+               };
+
+               pwen {
+                       pins = "GP_6_26";
+                       bias-pull-down;
+               };
        };
 
        usb2_pins: usb2 {