Skip to content

Commit

Permalink
ARM: dts: am437x-gp-evm: add DT nodes for ov2659 sensor
Browse files Browse the repository at this point in the history
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: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
prabhakarlad authored and tmlind committed May 20, 2015
1 parent 99d89e3 commit 3aa5920
Showing 1 changed file with 40 additions and 2 deletions.
42 changes: 40 additions & 2 deletions arch/arm/boot/dts/am437x-gp-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,14 @@
};
};
};

/* fixed 12MHz oscillator */
refclk: oscillator {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <12000000>;
};

};

&am43xx_pinmux {
Expand Down Expand Up @@ -464,6 +472,21 @@
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 {
Expand All @@ -483,6 +506,21 @@
touchscreen-size-x = <1024>;
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 {
Expand Down Expand Up @@ -727,7 +765,7 @@

port {
vpfe0_ep: endpoint {
/* remote-endpoint = <&sensor>; add once we have it */
remote-endpoint = <&ov2659_1>;
ti,am437x-vpfe-interface = <0>;
bus-width = <8>;
hsync-active = <0>;
Expand All @@ -744,7 +782,7 @@

port {
vpfe1_ep: endpoint {
/* remote-endpoint = <&sensor>; add once we have it */
remote-endpoint = <&ov2659_0>;
ti,am437x-vpfe-interface = <0>;
bus-width = <8>;
hsync-active = <0>;
Expand Down

0 comments on commit 3aa5920

Please sign in to comment.