1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 BayLibre SAS. All rights reserved.
4 * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com>
9 #include "meson-sm1-ac2xx.dtsi"
10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
13 compatible = "amediatech,x96-air", "amlogic,sm1";
14 model = "Shenzhen Amediatech Technology Co., Ltd X96 Air";
17 compatible = "amlogic,axg-sound-card";
19 audio-aux-devs = <&tdmout_b>;
20 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
21 "TDMOUT_B IN 1", "FRDDR_B OUT 1",
22 "TDMOUT_B IN 2", "FRDDR_C OUT 1",
23 "TDM_B Playback", "TDMOUT_B OUT";
25 assigned-clocks = <&clkc CLKID_MPLL2>,
28 assigned-clock-parents = <0>, <0>, <0>;
29 assigned-clock-rates = <294912000>,
35 sound-dai = <&frddr_a>;
39 sound-dai = <&frddr_b>;
43 sound-dai = <&frddr_c>;
46 /* 8ch hdmi interface */
48 sound-dai = <&tdmif_b>;
50 dai-tdm-slot-tx-mask-0 = <1 1>;
51 dai-tdm-slot-tx-mask-1 = <1 1>;
52 dai-tdm-slot-tx-mask-2 = <1 1>;
53 dai-tdm-slot-tx-mask-3 = <1 1>;
57 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
63 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
66 sound-dai = <&hdmi_tx>;
82 phy-handle = <&internal_ephy>;
99 linux,rc-map-name = "rc-beelink-gs1";