Skip to content

Commit 441ba63

Browse files
tombatmlind
authored andcommitted
ARM: dts: am57xx-idk-common: add tc358778 bridge
AM5 IDK boards have TC358778 DPI-to-DSI bridge. Two different DSI panel models are used with the AM5 IDKs, and these panels are added with DT overlays. The AM5 IDKs can also be used without any panel. Add TC358778 data to the am57xx-idk-common.dtsi, but set the status to disabled. Signed-off-by: Tomi Valkeinen <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 520557d commit 441ba63

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

arch/arm/boot/dts/am57xx-idk-common.dtsi

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@
3535
regulator-boot-on;
3636
};
3737

38+
v1_2d: fixedregulator-v1_2d {
39+
compatible = "regulator-fixed";
40+
regulator-name = "V1_2D";
41+
vin-supply = <&vmain>;
42+
regulator-min-microvolt = <1200000>;
43+
regulator-max-microvolt = <1200000>;
44+
regulator-always-on;
45+
regulator-boot-on;
46+
};
47+
3848
vtt_fixed: fixedregulator-vtt {
3949
/* TPS51200 */
4050
compatible = "regulator-fixed";
@@ -139,6 +149,12 @@
139149
};
140150
};
141151
};
152+
153+
src_clk_x1: src_clk_x1 {
154+
#clock-cells = <0>;
155+
compatible = "fixed-clock";
156+
clock-frequency = <20000000>;
157+
};
142158
};
143159

144160
&dra7_pmx_core {
@@ -378,6 +394,32 @@
378394
gpio-controller;
379395
#gpio-cells = <2>;
380396
};
397+
398+
dsi_bridge: tc358778@e {
399+
compatible = "toshiba,tc358778", "toshiba,tc358768";
400+
reg = <0xe>;
401+
status = "disabled";
402+
403+
clocks = <&src_clk_x1>;
404+
clock-names = "refclk";
405+
406+
vddc-supply = <&v1_2d>;
407+
vddmipi-supply = <&v1_2d>;
408+
vddio-supply = <&v3_3d>;
409+
410+
dsi_bridge_ports: ports {
411+
#address-cells = <1>;
412+
#size-cells = <0>;
413+
414+
port@0 {
415+
reg = <0>;
416+
rgb_in: endpoint {
417+
remote-endpoint = <&dpi_out>;
418+
data-lines = <24>;
419+
};
420+
};
421+
};
422+
};
381423
};
382424

383425
&mcspi3 {
@@ -543,4 +585,20 @@
543585

544586
&dss {
545587
status = "okay";
588+
589+
vdda_video-supply = <&ldoln_reg>;
590+
591+
ports {
592+
#address-cells = <1>;
593+
#size-cells = <0>;
594+
595+
port@0 {
596+
reg = <0>;
597+
598+
dpi_out: endpoint {
599+
remote-endpoint = <&rgb_in>;
600+
data-lines = <24>;
601+
};
602+
};
603+
};
546604
};

0 commit comments

Comments
 (0)