1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/sound/sgtl5000.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale SGTL5000 Stereo Codec
10 - Fabio Estevam <festevam@gmail.com>
22 assigned-clock-parents: true
23 assigned-clock-rates: true
28 - description: the clock provider of SYS_MCLK
31 description: the regulator provider of VDDA
34 description: the regulator provider of VDDIO
37 description: the regulator provider of VDDD
39 micbias-resistor-k-ohms:
40 description: The bias resistor to be used in kOhms. The resistor can take
41 values of 2k, 4k or 8k. If set to 0 it will be off. If this node is not
42 mentioned or if the value is unknown, then micbias resistor is set to
44 $ref: "/schemas/types.yaml#/definitions/uint32"
47 micbias-voltage-m-volts:
48 description: The bias voltage to be used in mVolts. The voltage can take
49 values from 1.25V to 3V by 250mV steps. If this node is not mentioned
50 or the value is unknown, then the value is set to 1.25V.
51 $ref: "/schemas/types.yaml#/definitions/uint32"
52 enum: [ 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000 ]
56 The LRCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the
61 1 = 1.66 mA 2.87 mA 4.02 mA
62 2 = 3.33 mA 5.74 mA 8.03 mA
63 3 = 4.99 mA 8.61 mA 12.05 mA
64 $ref: "/schemas/types.yaml#/definitions/uint32"
69 The SCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the
74 1 = 1.66 mA 2.87 mA 4.02 mA
75 2 = 3.33 mA 5.74 mA 8.03 mA
76 3 = 4.99 mA 8.61 mA 12.05 mA
77 $ref: "/schemas/types.yaml#/definitions/uint32"
88 additionalProperties: false
97 compatible = "fsl,sgtl5000";
99 #sound-dai-cells = <0>;
100 clocks = <&clks 150>;
101 micbias-resistor-k-ohms = <2>;
102 micbias-voltage-m-volts = <2250>;
103 VDDA-supply = <®_3p3v>;
104 VDDIO-supply = <®_3p3v>;