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/Bindings/sound/brcm,cygnus-audio.txt

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 BROADCOM Cygnus Audio I2S/TDM/SPDIF controller
    2 
    3 Required properties:
    4         - compatible : "brcm,cygnus-audio"
    5         - #address-cells: 32bit valued, 1 cell.
    6         - #size-cells:  32bit valued, 0 cell.
    7         - reg : Should contain audio registers location and length
    8         - reg-names: names of the registers listed in "reg" property
    9                 Valid names are "aud" and "i2s_in". "aud" contains a
   10                 set of DMA, I2S_OUT and SPDIF registers. "i2s_in" contains
   11                 a set of I2S_IN registers.
   12         - clocks: PLL and leaf clocks used by audio ports
   13         - assigned-clocks: PLL and leaf clocks
   14         - assigned-clock-parents: parent clocks of the assigned clocks
   15                 (usually the PLL)
   16         - assigned-clock-rates: List of clock frequencies of the
   17                 assigned clocks
   18         - clock-names: names of 3 leaf clocks used by audio ports
   19                 Valid names are "ch0_audio", "ch1_audio", "ch2_audio"
   20         - interrupts: audio DMA interrupt number
   21 
   22 SSP Subnode properties:
   23 - reg: The index of ssp port interface to use
   24         Valid value are 0, 1, 2, or 3 (for spdif)
   25 
   26 Example:
   27         cygnus_audio: audio@180ae000 {
   28                 compatible = "brcm,cygnus-audio";
   29                 #address-cells = <1>;
   30                 #size-cells = <0>;
   31                 reg = <0x180ae000 0xafd>, <0x180aec00 0x1f8>;
   32                 reg-names = "aud", "i2s_in";
   33                 clocks = <&audiopll BCM_CYGNUS_AUDIOPLL_CH0>,
   34                                 <&audiopll BCM_CYGNUS_AUDIOPLL_CH1>,
   35                                 <&audiopll BCM_CYGNUS_AUDIOPLL_CH2>;
   36                 assigned-clocks = <&audiopll BCM_CYGNUS_AUDIOPLL>,
   37                                                         <&audiopll BCM_CYGNUS_AUDIOPLL_CH0>,
   38                                                         <&audiopll BCM_CYGNUS_AUDIOPLL_CH1>,
   39                                                         <&audiopll BCM_CYGNUS_AUDIOPLL_CH2>;
   40                 assigned-clock-parents = <&audiopll BCM_CYGNUS_AUDIOPLL>;
   41                 assigned-clock-rates = <1769470191>,
   42                                                                 <0>,
   43                                                                 <0>,
   44                                                                 <0>;
   45                 clock-names = "ch0_audio", "ch1_audio", "ch2_audio";
   46                 interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
   47 
   48                 ssp0: ssp_port@0 {
   49                         reg = <0>;
   50                 };
   51 
   52                 ssp1: ssp_port@1 {
   53                         reg = <1>;
   54                 };
   55 
   56                 ssp2: ssp_port@2 {
   57                         reg = <2>;
   58                 };
   59 
   60                 spdif: spdif_port@3 {
   61                         reg = <3>;
   62                 };
   63         };

Cache object: 0f3cada2298d144e9fbf3b7410a27dff


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