treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / boot / dts / freescale / imx8mn-ddr4-evk.dts
blob071949412cafd9fbb7faceefe983146c508e76e8
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright 2019 NXP
4  */
6 /dts-v1/;
8 #include "imx8mn.dtsi"
9 #include "imx8mn-evk.dtsi"
11 / {
12         model = "NXP i.MX8MNano DDR4 EVK board";
13         compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn";
16 &A53_0 {
17         cpu-supply = <&buck2_reg>;
20 &i2c1 {
21         pmic@4b {
22                 compatible = "rohm,bd71847";
23                 reg = <0x4b>;
24                 pinctrl-0 = <&pinctrl_pmic>;
25                 interrupt-parent = <&gpio1>;
26                 interrupts = <3 GPIO_ACTIVE_LOW>;
27                 rohm,reset-snvs-powered;
29                 regulators {
30                         buck1_reg: BUCK1 {
31                                 regulator-name = "BUCK1";
32                                 regulator-min-microvolt = <700000>;
33                                 regulator-max-microvolt = <1300000>;
34                                 regulator-boot-on;
35                                 regulator-always-on;
36                                 regulator-ramp-delay = <1250>;
37                         };
39                         buck2_reg: BUCK2 {
40                                 regulator-name = "BUCK2";
41                                 regulator-min-microvolt = <700000>;
42                                 regulator-max-microvolt = <1300000>;
43                                 regulator-boot-on;
44                                 regulator-always-on;
45                                 regulator-ramp-delay = <1250>;
46                         };
48                         buck3_reg: BUCK3 {
49                                 // BUCK5 in datasheet
50                                 regulator-name = "BUCK3";
51                                 regulator-min-microvolt = <700000>;
52                                 regulator-max-microvolt = <1350000>;
53                         };
55                         buck4_reg: BUCK4 {
56                                 // BUCK6 in datasheet
57                                 regulator-name = "BUCK4";
58                                 regulator-min-microvolt = <3000000>;
59                                 regulator-max-microvolt = <3300000>;
60                                 regulator-boot-on;
61                                 regulator-always-on;
62                         };
64                         buck5_reg: BUCK5 {
65                                 // BUCK7 in datasheet
66                                 regulator-name = "BUCK5";
67                                 regulator-min-microvolt = <1605000>;
68                                 regulator-max-microvolt = <1995000>;
69                                 regulator-boot-on;
70                                 regulator-always-on;
71                         };
73                         buck6_reg: BUCK6 {
74                                 // BUCK8 in datasheet
75                                 regulator-name = "BUCK6";
76                                 regulator-min-microvolt = <800000>;
77                                 regulator-max-microvolt = <1400000>;
78                                 regulator-boot-on;
79                                 regulator-always-on;
80                         };
82                         ldo1_reg: LDO1 {
83                                 regulator-name = "LDO1";
84                                 regulator-min-microvolt = <3000000>;
85                                 regulator-max-microvolt = <3300000>;
86                                 regulator-boot-on;
87                                 regulator-always-on;
88                         };
90                         ldo2_reg: LDO2 {
91                                 regulator-name = "LDO2";
92                                 regulator-min-microvolt = <900000>;
93                                 regulator-max-microvolt = <900000>;
94                                 regulator-boot-on;
95                                 regulator-always-on;
96                         };
98                         ldo3_reg: LDO3 {
99                                 regulator-name = "LDO3";
100                                 regulator-min-microvolt = <1800000>;
101                                 regulator-max-microvolt = <3300000>;
102                                 regulator-boot-on;
103                                 regulator-always-on;
104                         };
106                         ldo4_reg: LDO4 {
107                                 regulator-name = "LDO4";
108                                 regulator-min-microvolt = <900000>;
109                                 regulator-max-microvolt = <1800000>;
110                                 regulator-boot-on;
111                                 regulator-always-on;
112                         };
114                         ldo6_reg: LDO6 {
115                                 regulator-name = "LDO6";
116                                 regulator-min-microvolt = <900000>;
117                                 regulator-max-microvolt = <1800000>;
118                                 regulator-boot-on;
119                                 regulator-always-on;
120                         };
121                 };
122         };
125 &iomuxc {
126         pinctrl_pmic: pmicirq {
127                 fsl,pins = <
128                         MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3       0x41
129                 >;
130         };