1eefe06b2SManoj Sai// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2eefe06b2SManoj Sai/* 3eefe06b2SManoj Sai * Copyright (c) 2018 NXP 4eefe06b2SManoj Sai * Copyright (c) 2019 Engicam srl 5*4d50d2bfSJagan Teki * Copyright (c) 2020 Amarula Solutions(India) 6eefe06b2SManoj Sai */ 7eefe06b2SManoj Sai 8eefe06b2SManoj Sai/ { 9eefe06b2SManoj Sai compatible = "engicam,icore-mx8mp", "fsl,imx8mp"; 10eefe06b2SManoj Sai}; 11eefe06b2SManoj Sai 12eefe06b2SManoj Sai&A53_0 { 13eefe06b2SManoj Sai cpu-supply = <&buck2>; 14eefe06b2SManoj Sai}; 15eefe06b2SManoj Sai 16eefe06b2SManoj Sai&A53_1 { 17eefe06b2SManoj Sai cpu-supply = <&buck2>; 18eefe06b2SManoj Sai}; 19eefe06b2SManoj Sai 20eefe06b2SManoj Sai&A53_2 { 21eefe06b2SManoj Sai cpu-supply = <&buck2>; 22eefe06b2SManoj Sai}; 23eefe06b2SManoj Sai 24eefe06b2SManoj Sai&A53_3 { 25eefe06b2SManoj Sai cpu-supply = <&buck2>; 26eefe06b2SManoj Sai}; 27eefe06b2SManoj Sai 28eefe06b2SManoj Sai&i2c1 { 29eefe06b2SManoj Sai clock-frequency = <100000>; 30eefe06b2SManoj Sai pinctrl-names = "default"; 31eefe06b2SManoj Sai pinctrl-0 = <&pinctrl_i2c1>; 32eefe06b2SManoj Sai status = "okay"; 33eefe06b2SManoj Sai 34eefe06b2SManoj Sai pca9450: pmic@25 { 35eefe06b2SManoj Sai compatible = "nxp,pca9450c"; 36eefe06b2SManoj Sai interrupt-parent = <&gpio3>; 37eefe06b2SManoj Sai interrupts = <1 IRQ_TYPE_LEVEL_LOW>; 38eefe06b2SManoj Sai pinctrl-names = "default"; 39eefe06b2SManoj Sai pinctrl-0 = <&pinctrl_pmic>; 40eefe06b2SManoj Sai reg = <0x25>; 41eefe06b2SManoj Sai 42eefe06b2SManoj Sai regulators { 43eefe06b2SManoj Sai buck1: BUCK1 { 44eefe06b2SManoj Sai regulator-always-on; 45eefe06b2SManoj Sai regulator-boot-on; 46eefe06b2SManoj Sai regulator-min-microvolt = <720000>; 47eefe06b2SManoj Sai regulator-max-microvolt = <1000000>; 48eefe06b2SManoj Sai regulator-name = "BUCK1"; 49eefe06b2SManoj Sai regulator-ramp-delay = <3125>; 50eefe06b2SManoj Sai }; 51eefe06b2SManoj Sai 52eefe06b2SManoj Sai buck2: BUCK2 { 53eefe06b2SManoj Sai nxp,dvs-run-voltage = <950000>; 54eefe06b2SManoj Sai nxp,dvs-standby-voltage = <850000>; 55eefe06b2SManoj Sai regulator-always-on; 56eefe06b2SManoj Sai regulator-boot-on; 57eefe06b2SManoj Sai regulator-max-microvolt = <1025000>; 58eefe06b2SManoj Sai regulator-min-microvolt = <720000>; 59eefe06b2SManoj Sai regulator-name = "BUCK2"; 60eefe06b2SManoj Sai regulator-ramp-delay = <3125>; 61eefe06b2SManoj Sai }; 62eefe06b2SManoj Sai 63eefe06b2SManoj Sai buck4: BUCK4 { 64eefe06b2SManoj Sai regulator-always-on; 65eefe06b2SManoj Sai regulator-boot-on; 66eefe06b2SManoj Sai regulator-max-microvolt = <3600000>; 67eefe06b2SManoj Sai regulator-min-microvolt = <3000000>; 68eefe06b2SManoj Sai regulator-name = "BUCK4"; 69eefe06b2SManoj Sai }; 70eefe06b2SManoj Sai 71eefe06b2SManoj Sai buck5: BUCK5 { 72eefe06b2SManoj Sai regulator-always-on; 73eefe06b2SManoj Sai regulator-boot-on; 74eefe06b2SManoj Sai regulator-max-microvolt = <1950000>; 75eefe06b2SManoj Sai regulator-min-microvolt = <1650000>; 76eefe06b2SManoj Sai regulator-name = "BUCK5"; 77eefe06b2SManoj Sai }; 78eefe06b2SManoj Sai 79eefe06b2SManoj Sai buck6: BUCK6 { 80eefe06b2SManoj Sai regulator-always-on; 81eefe06b2SManoj Sai regulator-boot-on; 82eefe06b2SManoj Sai regulator-max-microvolt = <1155000>; 83eefe06b2SManoj Sai regulator-min-microvolt = <1045000>; 84eefe06b2SManoj Sai regulator-name = "BUCK6"; 85eefe06b2SManoj Sai }; 86eefe06b2SManoj Sai 87eefe06b2SManoj Sai ldo1: LDO1 { 88eefe06b2SManoj Sai regulator-always-on; 89eefe06b2SManoj Sai regulator-boot-on; 90eefe06b2SManoj Sai regulator-max-microvolt = <1950000>; 91eefe06b2SManoj Sai regulator-min-microvolt = <1650000>; 92eefe06b2SManoj Sai regulator-name = "LDO1"; 93eefe06b2SManoj Sai }; 94eefe06b2SManoj Sai 95eefe06b2SManoj Sai ldo3: LDO3 { 96eefe06b2SManoj Sai regulator-always-on; 97eefe06b2SManoj Sai regulator-boot-on; 98eefe06b2SManoj Sai regulator-max-microvolt = <1890000>; 99eefe06b2SManoj Sai regulator-min-microvolt = <1710000>; 100eefe06b2SManoj Sai regulator-name = "LDO3"; 101eefe06b2SManoj Sai }; 102eefe06b2SManoj Sai 103eefe06b2SManoj Sai ldo5: LDO5 { 104eefe06b2SManoj Sai regulator-always-on; 105eefe06b2SManoj Sai regulator-boot-on; 106eefe06b2SManoj Sai regulator-max-microvolt = <3300000>; 107eefe06b2SManoj Sai regulator-min-microvolt = <1800000>; 108eefe06b2SManoj Sai regulator-name = "LDO5"; 109eefe06b2SManoj Sai }; 110eefe06b2SManoj Sai }; 111eefe06b2SManoj Sai }; 112eefe06b2SManoj Sai}; 113eefe06b2SManoj Sai 114eefe06b2SManoj Sai/* EMMC */ 115eefe06b2SManoj Sai&usdhc3 { 116eefe06b2SManoj Sai bus-width = <8>; 117eefe06b2SManoj Sai non-removable; 118eefe06b2SManoj Sai pinctrl-names = "default", "state_100mhz", "state_200mhz"; 119eefe06b2SManoj Sai pinctrl-0 = <&pinctrl_usdhc3>; 120eefe06b2SManoj Sai pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 121eefe06b2SManoj Sai pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 122eefe06b2SManoj Sai status = "okay"; 123eefe06b2SManoj Sai}; 124eefe06b2SManoj Sai 125eefe06b2SManoj Sai&iomuxc { 126eefe06b2SManoj Sai pinctrl_i2c1: i2c1grp { 127eefe06b2SManoj Sai fsl,pins = < 128eefe06b2SManoj Sai MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c3 129eefe06b2SManoj Sai MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c3 130eefe06b2SManoj Sai >; 131eefe06b2SManoj Sai }; 132eefe06b2SManoj Sai 133eefe06b2SManoj Sai pinctrl_pmic: pmicgrp { 134eefe06b2SManoj Sai fsl,pins = < 135eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE0_B__GPIO3_IO01 0x41 136eefe06b2SManoj Sai >; 137eefe06b2SManoj Sai }; 138eefe06b2SManoj Sai 139eefe06b2SManoj Sai pinctrl_usdhc3: usdhc3grp { 140eefe06b2SManoj Sai fsl,pins = < 141eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190 142eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0 143eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0 144eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0 145eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0 146eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0 147eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0 148eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0 149eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0 150eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0 151eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190 152eefe06b2SManoj Sai >; 153eefe06b2SManoj Sai }; 154eefe06b2SManoj Sai 155eefe06b2SManoj Sai pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { 156eefe06b2SManoj Sai fsl,pins = < 157eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194 158eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4 159eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4 160eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4 161eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4 162eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4 163eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4 164eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4 165eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4 166eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4 167eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194 168eefe06b2SManoj Sai >; 169eefe06b2SManoj Sai }; 170eefe06b2SManoj Sai 171eefe06b2SManoj Sai pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { 172eefe06b2SManoj Sai fsl,pins = < 173eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196 174eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6 175eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d6 176eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d6 177eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d6 178eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d6 179eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d6 180eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d6 181eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d6 182eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d6 183eefe06b2SManoj Sai MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196 184eefe06b2SManoj Sai >; 185eefe06b2SManoj Sai }; 186eefe06b2SManoj Sai}; 187