aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi40
1 files changed, 33 insertions, 7 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index aac1da4f1d3c..0dc91369f81e 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -35,6 +35,12 @@
stdout-path = "serial0";
};
+ osc: osc {
+ compatible = "fixed-clock";
+ clock-frequency = <25000000>;
+ #clock-cells = <0>;
+ };
+
reserved-memory {
ramoops@bff00000{
compatible = "ramoops";
@@ -44,6 +50,13 @@
console-size = <0x20000>;
ftrace-size = <0x20000>;
};
+
+ linux,cma {
+ compatible = "shared-dma-pool";
+ reusable;
+ size = <0x00000000 0x08000000>;
+ linux,cma-default;
+ };
};
soc {
@@ -382,9 +395,8 @@
pinctrl-names = "default";
pinctrl-0 = <&camera_rear_default>;
- clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
- clock-names = "xclk";
- clock-frequency = <23880000>;
+ clocks = <&osc>;
+ clock-frequency = <25000000>;
vdddo-supply = <&camera_vdddo_1v8>;
vdda-supply = <&camera_vdda_2v8>;
@@ -401,6 +413,21 @@
};
};
+ ov: camera@36 {
+ compatible = "ovti,ov5647";
+ reg = <0x36>;
+ clocks = <&osc>;
+ clock-frequency = <25000000>;
+
+ port {
+ ov5647_ep: endpoint {
+ remote-endpoint = <&csiphy0_ep>;
+ clock-lanes = <2>;
+ data-lanes = <0 1>;
+ };
+ };
+ };
+
camera_front@3a {
compatible = "ovti,ov5645";
reg = <0x3a>;
@@ -438,10 +465,9 @@
port@0 {
reg = <0>;
csiphy0_ep: endpoint {
- clock-lanes = <1>;
- data-lanes = <0 2>;
- remote-endpoint = <&ov5645_ep>;
- status = "disabled";
+ clock-lanes = <2>;
+ data-lanes = <0 1>;
+ remote-endpoint = <&ov5647_ep>;
};
};
port@1 {