xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts (revision 4d20fa1dac2e3cf5aa0cd317b3436f4fda680b04)
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
2041235c8fSAnson Huang&A53_1 {
2141235c8fSAnson Huang	cpu-supply = <&buck2_reg>;
2241235c8fSAnson Huang};
2341235c8fSAnson Huang
2441235c8fSAnson Huang&A53_2 {
2541235c8fSAnson Huang	cpu-supply = <&buck2_reg>;
2641235c8fSAnson Huang};
2741235c8fSAnson Huang
2841235c8fSAnson Huang&A53_3 {
2941235c8fSAnson Huang	cpu-supply = <&buck2_reg>;
3041235c8fSAnson Huang};
3141235c8fSAnson 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>;
56*4d20fa1dSKrzysztof Kozlowski		pinctrl-names = "default";
573e44dd09SAnson Huang		pinctrl-0 = <&pinctrl_pmic>;
583e44dd09SAnson Huang		interrupt-parent = <&gpio1>;
594153f781SKrzysztof Kozlowski		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
603e44dd09SAnson Huang		rohm,reset-snvs-powered;
613e44dd09SAnson Huang
623e44dd09SAnson Huang		regulators {
633e44dd09SAnson Huang			buck1_reg: BUCK1 {
649cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck1";
653e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
663e44dd09SAnson Huang				regulator-max-microvolt = <1300000>;
673e44dd09SAnson Huang				regulator-boot-on;
683e44dd09SAnson Huang				regulator-always-on;
693e44dd09SAnson Huang				regulator-ramp-delay = <1250>;
703e44dd09SAnson Huang			};
713e44dd09SAnson Huang
723e44dd09SAnson Huang			buck2_reg: BUCK2 {
739cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck2";
743e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
753e44dd09SAnson Huang				regulator-max-microvolt = <1300000>;
763e44dd09SAnson Huang				regulator-boot-on;
773e44dd09SAnson Huang				regulator-always-on;
783e44dd09SAnson Huang				regulator-ramp-delay = <1250>;
793e44dd09SAnson Huang			};
803e44dd09SAnson Huang
813e44dd09SAnson Huang			buck3_reg: BUCK3 {
823e44dd09SAnson Huang				// BUCK5 in datasheet
839cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck3";
843e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
853e44dd09SAnson Huang				regulator-max-microvolt = <1350000>;
863e44dd09SAnson Huang			};
873e44dd09SAnson Huang
883e44dd09SAnson Huang			buck4_reg: BUCK4 {
893e44dd09SAnson Huang				// BUCK6 in datasheet
909cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck4";
913e44dd09SAnson Huang				regulator-min-microvolt = <3000000>;
923e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
933e44dd09SAnson Huang				regulator-boot-on;
943e44dd09SAnson Huang				regulator-always-on;
953e44dd09SAnson Huang			};
963e44dd09SAnson Huang
973e44dd09SAnson Huang			buck5_reg: BUCK5 {
983e44dd09SAnson Huang				// BUCK7 in datasheet
999cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck5";
1003e44dd09SAnson Huang				regulator-min-microvolt = <1605000>;
1013e44dd09SAnson Huang				regulator-max-microvolt = <1995000>;
1023e44dd09SAnson Huang				regulator-boot-on;
1033e44dd09SAnson Huang				regulator-always-on;
1043e44dd09SAnson Huang			};
1053e44dd09SAnson Huang
1063e44dd09SAnson Huang			buck6_reg: BUCK6 {
1073e44dd09SAnson Huang				// BUCK8 in datasheet
1089cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck6";
1093e44dd09SAnson Huang				regulator-min-microvolt = <800000>;
1103e44dd09SAnson Huang				regulator-max-microvolt = <1400000>;
1113e44dd09SAnson Huang				regulator-boot-on;
1123e44dd09SAnson Huang				regulator-always-on;
1133e44dd09SAnson Huang			};
1143e44dd09SAnson Huang
1153e44dd09SAnson Huang			ldo1_reg: LDO1 {
1169cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo1";
117cfb12c89SRobin Gong				regulator-min-microvolt = <1600000>;
1183e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
1193e44dd09SAnson Huang				regulator-boot-on;
1203e44dd09SAnson Huang				regulator-always-on;
1213e44dd09SAnson Huang			};
1223e44dd09SAnson Huang
1233e44dd09SAnson Huang			ldo2_reg: LDO2 {
1249cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo2";
125cfb12c89SRobin Gong				regulator-min-microvolt = <800000>;
1263e44dd09SAnson Huang				regulator-max-microvolt = <900000>;
1273e44dd09SAnson Huang				regulator-boot-on;
1283e44dd09SAnson Huang				regulator-always-on;
1293e44dd09SAnson Huang			};
1303e44dd09SAnson Huang
1313e44dd09SAnson Huang			ldo3_reg: LDO3 {
1329cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo3";
1333e44dd09SAnson Huang				regulator-min-microvolt = <1800000>;
1343e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
1353e44dd09SAnson Huang				regulator-boot-on;
1363e44dd09SAnson Huang				regulator-always-on;
1373e44dd09SAnson Huang			};
1383e44dd09SAnson Huang
1393e44dd09SAnson Huang			ldo4_reg: LDO4 {
1409cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo4";
1413e44dd09SAnson Huang				regulator-min-microvolt = <900000>;
1423e44dd09SAnson Huang				regulator-max-microvolt = <1800000>;
1433e44dd09SAnson Huang				regulator-boot-on;
1443e44dd09SAnson Huang				regulator-always-on;
1453e44dd09SAnson Huang			};
1463e44dd09SAnson Huang
1473e44dd09SAnson Huang			ldo6_reg: LDO6 {
1489cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo6";
1493e44dd09SAnson Huang				regulator-min-microvolt = <900000>;
1503e44dd09SAnson Huang				regulator-max-microvolt = <1800000>;
1513e44dd09SAnson Huang				regulator-boot-on;
1523e44dd09SAnson Huang				regulator-always-on;
1533e44dd09SAnson Huang			};
1543e44dd09SAnson Huang		};
1553e44dd09SAnson Huang	};
156089a6adeSAnson Huang};
157