Skip to content

Commit cfc6bd0

Browse files
committed
riscv: dts: spacemit: k3-deepcomputing-fml13v05: enable display outputs
The FML13V05 routes the second SoC display path (DPU1/DP1) to the external DisplayPort receptacle and the first one (DPU0/eDP0) to the built-in 13.3 inch eDP panel. Enable both DPUs and their downstream DisplayPort controllers, following the upstream display series layout. The eDP0 hot-plug pin is muxed through edp0_1_cfg (GPIO23) and the DP1 hot-plug pin through dp1_1_cfg (GPIO24).
1 parent 69ce147 commit cfc6bd0

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

‎arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <dt-bindings/gpio/gpio.h>
66

77
#include "k3.dtsi"
8+
#include "k3-display.dtsi"
89
#include "k3-pinctrl.dtsi"
910

1011
/ {
@@ -282,3 +283,29 @@
282283
phy-names = "usb2-phy", "usb3-phy";
283284
status = "okay";
284285
};
286+
/*
287+
* The FML13V05 routes the second SoC display path (DPU1/DP1) to the
288+
* external DisplayPort receptacle and the first one (DPU0/eDP0) to the
289+
* built-in 13.3" eDP panel. Enable both DPUs and their downstream
290+
* DisplayPort controllers.
291+
*/
292+
293+
&dpu0_crtc0 {
294+
status = "okay";
295+
};
296+
297+
&edp0 {
298+
pinctrl-names = "default";
299+
pinctrl-0 = <&edp0_1_cfg>;
300+
status = "okay";
301+
};
302+
303+
&dpu1_crtc0 {
304+
status = "okay";
305+
};
306+
307+
&dp1 {
308+
pinctrl-names = "default";
309+
pinctrl-0 = <&dp1_1_cfg>;
310+
status = "okay";
311+
};

‎arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@
3333
};
3434
};
3535

36+
37+
/omit-if-no-ref/
38+
edp0_1_cfg: edp0-1-cfg {
39+
edp0-pins {
40+
pinmux = <K3_PADCONF(23, 6)>; /* edp0 hpd */
41+
42+
bias-disable;
43+
drive-strength = <25>;
44+
power-source = <3300>;
45+
};
46+
};
47+
3648
gmac0_rgmii_0_cfg: gmac0-rgmii-0-cfg {
3749
gmac0-rgmii-0-pins {
3850
pinmux = <K3_PADCONF(0, 1)>, /* gmac0_rxdv */

0 commit comments

Comments
 (0)