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