~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2l.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 &eth_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 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php