hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright 2019 NXP
 */
 
/dts-v1/;
 
#include "imx8mn.dtsi"
#include "imx8mn-evk.dtsi"
 
/ {
   model = "NXP i.MX8MNano DDR4 EVK board";
   compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn";
};
 
&A53_0 {
   cpu-supply = <&buck2_reg>;
};
 
&A53_1 {
   cpu-supply = <&buck2_reg>;
};
 
&A53_2 {
   cpu-supply = <&buck2_reg>;
};
 
&A53_3 {
   cpu-supply = <&buck2_reg>;
};
 
&ddrc {
   operating-points-v2 = <&ddrc_opp_table>;
 
   ddrc_opp_table: opp-table {
       compatible = "operating-points-v2";
 
       opp-25M {
           opp-hz = /bits/ 64 <25000000>;
       };
 
       opp-100M {
           opp-hz = /bits/ 64 <100000000>;
       };
 
       opp-600M {
           opp-hz = /bits/ 64 <600000000>;
       };
   };
};
 
&i2c1 {
   pmic@4b {
       compatible = "rohm,bd71847";
       reg = <0x4b>;
       pinctrl-names = "default";
       pinctrl-0 = <&pinctrl_pmic>;
       interrupt-parent = <&gpio1>;
       interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
       rohm,reset-snvs-powered;
 
       #clock-cells = <0>;
       clocks = <&osc_32k 0>;
       clock-output-names = "clk-32k-out";
 
       regulators {
           buck1_reg: BUCK1 {
               regulator-name = "buck1";
               regulator-min-microvolt = <700000>;
               regulator-max-microvolt = <1300000>;
               regulator-boot-on;
               regulator-always-on;
               regulator-ramp-delay = <1250>;
           };
 
           buck2_reg: BUCK2 {
               regulator-name = "buck2";
               regulator-min-microvolt = <700000>;
               regulator-max-microvolt = <1300000>;
               regulator-boot-on;
               regulator-always-on;
               regulator-ramp-delay = <1250>;
           };
 
           buck3_reg: BUCK3 {
               // BUCK5 in datasheet
               regulator-name = "buck3";
               regulator-min-microvolt = <700000>;
               regulator-max-microvolt = <1350000>;
           };
 
           buck4_reg: BUCK4 {
               // BUCK6 in datasheet
               regulator-name = "buck4";
               regulator-min-microvolt = <3000000>;
               regulator-max-microvolt = <3300000>;
               regulator-boot-on;
               regulator-always-on;
           };
 
           buck5_reg: BUCK5 {
               // BUCK7 in datasheet
               regulator-name = "buck5";
               regulator-min-microvolt = <1605000>;
               regulator-max-microvolt = <1995000>;
               regulator-boot-on;
               regulator-always-on;
           };
 
           buck6_reg: BUCK6 {
               // BUCK8 in datasheet
               regulator-name = "buck6";
               regulator-min-microvolt = <800000>;
               regulator-max-microvolt = <1400000>;
               regulator-boot-on;
               regulator-always-on;
           };
 
           ldo1_reg: LDO1 {
               regulator-name = "ldo1";
               regulator-min-microvolt = <1600000>;
               regulator-max-microvolt = <3300000>;
               regulator-boot-on;
               regulator-always-on;
           };
 
           ldo2_reg: LDO2 {
               regulator-name = "ldo2";
               regulator-min-microvolt = <800000>;
               regulator-max-microvolt = <900000>;
               regulator-boot-on;
               regulator-always-on;
           };
 
           ldo3_reg: LDO3 {
               regulator-name = "ldo3";
               regulator-min-microvolt = <1800000>;
               regulator-max-microvolt = <3300000>;
               regulator-boot-on;
               regulator-always-on;
           };
 
           ldo4_reg: LDO4 {
               regulator-name = "ldo4";
               regulator-min-microvolt = <900000>;
               regulator-max-microvolt = <1800000>;
               regulator-boot-on;
               regulator-always-on;
           };
 
           ldo6_reg: LDO6 {
               regulator-name = "ldo6";
               regulator-min-microvolt = <900000>;
               regulator-max-microvolt = <1800000>;
               regulator-boot-on;
               regulator-always-on;
           };
       };
   };
};