Commit 3edd18ff authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman

ARM: shmobile: lager: Enable DU device in DT

Specify the DU output topology, enable the DU device and configure the
related pins.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 64d9c221
...@@ -144,6 +144,56 @@ vccq_sdhi2: regulator@4 { ...@@ -144,6 +144,56 @@ vccq_sdhi2: regulator@4 {
states = <3300000 1 states = <3300000 1
1800000 0>; 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 { &extal_clk {
...@@ -151,9 +201,6 @@ &extal_clk { ...@@ -151,9 +201,6 @@ &extal_clk {
}; };
&pfc { &pfc {
pinctrl-0 = <&du_pins>;
pinctrl-names = "default";
du_pins: du { du_pins: du {
renesas,groups = "du_rgb666", "du_sync_1", "du_clk_out_0"; renesas,groups = "du_rgb666", "du_sync_1", "du_clk_out_0";
renesas,function = "du"; renesas,function = "du";
......
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