Commit cac7617b authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

arm64: dts: librem-devkit: use ov5640 mainline driver

UNTESTED
parent c7b3efc9
...@@ -611,25 +611,18 @@ ...@@ -611,25 +611,18 @@
}; };
ov5640_mipi@3c { ov5640_mipi@3c {
compatible = "ovti,ov5640_mipi"; compatible = "ovti,ov5640";
//compatible = "ovti,ov5640"; // mainline driver
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi1>; pinctrl-0 = <&pinctrl_csi1>;
reg = <0x3c>; reg = <0x3c>;
status = "okay"; status = "okay";
clocks = <&clk IMX8MQ_CLK_CLKO1>; clocks = <&clk IMX8MQ_CLK_CLKO1>;
clock-names = "csi_mclk"; clock-names = "xclk";
//clock-names = "xclk"; // mainline driver
assigned-clocks = <&clk IMX8MQ_CLK_CLKO1>; assigned-clocks = <&clk IMX8MQ_CLK_CLKO1>;
assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_200M>; assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_200M>;
assigned-clock-rates = <20000000>; assigned-clock-rates = <20000000>;
//powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
//reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
csi_id = <0>;
pwn-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
rst-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
mclk = <20000000>;
mclk_source = <0>;
port { port {
ov5640_mipi1_ep: endpoint { ov5640_mipi1_ep: endpoint {
remote-endpoint = <&mipi1_sensor_ep>; remote-endpoint = <&mipi1_sensor_ep>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment