Skip to content

Commit

Permalink
ARM: shmobile: lager: Enable DU device in DT
Browse files Browse the repository at this point in the history
Specify the DU output topology, enable the DU device and configure the
related pins.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Laurent Pinchart authored and Simon Horman committed Oct 30, 2014
1 parent 64d9c22 commit 3edd18f
Showing 1 changed file with 50 additions and 3 deletions.
53 changes: 50 additions & 3 deletions arch/arm/boot/dts/r8a7790-lager.dts
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,63 @@
states = <3300000 1
1800000 0>;
};

vga-encoder {
compatible = "adi,adv7123";

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
adv7123_in: endpoint {
remote-endpoint = <&du_out_rgb>;
};
};
port@1 {
reg = <1>;
adv7123_out: endpoint {
remote-endpoint = <&vga_in>;
};
};
};
};

vga {
compatible = "vga-connector";

port {
vga_in: endpoint {
remote-endpoint = <&adv7123_out>;
};
};
};
};

&du {
pinctrl-0 = <&du_pins>;
pinctrl-names = "default";
status = "okay";

ports {
port@0 {
endpoint {
remote-endpoint = <&adv7123_in>;
};
};
port@2 {
lvds_connector: endpoint {
};
};
};
};

&extal_clk {
clock-frequency = <20000000>;
};

&pfc {
pinctrl-0 = <&du_pins>;
pinctrl-names = "default";

du_pins: du {
renesas,groups = "du_rgb666", "du_sync_1", "du_clk_out_0";
renesas,function = "du";
Expand Down

0 comments on commit 3edd18f

Please sign in to comment.