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