1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright 2019 NXP 4c66ec88fSEmmanuel Vadot */ 5c66ec88fSEmmanuel Vadot 6c66ec88fSEmmanuel Vadot/dts-v1/; 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot#include "imx8mn.dtsi" 9c66ec88fSEmmanuel Vadot#include "imx8mn-evk.dtsi" 10c66ec88fSEmmanuel Vadot 11c66ec88fSEmmanuel Vadot/ { 12c66ec88fSEmmanuel Vadot model = "NXP i.MX8MNano DDR4 EVK board"; 13c66ec88fSEmmanuel Vadot compatible = "fsl,imx8mn-ddr4-evk", "fsl,imx8mn"; 14c66ec88fSEmmanuel Vadot}; 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadot&A53_0 { 17c66ec88fSEmmanuel Vadot cpu-supply = <&buck2_reg>; 18c66ec88fSEmmanuel Vadot}; 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadot&A53_1 { 21c66ec88fSEmmanuel Vadot cpu-supply = <&buck2_reg>; 22c66ec88fSEmmanuel Vadot}; 23c66ec88fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot&A53_2 { 25c66ec88fSEmmanuel Vadot cpu-supply = <&buck2_reg>; 26c66ec88fSEmmanuel Vadot}; 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot&A53_3 { 29c66ec88fSEmmanuel Vadot cpu-supply = <&buck2_reg>; 30c66ec88fSEmmanuel Vadot}; 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot&ddrc { 33c66ec88fSEmmanuel Vadot operating-points-v2 = <&ddrc_opp_table>; 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot ddrc_opp_table: opp-table { 36c66ec88fSEmmanuel Vadot compatible = "operating-points-v2"; 37c66ec88fSEmmanuel Vadot 388bab661aSEmmanuel Vadot opp-25000000 { 39c66ec88fSEmmanuel Vadot opp-hz = /bits/ 64 <25000000>; 40c66ec88fSEmmanuel Vadot }; 41c66ec88fSEmmanuel Vadot 428bab661aSEmmanuel Vadot opp-100000000 { 43c66ec88fSEmmanuel Vadot opp-hz = /bits/ 64 <100000000>; 44c66ec88fSEmmanuel Vadot }; 45c66ec88fSEmmanuel Vadot 468bab661aSEmmanuel Vadot opp-600000000 { 47c66ec88fSEmmanuel Vadot opp-hz = /bits/ 64 <600000000>; 48c66ec88fSEmmanuel Vadot }; 49c66ec88fSEmmanuel Vadot }; 50c66ec88fSEmmanuel Vadot}; 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot&i2c1 { 53c66ec88fSEmmanuel Vadot pmic@4b { 54c66ec88fSEmmanuel Vadot compatible = "rohm,bd71847"; 55c66ec88fSEmmanuel Vadot reg = <0x4b>; 566be33864SEmmanuel Vadot pinctrl-names = "default"; 57c66ec88fSEmmanuel Vadot pinctrl-0 = <&pinctrl_pmic>; 58c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio1>; 596be33864SEmmanuel Vadot interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 60c66ec88fSEmmanuel Vadot rohm,reset-snvs-powered; 61c66ec88fSEmmanuel Vadot 62c9ccf3a3SEmmanuel Vadot #clock-cells = <0>; 63aa1a8ff2SEmmanuel Vadot clocks = <&osc_32k>; 64c9ccf3a3SEmmanuel Vadot clock-output-names = "clk-32k-out"; 65c9ccf3a3SEmmanuel Vadot 66c66ec88fSEmmanuel Vadot regulators { 67c66ec88fSEmmanuel Vadot buck1_reg: BUCK1 { 686be33864SEmmanuel Vadot regulator-name = "buck1"; 69c66ec88fSEmmanuel Vadot regulator-min-microvolt = <700000>; 70c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1300000>; 71c66ec88fSEmmanuel Vadot regulator-boot-on; 72c66ec88fSEmmanuel Vadot regulator-always-on; 73c66ec88fSEmmanuel Vadot regulator-ramp-delay = <1250>; 74c66ec88fSEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadot buck2_reg: BUCK2 { 776be33864SEmmanuel Vadot regulator-name = "buck2"; 78c66ec88fSEmmanuel Vadot regulator-min-microvolt = <700000>; 79c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1300000>; 80c66ec88fSEmmanuel Vadot regulator-boot-on; 81c66ec88fSEmmanuel Vadot regulator-always-on; 82c66ec88fSEmmanuel Vadot regulator-ramp-delay = <1250>; 83c66ec88fSEmmanuel Vadot }; 84c66ec88fSEmmanuel Vadot 85c66ec88fSEmmanuel Vadot buck3_reg: BUCK3 { 86c66ec88fSEmmanuel Vadot // BUCK5 in datasheet 876be33864SEmmanuel Vadot regulator-name = "buck3"; 88c66ec88fSEmmanuel Vadot regulator-min-microvolt = <700000>; 89c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1350000>; 90c66ec88fSEmmanuel Vadot }; 91c66ec88fSEmmanuel Vadot 92c66ec88fSEmmanuel Vadot buck4_reg: BUCK4 { 93c66ec88fSEmmanuel Vadot // BUCK6 in datasheet 946be33864SEmmanuel Vadot regulator-name = "buck4"; 95c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3000000>; 96c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 97c66ec88fSEmmanuel Vadot regulator-boot-on; 98c66ec88fSEmmanuel Vadot regulator-always-on; 99c66ec88fSEmmanuel Vadot }; 100c66ec88fSEmmanuel Vadot 101c66ec88fSEmmanuel Vadot buck5_reg: BUCK5 { 102c66ec88fSEmmanuel Vadot // BUCK7 in datasheet 1036be33864SEmmanuel Vadot regulator-name = "buck5"; 104c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1605000>; 105c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1995000>; 106c66ec88fSEmmanuel Vadot regulator-boot-on; 107c66ec88fSEmmanuel Vadot regulator-always-on; 108c66ec88fSEmmanuel Vadot }; 109c66ec88fSEmmanuel Vadot 110c66ec88fSEmmanuel Vadot buck6_reg: BUCK6 { 111c66ec88fSEmmanuel Vadot // BUCK8 in datasheet 1126be33864SEmmanuel Vadot regulator-name = "buck6"; 113c66ec88fSEmmanuel Vadot regulator-min-microvolt = <800000>; 114c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1400000>; 115c66ec88fSEmmanuel Vadot regulator-boot-on; 116c66ec88fSEmmanuel Vadot regulator-always-on; 117c66ec88fSEmmanuel Vadot }; 118c66ec88fSEmmanuel Vadot 119c66ec88fSEmmanuel Vadot ldo1_reg: LDO1 { 1206be33864SEmmanuel Vadot regulator-name = "ldo1"; 121c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1600000>; 122c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 123c66ec88fSEmmanuel Vadot regulator-boot-on; 124c66ec88fSEmmanuel Vadot regulator-always-on; 125c66ec88fSEmmanuel Vadot }; 126c66ec88fSEmmanuel Vadot 127c66ec88fSEmmanuel Vadot ldo2_reg: LDO2 { 1286be33864SEmmanuel Vadot regulator-name = "ldo2"; 129c66ec88fSEmmanuel Vadot regulator-min-microvolt = <800000>; 130c66ec88fSEmmanuel Vadot regulator-max-microvolt = <900000>; 131c66ec88fSEmmanuel Vadot regulator-boot-on; 132c66ec88fSEmmanuel Vadot regulator-always-on; 133c66ec88fSEmmanuel Vadot }; 134c66ec88fSEmmanuel Vadot 135c66ec88fSEmmanuel Vadot ldo3_reg: LDO3 { 1366be33864SEmmanuel Vadot regulator-name = "ldo3"; 137c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 138c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 139c66ec88fSEmmanuel Vadot regulator-boot-on; 140c66ec88fSEmmanuel Vadot regulator-always-on; 141c66ec88fSEmmanuel Vadot }; 142c66ec88fSEmmanuel Vadot 143c66ec88fSEmmanuel Vadot ldo4_reg: LDO4 { 1446be33864SEmmanuel Vadot regulator-name = "ldo4"; 145c66ec88fSEmmanuel Vadot regulator-min-microvolt = <900000>; 146c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 147c66ec88fSEmmanuel Vadot regulator-boot-on; 148c66ec88fSEmmanuel Vadot regulator-always-on; 149c66ec88fSEmmanuel Vadot }; 150c66ec88fSEmmanuel Vadot 151c66ec88fSEmmanuel Vadot ldo6_reg: LDO6 { 1526be33864SEmmanuel Vadot regulator-name = "ldo6"; 153c66ec88fSEmmanuel Vadot regulator-min-microvolt = <900000>; 154c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 155c66ec88fSEmmanuel Vadot regulator-boot-on; 156c66ec88fSEmmanuel Vadot regulator-always-on; 157c66ec88fSEmmanuel Vadot }; 158c66ec88fSEmmanuel Vadot }; 159c66ec88fSEmmanuel Vadot }; 160c66ec88fSEmmanuel Vadot}; 161*7d0873ebSEmmanuel Vadot 162*7d0873ebSEmmanuel Vadot&i2c2 { 163*7d0873ebSEmmanuel Vadot hdmi@3d { 164*7d0873ebSEmmanuel Vadot avdd-supply = <&buck5_reg>; 165*7d0873ebSEmmanuel Vadot dvdd-supply = <&buck5_reg>; 166*7d0873ebSEmmanuel Vadot pvdd-supply = <&buck5_reg>; 167*7d0873ebSEmmanuel Vadot a2vdd-supply = <&buck5_reg>; 168*7d0873ebSEmmanuel Vadot v1p2-supply = <&buck5_reg>; 169*7d0873ebSEmmanuel Vadot }; 170*7d0873ebSEmmanuel Vadot}; 171*7d0873ebSEmmanuel Vadot 172*7d0873ebSEmmanuel Vadot&i2c3 { 173*7d0873ebSEmmanuel Vadot camera@3c { 174*7d0873ebSEmmanuel Vadot DOVDD-supply = <&buck5_reg>; 175*7d0873ebSEmmanuel Vadot }; 176*7d0873ebSEmmanuel Vadot}; 177