From 7b2ee306c71abe8a4b90423170440f81e226ecad Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Thu, 15 Dec 2016 18:47:50 +0800 Subject: [PATCH] arm64: dts: rockchip: add usb camera pd pin control for rk3399-tve1205g Change-Id: Iee039f3085832861dee5a99da2cbbbec2a08f509 Signed-off-by: Bin Yang --- .../arm64/boot/dts/rockchip/rk3399-tve1205g.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-tve1205g.dts b/arch/arm64/boot/dts/rockchip/rk3399-tve1205g.dts index 71b17fdd2e5b..6e18a7208ec4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-tve1205g.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-tve1205g.dts @@ -64,6 +64,15 @@ }; }; + usb_cam_gpio: usb-cam-gpio { + compatible = "usb-cam-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&usb_cam_on_gpio>; + hd-cam-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_HIGH>; + ir-cam-gpios = <&gpio3 GPIO_A2 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + vcc_sys: vcc-sys { compatible = "regulator-fixed"; regulator-name = "vcc_sys"; @@ -1031,6 +1040,14 @@ }; }; + usb_camera { + usb_cam_on_gpio: usb-cam-on-gpio { + rockchip,pins = + <3 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_up>, + <3 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + fusb30x { fusb0_int: fusb0-int { rockchip,pins = -- 2.34.1