@@ -297,10 +297,62 @@
};
};
+/*
+ * Extentions provided on UI board
+ */
+&i2c0 {
+ /* clock generator used for camera input */
+ cdce913: clock-controller@65 {
+ compatible = "ti,cdce913";
+ reg = <0x65>;
+ #clock-cells = <1>;
+ };
+
+ pca9543: i2c-mux@73 {
+ compatible = "nxp,pca9543";
+ reg = <0x73>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pca9543_i2c1: i2c@1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0>;
+ };
+ };
+};
+
+&pca9543_i2c1 {
+ mt9v032: camera@4c {
+ compatible = "aptina,mt9v032";
+ reg = <0x4c>;
+ port {
+ mt9v032_out: endpoint {
+ remote-endpoint = <&vpif_input_ch0>;
+ };
+ };
+ };
+};
+
&vpif {
pinctrl-names = "default";
pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>;
status = "okay";
+
+ /* VPIF capture port */
+ port@0 {
+ vpif_input_ch0: endpoint@0 {
+ reg = <0>;
+ bus-width = <8>;
+ remote-endpoint = <&mt9v032_out>;
+ };
+
+ vpif_input_ch1: endpoint@1 {
+ reg = <1>;
+ bus-width = <8>;
+ data-shift = <8>;
+ };
+ };
};
/* UI board: VPIF input selection */
@@ -316,13 +368,13 @@
sel_b {
gpio-hog;
gpios = <6 GPIO_ACTIVE_HIGH>;
- output-high;
+ output-low;
line-name = "CAMERA_ENn";
};
sel_c {
gpio-hog;
gpios = <5 GPIO_ACTIVE_HIGH>;
- output-low;
+ output-high;
line-name = "VIDEO_IN_ENn";
};
};