18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright 2019 NXP 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci/dts-v1/; 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#include "imx8mn.dtsi" 98c2ecf20Sopenharmony_ci#include "imx8mn-evk.dtsi" 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci/ { 128c2ecf20Sopenharmony_ci model = "NXP i.MX8MNano DDR4 EVK board"; 138c2ecf20Sopenharmony_ci compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn"; 148c2ecf20Sopenharmony_ci}; 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci&A53_0 { 178c2ecf20Sopenharmony_ci cpu-supply = <&buck2_reg>; 188c2ecf20Sopenharmony_ci}; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci&A53_1 { 218c2ecf20Sopenharmony_ci cpu-supply = <&buck2_reg>; 228c2ecf20Sopenharmony_ci}; 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci&A53_2 { 258c2ecf20Sopenharmony_ci cpu-supply = <&buck2_reg>; 268c2ecf20Sopenharmony_ci}; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci&A53_3 { 298c2ecf20Sopenharmony_ci cpu-supply = <&buck2_reg>; 308c2ecf20Sopenharmony_ci}; 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci&ddrc { 338c2ecf20Sopenharmony_ci operating-points-v2 = <&ddrc_opp_table>; 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci ddrc_opp_table: opp-table { 368c2ecf20Sopenharmony_ci compatible = "operating-points-v2"; 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci opp-25M { 398c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <25000000>; 408c2ecf20Sopenharmony_ci }; 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci opp-100M { 438c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <100000000>; 448c2ecf20Sopenharmony_ci }; 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci opp-600M { 478c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <600000000>; 488c2ecf20Sopenharmony_ci }; 498c2ecf20Sopenharmony_ci }; 508c2ecf20Sopenharmony_ci}; 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci&i2c1 { 538c2ecf20Sopenharmony_ci pmic@4b { 548c2ecf20Sopenharmony_ci compatible = "rohm,bd71847"; 558c2ecf20Sopenharmony_ci reg = <0x4b>; 568c2ecf20Sopenharmony_ci pinctrl-names = "default"; 578c2ecf20Sopenharmony_ci pinctrl-0 = <&pinctrl_pmic>; 588c2ecf20Sopenharmony_ci interrupt-parent = <&gpio1>; 598c2ecf20Sopenharmony_ci interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 608c2ecf20Sopenharmony_ci rohm,reset-snvs-powered; 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ci #clock-cells = <0>; 638c2ecf20Sopenharmony_ci clocks = <&osc_32k 0>; 648c2ecf20Sopenharmony_ci clock-output-names = "clk-32k-out"; 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci regulators { 678c2ecf20Sopenharmony_ci buck1_reg: BUCK1 { 688c2ecf20Sopenharmony_ci regulator-name = "buck1"; 698c2ecf20Sopenharmony_ci regulator-min-microvolt = <700000>; 708c2ecf20Sopenharmony_ci regulator-max-microvolt = <1300000>; 718c2ecf20Sopenharmony_ci regulator-boot-on; 728c2ecf20Sopenharmony_ci regulator-always-on; 738c2ecf20Sopenharmony_ci regulator-ramp-delay = <1250>; 748c2ecf20Sopenharmony_ci }; 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ci buck2_reg: BUCK2 { 778c2ecf20Sopenharmony_ci regulator-name = "buck2"; 788c2ecf20Sopenharmony_ci regulator-min-microvolt = <700000>; 798c2ecf20Sopenharmony_ci regulator-max-microvolt = <1300000>; 808c2ecf20Sopenharmony_ci regulator-boot-on; 818c2ecf20Sopenharmony_ci regulator-always-on; 828c2ecf20Sopenharmony_ci regulator-ramp-delay = <1250>; 838c2ecf20Sopenharmony_ci }; 848c2ecf20Sopenharmony_ci 858c2ecf20Sopenharmony_ci buck3_reg: BUCK3 { 868c2ecf20Sopenharmony_ci // BUCK5 in datasheet 878c2ecf20Sopenharmony_ci regulator-name = "buck3"; 888c2ecf20Sopenharmony_ci regulator-min-microvolt = <700000>; 898c2ecf20Sopenharmony_ci regulator-max-microvolt = <1350000>; 908c2ecf20Sopenharmony_ci }; 918c2ecf20Sopenharmony_ci 928c2ecf20Sopenharmony_ci buck4_reg: BUCK4 { 938c2ecf20Sopenharmony_ci // BUCK6 in datasheet 948c2ecf20Sopenharmony_ci regulator-name = "buck4"; 958c2ecf20Sopenharmony_ci regulator-min-microvolt = <3000000>; 968c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 978c2ecf20Sopenharmony_ci regulator-boot-on; 988c2ecf20Sopenharmony_ci regulator-always-on; 998c2ecf20Sopenharmony_ci }; 1008c2ecf20Sopenharmony_ci 1018c2ecf20Sopenharmony_ci buck5_reg: BUCK5 { 1028c2ecf20Sopenharmony_ci // BUCK7 in datasheet 1038c2ecf20Sopenharmony_ci regulator-name = "buck5"; 1048c2ecf20Sopenharmony_ci regulator-min-microvolt = <1605000>; 1058c2ecf20Sopenharmony_ci regulator-max-microvolt = <1995000>; 1068c2ecf20Sopenharmony_ci regulator-boot-on; 1078c2ecf20Sopenharmony_ci regulator-always-on; 1088c2ecf20Sopenharmony_ci }; 1098c2ecf20Sopenharmony_ci 1108c2ecf20Sopenharmony_ci buck6_reg: BUCK6 { 1118c2ecf20Sopenharmony_ci // BUCK8 in datasheet 1128c2ecf20Sopenharmony_ci regulator-name = "buck6"; 1138c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 1148c2ecf20Sopenharmony_ci regulator-max-microvolt = <1400000>; 1158c2ecf20Sopenharmony_ci regulator-boot-on; 1168c2ecf20Sopenharmony_ci regulator-always-on; 1178c2ecf20Sopenharmony_ci }; 1188c2ecf20Sopenharmony_ci 1198c2ecf20Sopenharmony_ci ldo1_reg: LDO1 { 1208c2ecf20Sopenharmony_ci regulator-name = "ldo1"; 1218c2ecf20Sopenharmony_ci regulator-min-microvolt = <1600000>; 1228c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 1238c2ecf20Sopenharmony_ci regulator-boot-on; 1248c2ecf20Sopenharmony_ci regulator-always-on; 1258c2ecf20Sopenharmony_ci }; 1268c2ecf20Sopenharmony_ci 1278c2ecf20Sopenharmony_ci ldo2_reg: LDO2 { 1288c2ecf20Sopenharmony_ci regulator-name = "ldo2"; 1298c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 1308c2ecf20Sopenharmony_ci regulator-max-microvolt = <900000>; 1318c2ecf20Sopenharmony_ci regulator-boot-on; 1328c2ecf20Sopenharmony_ci regulator-always-on; 1338c2ecf20Sopenharmony_ci }; 1348c2ecf20Sopenharmony_ci 1358c2ecf20Sopenharmony_ci ldo3_reg: LDO3 { 1368c2ecf20Sopenharmony_ci regulator-name = "ldo3"; 1378c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 1388c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 1398c2ecf20Sopenharmony_ci regulator-boot-on; 1408c2ecf20Sopenharmony_ci regulator-always-on; 1418c2ecf20Sopenharmony_ci }; 1428c2ecf20Sopenharmony_ci 1438c2ecf20Sopenharmony_ci ldo4_reg: LDO4 { 1448c2ecf20Sopenharmony_ci regulator-name = "ldo4"; 1458c2ecf20Sopenharmony_ci regulator-min-microvolt = <900000>; 1468c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 1478c2ecf20Sopenharmony_ci regulator-boot-on; 1488c2ecf20Sopenharmony_ci regulator-always-on; 1498c2ecf20Sopenharmony_ci }; 1508c2ecf20Sopenharmony_ci 1518c2ecf20Sopenharmony_ci ldo6_reg: LDO6 { 1528c2ecf20Sopenharmony_ci regulator-name = "ldo6"; 1538c2ecf20Sopenharmony_ci regulator-min-microvolt = <900000>; 1548c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 1558c2ecf20Sopenharmony_ci regulator-boot-on; 1568c2ecf20Sopenharmony_ci regulator-always-on; 1578c2ecf20Sopenharmony_ci }; 1588c2ecf20Sopenharmony_ci }; 1598c2ecf20Sopenharmony_ci }; 1608c2ecf20Sopenharmony_ci}; 161