1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright 2019-2020 NXP
4  */
5 
6 /dts-v1/;
7 
8 #include "imx8mm-evk.dtsi"
9 
10 / {
11 	model = "FSL i.MX8MM EVKB";
12 	compatible = "fsl,imx8mm-evkb", "fsl,imx8mm";
13 };
14 
15 &i2c1 {
16 	/delete-node/ pmic@4b;
17 
18 	pmic@25 {
19 		compatible = "nxp,pca9450a";
20 		reg = <0x25>;
21 		pinctrl-0 = <&pinctrl_pmic>;
22 		pinctrl-names = "default";
23 		interrupt-parent = <&gpio1>;
24 		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
25 
26 		regulators {
27 			/* VDD_SOC with PCIe */
28 			buck1_reg: BUCK1 {
29 				regulator-name = "BUCK1";
30 				regulator-min-microvolt = <850000>;
31 				regulator-max-microvolt = <850000>;
32 				regulator-boot-on;
33 				regulator-always-on;
34 				regulator-ramp-delay = <3125>;
35 			};
36 
37 			/* VDD_ARM */
38 			buck2_reg: BUCK2 {
39 				regulator-name = "BUCK2";
40 				regulator-min-microvolt = <850000>;
41 				regulator-max-microvolt = <1000000>;
42 				regulator-boot-on;
43 				regulator-always-on;
44 				regulator-ramp-delay = <3125>;
45 				nxp,dvs-standby-voltage = <850000>;
46 			};
47 
48 			/* VDD_GPU, VDD_VPU, VDD_DRAM */
49 			buck3_reg: BUCK3 {
50 				regulator-name = "BUCK3";
51 				regulator-min-microvolt = <850000>;
52 				regulator-max-microvolt = <1000000>;
53 				regulator-boot-on;
54 				regulator-always-on;
55 			};
56 
57 			/* NVCC_3V3 */
58 			buck4_reg: BUCK4 {
59 				regulator-name = "BUCK4";
60 				regulator-min-microvolt = <3300000>;
61 				regulator-max-microvolt = <3300000>;
62 				regulator-boot-on;
63 				regulator-always-on;
64 			};
65 
66 			/* VDD_1V8, NVCC_1V8, NVCC_ENET */
67 			buck5_reg: BUCK5 {
68 				regulator-name = "BUCK5";
69 				regulator-min-microvolt = <1800000>;
70 				regulator-max-microvolt = <1800000>;
71 				regulator-boot-on;
72 				regulator-always-on;
73 			};
74 
75 			/* NVCC_DRAM for LPDDR4 */
76 			buck6_reg: BUCK6 {
77 				regulator-name = "BUCK6";
78 				regulator-min-microvolt = <1100000>;
79 				regulator-max-microvolt = <1100000>;
80 				regulator-boot-on;
81 				regulator-always-on;
82 			};
83 
84 			/* NVCC_SNVS_1P8 */
85 			ldo1_reg: LDO1 {
86 				regulator-name = "LDO1";
87 				regulator-min-microvolt = <1800000>;
88 				regulator-max-microvolt = <1800000>;
89 				regulator-boot-on;
90 				regulator-always-on;
91 			};
92 
93 			/* VDD_SNVS_0P8 */
94 			ldo2_reg: LDO2 {
95 				regulator-name = "LDO2";
96 				regulator-min-microvolt = <800000>;
97 				regulator-max-microvolt = <800000>;
98 				regulator-boot-on;
99 				regulator-always-on;
100 			};
101 
102 			/* VDD_*_1V8 */
103 			ldo3_reg: LDO3 {
104 				regulator-name = "LDO3";
105 				regulator-min-microvolt = <1800000>;
106 				regulator-max-microvolt = <1800000>;
107 				regulator-boot-on;
108 				regulator-always-on;
109 			};
110 
111 			/* VDD_PHY_0V9 */
112 			ldo4_reg: LDO4 {
113 				regulator-name = "LDO4";
114 				regulator-min-microvolt = <900000>;
115 				regulator-max-microvolt = <900000>;
116 				regulator-boot-on;
117 				regulator-always-on;
118 			};
119 
120 			/* NVCC_SD2 */
121 			ldo5_reg: LDO5 {
122 				regulator-name = "LDO5";
123 				regulator-min-microvolt = <1800000>;
124 				regulator-max-microvolt = <3300000>;
125 			};
126 		};
127 	};
128 };
129