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*41235c8fSAnson Huang&A53_1 { 21*41235c8fSAnson Huang cpu-supply = <&buck2_reg>; 22*41235c8fSAnson Huang}; 23*41235c8fSAnson Huang 24*41235c8fSAnson Huang&A53_2 { 25*41235c8fSAnson Huang cpu-supply = <&buck2_reg>; 26*41235c8fSAnson Huang}; 27*41235c8fSAnson Huang 28*41235c8fSAnson Huang&A53_3 { 29*41235c8fSAnson Huang cpu-supply = <&buck2_reg>; 30*41235c8fSAnson Huang}; 31*41235c8fSAnson Huang 320376f6ecSLeonard Crestez&ddrc { 330376f6ecSLeonard Crestez operating-points-v2 = <&ddrc_opp_table>; 340376f6ecSLeonard Crestez 350376f6ecSLeonard Crestez ddrc_opp_table: opp-table { 360376f6ecSLeonard Crestez compatible = "operating-points-v2"; 370376f6ecSLeonard Crestez 380376f6ecSLeonard Crestez opp-25M { 390376f6ecSLeonard Crestez opp-hz = /bits/ 64 <25000000>; 400376f6ecSLeonard Crestez }; 410376f6ecSLeonard Crestez 420376f6ecSLeonard Crestez opp-100M { 430376f6ecSLeonard Crestez opp-hz = /bits/ 64 <100000000>; 440376f6ecSLeonard Crestez }; 450376f6ecSLeonard Crestez 460376f6ecSLeonard Crestez opp-600M { 470376f6ecSLeonard Crestez opp-hz = /bits/ 64 <600000000>; 480376f6ecSLeonard Crestez }; 490376f6ecSLeonard Crestez }; 500376f6ecSLeonard Crestez}; 510376f6ecSLeonard Crestez 52089a6adeSAnson Huang&i2c1 { 533e44dd09SAnson Huang pmic@4b { 543e44dd09SAnson Huang compatible = "rohm,bd71847"; 553e44dd09SAnson Huang reg = <0x4b>; 563e44dd09SAnson Huang pinctrl-0 = <&pinctrl_pmic>; 573e44dd09SAnson Huang interrupt-parent = <&gpio1>; 583e44dd09SAnson Huang interrupts = <3 GPIO_ACTIVE_LOW>; 593e44dd09SAnson Huang rohm,reset-snvs-powered; 603e44dd09SAnson Huang 613e44dd09SAnson Huang regulators { 623e44dd09SAnson Huang buck1_reg: BUCK1 { 633e44dd09SAnson Huang regulator-name = "BUCK1"; 643e44dd09SAnson Huang regulator-min-microvolt = <700000>; 653e44dd09SAnson Huang regulator-max-microvolt = <1300000>; 663e44dd09SAnson Huang regulator-boot-on; 673e44dd09SAnson Huang regulator-always-on; 683e44dd09SAnson Huang regulator-ramp-delay = <1250>; 693e44dd09SAnson Huang }; 703e44dd09SAnson Huang 713e44dd09SAnson Huang buck2_reg: BUCK2 { 723e44dd09SAnson Huang regulator-name = "BUCK2"; 733e44dd09SAnson Huang regulator-min-microvolt = <700000>; 743e44dd09SAnson Huang regulator-max-microvolt = <1300000>; 753e44dd09SAnson Huang regulator-boot-on; 763e44dd09SAnson Huang regulator-always-on; 773e44dd09SAnson Huang regulator-ramp-delay = <1250>; 783e44dd09SAnson Huang }; 793e44dd09SAnson Huang 803e44dd09SAnson Huang buck3_reg: BUCK3 { 813e44dd09SAnson Huang // BUCK5 in datasheet 823e44dd09SAnson Huang regulator-name = "BUCK3"; 833e44dd09SAnson Huang regulator-min-microvolt = <700000>; 843e44dd09SAnson Huang regulator-max-microvolt = <1350000>; 853e44dd09SAnson Huang }; 863e44dd09SAnson Huang 873e44dd09SAnson Huang buck4_reg: BUCK4 { 883e44dd09SAnson Huang // BUCK6 in datasheet 893e44dd09SAnson Huang regulator-name = "BUCK4"; 903e44dd09SAnson Huang regulator-min-microvolt = <3000000>; 913e44dd09SAnson Huang regulator-max-microvolt = <3300000>; 923e44dd09SAnson Huang regulator-boot-on; 933e44dd09SAnson Huang regulator-always-on; 943e44dd09SAnson Huang }; 953e44dd09SAnson Huang 963e44dd09SAnson Huang buck5_reg: BUCK5 { 973e44dd09SAnson Huang // BUCK7 in datasheet 983e44dd09SAnson Huang regulator-name = "BUCK5"; 993e44dd09SAnson Huang regulator-min-microvolt = <1605000>; 1003e44dd09SAnson Huang regulator-max-microvolt = <1995000>; 1013e44dd09SAnson Huang regulator-boot-on; 1023e44dd09SAnson Huang regulator-always-on; 1033e44dd09SAnson Huang }; 1043e44dd09SAnson Huang 1053e44dd09SAnson Huang buck6_reg: BUCK6 { 1063e44dd09SAnson Huang // BUCK8 in datasheet 1073e44dd09SAnson Huang regulator-name = "BUCK6"; 1083e44dd09SAnson Huang regulator-min-microvolt = <800000>; 1093e44dd09SAnson Huang regulator-max-microvolt = <1400000>; 1103e44dd09SAnson Huang regulator-boot-on; 1113e44dd09SAnson Huang regulator-always-on; 1123e44dd09SAnson Huang }; 1133e44dd09SAnson Huang 1143e44dd09SAnson Huang ldo1_reg: LDO1 { 1153e44dd09SAnson Huang regulator-name = "LDO1"; 1163e44dd09SAnson Huang regulator-min-microvolt = <3000000>; 1173e44dd09SAnson Huang regulator-max-microvolt = <3300000>; 1183e44dd09SAnson Huang regulator-boot-on; 1193e44dd09SAnson Huang regulator-always-on; 1203e44dd09SAnson Huang }; 1213e44dd09SAnson Huang 1223e44dd09SAnson Huang ldo2_reg: LDO2 { 1233e44dd09SAnson Huang regulator-name = "LDO2"; 1243e44dd09SAnson Huang regulator-min-microvolt = <900000>; 1253e44dd09SAnson Huang regulator-max-microvolt = <900000>; 1263e44dd09SAnson Huang regulator-boot-on; 1273e44dd09SAnson Huang regulator-always-on; 1283e44dd09SAnson Huang }; 1293e44dd09SAnson Huang 1303e44dd09SAnson Huang ldo3_reg: LDO3 { 1313e44dd09SAnson Huang regulator-name = "LDO3"; 1323e44dd09SAnson Huang regulator-min-microvolt = <1800000>; 1333e44dd09SAnson Huang regulator-max-microvolt = <3300000>; 1343e44dd09SAnson Huang regulator-boot-on; 1353e44dd09SAnson Huang regulator-always-on; 1363e44dd09SAnson Huang }; 1373e44dd09SAnson Huang 1383e44dd09SAnson Huang ldo4_reg: LDO4 { 1393e44dd09SAnson Huang regulator-name = "LDO4"; 1403e44dd09SAnson Huang regulator-min-microvolt = <900000>; 1413e44dd09SAnson Huang regulator-max-microvolt = <1800000>; 1423e44dd09SAnson Huang regulator-boot-on; 1433e44dd09SAnson Huang regulator-always-on; 1443e44dd09SAnson Huang }; 1453e44dd09SAnson Huang 1463e44dd09SAnson Huang ldo6_reg: LDO6 { 1473e44dd09SAnson Huang regulator-name = "LDO6"; 1483e44dd09SAnson Huang regulator-min-microvolt = <900000>; 1493e44dd09SAnson Huang regulator-max-microvolt = <1800000>; 1503e44dd09SAnson Huang regulator-boot-on; 1513e44dd09SAnson Huang regulator-always-on; 1523e44dd09SAnson Huang }; 1533e44dd09SAnson Huang }; 1543e44dd09SAnson Huang }; 155089a6adeSAnson Huang}; 156089a6adeSAnson Huang 157caa2ac29SAnson Huang&iomuxc { 158caa2ac29SAnson Huang pinctrl_pmic: pmicirq { 159caa2ac29SAnson Huang fsl,pins = < 160caa2ac29SAnson Huang MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x41 161caa2ac29SAnson Huang >; 162caa2ac29SAnson Huang }; 163caa2ac29SAnson Huang}; 164