1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright 2020 Compass Electronics Group, LLC
9 #include "imx8mn-beacon-som.dtsi"
10 #include "imx8mn-beacon-baseboard.dtsi"
13 model = "Beacon EmbeddedWorks i.MX8M Nano Development Kit";
14 compatible = "beacon,imx8mn-beacon-kit", "fsl,imx8mn";
21 compatible = "hdmi-connector";
25 hdmi_connector_in: endpoint {
26 remote-endpoint = <&adv7535_out>;
31 reg_hdmi: regulator-hdmi-dvdd {
32 compatible = "regulator-fixed";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_reg_hdmi>;
35 regulator-name = "hdmi_pwr_en";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
38 gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
40 startup-delay-us = <70000>;
45 compatible = "simple-audio-card";
46 simple-audio-card,name = "sound-hdmi";
47 simple-audio-card,format = "i2s";
49 simple-audio-card,cpu {
51 system-clock-direction-out;
54 simple-audio-card,codec {
55 sound-dai = <&adv_bridge>;
62 compatible = "adi,adv7535";
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_hdmi_bridge>;
65 reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>;
66 reg-names = "main", "cec", "edid", "packet";
68 avdd-supply = <®_hdmi>;
69 a2vdd-supply = <®_hdmi>;
70 dvdd-supply = <®_hdmi>;
71 pvdd-supply = <®_hdmi>;
72 v1p2-supply = <®_hdmi>;
73 v3p3-supply = <®_hdmi>;
74 interrupt-parent = <&gpio1>;
75 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
76 #sound-dai-cells = <0>;
85 adv7535_in: endpoint {
86 remote-endpoint = <&dsi_out>;
93 adv7535_out: endpoint {
94 remote-endpoint = <&hdmi_connector_in>;
102 assigned-clocks = <&clk IMX8MN_VIDEO_PLL1>;
103 assigned-clock-rates = <594000000>;
108 samsung,esc-clock-frequency = <20000000>;
116 remote-endpoint = <&adv7535_in>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_sai5>;
125 assigned-clocks = <&clk IMX8MN_CLK_SAI5>;
126 assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
127 assigned-clock-rates = <24576000>;
128 #sound-dai-cells = <0>;
133 pinctrl_hdmi_bridge: hdmibridgegrp {
135 MX8MN_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x19
139 pinctrl_reg_hdmi: reghdmigrp {
141 MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x16
145 pinctrl_sai5: sai5grp {
147 MX8MN_IOMUXC_SAI5_RXD3_SAI5_TX_DATA0 0xd6
148 MX8MN_IOMUXC_SAI5_RXD2_SAI5_TX_BCLK 0xd6
149 MX8MN_IOMUXC_SAI5_RXD1_SAI5_TX_SYNC 0xd6