1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2019 BayLibre SAS. All rights 3 * Copyright (c) 2019 BayLibre SAS. All rights reserved. 4 * Copyright (c) 2020 Christian Hewitt <christi 4 * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com> 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "meson-sm1-ac2xx.dtsi" 9 #include "meson-sm1-ac2xx.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmit 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 11 11 12 / { 12 / { 13 compatible = "cyx,a95xf3-air", "amlogi 13 compatible = "cyx,a95xf3-air", "amlogic,sm1"; 14 model = "Shenzhen CYX Industrial Co., 14 model = "Shenzhen CYX Industrial Co., Ltd A95XF3-AIR"; 15 15 16 sound { 16 sound { 17 compatible = "amlogic,axg-soun 17 compatible = "amlogic,axg-sound-card"; 18 model = "A95XF3-AIR"; 18 model = "A95XF3-AIR"; 19 audio-aux-devs = <&tdmout_b>; 19 audio-aux-devs = <&tdmout_b>; 20 audio-routing = "TDMOUT_B IN 0 20 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", 21 "TDMOUT_B IN 1 21 "TDMOUT_B IN 1", "FRDDR_B OUT 1", 22 "TDMOUT_B IN 2 22 "TDMOUT_B IN 2", "FRDDR_C OUT 1", 23 "TDM_B Playbac 23 "TDM_B Playback", "TDMOUT_B OUT"; 24 24 25 clocks = <&clkc CLKID_MPLL2>, << 26 <&clkc CLKID_MPLL0>, << 27 <&clkc CLKID_MPLL1>; << 28 << 29 assigned-clocks = <&clkc CLKID 25 assigned-clocks = <&clkc CLKID_MPLL2>, 30 <&clkc CLKID 26 <&clkc CLKID_MPLL0>, 31 <&clkc CLKID 27 <&clkc CLKID_MPLL1>; 32 assigned-clock-parents = <0>, 28 assigned-clock-parents = <0>, <0>, <0>; 33 assigned-clock-rates = <294912 29 assigned-clock-rates = <294912000>, 34 <270950 30 <270950400>, 35 <393216 31 <393216000>; >> 32 status = "okay"; 36 33 37 dai-link-0 { 34 dai-link-0 { 38 sound-dai = <&frddr_a> 35 sound-dai = <&frddr_a>; 39 }; 36 }; 40 37 41 dai-link-1 { 38 dai-link-1 { 42 sound-dai = <&frddr_b> 39 sound-dai = <&frddr_b>; 43 }; 40 }; 44 41 45 dai-link-2 { 42 dai-link-2 { 46 sound-dai = <&frddr_c> 43 sound-dai = <&frddr_c>; 47 }; 44 }; 48 45 49 /* 8ch hdmi interface */ 46 /* 8ch hdmi interface */ 50 dai-link-3 { 47 dai-link-3 { 51 sound-dai = <&tdmif_b> 48 sound-dai = <&tdmif_b>; 52 dai-format = "i2s"; 49 dai-format = "i2s"; 53 dai-tdm-slot-tx-mask-0 50 dai-tdm-slot-tx-mask-0 = <1 1>; 54 dai-tdm-slot-tx-mask-1 51 dai-tdm-slot-tx-mask-1 = <1 1>; 55 dai-tdm-slot-tx-mask-2 52 dai-tdm-slot-tx-mask-2 = <1 1>; 56 dai-tdm-slot-tx-mask-3 53 dai-tdm-slot-tx-mask-3 = <1 1>; 57 mclk-fs = <256>; 54 mclk-fs = <256>; 58 55 59 codec { 56 codec { 60 sound-dai = <& 57 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>; 61 }; 58 }; 62 }; 59 }; 63 60 64 /* hdmi glue */ 61 /* hdmi glue */ 65 dai-link-4 { 62 dai-link-4 { 66 sound-dai = <&tohdmitx 63 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>; 67 64 68 codec { 65 codec { 69 sound-dai = <& 66 sound-dai = <&hdmi_tx>; 70 }; 67 }; 71 }; 68 }; 72 }; 69 }; 73 }; 70 }; 74 71 75 &arb { 72 &arb { 76 status = "okay"; 73 status = "okay"; 77 }; 74 }; 78 75 79 &clkc_audio { 76 &clkc_audio { 80 status = "okay"; 77 status = "okay"; 81 }; 78 }; 82 79 83 ðmac { 80 ðmac { 84 status = "okay"; 81 status = "okay"; 85 phy-handle = <&internal_ephy>; 82 phy-handle = <&internal_ephy>; 86 phy-mode = "rmii"; 83 phy-mode = "rmii"; 87 }; 84 }; 88 85 89 &frddr_a { 86 &frddr_a { 90 status = "okay"; 87 status = "okay"; 91 }; 88 }; 92 89 93 &frddr_b { 90 &frddr_b { 94 status = "okay"; 91 status = "okay"; 95 }; 92 }; 96 93 97 &frddr_c { 94 &frddr_c { 98 status = "okay"; 95 status = "okay"; 99 }; 96 }; 100 97 101 &tdmif_b { 98 &tdmif_b { 102 status = "okay"; 99 status = "okay"; 103 }; 100 }; 104 101 105 &tdmout_b { 102 &tdmout_b { 106 status = "okay"; 103 status = "okay"; 107 }; 104 }; 108 105 109 &tohdmitx { 106 &tohdmitx { 110 status = "okay"; 107 status = "okay"; 111 }; 108 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.