blob: 7dfee715a2c4db6f0c182ff754a730a6e44e0928 [file] [log] [blame]
Peng Fana181afe2019-09-16 03:09:55 +00001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright 2019 NXP
4 */
5
6/dts-v1/;
7
8#include "imx8mn.dtsi"
Peng Fancdc90f32020-12-27 09:37:06 +08009#include "imx8mn-evk.dtsi"
Peng Fana181afe2019-09-16 03:09:55 +000010
11/ {
12 model = "NXP i.MX8MNano DDR4 EVK board";
13 compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn";
Peng Fancdc90f32020-12-27 09:37:06 +080014};
Peng Fana181afe2019-09-16 03:09:55 +000015
Peng Fancdc90f32020-12-27 09:37:06 +080016&A53_0 {
17 cpu-supply = <&buck2_reg>;
Peng Fana181afe2019-09-16 03:09:55 +000018};
19
Peng Fancdc90f32020-12-27 09:37:06 +080020&A53_1 {
21 cpu-supply = <&buck2_reg>;
22};
Peng Fana181afe2019-09-16 03:09:55 +000023
Peng Fancdc90f32020-12-27 09:37:06 +080024&A53_2 {
25 cpu-supply = <&buck2_reg>;
26};
Peng Fana181afe2019-09-16 03:09:55 +000027
Peng Fancdc90f32020-12-27 09:37:06 +080028&A53_3 {
29 cpu-supply = <&buck2_reg>;
30};
Peng Fana181afe2019-09-16 03:09:55 +000031
Peng Fancdc90f32020-12-27 09:37:06 +080032&ddrc {
33 operating-points-v2 = <&ddrc_opp_table>;
Peng Fana181afe2019-09-16 03:09:55 +000034
Peng Fancdc90f32020-12-27 09:37:06 +080035 ddrc_opp_table: opp-table {
36 compatible = "operating-points-v2";
Peng Fana181afe2019-09-16 03:09:55 +000037
Peng Fancdc90f32020-12-27 09:37:06 +080038 opp-25M {
39 opp-hz = /bits/ 64 <25000000>;
40 };
Peng Fana181afe2019-09-16 03:09:55 +000041
Peng Fancdc90f32020-12-27 09:37:06 +080042 opp-100M {
43 opp-hz = /bits/ 64 <100000000>;
44 };
Peng Fana181afe2019-09-16 03:09:55 +000045
Peng Fancdc90f32020-12-27 09:37:06 +080046 opp-600M {
47 opp-hz = /bits/ 64 <600000000>;
48 };
Peng Fana181afe2019-09-16 03:09:55 +000049 };
Peng Fancdc90f32020-12-27 09:37:06 +080050};
Peng Fana181afe2019-09-16 03:09:55 +000051
Peng Fancdc90f32020-12-27 09:37:06 +080052&i2c1 {
53 pmic@4b {
54 compatible = "rohm,bd71847";
55 reg = <0x4b>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&pinctrl_pmic>;
58 interrupt-parent = <&gpio1>;
59 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
60 rohm,reset-snvs-powered;
Peng Fana181afe2019-09-16 03:09:55 +000061
Peng Fancdc90f32020-12-27 09:37:06 +080062 regulators {
63 buck1_reg: BUCK1 {
64 regulator-name = "buck1";
65 regulator-min-microvolt = <700000>;
66 regulator-max-microvolt = <1300000>;
67 regulator-boot-on;
68 regulator-always-on;
69 regulator-ramp-delay = <1250>;
70 };
Peng Fana181afe2019-09-16 03:09:55 +000071
Peng Fancdc90f32020-12-27 09:37:06 +080072 buck2_reg: BUCK2 {
73 regulator-name = "buck2";
74 regulator-min-microvolt = <700000>;
75 regulator-max-microvolt = <1300000>;
76 regulator-boot-on;
77 regulator-always-on;
78 regulator-ramp-delay = <1250>;
79 };
Peng Fana181afe2019-09-16 03:09:55 +000080
Peng Fancdc90f32020-12-27 09:37:06 +080081 buck3_reg: BUCK3 {
82 // BUCK5 in datasheet
83 regulator-name = "buck3";
84 regulator-min-microvolt = <700000>;
85 regulator-max-microvolt = <1350000>;
86 };
Peng Fana181afe2019-09-16 03:09:55 +000087
Peng Fancdc90f32020-12-27 09:37:06 +080088 buck4_reg: BUCK4 {
89 // BUCK6 in datasheet
90 regulator-name = "buck4";
91 regulator-min-microvolt = <3000000>;
92 regulator-max-microvolt = <3300000>;
93 regulator-boot-on;
94 regulator-always-on;
95 };
Peng Fana181afe2019-09-16 03:09:55 +000096
Peng Fancdc90f32020-12-27 09:37:06 +080097 buck5_reg: BUCK5 {
98 // BUCK7 in datasheet
99 regulator-name = "buck5";
100 regulator-min-microvolt = <1605000>;
101 regulator-max-microvolt = <1995000>;
102 regulator-boot-on;
103 regulator-always-on;
104 };
Peng Fana181afe2019-09-16 03:09:55 +0000105
Peng Fancdc90f32020-12-27 09:37:06 +0800106 buck6_reg: BUCK6 {
107 // BUCK8 in datasheet
108 regulator-name = "buck6";
109 regulator-min-microvolt = <800000>;
110 regulator-max-microvolt = <1400000>;
111 regulator-boot-on;
112 regulator-always-on;
113 };
Peng Fana181afe2019-09-16 03:09:55 +0000114
Peng Fancdc90f32020-12-27 09:37:06 +0800115 ldo1_reg: LDO1 {
116 regulator-name = "ldo1";
117 regulator-min-microvolt = <1600000>;
118 regulator-max-microvolt = <3300000>;
119 regulator-boot-on;
120 regulator-always-on;
121 };
Peng Fana181afe2019-09-16 03:09:55 +0000122
Peng Fancdc90f32020-12-27 09:37:06 +0800123 ldo2_reg: LDO2 {
124 regulator-name = "ldo2";
125 regulator-min-microvolt = <800000>;
126 regulator-max-microvolt = <900000>;
127 regulator-boot-on;
128 regulator-always-on;
129 };
Peng Fana181afe2019-09-16 03:09:55 +0000130
Peng Fancdc90f32020-12-27 09:37:06 +0800131 ldo3_reg: LDO3 {
132 regulator-name = "ldo3";
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <3300000>;
135 regulator-boot-on;
136 regulator-always-on;
137 };
Peng Fana181afe2019-09-16 03:09:55 +0000138
Peng Fancdc90f32020-12-27 09:37:06 +0800139 ldo4_reg: LDO4 {
140 regulator-name = "ldo4";
141 regulator-min-microvolt = <900000>;
142 regulator-max-microvolt = <1800000>;
143 regulator-boot-on;
144 regulator-always-on;
145 };
Peng Fana181afe2019-09-16 03:09:55 +0000146
Peng Fancdc90f32020-12-27 09:37:06 +0800147 ldo6_reg: LDO6 {
148 regulator-name = "ldo6";
149 regulator-min-microvolt = <900000>;
150 regulator-max-microvolt = <1800000>;
151 regulator-boot-on;
152 regulator-always-on;
153 };
154 };
155 };
Peng Fana181afe2019-09-16 03:09:55 +0000156};