Debian Codegraph @

arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi

raw
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3 * Copyright (c) 2019 BayLibre, SAS
4 * Author: Neil Armstrong <[email protected]>
5 * Copyright (c) 2019 Christian Hewitt <[email protected]>
6 */
7
8 / {
9 model = "Khadas VIM3";
10
11 vddcpu_a: regulator-vddcpu-a {
12 /*
13 * MP8756GD Regulator.
14 */
15 compatible = "pwm-regulator";
16
17 regulator-name = "VDDCPU_A";
18 regulator-min-microvolt = <690000>;
19 regulator-max-microvolt = <1050000>;
20
21 pwm-supply = <&dc_in>;
22
23 pwms = <&pwm_ab 0 1250 0>;
24 pwm-dutycycle-range = <100 0>;
25
26 regulator-boot-on;
27 regulator-always-on;
28 };
29
30 vddcpu_b: regulator-vddcpu-b {
31 /*
32 * Silergy SY8030DEC Regulator.
33 */
34 compatible = "pwm-regulator";
35
36 regulator-name = "VDDCPU_B";
37 regulator-min-microvolt = <690000>;
38 regulator-max-microvolt = <1050000>;
39
40 pwm-supply = <&vsys_3v3>;
41
42 pwms = <&pwm_AO_cd 1 1250 0>;
43 pwm-dutycycle-range = <100 0>;
44
45 regulator-boot-on;
46 regulator-always-on;
47 };
48 };
49
50 &cpu0 {
51 cpu-supply = <&vddcpu_b>;
52 };
53
54 &cpu1 {
55 cpu-supply = <&vddcpu_b>;
56 };
57
58 &cpu100 {
59 cpu-supply = <&vddcpu_a>;
60 };
61
62 &cpu101 {
63 cpu-supply = <&vddcpu_a>;
64 };
65
66 &cpu102 {
67 cpu-supply = <&vddcpu_a>;
68 };
69
70 &cpu103 {
71 cpu-supply = <&vddcpu_a>;
72 };
73
74 &pwm_ab {
75 pinctrl-0 = <&pwm_a_e_pins>;
76 pinctrl-names = "default";
77 status = "okay";
78 };
79
80 &pwm_AO_cd {
81 pinctrl-0 = <&pwm_ao_d_e_pins>;
82 pinctrl-names = "default";
83 status = "okay";
84 };
85