1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2013 Rostislav Lisovy <lisovy@gmail.com>, PiKRON s.r.o. 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot#include "imx53.dtsi" 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/ { 9f126890aSEmmanuel Vadot model = "Voipac i.MX53 X53-DMM-668"; 10f126890aSEmmanuel Vadot compatible = "voipac,imx53-dmm-668", "fsl,imx53"; 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot memory@70000000 { 13f126890aSEmmanuel Vadot device_type = "memory"; 14f126890aSEmmanuel Vadot reg = <0x70000000 0x20000000>, 15f126890aSEmmanuel Vadot <0xb0000000 0x20000000>; 16f126890aSEmmanuel Vadot }; 17f126890aSEmmanuel Vadot 18*aa1a8ff2SEmmanuel Vadot reg_3p3v: regulator-3p3v { 19f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 20f126890aSEmmanuel Vadot regulator-name = "3P3V"; 21f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 22f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 23f126890aSEmmanuel Vadot regulator-always-on; 24f126890aSEmmanuel Vadot }; 25f126890aSEmmanuel Vadot 26*aa1a8ff2SEmmanuel Vadot reg_usb_vbus: regulator-usb-vbus { 27f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 28f126890aSEmmanuel Vadot regulator-name = "usb_vbus"; 29f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 30f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 31f126890aSEmmanuel Vadot gpio = <&gpio3 31 0>; /* PEN */ 32f126890aSEmmanuel Vadot enable-active-high; 33f126890aSEmmanuel Vadot }; 34f126890aSEmmanuel Vadot}; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot&iomuxc { 37f126890aSEmmanuel Vadot pinctrl-names = "default"; 38f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hog>; 39f126890aSEmmanuel Vadot 40f126890aSEmmanuel Vadot imx53-voipac { 41f126890aSEmmanuel Vadot pinctrl_hog: hoggrp { 42f126890aSEmmanuel Vadot fsl,pins = < 43f126890aSEmmanuel Vadot /* Make DA9053 regulator functional */ 44f126890aSEmmanuel Vadot MX53_PAD_GPIO_16__GPIO7_11 0x80000000 45f126890aSEmmanuel Vadot /* FEC Power enable */ 46f126890aSEmmanuel Vadot MX53_PAD_GPIO_11__GPIO4_1 0x80000000 47f126890aSEmmanuel Vadot /* FEC RST */ 48f126890aSEmmanuel Vadot MX53_PAD_GPIO_12__GPIO4_2 0x80000000 49f126890aSEmmanuel Vadot >; 50f126890aSEmmanuel Vadot }; 51f126890aSEmmanuel Vadot 52f126890aSEmmanuel Vadot pinctrl_ecspi1: ecspi1grp { 53f126890aSEmmanuel Vadot fsl,pins = < 54f126890aSEmmanuel Vadot MX53_PAD_EIM_D16__ECSPI1_SCLK 0x80000000 55f126890aSEmmanuel Vadot MX53_PAD_EIM_D17__ECSPI1_MISO 0x80000000 56f126890aSEmmanuel Vadot MX53_PAD_EIM_D18__ECSPI1_MOSI 0x80000000 57f126890aSEmmanuel Vadot >; 58f126890aSEmmanuel Vadot }; 59f126890aSEmmanuel Vadot 60f126890aSEmmanuel Vadot pinctrl_fec: fecgrp { 61f126890aSEmmanuel Vadot fsl,pins = < 62f126890aSEmmanuel Vadot MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 63f126890aSEmmanuel Vadot MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 64f126890aSEmmanuel Vadot MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 65f126890aSEmmanuel Vadot MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 66f126890aSEmmanuel Vadot MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 67f126890aSEmmanuel Vadot MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 68f126890aSEmmanuel Vadot MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 69f126890aSEmmanuel Vadot MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 70f126890aSEmmanuel Vadot MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 71f126890aSEmmanuel Vadot MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 72f126890aSEmmanuel Vadot >; 73f126890aSEmmanuel Vadot }; 74f126890aSEmmanuel Vadot 75f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1grp { 76f126890aSEmmanuel Vadot fsl,pins = < 77f126890aSEmmanuel Vadot MX53_PAD_EIM_D21__I2C1_SCL 0xc0000000 78f126890aSEmmanuel Vadot MX53_PAD_EIM_D28__I2C1_SDA 0xc0000000 79f126890aSEmmanuel Vadot >; 80f126890aSEmmanuel Vadot }; 81f126890aSEmmanuel Vadot 82f126890aSEmmanuel Vadot pinctrl_uart1: uart1grp { 83f126890aSEmmanuel Vadot fsl,pins = < 84f126890aSEmmanuel Vadot MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4 85f126890aSEmmanuel Vadot MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4 86f126890aSEmmanuel Vadot >; 87f126890aSEmmanuel Vadot }; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot pinctrl_nand: nandgrp { 90f126890aSEmmanuel Vadot fsl,pins = < 91f126890aSEmmanuel Vadot MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B 0x4 92f126890aSEmmanuel Vadot MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B 0x4 93f126890aSEmmanuel Vadot MX53_PAD_NANDF_CLE__EMI_NANDF_CLE 0x4 94f126890aSEmmanuel Vadot MX53_PAD_NANDF_ALE__EMI_NANDF_ALE 0x4 95f126890aSEmmanuel Vadot MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B 0xe0 96f126890aSEmmanuel Vadot MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0 0xe0 97f126890aSEmmanuel Vadot MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0 0x4 98f126890aSEmmanuel Vadot MX53_PAD_PATA_DATA0__EMI_NANDF_D_0 0xa4 99f126890aSEmmanuel Vadot MX53_PAD_PATA_DATA1__EMI_NANDF_D_1 0xa4 100f126890aSEmmanuel Vadot MX53_PAD_PATA_DATA2__EMI_NANDF_D_2 0xa4 101f126890aSEmmanuel Vadot MX53_PAD_PATA_DATA3__EMI_NANDF_D_3 0xa4 102f126890aSEmmanuel Vadot MX53_PAD_PATA_DATA4__EMI_NANDF_D_4 0xa4 103f126890aSEmmanuel Vadot MX53_PAD_PATA_DATA5__EMI_NANDF_D_5 0xa4 104f126890aSEmmanuel Vadot MX53_PAD_PATA_DATA6__EMI_NANDF_D_6 0xa4 105f126890aSEmmanuel Vadot MX53_PAD_PATA_DATA7__EMI_NANDF_D_7 0xa4 106f126890aSEmmanuel Vadot >; 107f126890aSEmmanuel Vadot }; 108f126890aSEmmanuel Vadot }; 109f126890aSEmmanuel Vadot}; 110f126890aSEmmanuel Vadot 111f126890aSEmmanuel Vadot&ecspi1 { 112f126890aSEmmanuel Vadot pinctrl-names = "default"; 113f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi1>; 114f126890aSEmmanuel Vadot cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>, 115f126890aSEmmanuel Vadot <&gpio2 16 GPIO_ACTIVE_LOW>, <&gpio2 17 GPIO_ACTIVE_LOW>; 116f126890aSEmmanuel Vadot status = "okay"; 117f126890aSEmmanuel Vadot}; 118f126890aSEmmanuel Vadot 119f126890aSEmmanuel Vadot&fec { 120f126890aSEmmanuel Vadot pinctrl-names = "default"; 121f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_fec>; 122f126890aSEmmanuel Vadot phy-mode = "rmii"; 123f126890aSEmmanuel Vadot phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 124f126890aSEmmanuel Vadot status = "okay"; 125f126890aSEmmanuel Vadot}; 126f126890aSEmmanuel Vadot 127f126890aSEmmanuel Vadot&i2c1 { 128f126890aSEmmanuel Vadot pinctrl-names = "default"; 129f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 130f126890aSEmmanuel Vadot status = "okay"; 131f126890aSEmmanuel Vadot 132f126890aSEmmanuel Vadot pmic: dialog@48 { 133f126890aSEmmanuel Vadot compatible = "dlg,da9053-aa", "dlg,da9052"; 134f126890aSEmmanuel Vadot reg = <0x48>; 135f126890aSEmmanuel Vadot interrupt-parent = <&gpio7>; 136f126890aSEmmanuel Vadot interrupts = <11 IRQ_TYPE_LEVEL_LOW>; /* low-level active IRQ at GPIO7_11 */ 137f126890aSEmmanuel Vadot 138f126890aSEmmanuel Vadot regulators { 139f126890aSEmmanuel Vadot buck1_reg: buck1 { 140f126890aSEmmanuel Vadot regulator-name = "BUCKCORE"; 141f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 142f126890aSEmmanuel Vadot regulator-max-microvolt = <1400000>; 143f126890aSEmmanuel Vadot regulator-always-on; 144f126890aSEmmanuel Vadot }; 145f126890aSEmmanuel Vadot 146f126890aSEmmanuel Vadot buck2_reg: buck2 { 147f126890aSEmmanuel Vadot regulator-name = "BUCKPRO"; 148f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 149f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 150f126890aSEmmanuel Vadot regulator-always-on; 151f126890aSEmmanuel Vadot }; 152f126890aSEmmanuel Vadot 153f126890aSEmmanuel Vadot buck3_reg: buck3 { 154f126890aSEmmanuel Vadot regulator-name = "BUCKMEM"; 155f126890aSEmmanuel Vadot regulator-min-microvolt = <1420000>; 156f126890aSEmmanuel Vadot regulator-max-microvolt = <1580000>; 157f126890aSEmmanuel Vadot regulator-always-on; 158f126890aSEmmanuel Vadot }; 159f126890aSEmmanuel Vadot 160f126890aSEmmanuel Vadot buck4_reg: buck4 { 161f126890aSEmmanuel Vadot regulator-name = "BUCKPERI"; 162f126890aSEmmanuel Vadot regulator-min-microvolt = <2370000>; 163f126890aSEmmanuel Vadot regulator-max-microvolt = <2630000>; 164f126890aSEmmanuel Vadot regulator-always-on; 165f126890aSEmmanuel Vadot }; 166f126890aSEmmanuel Vadot 167f126890aSEmmanuel Vadot ldo1_reg: ldo1 { 168f126890aSEmmanuel Vadot regulator-name = "ldo1_1v3"; 169f126890aSEmmanuel Vadot regulator-min-microvolt = <1250000>; 170f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 171f126890aSEmmanuel Vadot regulator-boot-on; 172f126890aSEmmanuel Vadot regulator-always-on; 173f126890aSEmmanuel Vadot }; 174f126890aSEmmanuel Vadot 175f126890aSEmmanuel Vadot ldo2_reg: ldo2 { 176f126890aSEmmanuel Vadot regulator-name = "ldo2_1v3"; 177f126890aSEmmanuel Vadot regulator-min-microvolt = <1250000>; 178f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 179f126890aSEmmanuel Vadot regulator-always-on; 180f126890aSEmmanuel Vadot }; 181f126890aSEmmanuel Vadot 182f126890aSEmmanuel Vadot ldo3_reg: ldo3 { 183f126890aSEmmanuel Vadot regulator-name = "ldo3_3v3"; 184f126890aSEmmanuel Vadot regulator-min-microvolt = <3250000>; 185f126890aSEmmanuel Vadot regulator-max-microvolt = <3350000>; 186f126890aSEmmanuel Vadot regulator-always-on; 187f126890aSEmmanuel Vadot }; 188f126890aSEmmanuel Vadot 189f126890aSEmmanuel Vadot ldo4_reg: ldo4 { 190f126890aSEmmanuel Vadot regulator-name = "ldo4_2v775"; 191f126890aSEmmanuel Vadot regulator-min-microvolt = <2770000>; 192f126890aSEmmanuel Vadot regulator-max-microvolt = <2780000>; 193f126890aSEmmanuel Vadot regulator-always-on; 194f126890aSEmmanuel Vadot }; 195f126890aSEmmanuel Vadot 196f126890aSEmmanuel Vadot ldo5_reg: ldo5 { 197f126890aSEmmanuel Vadot regulator-name = "ldo5_3v3"; 198f126890aSEmmanuel Vadot regulator-min-microvolt = <3250000>; 199f126890aSEmmanuel Vadot regulator-max-microvolt = <3350000>; 200f126890aSEmmanuel Vadot regulator-always-on; 201f126890aSEmmanuel Vadot }; 202f126890aSEmmanuel Vadot 203f126890aSEmmanuel Vadot ldo6_reg: ldo6 { 204f126890aSEmmanuel Vadot regulator-name = "ldo6_1v3"; 205f126890aSEmmanuel Vadot regulator-min-microvolt = <1250000>; 206f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 207f126890aSEmmanuel Vadot regulator-always-on; 208f126890aSEmmanuel Vadot }; 209f126890aSEmmanuel Vadot 210f126890aSEmmanuel Vadot ldo7_reg: ldo7 { 211f126890aSEmmanuel Vadot regulator-name = "ldo7_2v75"; 212f126890aSEmmanuel Vadot regulator-min-microvolt = <2700000>; 213f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 214f126890aSEmmanuel Vadot regulator-always-on; 215f126890aSEmmanuel Vadot }; 216f126890aSEmmanuel Vadot 217f126890aSEmmanuel Vadot ldo8_reg: ldo8 { 218f126890aSEmmanuel Vadot regulator-name = "ldo8_1v8"; 219f126890aSEmmanuel Vadot regulator-min-microvolt = <1750000>; 220f126890aSEmmanuel Vadot regulator-max-microvolt = <1850000>; 221f126890aSEmmanuel Vadot regulator-always-on; 222f126890aSEmmanuel Vadot }; 223f126890aSEmmanuel Vadot 224f126890aSEmmanuel Vadot ldo9_reg: ldo9 { 225f126890aSEmmanuel Vadot regulator-name = "ldo9_1v5"; 226f126890aSEmmanuel Vadot regulator-min-microvolt = <1450000>; 227f126890aSEmmanuel Vadot regulator-max-microvolt = <1550000>; 228f126890aSEmmanuel Vadot regulator-always-on; 229f126890aSEmmanuel Vadot }; 230f126890aSEmmanuel Vadot 231f126890aSEmmanuel Vadot ldo10_reg: ldo10 { 232f126890aSEmmanuel Vadot regulator-name = "ldo10_1v3"; 233f126890aSEmmanuel Vadot regulator-min-microvolt = <1250000>; 234f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 235f126890aSEmmanuel Vadot regulator-always-on; 236f126890aSEmmanuel Vadot }; 237f126890aSEmmanuel Vadot }; 238f126890aSEmmanuel Vadot }; 239f126890aSEmmanuel Vadot}; 240f126890aSEmmanuel Vadot 241f126890aSEmmanuel Vadot&nfc { 242f126890aSEmmanuel Vadot pinctrl-names = "default"; 243f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nand>; 244f126890aSEmmanuel Vadot nand-bus-width = <8>; 245f126890aSEmmanuel Vadot nand-ecc-mode = "hw"; 246f126890aSEmmanuel Vadot status = "okay"; 247f126890aSEmmanuel Vadot}; 248f126890aSEmmanuel Vadot 249f126890aSEmmanuel Vadot&uart1 { 250f126890aSEmmanuel Vadot pinctrl-names = "default"; 251f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 252f126890aSEmmanuel Vadot status = "okay"; 253f126890aSEmmanuel Vadot}; 254f126890aSEmmanuel Vadot 255f126890aSEmmanuel Vadot&usbh1 { 256f126890aSEmmanuel Vadot vbus-supply = <®_usb_vbus>; 257f126890aSEmmanuel Vadot phy_type = "utmi"; 258f126890aSEmmanuel Vadot status = "okay"; 259f126890aSEmmanuel Vadot}; 260