aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi44
1 files changed, 8 insertions, 36 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
index 7a9d7320654b..9720c71aa348 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
@@ -363,21 +363,25 @@
&i2c2 {
status = "okay";
+ clock-frequency = <400000>;
+ i2c-scl-rising-time-ns = <168>;
+ i2c-scl-falling-time-ns = <4>;
+ status = "okay";
camera0: ov5645@3c {
compatible = "ovti,ov5645";
reg = <0x3c>;
clocks = <&cru SCLK_CIF_OUT>;
- clock-names = "xclk";
- clock-frequency = <24000000>;
+ clock-names = "xvclk";
+// clock-frequency = <24000000>;
vdddo-supply = <&camera_vdddo_1v8>;
vdda-supply = <&camera_vdda_2v8>;
vddd-supply = <&camera_vddd_1v5>;
pinctrl-0 = <&cam0_reset_pins &cam0_en_pins>;
pinctrl-names = "default";
- enable-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
- reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>;
+ reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
+ pwdn-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
port {
ov5645_0_out: endpoint {
@@ -399,29 +403,6 @@
&i2c6 {
status = "okay";
-
- camera1: ov5645@3c {
- compatible = "ovti,ov5645";
- reg = <0x3c>;
- clocks = <&cru SCLK_CIF_OUT>;
- clock-names = "xclk";
- clock-frequency = <24000000>;
-
- vdddo-supply = <&camera_vdddo_1v8>;
- vdda-supply = <&camera_vdda_2v8>;
- vddd-supply = <&camera_vddd_1v5>;
- pinctrl-0 = <&cam1_reset_pins &cam1_en_pins>;
- pinctrl-names = "default";
- enable-gpios = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>;
- reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
-
- port {
- ov5645_1_out: endpoint {
- remote-endpoint = <&ov5645_1_in>;
- data-lanes = <1 2>;
- };
- };
- };
};
&i2s2 {
@@ -764,15 +745,6 @@
port@1 {
reg = <1>;
- ov5645_1_in: endpoint {
- remote-endpoint = <&ov5645_1_out>;
- clock-lanes = <1>;
- data-lanes = <0 2>;
- };
- };
-
- port@2 {
- reg = <2>;
dphy_rx0_out: endpoint {
remote-endpoint = <&isp_mipi_in>;
};