xref: /freebsd/sys/contrib/device-tree/Bindings/sound/brcm,bcm63xx-audio.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom DSL/PON BCM63xx Audio I2S controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible:     Should be "brcm,bcm63xx-i2s".
5*c66ec88fSEmmanuel Vadot- #address-cells: 32bit valued, 1 cell.
6*c66ec88fSEmmanuel Vadot- #size-cells:    32bit valued, 0 cell.
7*c66ec88fSEmmanuel Vadot- reg:            Should contain audio registers location and length
8*c66ec88fSEmmanuel Vadot- interrupts:     Should contain the interrupt for the controller.
9*c66ec88fSEmmanuel Vadot- clocks:         Must contain an entry for each entry in clock-names.
10*c66ec88fSEmmanuel Vadot                  Please refer to clock-bindings.txt.
11*c66ec88fSEmmanuel Vadot- clock-names:    One of each entry matching the clocks phandles list:
12*c66ec88fSEmmanuel Vadot                  - "i2sclk" (generated clock) Required.
13*c66ec88fSEmmanuel Vadot                  - "i2sosc" (fixed 200MHz clock) Required.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot(1) : The generated clock is required only when any of TX and RX
16*c66ec88fSEmmanuel Vadot      works on Master Mode.
17*c66ec88fSEmmanuel Vadot(2) : The fixed 200MHz clock is from internal chip and always on
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample:
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot		i2s: bcm63xx-i2s {
22*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
23*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
24*c66ec88fSEmmanuel Vadot			compatible = "brcm,bcm63xx-i2s";
25*c66ec88fSEmmanuel Vadot			reg = <0xFF802080 0xFF>;
26*c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
27*c66ec88fSEmmanuel Vadot			clocks = <&i2sclk>, <&osc>;
28*c66ec88fSEmmanuel Vadot			clock-names = "i2sclk","i2sosc";
29*c66ec88fSEmmanuel Vadot		};
30