xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts (revision 0310b5aa0656a94102344f1e9ae2892e342a665d)
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>;
564d20fa1dSKrzysztof 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
62*0310b5aaSFabio Estevam		#clock-cells = <0>;
63*0310b5aaSFabio Estevam		clocks = <&osc_32k 0>;
64*0310b5aaSFabio Estevam		clock-output-names = "clk-32k-out";
65*0310b5aaSFabio Estevam
663e44dd09SAnson Huang		regulators {
673e44dd09SAnson Huang			buck1_reg: BUCK1 {
689cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck1";
693e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
703e44dd09SAnson Huang				regulator-max-microvolt = <1300000>;
713e44dd09SAnson Huang				regulator-boot-on;
723e44dd09SAnson Huang				regulator-always-on;
733e44dd09SAnson Huang				regulator-ramp-delay = <1250>;
743e44dd09SAnson Huang			};
753e44dd09SAnson Huang
763e44dd09SAnson Huang			buck2_reg: BUCK2 {
779cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck2";
783e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
793e44dd09SAnson Huang				regulator-max-microvolt = <1300000>;
803e44dd09SAnson Huang				regulator-boot-on;
813e44dd09SAnson Huang				regulator-always-on;
823e44dd09SAnson Huang				regulator-ramp-delay = <1250>;
833e44dd09SAnson Huang			};
843e44dd09SAnson Huang
853e44dd09SAnson Huang			buck3_reg: BUCK3 {
863e44dd09SAnson Huang				// BUCK5 in datasheet
879cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck3";
883e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
893e44dd09SAnson Huang				regulator-max-microvolt = <1350000>;
903e44dd09SAnson Huang			};
913e44dd09SAnson Huang
923e44dd09SAnson Huang			buck4_reg: BUCK4 {
933e44dd09SAnson Huang				// BUCK6 in datasheet
949cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck4";
953e44dd09SAnson Huang				regulator-min-microvolt = <3000000>;
963e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
973e44dd09SAnson Huang				regulator-boot-on;
983e44dd09SAnson Huang				regulator-always-on;
993e44dd09SAnson Huang			};
1003e44dd09SAnson Huang
1013e44dd09SAnson Huang			buck5_reg: BUCK5 {
1023e44dd09SAnson Huang				// BUCK7 in datasheet
1039cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck5";
1043e44dd09SAnson Huang				regulator-min-microvolt = <1605000>;
1053e44dd09SAnson Huang				regulator-max-microvolt = <1995000>;
1063e44dd09SAnson Huang				regulator-boot-on;
1073e44dd09SAnson Huang				regulator-always-on;
1083e44dd09SAnson Huang			};
1093e44dd09SAnson Huang
1103e44dd09SAnson Huang			buck6_reg: BUCK6 {
1113e44dd09SAnson Huang				// BUCK8 in datasheet
1129cfa2ddaSKrzysztof Kozlowski				regulator-name = "buck6";
1133e44dd09SAnson Huang				regulator-min-microvolt = <800000>;
1143e44dd09SAnson Huang				regulator-max-microvolt = <1400000>;
1153e44dd09SAnson Huang				regulator-boot-on;
1163e44dd09SAnson Huang				regulator-always-on;
1173e44dd09SAnson Huang			};
1183e44dd09SAnson Huang
1193e44dd09SAnson Huang			ldo1_reg: LDO1 {
1209cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo1";
121cfb12c89SRobin Gong				regulator-min-microvolt = <1600000>;
1223e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
1233e44dd09SAnson Huang				regulator-boot-on;
1243e44dd09SAnson Huang				regulator-always-on;
1253e44dd09SAnson Huang			};
1263e44dd09SAnson Huang
1273e44dd09SAnson Huang			ldo2_reg: LDO2 {
1289cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo2";
129cfb12c89SRobin Gong				regulator-min-microvolt = <800000>;
1303e44dd09SAnson Huang				regulator-max-microvolt = <900000>;
1313e44dd09SAnson Huang				regulator-boot-on;
1323e44dd09SAnson Huang				regulator-always-on;
1333e44dd09SAnson Huang			};
1343e44dd09SAnson Huang
1353e44dd09SAnson Huang			ldo3_reg: LDO3 {
1369cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo3";
1373e44dd09SAnson Huang				regulator-min-microvolt = <1800000>;
1383e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
1393e44dd09SAnson Huang				regulator-boot-on;
1403e44dd09SAnson Huang				regulator-always-on;
1413e44dd09SAnson Huang			};
1423e44dd09SAnson Huang
1433e44dd09SAnson Huang			ldo4_reg: LDO4 {
1449cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo4";
1453e44dd09SAnson Huang				regulator-min-microvolt = <900000>;
1463e44dd09SAnson Huang				regulator-max-microvolt = <1800000>;
1473e44dd09SAnson Huang				regulator-boot-on;
1483e44dd09SAnson Huang				regulator-always-on;
1493e44dd09SAnson Huang			};
1503e44dd09SAnson Huang
1513e44dd09SAnson Huang			ldo6_reg: LDO6 {
1529cfa2ddaSKrzysztof Kozlowski				regulator-name = "ldo6";
1533e44dd09SAnson Huang				regulator-min-microvolt = <900000>;
1543e44dd09SAnson Huang				regulator-max-microvolt = <1800000>;
1553e44dd09SAnson Huang				regulator-boot-on;
1563e44dd09SAnson Huang				regulator-always-on;
1573e44dd09SAnson Huang			};
1583e44dd09SAnson Huang		};
1593e44dd09SAnson Huang	};
160089a6adeSAnson Huang};
161