The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm64/amlogic/meson-sm1-a95xf3-air.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
    2 /*
    3  * Copyright (c) 2019 BayLibre SAS. All rights reserved.
    4  * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com>
    5  */
    6 
    7 /dts-v1/;
    8 
    9 #include "meson-sm1-ac2xx.dtsi"
   10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
   11 
   12 / {
   13         compatible = "cyx,a95xf3-air", "amlogic,sm1";
   14         model = "Shenzhen CYX Industrial Co., Ltd A95XF3-AIR";
   15 
   16         sound {
   17                 compatible = "amlogic,axg-sound-card";
   18                 model = "A95XF3-AIR";
   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";
   24 
   25                 assigned-clocks = <&clkc CLKID_MPLL2>,
   26                                   <&clkc CLKID_MPLL0>,
   27                                   <&clkc CLKID_MPLL1>;
   28                 assigned-clock-parents = <0>, <0>, <0>;
   29                 assigned-clock-rates = <294912000>,
   30                                        <270950400>,
   31                                        <393216000>;
   32                 status = "okay";
   33 
   34                 dai-link-0 {
   35                         sound-dai = <&frddr_a>;
   36                 };
   37 
   38                 dai-link-1 {
   39                         sound-dai = <&frddr_b>;
   40                 };
   41 
   42                 dai-link-2 {
   43                         sound-dai = <&frddr_c>;
   44                 };
   45 
   46                 /* 8ch hdmi interface */
   47                 dai-link-3 {
   48                         sound-dai = <&tdmif_b>;
   49                         dai-format = "i2s";
   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>;
   54                         mclk-fs = <256>;
   55 
   56                         codec {
   57                                 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
   58                         };
   59                 };
   60 
   61                 /* hdmi glue */
   62                 dai-link-4 {
   63                         sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
   64 
   65                         codec {
   66                                 sound-dai = <&hdmi_tx>;
   67                         };
   68                 };
   69         };
   70 };
   71 
   72 &arb {
   73         status = "okay";
   74 };
   75 
   76 &clkc_audio {
   77         status = "okay";
   78 };
   79 
   80 &ethmac {
   81         status = "okay";
   82         phy-handle = <&internal_ephy>;
   83         phy-mode = "rmii";
   84 };
   85 
   86 &frddr_a {
   87         status = "okay";
   88 };
   89 
   90 &frddr_b {
   91         status = "okay";
   92 };
   93 
   94 &frddr_c {
   95         status = "okay";
   96 };
   97 
   98 &tdmif_b {
   99         status = "okay";
  100 };
  101 
  102 &tdmout_b {
  103         status = "okay";
  104 };
  105 
  106 &tohdmitx {
  107         status = "okay";
  108 };

Cache object: 7a38e383941025d284904a99481be9b5


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.