diff options
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index c98bcbc8dfba..e00705a90efe 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -196,6 +196,12 @@ method = "smc"; }; }; + + cam0_clk: cam0-clk { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + #clock-cells = <0>; + }; }; /* @@ -521,6 +527,26 @@ /* On Low speed expansion */ label = "LS-I2C0"; status = "okay"; + + ov5645: ov5645@78 { + compatible = "ovti,ov5645"; + reg = <0x78>; + + enable-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio6 4 GPIO_ACTIVE_LOW>; + + clocks = <&cam0_clk>; + clock-names = "xclk"; + clock-frequency = <23880000>; + + port { + ov5645_ep: endpoint { + clock-lanes = <1>; + data-lanes = <0 2>; + remote-endpoint = <&csiphy0_ep>; + }; + }; + }; }; &i2c1 { |