1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2023, Linaro Ltd.
9 #include "apq8016-sbc.dts"
12 camera_vdddo_1v8: camera-vdddo-1v8 {
13 compatible = "regulator-fixed";
14 regulator-name = "camera_vdddo";
15 regulator-min-microvolt = <1800000>;
16 regulator-max-microvolt = <1800000>;
20 camera_vdda_2v8: camera-vdda-2v8 {
21 compatible = "regulator-fixed";
22 regulator-name = "camera_vdda";
23 regulator-min-microvolt = <2800000>;
24 regulator-max-microvolt = <2800000>;
28 camera_vddd_1v5: camera-vddd-1v5 {
29 compatible = "regulator-fixed";
30 regulator-name = "camera_vddd";
31 regulator-min-microvolt = <1500000>;
32 regulator-max-microvolt = <1500000>;
43 csiphy0_ep: endpoint {
45 remote-endpoint = <&ov5640_ep>;
57 compatible = "ovti,ov5640";
60 powerdown-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
61 reset-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
62 pinctrl-names = "default";
63 pinctrl-0 = <&camera_rear_default>;
65 clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
67 assigned-clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
68 assigned-clock-rates = <23880000>;
70 DOVDD-supply = <&camera_vdddo_1v8>;
71 AVDD-supply = <&camera_vdda_2v8>;
72 DVDD-supply = <&camera_vddd_1v5>;
77 remote-endpoint = <&csiphy0_ep>;