xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts (revision 791b02da0a7077878e236862c9fe94659a70b991)
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"
9*791b02daSAnson 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
20089a6adeSAnson Huang&i2c1 {
213e44dd09SAnson Huang	pmic@4b {
223e44dd09SAnson Huang		compatible = "rohm,bd71847";
233e44dd09SAnson Huang		reg = <0x4b>;
243e44dd09SAnson Huang		pinctrl-0 = <&pinctrl_pmic>;
253e44dd09SAnson Huang		interrupt-parent = <&gpio1>;
263e44dd09SAnson Huang		interrupts = <3 GPIO_ACTIVE_LOW>;
273e44dd09SAnson Huang		rohm,reset-snvs-powered;
283e44dd09SAnson Huang
293e44dd09SAnson Huang		regulators {
303e44dd09SAnson Huang			buck1_reg: BUCK1 {
313e44dd09SAnson Huang				regulator-name = "BUCK1";
323e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
333e44dd09SAnson Huang				regulator-max-microvolt = <1300000>;
343e44dd09SAnson Huang				regulator-boot-on;
353e44dd09SAnson Huang				regulator-always-on;
363e44dd09SAnson Huang				regulator-ramp-delay = <1250>;
373e44dd09SAnson Huang			};
383e44dd09SAnson Huang
393e44dd09SAnson Huang			buck2_reg: BUCK2 {
403e44dd09SAnson Huang				regulator-name = "BUCK2";
413e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
423e44dd09SAnson Huang				regulator-max-microvolt = <1300000>;
433e44dd09SAnson Huang				regulator-boot-on;
443e44dd09SAnson Huang				regulator-always-on;
453e44dd09SAnson Huang				regulator-ramp-delay = <1250>;
463e44dd09SAnson Huang			};
473e44dd09SAnson Huang
483e44dd09SAnson Huang			buck3_reg: BUCK3 {
493e44dd09SAnson Huang				// BUCK5 in datasheet
503e44dd09SAnson Huang				regulator-name = "BUCK3";
513e44dd09SAnson Huang				regulator-min-microvolt = <700000>;
523e44dd09SAnson Huang				regulator-max-microvolt = <1350000>;
533e44dd09SAnson Huang			};
543e44dd09SAnson Huang
553e44dd09SAnson Huang			buck4_reg: BUCK4 {
563e44dd09SAnson Huang				// BUCK6 in datasheet
573e44dd09SAnson Huang				regulator-name = "BUCK4";
583e44dd09SAnson Huang				regulator-min-microvolt = <3000000>;
593e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
603e44dd09SAnson Huang				regulator-boot-on;
613e44dd09SAnson Huang				regulator-always-on;
623e44dd09SAnson Huang			};
633e44dd09SAnson Huang
643e44dd09SAnson Huang			buck5_reg: BUCK5 {
653e44dd09SAnson Huang				// BUCK7 in datasheet
663e44dd09SAnson Huang				regulator-name = "BUCK5";
673e44dd09SAnson Huang				regulator-min-microvolt = <1605000>;
683e44dd09SAnson Huang				regulator-max-microvolt = <1995000>;
693e44dd09SAnson Huang				regulator-boot-on;
703e44dd09SAnson Huang				regulator-always-on;
713e44dd09SAnson Huang			};
723e44dd09SAnson Huang
733e44dd09SAnson Huang			buck6_reg: BUCK6 {
743e44dd09SAnson Huang				// BUCK8 in datasheet
753e44dd09SAnson Huang				regulator-name = "BUCK6";
763e44dd09SAnson Huang				regulator-min-microvolt = <800000>;
773e44dd09SAnson Huang				regulator-max-microvolt = <1400000>;
783e44dd09SAnson Huang				regulator-boot-on;
793e44dd09SAnson Huang				regulator-always-on;
803e44dd09SAnson Huang			};
813e44dd09SAnson Huang
823e44dd09SAnson Huang			ldo1_reg: LDO1 {
833e44dd09SAnson Huang				regulator-name = "LDO1";
843e44dd09SAnson Huang				regulator-min-microvolt = <3000000>;
853e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
863e44dd09SAnson Huang				regulator-boot-on;
873e44dd09SAnson Huang				regulator-always-on;
883e44dd09SAnson Huang			};
893e44dd09SAnson Huang
903e44dd09SAnson Huang			ldo2_reg: LDO2 {
913e44dd09SAnson Huang				regulator-name = "LDO2";
923e44dd09SAnson Huang				regulator-min-microvolt = <900000>;
933e44dd09SAnson Huang				regulator-max-microvolt = <900000>;
943e44dd09SAnson Huang				regulator-boot-on;
953e44dd09SAnson Huang				regulator-always-on;
963e44dd09SAnson Huang			};
973e44dd09SAnson Huang
983e44dd09SAnson Huang			ldo3_reg: LDO3 {
993e44dd09SAnson Huang				regulator-name = "LDO3";
1003e44dd09SAnson Huang				regulator-min-microvolt = <1800000>;
1013e44dd09SAnson Huang				regulator-max-microvolt = <3300000>;
1023e44dd09SAnson Huang				regulator-boot-on;
1033e44dd09SAnson Huang				regulator-always-on;
1043e44dd09SAnson Huang			};
1053e44dd09SAnson Huang
1063e44dd09SAnson Huang			ldo4_reg: LDO4 {
1073e44dd09SAnson Huang				regulator-name = "LDO4";
1083e44dd09SAnson Huang				regulator-min-microvolt = <900000>;
1093e44dd09SAnson Huang				regulator-max-microvolt = <1800000>;
1103e44dd09SAnson Huang				regulator-boot-on;
1113e44dd09SAnson Huang				regulator-always-on;
1123e44dd09SAnson Huang			};
1133e44dd09SAnson Huang
1143e44dd09SAnson Huang			ldo6_reg: LDO6 {
1153e44dd09SAnson Huang				regulator-name = "LDO6";
1163e44dd09SAnson Huang				regulator-min-microvolt = <900000>;
1173e44dd09SAnson Huang				regulator-max-microvolt = <1800000>;
1183e44dd09SAnson Huang				regulator-boot-on;
1193e44dd09SAnson Huang				regulator-always-on;
1203e44dd09SAnson Huang			};
1213e44dd09SAnson Huang		};
1223e44dd09SAnson Huang	};
123089a6adeSAnson Huang};
124089a6adeSAnson Huang
125caa2ac29SAnson Huang&iomuxc {
126caa2ac29SAnson Huang	pinctrl_pmic: pmicirq {
127caa2ac29SAnson Huang		fsl,pins = <
128caa2ac29SAnson Huang			MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3	0x41
129caa2ac29SAnson Huang		>;
130caa2ac29SAnson Huang	};
131caa2ac29SAnson Huang};
132