| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. |
| 4 |
*/ |
| 5 |
|
| 6 |
/dts-v1/; |
| 7 |
/plugin/; |
| 8 |
|
| 9 |
#include <dt-bindings/clock/qcom,gcc-qcm2290.h> |
| 10 |
#include <dt-bindings/gpio/gpio.h> |
| 11 |
|
| 12 |
&pm8008 { |
| 13 |
status = "okay"; |
| 14 |
}; |
| 15 |
|
| 16 |
&camss { |
| 17 |
status = "okay"; |
| 18 |
|
| 19 |
vdd-csiphy-1p2-supply = <&pm4125_l5>; |
| 20 |
vdd-csiphy-1p8-supply = <&pm4125_l13>; |
| 21 |
|
| 22 |
ports { |
| 23 |
port@0 { |
| 24 |
csiphy0_ep: endpoint { |
| 25 |
data-lanes = <0 1>; |
| 26 |
remote-endpoint = <&ov9282_ep>; |
| 27 |
}; |
| 28 |
}; |
| 29 |
}; |
| 30 |
}; |
| 31 |
|
| 32 |
&cci { |
| 33 |
status = "okay"; |
| 34 |
}; |
| 35 |
|
| 36 |
&cci_i2c1 { |
| 37 |
#address-cells = <1>; |
| 38 |
#size-cells = <0>; |
| 39 |
|
| 40 |
/* Vision Mezzanine DIP3-1 must be ON (Selects camera CAM0A&B) */ |
| 41 |
camera@60 { |
| 42 |
compatible = "ovti,ov9282"; |
| 43 |
reg = <0x60>; |
| 44 |
|
| 45 |
/* Reset is active-low, but driver applies inverted reset logic */ |
| 46 |
reset-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>; |
| 47 |
pinctrl-0 = <&mclk3_default>; |
| 48 |
pinctrl-names = "default"; |
| 49 |
|
| 50 |
clocks = <&gcc GCC_CAMSS_MCLK3_CLK>; |
| 51 |
assigned-clocks = <&gcc GCC_CAMSS_MCLK3_CLK>; |
| 52 |
assigned-clock-rates = <24000000>; |
| 53 |
|
| 54 |
avdd-supply = <&vreg_l3p>; |
| 55 |
dvdd-supply = <&vreg_l1p>; |
| 56 |
dovdd-supply = <&vreg_l7p>; |
| 57 |
|
| 58 |
port { |
| 59 |
ov9282_ep: endpoint { |
| 60 |
link-frequencies = /bits/ 64 <400000000>; |
| 61 |
data-lanes = <1 2>; |
| 62 |
remote-endpoint = <&csiphy0_ep>; |
| 63 |
}; |
| 64 |
}; |
| 65 |
}; |
| 66 |
}; |