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