Skip to content

Commit

Permalink
arm64: dts: renesas: draak: Enable DU
Browse files Browse the repository at this point in the history
Enable the DU, providing only the VGA output for now.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Kieran Bingham authored and Simon Horman committed Feb 16, 2018
1 parent 4361e56 commit cfdec2a
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions arch/arm64/boot/dts/renesas/r8a77995-draak.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,38 @@
stdout-path = "serial0:115200n8";
};

vga {
compatible = "vga-connector";

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

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>;
};
};
};
};

memory@48000000 {
device_type = "memory";
/* first 128MB is reserved for secure area. */
Expand Down Expand Up @@ -64,6 +96,11 @@
};
};

du_pins: du {
groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
function = "du";
};

i2c0_pins: i2c0 {
groups = "i2c0";
function = "i2c0";
Expand Down Expand Up @@ -125,6 +162,20 @@
status = "okay";
};

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

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

&ehci0 {
status = "okay";
};
Expand Down

0 comments on commit cfdec2a

Please sign in to comment.