Lines Matching +full:regulator +full:- +full:fixed +full:- +full:clock
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
15 Logic devices on mini-cards, as well as allowing connection of
25 [2] include/dt-bindings/pinctrl/lochnagar.h
26 [3] include/dt-bindings/clock/lochnagar.h
28 And these documents for the required sub-node binding details:
29 [4] Clock: ../clock/cirrus,lochnagar.yaml
35 - if:
39 - cirrus,lochnagar2
42 lochnagar-hwmon:
46 lochnagar-sc:
53 - cirrus,lochnagar1
54 - cirrus,lochnagar2
59 reset-gpios:
62 present-gpios:
69 lochnagar-clk:
71 $ref: /schemas/clock/cirrus,lochnagar.yaml#
73 lochnagar-pmic32k:
75 $ref: /schemas/clock/fixed-clock.yaml#
77 clock-frequency:
80 lochnagar-clk12m:
82 $ref: /schemas/clock/fixed-clock.yaml#
84 clock-frequency:
87 lochnagar-clk11m:
89 $ref: /schemas/clock/fixed-clock.yaml#
91 clock-frequency:
94 lochnagar-clk24m:
96 $ref: /schemas/clock/fixed-clock.yaml#
98 clock-frequency:
101 lochnagar-clk22m:
103 $ref: /schemas/clock/fixed-clock.yaml#
105 clock-frequency:
108 lochnagar-clk8m:
110 $ref: /schemas/clock/fixed-clock.yaml#
112 clock-frequency:
115 lochnagar-usb24m:
117 $ref: /schemas/clock/fixed-clock.yaml#
119 clock-frequency:
122 lochnagar-usb12m:
124 $ref: /schemas/clock/fixed-clock.yaml#
126 clock-frequency:
133 lochnagar-hwmon:
137 lochnagar-sc:
143 Initialisation data for the VDDCORE regulator, which supplies the
144 CODECs digital core if not being provided by an internal regulator.
146 $ref: /schemas/regulator/regulator.yaml#
151 - cirrus,lochnagar2-vddcore
153 SYSVDD-supply:
157 - compatible
161 Initialisation data for the MICVDD regulator, which supplies the
164 $ref: /schemas/regulator/regulator.yaml#
169 - cirrus,lochnagar2-micvdd
171 SYSVDD-supply:
175 - compatible
181 $ref: /schemas/regulator/regulator.yaml#
186 - cirrus,lochnagar2-mic1vdd
188 cirrus,micbias-input:
196 MICBIAS1-supply:
198 Regulator supplies for the MIC1VDD outputs, supplying the digital
201 - compatible
207 $ref: /schemas/regulator/regulator.yaml#
212 - cirrus,lochnagar2-mic2vdd
214 cirrus,micbias-input:
222 MICBIAS2-supply:
224 Regulator supplies for the MIC2VDD outputs, supplying the digital
227 - compatible
231 Recommended fixed regulator for the VDD1V8 regulator, which supplies
234 $ref: /schemas/regulator/regulator.yaml#
239 - regulator-fixed
241 regulator-min-microvolt:
244 regulator-max-microvolt:
247 vin-supply:
251 - compatible
252 - regulator-min-microvolt
253 - regulator-max-microvolt
254 - regulator-boot-on
255 - regulator-always-on
256 - vin-supply
259 - compatible
260 - reg
261 - reset-gpios
262 - lochnagar-clk
263 - pinctrl
268 - |
269 #include <dt-bindings/clock/lochnagar.h>
270 #include <dt-bindings/pinctrl/lochnagar.h>
272 #address-cells = <1>;
273 #size-cells = <0>;
280 reset-gpios = <&gpio0 55 0>;
281 present-gpios = <&gpio0 60 0>;
283 lochnagarclk: lochnagar-clk {
284 compatible = "cirrus,lochnagar2-clk";
286 #clock-cells = <1>;
288 clock-names = "ln-gf-mclk2", "ln-pmic-32k";
290 assigned-clocks = <&lochnagarclk LOCHNAGAR_CDC_MCLK1>,
292 assigned-clock-parents = <&clkaudio>, <&clkpmic>;
295 clkpmic: lochnagar-pmic32k {
296 compatible = "fixed-clock";
297 #clock-cells = <0>;
298 clock-frequency = <32768>;
302 compatible = "cirrus,lochnagar-pinctrl";
304 gpio-controller;
305 #gpio-cells = <2>;
306 gpio-ranges = <&lochnagar 0 0 LOCHNAGAR2_PIN_NUM_GPIOS>;
308 pinctrl-names = "default";
309 pinctrl-0 = <&pinsettings>;
311 pinsettings: pin-settings {
312 ap2aif-pins {
313 input-enable;
314 groups = "gf-aif1";
315 function = "codec-aif3";
317 codec2aif-pins {
318 output-enable;
319 groups = "codec-aif3";
320 function = "gf-aif1";
325 lochnagar-sc {
326 compatible = "cirrus,lochnagar2-soundcard";
328 #sound-dai-cells = <1>;
331 clock-names = "mclk";
334 lochnagar-hwmon {
335 compatible = "cirrus,lochnagar2-hwmon";
339 compatible = "cirrus,lochnagar2-mic1vdd";
341 cirrus,micbias-input = <3>;
345 compatible = "cirrus,lochnagar2-micvdd";
347 SYSVDD-supply = <&wallvdd>;
349 regulator-min-microvolt = <3300000>;
350 regulator-max-microvolt = <3300000>;
354 compatible = "regulator-fixed";
356 regulator-name = "VDD1V8";
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <1800000>;
359 regulator-boot-on;
360 regulator-always-on;
362 vin-supply = <&wallvdd>;