Commit 3aa59200 authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Tony Lindgren

ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor

this patch does the following:
1: adds DT node for fixed oscillator.
2: adds DT node entries for ov2659 sensor
3: adds remote-endpoint entry for VPFE.
Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 99d89e3d
...@@ -116,6 +116,14 @@ lcd_in: endpoint { ...@@ -116,6 +116,14 @@ lcd_in: endpoint {
}; };
}; };
}; };
/* fixed 12MHz oscillator */
refclk: oscillator {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <12000000>;
};
}; };
&am43xx_pinmux { &am43xx_pinmux {
...@@ -464,6 +472,21 @@ ldo1: regulator-ldo1 { ...@@ -464,6 +472,21 @@ ldo1: regulator-ldo1 {
regulator-always-on; regulator-always-on;
}; };
}; };
ov2659@30 {
compatible = "ovti,ov2659";
reg = <0x30>;
clocks = <&refclk 0>;
clock-names = "xvclk";
port {
ov2659_0: endpoint {
remote-endpoint = <&vpfe1_ep>;
link-frequencies = /bits/ 64 <70000000>;
};
};
};
}; };
&i2c1 { &i2c1 {
...@@ -483,6 +506,21 @@ pixcir_ts@5c { ...@@ -483,6 +506,21 @@ pixcir_ts@5c {
touchscreen-size-x = <1024>; touchscreen-size-x = <1024>;
touchscreen-size-y = <600>; touchscreen-size-y = <600>;
}; };
ov2659@30 {
compatible = "ovti,ov2659";
reg = <0x30>;
clocks = <&refclk 0>;
clock-names = "xvclk";
port {
ov2659_1: endpoint {
remote-endpoint = <&vpfe0_ep>;
link-frequencies = /bits/ 64 <70000000>;
};
};
};
}; };
&epwmss0 { &epwmss0 {
...@@ -727,7 +765,7 @@ &vpfe0 { ...@@ -727,7 +765,7 @@ &vpfe0 {
port { port {
vpfe0_ep: endpoint { vpfe0_ep: endpoint {
/* remote-endpoint = <&sensor>; add once we have it */ remote-endpoint = <&ov2659_1>;
ti,am437x-vpfe-interface = <0>; ti,am437x-vpfe-interface = <0>;
bus-width = <8>; bus-width = <8>;
hsync-active = <0>; hsync-active = <0>;
...@@ -744,7 +782,7 @@ &vpfe1 { ...@@ -744,7 +782,7 @@ &vpfe1 {
port { port {
vpfe1_ep: endpoint { vpfe1_ep: endpoint {
/* remote-endpoint = <&sensor>; add once we have it */ remote-endpoint = <&ov2659_0>;
ti,am437x-vpfe-interface = <0>; ti,am437x-vpfe-interface = <0>;
bus-width = <8>; bus-width = <8>;
hsync-active = <0>; hsync-active = <0>;
......
Markdown is supported
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