Enable HDMI and HDMI audio

This commit is contained in:
jmcneill 2019-11-24 02:06:16 +00:00
parent ee462562b8
commit 8add6aa962

View File

@ -1,4 +1,4 @@
/* $NetBSD: sun50i-a64-pinebook.dts,v 1.16 2019/06/06 23:19:45 jmcneill Exp $ */ /* $NetBSD: sun50i-a64-pinebook.dts,v 1.17 2019/11/24 02:06:16 jmcneill Exp $ */
/*- /*-
* Copyright (c) 2017-2019 Jared McNeill <jmcneill@invisible.ca> * Copyright (c) 2017-2019 Jared McNeill <jmcneill@invisible.ca>
@ -54,6 +54,17 @@
sound_spdif { sound_spdif {
status = "disabled"; status = "disabled";
}; };
hdmi-connector {
compatible = "hdmi-connector";
type = "c";
port {
hdmi_con_in: endpoint {
remote-endpoint = <&hdmi_out_con>;
};
};
};
}; };
&cpu0 { &cpu0 {
@ -151,3 +162,28 @@
}; };
}; };
}; };
&reg_dldo1 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc-hdmi";
};
&hdmi {
hvcc-supply = <&reg_dldo1>;
status = "okay";
};
&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
&i2s2 {
status = "okay";
};
&sound_hdmi {
status = "okay";
};