File tree Expand file tree Collapse file tree
arch/riscv/boot/dts/starfive Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 status = "okay";
5858};
5959
60+ &hdmi {
61+ status = "okay";
62+ pinctrl-names = "default";
63+ pinctrl-0 = <&hdmi_pins>;
64+ hpd-gpio = <&sysgpio 15 GPIO_ACTIVE_HIGH>;
65+ hdmi_0p9-supply = <&hdmi_0p9>;
66+ hdmi_1p8-supply = <&hdmi_1p8>;
67+
68+ hdmi_in: port {
69+ #address-cells = <1>;
70+ #size-cells = <0>;
71+ hdmi_in_lcdc: endpoint@0 {
72+ reg = <0>;
73+ remote-endpoint = <&dc_out_dpi1>;
74+ };
75+ };
76+ };
77+
6078&mmc0 {
6179 cap-mmc-highspeed;
6280 cap-mmc-hw-reset;
121139};
122140
123141&sysgpio {
142+ hdmi_pins: hdmi-0 {
143+ scl-pins {
144+ pinmux = <GPIOMUX(0, GPOUT_SYS_HDMI_DDC_SCL,
145+ GPOEN_SYS_HDMI_DDC_SCL,
146+ GPI_SYS_HDMI_DDC_SCL)>;
147+ bias-pull-up;
148+ input-enable;
149+ };
150+
151+ sda-pins {
152+ pinmux = <GPIOMUX(1, GPOUT_SYS_HDMI_DDC_SDA,
153+ GPOEN_SYS_HDMI_DDC_SDA,
154+ GPI_SYS_HDMI_DDC_SDA)>;
155+ bias-pull-up;
156+ input-enable;
157+ };
158+
159+ cec-pins {
160+ pinmux = <GPIOMUX(14, GPOUT_SYS_HDMI_CEC_SDA,
161+ GPOEN_SYS_HDMI_CEC_SDA,
162+ GPI_SYS_HDMI_CEC_SDA)>;
163+ bias-pull-up;
164+ input-enable;
165+ };
166+
167+ hpd-pins {
168+ pinmux = <GPIOMUX(15, GPOUT_LOW,
169+ GPOEN_DISABLE,
170+ GPI_SYS_HDMI_HPD)>;
171+ bias-disable; /* external pull-up */
172+ input-enable;
173+ };
174+ };
175+
124176 usb0_pins: usb0-0 {
125177 vbus-pins {
126178 pinmux = <GPIOMUX(25, GPOUT_SYS_USB_DRIVE_VBUS,
You can’t perform that action at this time.
0 commit comments