diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-04-14 16:56:11 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-04-14 16:56:11 +0000 |
commit | 937eaf8bbdcf7e2cd3231b71940f9221e6857210 (patch) | |
tree | f35da0d4b9188f1cb082442854ce86fcca10b7b4 /src/arm/dra72-evm-common.dtsi | |
parent | 995ee34fd27211af598f9adf111cb49609d1b3de (diff) | |
download | src-937eaf8bbdcf7e2cd3231b71940f9221e6857210.tar.gz src-937eaf8bbdcf7e2cd3231b71940f9221e6857210.zip |
Notes
Diffstat (limited to 'src/arm/dra72-evm-common.dtsi')
-rw-r--r-- | src/arm/dra72-evm-common.dtsi | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/arm/dra72-evm-common.dtsi b/src/arm/dra72-evm-common.dtsi index 8641a3d7d8ad..01558a86af82 100644 --- a/src/arm/dra72-evm-common.dtsi +++ b/src/arm/dra72-evm-common.dtsi @@ -6,7 +6,7 @@ #include "dra72x.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/clk/ti-dra7-atl.h> +#include <dt-bindings/clock/ti-dra7-atl.h> / { compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; @@ -187,6 +187,12 @@ gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + clk_ov5640_fixed: clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; }; &dra7_pmx_core { @@ -269,6 +275,23 @@ line-name = "vin6_sel_s0"; }; }; + + ov5640@3c { + compatible = "ovti,ov5640"; + reg = <0x3c>; + + clocks = <&clk_ov5640_fixed>; + clock-names = "xclk"; + + port { + csi2_cam0: endpoint { + remote-endpoint = <&csi2_phy0>; + clock-lanes = <0>; + data-lanes = <1 2>; + }; + }; + }; + }; &uart1 { @@ -580,3 +603,11 @@ &pcie1_rc { status = "okay"; }; + +&csi2_0 { + csi2_phy0: endpoint { + remote-endpoint = <&csi2_cam0>; + clock-lanes = <0>; + data-lanes = <1 2>; + }; +}; |