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