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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox.dtsi

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright (c) 2021 Christian Hewitt <christianshewitt@gmail.com>
  4  */
  5 
  6 #include "meson-g12b-w400.dtsi"
  7 #include <dt-bindings/gpio/gpio.h>
  8 #include <dt-bindings/leds/common.h>
  9 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
 10 
 11 / {
 12         cvbs-connector {
 13                 status = "disabled";
 14         };
 15 
 16         sdio_pwrseq: sdio-pwrseq {
 17                 compatible = "mmc-pwrseq-simple";
 18                 reset-gpios = <&gpio GPIOA_11 GPIO_ACTIVE_LOW>;
 19                 clocks = <&wifi32k>;
 20                 clock-names = "ext_clock";
 21         };
 22 
 23         spdif_dit: audio-codec-1 {
 24                 #sound-dai-cells = <0>;
 25                 compatible = "linux,spdif-dit";
 26                 status = "okay";
 27                 sound-name-prefix = "DIT";
 28         };
 29 
 30         sound {
 31                 compatible = "amlogic,axg-sound-card";
 32                 model = "DREAMBOX";
 33                 audio-aux-devs = <&tdmout_b>;
 34                 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
 35                                 "TDMOUT_B IN 1", "FRDDR_B OUT 1",
 36                                 "TDMOUT_B IN 2", "FRDDR_C OUT 1",
 37                                 "TDM_B Playback", "TDMOUT_B OUT",
 38                                 "SPDIFOUT_A IN 0", "FRDDR_A OUT 3",
 39                                 "SPDIFOUT_A IN 1", "FRDDR_B OUT 3",
 40                                 "SPDIFOUT_A IN 2", "FRDDR_C OUT 3";
 41                 assigned-clocks = <&clkc CLKID_MPLL2>,
 42                                   <&clkc CLKID_MPLL0>,
 43                                   <&clkc CLKID_MPLL1>;
 44                 assigned-clock-parents = <0>, <0>, <0>;
 45                 assigned-clock-rates = <294912000>,
 46                                        <270950400>,
 47                                        <393216000>;
 48 
 49                 dai-link-0 {
 50                         sound-dai = <&frddr_a>;
 51                 };
 52 
 53                 dai-link-1 {
 54                         sound-dai = <&frddr_b>;
 55                 };
 56 
 57                 dai-link-2 {
 58                         sound-dai = <&frddr_c>;
 59                 };
 60 
 61                 /* 8ch hdmi interface */
 62                 dai-link-3 {
 63                         sound-dai = <&tdmif_b>;
 64                         dai-format = "i2s";
 65                         dai-tdm-slot-tx-mask-0 = <1 1>;
 66                         dai-tdm-slot-tx-mask-1 = <1 1>;
 67                         dai-tdm-slot-tx-mask-2 = <1 1>;
 68                         dai-tdm-slot-tx-mask-3 = <1 1>;
 69                         mclk-fs = <256>;
 70 
 71                         codec {
 72                                 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
 73                         };
 74                 };
 75 
 76                 /* spdif hdmi or toslink interface */
 77                 dai-link-4 {
 78                         sound-dai = <&spdifout_a>;
 79 
 80                         codec-0 {
 81                                 sound-dai = <&spdif_dit>;
 82                         };
 83 
 84                         codec-1 {
 85                                 sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_A>;
 86                         };
 87                 };
 88 
 89                 /* spdif hdmi interface */
 90                 dai-link-5 {
 91                         sound-dai = <&spdifout_b>;
 92 
 93                         codec {
 94                                 sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_B>;
 95                         };
 96                 };
 97 
 98                 /* hdmi glue */
 99                 dai-link-6 {
100                         sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
101 
102                         codec {
103                                 sound-dai = <&hdmi_tx>;
104                         };
105                 };
106         };
107 };
108 
109 &arb {
110         status = "okay";
111 };
112 
113 &frddr_a {
114         status = "okay";
115 };
116 
117 &frddr_b {
118         status = "okay";
119 };
120 
121 &frddr_c {
122         status = "okay";
123 };
124 
125 &ir {
126         linux,rc-map-name = "rc-dreambox";
127 };
128 
129 &saradc {
130         status = "okay";
131         vref-supply = <&vddao_1v8>;
132 };
133 
134 &spdifout_a {
135         pinctrl-0 = <&spdif_out_h_pins>;
136         pinctrl-names = "default";
137         status = "okay";
138 };
139 
140 &spdifout_b {
141         status = "okay";
142 };
143 
144 &tdmif_b {
145         status = "okay";
146 };
147 
148 &tdmout_b {
149         status = "okay";
150 };
151 
152 &tohdmitx {
153         status = "okay";
154 };

~ [ 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