113cb15e0SAnson Huang// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 213cb15e0SAnson Huang/* 313cb15e0SAnson Huang * Copyright 2019 NXP 413cb15e0SAnson Huang */ 513cb15e0SAnson Huang 613cb15e0SAnson Huang/dts-v1/; 713cb15e0SAnson Huang 813cb15e0SAnson Huang#include "imx8mn.dtsi" 9791b02daSAnson Huang#include "imx8mn-evk.dtsi" 1013cb15e0SAnson Huang 1113cb15e0SAnson Huang/ { 1213cb15e0SAnson Huang model = "NXP i.MX8MNano DDR4 EVK board"; 1313cb15e0SAnson Huang compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn"; 1413cb15e0SAnson Huang}; 1513cb15e0SAnson Huang 1601c49314SAnson Huang&A53_0 { 1701c49314SAnson Huang cpu-supply = <&buck2_reg>; 1801c49314SAnson Huang}; 1901c49314SAnson Huang 20*0376f6ecSLeonard Crestez&ddrc { 21*0376f6ecSLeonard Crestez operating-points-v2 = <&ddrc_opp_table>; 22*0376f6ecSLeonard Crestez 23*0376f6ecSLeonard Crestez ddrc_opp_table: opp-table { 24*0376f6ecSLeonard Crestez compatible = "operating-points-v2"; 25*0376f6ecSLeonard Crestez 26*0376f6ecSLeonard Crestez opp-25M { 27*0376f6ecSLeonard Crestez opp-hz = /bits/ 64 <25000000>; 28*0376f6ecSLeonard Crestez }; 29*0376f6ecSLeonard Crestez 30*0376f6ecSLeonard Crestez opp-100M { 31*0376f6ecSLeonard Crestez opp-hz = /bits/ 64 <100000000>; 32*0376f6ecSLeonard Crestez }; 33*0376f6ecSLeonard Crestez 34*0376f6ecSLeonard Crestez opp-600M { 35*0376f6ecSLeonard Crestez opp-hz = /bits/ 64 <600000000>; 36*0376f6ecSLeonard Crestez }; 37*0376f6ecSLeonard Crestez }; 38*0376f6ecSLeonard Crestez}; 39*0376f6ecSLeonard Crestez 40089a6adeSAnson Huang&i2c1 { 413e44dd09SAnson Huang pmic@4b { 423e44dd09SAnson Huang compatible = "rohm,bd71847"; 433e44dd09SAnson Huang reg = <0x4b>; 443e44dd09SAnson Huang pinctrl-0 = <&pinctrl_pmic>; 453e44dd09SAnson Huang interrupt-parent = <&gpio1>; 463e44dd09SAnson Huang interrupts = <3 GPIO_ACTIVE_LOW>; 473e44dd09SAnson Huang rohm,reset-snvs-powered; 483e44dd09SAnson Huang 493e44dd09SAnson Huang regulators { 503e44dd09SAnson Huang buck1_reg: BUCK1 { 513e44dd09SAnson Huang regulator-name = "BUCK1"; 523e44dd09SAnson Huang regulator-min-microvolt = <700000>; 533e44dd09SAnson Huang regulator-max-microvolt = <1300000>; 543e44dd09SAnson Huang regulator-boot-on; 553e44dd09SAnson Huang regulator-always-on; 563e44dd09SAnson Huang regulator-ramp-delay = <1250>; 573e44dd09SAnson Huang }; 583e44dd09SAnson Huang 593e44dd09SAnson Huang buck2_reg: BUCK2 { 603e44dd09SAnson Huang regulator-name = "BUCK2"; 613e44dd09SAnson Huang regulator-min-microvolt = <700000>; 623e44dd09SAnson Huang regulator-max-microvolt = <1300000>; 633e44dd09SAnson Huang regulator-boot-on; 643e44dd09SAnson Huang regulator-always-on; 653e44dd09SAnson Huang regulator-ramp-delay = <1250>; 663e44dd09SAnson Huang }; 673e44dd09SAnson Huang 683e44dd09SAnson Huang buck3_reg: BUCK3 { 693e44dd09SAnson Huang // BUCK5 in datasheet 703e44dd09SAnson Huang regulator-name = "BUCK3"; 713e44dd09SAnson Huang regulator-min-microvolt = <700000>; 723e44dd09SAnson Huang regulator-max-microvolt = <1350000>; 733e44dd09SAnson Huang }; 743e44dd09SAnson Huang 753e44dd09SAnson Huang buck4_reg: BUCK4 { 763e44dd09SAnson Huang // BUCK6 in datasheet 773e44dd09SAnson Huang regulator-name = "BUCK4"; 783e44dd09SAnson Huang regulator-min-microvolt = <3000000>; 793e44dd09SAnson Huang regulator-max-microvolt = <3300000>; 803e44dd09SAnson Huang regulator-boot-on; 813e44dd09SAnson Huang regulator-always-on; 823e44dd09SAnson Huang }; 833e44dd09SAnson Huang 843e44dd09SAnson Huang buck5_reg: BUCK5 { 853e44dd09SAnson Huang // BUCK7 in datasheet 863e44dd09SAnson Huang regulator-name = "BUCK5"; 873e44dd09SAnson Huang regulator-min-microvolt = <1605000>; 883e44dd09SAnson Huang regulator-max-microvolt = <1995000>; 893e44dd09SAnson Huang regulator-boot-on; 903e44dd09SAnson Huang regulator-always-on; 913e44dd09SAnson Huang }; 923e44dd09SAnson Huang 933e44dd09SAnson Huang buck6_reg: BUCK6 { 943e44dd09SAnson Huang // BUCK8 in datasheet 953e44dd09SAnson Huang regulator-name = "BUCK6"; 963e44dd09SAnson Huang regulator-min-microvolt = <800000>; 973e44dd09SAnson Huang regulator-max-microvolt = <1400000>; 983e44dd09SAnson Huang regulator-boot-on; 993e44dd09SAnson Huang regulator-always-on; 1003e44dd09SAnson Huang }; 1013e44dd09SAnson Huang 1023e44dd09SAnson Huang ldo1_reg: LDO1 { 1033e44dd09SAnson Huang regulator-name = "LDO1"; 1043e44dd09SAnson Huang regulator-min-microvolt = <3000000>; 1053e44dd09SAnson Huang regulator-max-microvolt = <3300000>; 1063e44dd09SAnson Huang regulator-boot-on; 1073e44dd09SAnson Huang regulator-always-on; 1083e44dd09SAnson Huang }; 1093e44dd09SAnson Huang 1103e44dd09SAnson Huang ldo2_reg: LDO2 { 1113e44dd09SAnson Huang regulator-name = "LDO2"; 1123e44dd09SAnson Huang regulator-min-microvolt = <900000>; 1133e44dd09SAnson Huang regulator-max-microvolt = <900000>; 1143e44dd09SAnson Huang regulator-boot-on; 1153e44dd09SAnson Huang regulator-always-on; 1163e44dd09SAnson Huang }; 1173e44dd09SAnson Huang 1183e44dd09SAnson Huang ldo3_reg: LDO3 { 1193e44dd09SAnson Huang regulator-name = "LDO3"; 1203e44dd09SAnson Huang regulator-min-microvolt = <1800000>; 1213e44dd09SAnson Huang regulator-max-microvolt = <3300000>; 1223e44dd09SAnson Huang regulator-boot-on; 1233e44dd09SAnson Huang regulator-always-on; 1243e44dd09SAnson Huang }; 1253e44dd09SAnson Huang 1263e44dd09SAnson Huang ldo4_reg: LDO4 { 1273e44dd09SAnson Huang regulator-name = "LDO4"; 1283e44dd09SAnson Huang regulator-min-microvolt = <900000>; 1293e44dd09SAnson Huang regulator-max-microvolt = <1800000>; 1303e44dd09SAnson Huang regulator-boot-on; 1313e44dd09SAnson Huang regulator-always-on; 1323e44dd09SAnson Huang }; 1333e44dd09SAnson Huang 1343e44dd09SAnson Huang ldo6_reg: LDO6 { 1353e44dd09SAnson Huang regulator-name = "LDO6"; 1363e44dd09SAnson Huang regulator-min-microvolt = <900000>; 1373e44dd09SAnson Huang regulator-max-microvolt = <1800000>; 1383e44dd09SAnson Huang regulator-boot-on; 1393e44dd09SAnson Huang regulator-always-on; 1403e44dd09SAnson Huang }; 1413e44dd09SAnson Huang }; 1423e44dd09SAnson Huang }; 143089a6adeSAnson Huang}; 144089a6adeSAnson Huang 145caa2ac29SAnson Huang&iomuxc { 146caa2ac29SAnson Huang pinctrl_pmic: pmicirq { 147caa2ac29SAnson Huang fsl,pins = < 148caa2ac29SAnson Huang MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x41 149caa2ac29SAnson Huang >; 150caa2ac29SAnson Huang }; 151caa2ac29SAnson Huang}; 152