瀏覽代碼

arm64: dts: r8a7795: salvator-x: add bias setting for usb1_pins

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>
Yoshihiro Shimoda 8 年之前
父節點
當前提交
0751e1bd1e
共有 1 個文件被更改,包括 14 次插入2 次删除
  1. 14 2
      arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts

+ 14 - 2
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts

@@ -309,8 +309,20 @@
 	};
 
 	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 {