Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Copyright 2019 NXP
0004  */
0005 
0006 /dts-v1/;
0007 
0008 #include "imx8mn.dtsi"
0009 #include "imx8mn-evk.dtsi"
0010 
0011 / {
0012         model = "NXP i.MX8MNano DDR4 EVK board";
0013         compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn";
0014 };
0015 
0016 &A53_0 {
0017         cpu-supply = <&buck2_reg>;
0018 };
0019 
0020 &A53_1 {
0021         cpu-supply = <&buck2_reg>;
0022 };
0023 
0024 &A53_2 {
0025         cpu-supply = <&buck2_reg>;
0026 };
0027 
0028 &A53_3 {
0029         cpu-supply = <&buck2_reg>;
0030 };
0031 
0032 &ddrc {
0033         operating-points-v2 = <&ddrc_opp_table>;
0034 
0035         ddrc_opp_table: opp-table {
0036                 compatible = "operating-points-v2";
0037 
0038                 opp-25M {
0039                         opp-hz = /bits/ 64 <25000000>;
0040                 };
0041 
0042                 opp-100M {
0043                         opp-hz = /bits/ 64 <100000000>;
0044                 };
0045 
0046                 opp-600M {
0047                         opp-hz = /bits/ 64 <600000000>;
0048                 };
0049         };
0050 };
0051 
0052 &i2c1 {
0053         pmic@4b {
0054                 compatible = "rohm,bd71847";
0055                 reg = <0x4b>;
0056                 pinctrl-names = "default";
0057                 pinctrl-0 = <&pinctrl_pmic>;
0058                 interrupt-parent = <&gpio1>;
0059                 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
0060                 rohm,reset-snvs-powered;
0061 
0062                 #clock-cells = <0>;
0063                 clocks = <&osc_32k 0>;
0064                 clock-output-names = "clk-32k-out";
0065 
0066                 regulators {
0067                         buck1_reg: BUCK1 {
0068                                 regulator-name = "buck1";
0069                                 regulator-min-microvolt = <700000>;
0070                                 regulator-max-microvolt = <1300000>;
0071                                 regulator-boot-on;
0072                                 regulator-always-on;
0073                                 regulator-ramp-delay = <1250>;
0074                         };
0075 
0076                         buck2_reg: BUCK2 {
0077                                 regulator-name = "buck2";
0078                                 regulator-min-microvolt = <700000>;
0079                                 regulator-max-microvolt = <1300000>;
0080                                 regulator-boot-on;
0081                                 regulator-always-on;
0082                                 regulator-ramp-delay = <1250>;
0083                         };
0084 
0085                         buck3_reg: BUCK3 {
0086                                 // BUCK5 in datasheet
0087                                 regulator-name = "buck3";
0088                                 regulator-min-microvolt = <700000>;
0089                                 regulator-max-microvolt = <1350000>;
0090                         };
0091 
0092                         buck4_reg: BUCK4 {
0093                                 // BUCK6 in datasheet
0094                                 regulator-name = "buck4";
0095                                 regulator-min-microvolt = <3000000>;
0096                                 regulator-max-microvolt = <3300000>;
0097                                 regulator-boot-on;
0098                                 regulator-always-on;
0099                         };
0100 
0101                         buck5_reg: BUCK5 {
0102                                 // BUCK7 in datasheet
0103                                 regulator-name = "buck5";
0104                                 regulator-min-microvolt = <1605000>;
0105                                 regulator-max-microvolt = <1995000>;
0106                                 regulator-boot-on;
0107                                 regulator-always-on;
0108                         };
0109 
0110                         buck6_reg: BUCK6 {
0111                                 // BUCK8 in datasheet
0112                                 regulator-name = "buck6";
0113                                 regulator-min-microvolt = <800000>;
0114                                 regulator-max-microvolt = <1400000>;
0115                                 regulator-boot-on;
0116                                 regulator-always-on;
0117                         };
0118 
0119                         ldo1_reg: LDO1 {
0120                                 regulator-name = "ldo1";
0121                                 regulator-min-microvolt = <1600000>;
0122                                 regulator-max-microvolt = <3300000>;
0123                                 regulator-boot-on;
0124                                 regulator-always-on;
0125                         };
0126 
0127                         ldo2_reg: LDO2 {
0128                                 regulator-name = "ldo2";
0129                                 regulator-min-microvolt = <800000>;
0130                                 regulator-max-microvolt = <900000>;
0131                                 regulator-boot-on;
0132                                 regulator-always-on;
0133                         };
0134 
0135                         ldo3_reg: LDO3 {
0136                                 regulator-name = "ldo3";
0137                                 regulator-min-microvolt = <1800000>;
0138                                 regulator-max-microvolt = <3300000>;
0139                                 regulator-boot-on;
0140                                 regulator-always-on;
0141                         };
0142 
0143                         ldo4_reg: LDO4 {
0144                                 regulator-name = "ldo4";
0145                                 regulator-min-microvolt = <900000>;
0146                                 regulator-max-microvolt = <1800000>;
0147                                 regulator-boot-on;
0148                                 regulator-always-on;
0149                         };
0150 
0151                         ldo6_reg: LDO6 {
0152                                 regulator-name = "ldo6";
0153                                 regulator-min-microvolt = <900000>;
0154                                 regulator-max-microvolt = <1800000>;
0155                                 regulator-boot-on;
0156                                 regulator-always-on;
0157                         };
0158                 };
0159         };
0160 };