1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright 2012 Sascha Hauer <s.hauer@pengutr 3 * Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix 4 * Copyright 2012 Steffen Trumtrar <s.trumtrar@ 4 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix 5 */ 5 */ 6 6 7 #include "imx53.dtsi" 7 #include "imx53.dtsi" 8 8 9 / { 9 / { 10 model = "TQ TQMa53"; 10 model = "TQ TQMa53"; 11 compatible = "tq,tqma53", "fsl,imx53"; 11 compatible = "tq,tqma53", "fsl,imx53"; 12 12 13 memory@70000000 { 13 memory@70000000 { 14 device_type = "memory"; 14 device_type = "memory"; 15 reg = <0x70000000 0x40000000>; 15 reg = <0x70000000 0x40000000>; /* Up to 1GiB */ 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 26 27 &esdhc2 { 27 &esdhc2 { 28 pinctrl-names = "default"; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&pinctrl_esdhc2>, 29 pinctrl-0 = <&pinctrl_esdhc2>, 30 <&pinctrl_esdhc2_cdwp>; 30 <&pinctrl_esdhc2_cdwp>; 31 vmmc-supply = <®_3p3v>; 31 vmmc-supply = <®_3p3v>; 32 wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH> 32 wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; 33 cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 33 cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 34 status = "disabled"; 34 status = "disabled"; 35 }; 35 }; 36 36 37 &uart3 { 37 &uart3 { 38 pinctrl-names = "default"; 38 pinctrl-names = "default"; 39 pinctrl-0 = <&pinctrl_uart3>; 39 pinctrl-0 = <&pinctrl_uart3>; 40 status = "disabled"; 40 status = "disabled"; 41 }; 41 }; 42 42 43 &ecspi1 { 43 &ecspi1 { 44 pinctrl-names = "default"; 44 pinctrl-names = "default"; 45 pinctrl-0 = <&pinctrl_ecspi1>; 45 pinctrl-0 = <&pinctrl_ecspi1>; 46 cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW> 46 cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>, 47 <&gpio3 24 GPIO_ACTIVE_LOW> 47 <&gpio3 24 GPIO_ACTIVE_LOW>, <&gpio3 25 GPIO_ACTIVE_LOW>; 48 status = "disabled"; 48 status = "disabled"; 49 }; 49 }; 50 50 51 &esdhc3 { /* EMMC */ 51 &esdhc3 { /* EMMC */ 52 pinctrl-names = "default"; 52 pinctrl-names = "default"; 53 pinctrl-0 = <&pinctrl_esdhc3>; 53 pinctrl-0 = <&pinctrl_esdhc3>; 54 vmmc-supply = <®_3p3v>; 54 vmmc-supply = <®_3p3v>; 55 non-removable; 55 non-removable; 56 bus-width = <8>; 56 bus-width = <8>; 57 status = "okay"; 57 status = "okay"; 58 }; 58 }; 59 59 60 &iomuxc { 60 &iomuxc { 61 pinctrl-names = "default"; 61 pinctrl-names = "default"; 62 pinctrl-0 = <&pinctrl_hog>; 62 pinctrl-0 = <&pinctrl_hog>; 63 63 64 imx53-tqma53 { 64 imx53-tqma53 { 65 pinctrl_hog: hoggrp { 65 pinctrl_hog: hoggrp { 66 fsl,pins = < 66 fsl,pins = < 67 MX53_PAD_GPIO 67 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000 /* SSI_MCLK */ 68 MX53_PAD_PATA 68 MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000 /* LCD_BLT_EN */ 69 MX53_PAD_PATA 69 MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000 /* LCD_RESET */ 70 MX53_PAD_PATA 70 MX53_PAD_PATA_DATA5__GPIO2_5 0x80000000 /* LCD_POWER */ 71 MX53_PAD_PATA 71 MX53_PAD_PATA_DATA6__GPIO2_6 0x80000000 /* PMIC_INT */ 72 MX53_PAD_PATA 72 MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000 /* CSI_RST */ 73 MX53_PAD_PATA 73 MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000 /* CSI_PWDN */ 74 MX53_PAD_GPIO 74 MX53_PAD_GPIO_19__GPIO4_5 0x80000000 /* #SYSTEM_DOWN */ 75 MX53_PAD_GPIO 75 MX53_PAD_GPIO_3__GPIO1_3 0x80000000 76 MX53_PAD_PATA 76 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 /* #PHY_RESET */ 77 MX53_PAD_GPIO 77 MX53_PAD_GPIO_1__PWM2_PWMO 0x80000000 /* LCD_CONTRAST */ 78 >; 78 >; 79 }; 79 }; 80 80 81 pinctrl_audmux: audmuxgrp { 81 pinctrl_audmux: audmuxgrp { 82 fsl,pins = < 82 fsl,pins = < 83 MX53_PAD_KEY_C 83 MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000 84 MX53_PAD_KEY_R 84 MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000 85 MX53_PAD_KEY_C 85 MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000 86 MX53_PAD_KEY_R 86 MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000 87 >; 87 >; 88 }; 88 }; 89 89 90 pinctrl_can1: can1grp { 90 pinctrl_can1: can1grp { 91 fsl,pins = < 91 fsl,pins = < 92 MX53_PAD_KEY_C 92 MX53_PAD_KEY_COL2__CAN1_TXCAN 0x80000000 93 MX53_PAD_KEY_R 93 MX53_PAD_KEY_ROW2__CAN1_RXCAN 0x80000000 94 >; 94 >; 95 }; 95 }; 96 96 97 pinctrl_can2: can2grp { 97 pinctrl_can2: can2grp { 98 fsl,pins = < 98 fsl,pins = < 99 MX53_PAD_KEY_C 99 MX53_PAD_KEY_COL4__CAN2_TXCAN 0x80000000 100 MX53_PAD_KEY_R 100 MX53_PAD_KEY_ROW4__CAN2_RXCAN 0x80000000 101 >; 101 >; 102 }; 102 }; 103 103 104 pinctrl_cspi: cspigrp { 104 pinctrl_cspi: cspigrp { 105 fsl,pins = < 105 fsl,pins = < 106 MX53_PAD_SD1_D 106 MX53_PAD_SD1_DATA0__CSPI_MISO 0x1d5 107 MX53_PAD_SD1_C 107 MX53_PAD_SD1_CMD__CSPI_MOSI 0x1d5 108 MX53_PAD_SD1_C 108 MX53_PAD_SD1_CLK__CSPI_SCLK 0x1d5 109 >; 109 >; 110 }; 110 }; 111 111 112 pinctrl_ecspi1: ecspi1grp { 112 pinctrl_ecspi1: ecspi1grp { 113 fsl,pins = < 113 fsl,pins = < 114 MX53_PAD_EIM_D 114 MX53_PAD_EIM_D16__ECSPI1_SCLK 0x80000000 115 MX53_PAD_EIM_D 115 MX53_PAD_EIM_D17__ECSPI1_MISO 0x80000000 116 MX53_PAD_EIM_D 116 MX53_PAD_EIM_D18__ECSPI1_MOSI 0x80000000 117 >; 117 >; 118 }; 118 }; 119 119 120 pinctrl_esdhc2: esdhc2grp { 120 pinctrl_esdhc2: esdhc2grp { 121 fsl,pins = < 121 fsl,pins = < 122 MX53_PAD_SD2_C 122 MX53_PAD_SD2_CMD__ESDHC2_CMD 0x1d5 123 MX53_PAD_SD2_C 123 MX53_PAD_SD2_CLK__ESDHC2_CLK 0x1d5 124 MX53_PAD_SD2_D 124 MX53_PAD_SD2_DATA0__ESDHC2_DAT0 0x1d5 125 MX53_PAD_SD2_D 125 MX53_PAD_SD2_DATA1__ESDHC2_DAT1 0x1d5 126 MX53_PAD_SD2_D 126 MX53_PAD_SD2_DATA2__ESDHC2_DAT2 0x1d5 127 MX53_PAD_SD2_D 127 MX53_PAD_SD2_DATA3__ESDHC2_DAT3 0x1d5 128 >; 128 >; 129 }; 129 }; 130 130 131 pinctrl_esdhc2_cdwp: esdhc2cdw 131 pinctrl_esdhc2_cdwp: esdhc2cdwp { 132 fsl,pins = < 132 fsl,pins = < 133 MX53_PAD_GPIO_ 133 MX53_PAD_GPIO_4__GPIO1_4 0x80000000 /* SD2_CD */ 134 MX53_PAD_GPIO_ 134 MX53_PAD_GPIO_2__GPIO1_2 0x80000000 /* SD2_WP */ 135 >; 135 >; 136 }; 136 }; 137 137 138 pinctrl_esdhc3: esdhc3grp { 138 pinctrl_esdhc3: esdhc3grp { 139 fsl,pins = < 139 fsl,pins = < 140 MX53_PAD_PATA_ 140 MX53_PAD_PATA_DATA8__ESDHC3_DAT0 0x1d5 141 MX53_PAD_PATA_ 141 MX53_PAD_PATA_DATA9__ESDHC3_DAT1 0x1d5 142 MX53_PAD_PATA_ 142 MX53_PAD_PATA_DATA10__ESDHC3_DAT2 0x1d5 143 MX53_PAD_PATA_ 143 MX53_PAD_PATA_DATA11__ESDHC3_DAT3 0x1d5 144 MX53_PAD_PATA_ 144 MX53_PAD_PATA_DATA0__ESDHC3_DAT4 0x1d5 145 MX53_PAD_PATA_ 145 MX53_PAD_PATA_DATA1__ESDHC3_DAT5 0x1d5 146 MX53_PAD_PATA_ 146 MX53_PAD_PATA_DATA2__ESDHC3_DAT6 0x1d5 147 MX53_PAD_PATA_ 147 MX53_PAD_PATA_DATA3__ESDHC3_DAT7 0x1d5 148 MX53_PAD_PATA_ 148 MX53_PAD_PATA_RESET_B__ESDHC3_CMD 0x1d5 149 MX53_PAD_PATA_ 149 MX53_PAD_PATA_IORDY__ESDHC3_CLK 0x1d5 150 >; 150 >; 151 }; 151 }; 152 152 153 pinctrl_fec: fecgrp { 153 pinctrl_fec: fecgrp { 154 fsl,pins = < 154 fsl,pins = < 155 MX53_PAD_FEC_M 155 MX53_PAD_FEC_MDC__FEC_MDC 0x80000000 156 MX53_PAD_FEC_M 156 MX53_PAD_FEC_MDIO__FEC_MDIO 0x80000000 157 MX53_PAD_FEC_R 157 MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x80000000 158 MX53_PAD_FEC_R 158 MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x80000000 159 MX53_PAD_FEC_C 159 MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x80000000 160 MX53_PAD_FEC_R 160 MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x80000000 161 MX53_PAD_FEC_R 161 MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x80000000 162 MX53_PAD_FEC_T 162 MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 163 MX53_PAD_FEC_T 163 MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x80000000 164 MX53_PAD_FEC_T 164 MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 165 >; 165 >; 166 }; 166 }; 167 167 168 pinctrl_i2c2: i2c2grp { 168 pinctrl_i2c2: i2c2grp { 169 fsl,pins = < 169 fsl,pins = < 170 MX53_PAD_KEY_R 170 MX53_PAD_KEY_ROW3__I2C2_SDA 0xc0000000 171 MX53_PAD_KEY_C 171 MX53_PAD_KEY_COL3__I2C2_SCL 0xc0000000 172 >; 172 >; 173 }; 173 }; 174 174 175 pinctrl_i2c3: i2c3grp { 175 pinctrl_i2c3: i2c3grp { 176 fsl,pins = < 176 fsl,pins = < 177 MX53_PAD_GPIO_ 177 MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000 178 MX53_PAD_GPIO_ 178 MX53_PAD_GPIO_5__I2C3_SCL 0xc0000000 179 >; 179 >; 180 }; 180 }; 181 181 182 pinctrl_uart1: uart1grp { 182 pinctrl_uart1: uart1grp { 183 fsl,pins = < 183 fsl,pins = < 184 MX53_PAD_PATA_ 184 MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4 185 MX53_PAD_PATA_ 185 MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4 186 >; 186 >; 187 }; 187 }; 188 188 189 pinctrl_uart2: uart2grp { 189 pinctrl_uart2: uart2grp { 190 fsl,pins = < 190 fsl,pins = < 191 MX53_PAD_PATA_ 191 MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1e4 192 MX53_PAD_PATA_ 192 MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1e4 193 >; 193 >; 194 }; 194 }; 195 195 196 pinctrl_uart3: uart3grp { 196 pinctrl_uart3: uart3grp { 197 fsl,pins = < 197 fsl,pins = < 198 MX53_PAD_PATA_ 198 MX53_PAD_PATA_CS_0__UART3_TXD_MUX 0x1e4 199 MX53_PAD_PATA_ 199 MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4 200 >; 200 >; 201 }; 201 }; 202 }; 202 }; 203 }; 203 }; 204 204 205 &uart1 { 205 &uart1 { 206 pinctrl-names = "default"; 206 pinctrl-names = "default"; 207 pinctrl-0 = <&pinctrl_uart1>; 207 pinctrl-0 = <&pinctrl_uart1>; 208 uart-has-rtscts; 208 uart-has-rtscts; 209 status = "disabled"; 209 status = "disabled"; 210 }; 210 }; 211 211 212 &uart2 { 212 &uart2 { 213 pinctrl-names = "default"; 213 pinctrl-names = "default"; 214 pinctrl-0 = <&pinctrl_uart2>; 214 pinctrl-0 = <&pinctrl_uart2>; 215 status = "disabled"; 215 status = "disabled"; 216 }; 216 }; 217 217 218 &can1 { 218 &can1 { 219 pinctrl-names = "default"; 219 pinctrl-names = "default"; 220 pinctrl-0 = <&pinctrl_can1>; 220 pinctrl-0 = <&pinctrl_can1>; 221 status = "disabled"; 221 status = "disabled"; 222 }; 222 }; 223 223 224 &can2 { 224 &can2 { 225 pinctrl-names = "default"; 225 pinctrl-names = "default"; 226 pinctrl-0 = <&pinctrl_can2>; 226 pinctrl-0 = <&pinctrl_can2>; 227 status = "disabled"; 227 status = "disabled"; 228 }; 228 }; 229 229 230 &i2c3 { 230 &i2c3 { 231 pinctrl-names = "default"; 231 pinctrl-names = "default"; 232 pinctrl-0 = <&pinctrl_i2c3>; 232 pinctrl-0 = <&pinctrl_i2c3>; 233 status = "disabled"; 233 status = "disabled"; 234 }; 234 }; 235 235 236 &cspi { 236 &cspi { 237 pinctrl-names = "default"; 237 pinctrl-names = "default"; 238 pinctrl-0 = <&pinctrl_cspi>; 238 pinctrl-0 = <&pinctrl_cspi>; 239 cs-gpios = <&gpio1 18 GPIO_ACTIVE_LOW> 239 cs-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>, <&gpio1 19 GPIO_ACTIVE_LOW>, 240 <&gpio1 21 GPIO_ACTIVE_LOW> 240 <&gpio1 21 GPIO_ACTIVE_LOW>; 241 status = "disabled"; 241 status = "disabled"; 242 }; 242 }; 243 243 244 &i2c2 { 244 &i2c2 { 245 pinctrl-names = "default"; 245 pinctrl-names = "default"; 246 pinctrl-0 = <&pinctrl_i2c2>; 246 pinctrl-0 = <&pinctrl_i2c2>; 247 status = "okay"; 247 status = "okay"; 248 248 249 pmic: mc34708@8 { 249 pmic: mc34708@8 { 250 compatible = "fsl,mc34708"; 250 compatible = "fsl,mc34708"; 251 reg = <0x8>; 251 reg = <0x8>; 252 fsl,mc13xxx-uses-rtc; 252 fsl,mc13xxx-uses-rtc; 253 interrupt-parent = <&gpio2>; 253 interrupt-parent = <&gpio2>; 254 interrupts = <6 4>; /* PATA_DA 254 interrupts = <6 4>; /* PATA_DATA6, active high */ 255 }; 255 }; 256 256 257 sensor1: temperature-sensor@48 { 257 sensor1: temperature-sensor@48 { 258 compatible = "national,lm75b"; 258 compatible = "national,lm75b"; 259 reg = <0x48>; 259 reg = <0x48>; 260 }; 260 }; 261 261 262 eeprom: eeprom@50 { 262 eeprom: eeprom@50 { 263 compatible = "atmel,24c64"; 263 compatible = "atmel,24c64"; 264 pagesize = <32>; 264 pagesize = <32>; 265 reg = <0x50>; 265 reg = <0x50>; 266 }; 266 }; 267 }; 267 }; 268 268 269 &fec { 269 &fec { 270 pinctrl-names = "default"; 270 pinctrl-names = "default"; 271 pinctrl-0 = <&pinctrl_fec>; 271 pinctrl-0 = <&pinctrl_fec>; 272 phy-mode = "rmii"; 272 phy-mode = "rmii"; 273 status = "disabled"; 273 status = "disabled"; 274 }; 274 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.