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&ddrc { 21 operating-points-v2 = <&ddrc_opp_table>; 22 23 ddrc_opp_table: opp-table { 24 compatible = "operating-points-v2"; 25 26 opp-25M { 27 opp-hz = /bits/ 64 <25000000>; 28 }; 29 30 opp-100M { 31 opp-hz = /bits/ 64 <100000000>; 32 }; 33 34 opp-600M { 35 opp-hz = /bits/ 64 <600000000>; 36 }; 37 }; 38}; 39 40&i2c1 { 41 pmic@4b { 42 compatible = "rohm,bd71847"; 43 reg = <0x4b>; 44 pinctrl-0 = <&pinctrl_pmic>; 45 interrupt-parent = <&gpio1>; 46 interrupts = <3 GPIO_ACTIVE_LOW>; 47 rohm,reset-snvs-powered; 48 49 regulators { 50 buck1_reg: BUCK1 { 51 regulator-name = "BUCK1"; 52 regulator-min-microvolt = <700000>; 53 regulator-max-microvolt = <1300000>; 54 regulator-boot-on; 55 regulator-always-on; 56 regulator-ramp-delay = <1250>; 57 }; 58 59 buck2_reg: BUCK2 { 60 regulator-name = "BUCK2"; 61 regulator-min-microvolt = <700000>; 62 regulator-max-microvolt = <1300000>; 63 regulator-boot-on; 64 regulator-always-on; 65 regulator-ramp-delay = <1250>; 66 }; 67 68 buck3_reg: BUCK3 { 69 // BUCK5 in datasheet 70 regulator-name = "BUCK3"; 71 regulator-min-microvolt = <700000>; 72 regulator-max-microvolt = <1350000>; 73 }; 74 75 buck4_reg: BUCK4 { 76 // BUCK6 in datasheet 77 regulator-name = "BUCK4"; 78 regulator-min-microvolt = <3000000>; 79 regulator-max-microvolt = <3300000>; 80 regulator-boot-on; 81 regulator-always-on; 82 }; 83 84 buck5_reg: BUCK5 { 85 // BUCK7 in datasheet 86 regulator-name = "BUCK5"; 87 regulator-min-microvolt = <1605000>; 88 regulator-max-microvolt = <1995000>; 89 regulator-boot-on; 90 regulator-always-on; 91 }; 92 93 buck6_reg: BUCK6 { 94 // BUCK8 in datasheet 95 regulator-name = "BUCK6"; 96 regulator-min-microvolt = <800000>; 97 regulator-max-microvolt = <1400000>; 98 regulator-boot-on; 99 regulator-always-on; 100 }; 101 102 ldo1_reg: LDO1 { 103 regulator-name = "LDO1"; 104 regulator-min-microvolt = <3000000>; 105 regulator-max-microvolt = <3300000>; 106 regulator-boot-on; 107 regulator-always-on; 108 }; 109 110 ldo2_reg: LDO2 { 111 regulator-name = "LDO2"; 112 regulator-min-microvolt = <900000>; 113 regulator-max-microvolt = <900000>; 114 regulator-boot-on; 115 regulator-always-on; 116 }; 117 118 ldo3_reg: LDO3 { 119 regulator-name = "LDO3"; 120 regulator-min-microvolt = <1800000>; 121 regulator-max-microvolt = <3300000>; 122 regulator-boot-on; 123 regulator-always-on; 124 }; 125 126 ldo4_reg: LDO4 { 127 regulator-name = "LDO4"; 128 regulator-min-microvolt = <900000>; 129 regulator-max-microvolt = <1800000>; 130 regulator-boot-on; 131 regulator-always-on; 132 }; 133 134 ldo6_reg: LDO6 { 135 regulator-name = "LDO6"; 136 regulator-min-microvolt = <900000>; 137 regulator-max-microvolt = <1800000>; 138 regulator-boot-on; 139 regulator-always-on; 140 }; 141 }; 142 }; 143}; 144 145&iomuxc { 146 pinctrl_pmic: pmicirq { 147 fsl,pins = < 148 MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x41 149 >; 150 }; 151}; 152