1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2022 Dongjin Kim <tobetter@gmail.com> 4 */ 5 6 /dts-v1/; 7 8 /* The Amlogic S922X Rev. C supports the same OPPs as the A311D variant */ 9 #include "meson-g12b-a311d.dtsi" 10 #include "meson-g12b-odroid.dtsi" 11 12 / { 13 compatible = "hardkernel,odroid-n2l", "amlogic,s922x", "amlogic,g12b"; 14 model = "Hardkernel ODROID-N2L"; 15 16 sound { 17 compatible = "amlogic,axg-sound-card"; 18 model = "ODROID-N2L"; 19 audio-aux-devs = <&tdmout_b>, <&tdmin_a>, <&tdmin_b>, 20 <&tdmin_c>, <&tdmin_lb>; 21 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", 22 "TDMOUT_B IN 1", "FRDDR_B OUT 1", 23 "TDMOUT_B IN 2", "FRDDR_C OUT 1", 24 "TDM_B Playback", "TDMOUT_B OUT", 25 "TDMIN_A IN 4", "TDM_B Loopback", 26 "TDMIN_B IN 4", "TDM_B Loopback", 27 "TDMIN_C IN 4", "TDM_B Loopback", 28 "TDMIN_LB IN 1", "TDM_B Loopback", 29 "TODDR_A IN 0", "TDMIN_A OUT", 30 "TODDR_B IN 0", "TDMIN_A OUT", 31 "TODDR_C IN 0", "TDMIN_A OUT", 32 "TODDR_A IN 1", "TDMIN_B OUT", 33 "TODDR_B IN 1", "TDMIN_B OUT", 34 "TODDR_C IN 1", "TDMIN_B OUT", 35 "TODDR_A IN 2", "TDMIN_C OUT", 36 "TODDR_B IN 2", "TDMIN_C OUT", 37 "TODDR_C IN 2", "TDMIN_C OUT", 38 "TODDR_A IN 6", "TDMIN_LB OUT", 39 "TODDR_B IN 6", "TDMIN_LB OUT", 40 "TODDR_C IN 6", "TDMIN_LB OUT"; 41 42 clocks = <&clkc CLKID_MPLL2>, 43 <&clkc CLKID_MPLL0>, 44 <&clkc CLKID_MPLL1>; 45 46 assigned-clocks = <&clkc CLKID_MPLL2>, 47 <&clkc CLKID_MPLL0>, 48 <&clkc CLKID_MPLL1>; 49 assigned-clock-parents = <0>, <0>, <0>; 50 assigned-clock-rates = <294912000>, 51 <270950400>, 52 <393216000>; 53 54 dai-link-0 { 55 sound-dai = <&frddr_a>; 56 }; 57 58 dai-link-1 { 59 sound-dai = <&frddr_b>; 60 }; 61 62 dai-link-2 { 63 sound-dai = <&frddr_c>; 64 }; 65 66 dai-link-3 { 67 sound-dai = <&toddr_a>; 68 }; 69 70 dai-link-4 { 71 sound-dai = <&toddr_b>; 72 }; 73 74 dai-link-5 { 75 sound-dai = <&toddr_c>; 76 }; 77 78 /* 8ch hdmi interface */ 79 dai-link-6 { 80 sound-dai = <&tdmif_b>; 81 dai-format = "i2s"; 82 dai-tdm-slot-tx-mask-0 = <1 1>; 83 dai-tdm-slot-tx-mask-1 = <1 1>; 84 dai-tdm-slot-tx-mask-2 = <1 1>; 85 dai-tdm-slot-tx-mask-3 = <1 1>; 86 mclk-fs = <256>; 87 88 codec { 89 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>; 90 }; 91 }; 92 93 /* hdmi glue */ 94 dai-link-7 { 95 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>; 96 97 codec { 98 sound-dai = <&hdmi_tx>; 99 }; 100 }; 101 }; 102 }; 103 104 ð_phy { 105 status = "disabled"; 106 }; 107 108 &vddcpu_a { 109 regulator-min-microvolt = <680000>; 110 regulator-max-microvolt = <1040000>; 111 112 pwms = <&pwm_ab 0 1500 0>; 113 }; 114 115 &vddcpu_b { 116 regulator-min-microvolt = <680000>; 117 regulator-max-microvolt = <1040000>; 118 119 pwms = <&pwm_AO_cd 1 1500 0>; 120 }; 121 122 &usb2_phy0 { 123 phy-supply = <&usb_pwr_en>; 124 }; 125 126 &usb2_phy1 { 127 phy-supply = <&usb_pwr_en>; 128 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.