From e3bf4f8d9fd0c3515385cd150fe4de27989cfd0e Mon Sep 17 00:00:00 2001 From: Wang Panzhenzhuan Date: Wed, 23 Feb 2022 14:29:44 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3399-evb-ind-lpddr4-android: add gc8034 config Signed-off-by: Wang Panzhenzhuan Change-Id: I99e44cd0212e2a7d3a3e74ec528dae379f3930b5 --- .../rk3399-evb-ind-lpddr4-android-avb.dts | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb-ind-lpddr4-android-avb.dts b/arch/arm64/boot/dts/rockchip/rk3399-evb-ind-lpddr4-android-avb.dts index c68644d7b358..e57578974362 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-evb-ind-lpddr4-android-avb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-evb-ind-lpddr4-android-avb.dts @@ -147,6 +147,29 @@ rockchip,camera-module-facing = "back"; }; + gc8034: gc8034@37 { + compatible = "galaxycore,gc8034"; + status = "okay"; + reg = <0x37>; + clocks = <&cru SCLK_CIF_OUT>; + clock-names = "xvclk"; + pinctrl-names = "rockchip,camera_default"; + pinctrl-0 = <&cif_clkout>; + reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; + pwdn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; + rockchip,camera-module-index = <0>; + rockchip,camera-module-facing = "back"; + rockchip,camera-module-name = "LH-RK-8034-v1.0"; + rockchip,camera-module-lens-name = "CK8401"; + lens-focus = <&vm149c>; + port { + gc8034_out: endpoint { + remote-endpoint = <&mipi_in_gc8034>; + data-lanes = <1 2 3 4>; + }; + }; + }; + gc2145: gc2145@3c{ status = "okay"; compatible = "galaxycore,gc2145"; @@ -289,6 +312,11 @@ remote-endpoint = <&ucam_out0>; data-lanes = <1 2>; }; + mipi_in_gc8034: endpoint@0 { + reg = <0>; + remote-endpoint = <&gc8034_out>; + data-lanes = <1 2 3 4>; + }; }; port@1 {