Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix |
| 3 | * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix |
| 4 | * |
| 5 | * The code contained herein is licensed under the GNU General Public |
| 6 | * License. You may obtain a copy of the GNU General Public License |
| 7 | * Version 2 or later at the following locations: |
| 8 | * |
| 9 | * http://www.opensource.org/licenses/gpl-license.html |
| 10 | * http://www.gnu.org/copyleft/gpl.html |
| 11 | */ |
| 12 | |
Shawn Guo | 36dffd8 | 2013-04-07 10:49:34 +0800 | [diff] [blame] | 13 | #include "imx53.dtsi" |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "TQ TQMa53"; |
| 17 | compatible = "tq,tqma53", "fsl,imx53"; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x70000000 0x40000000>; /* Up to 1GiB */ |
| 21 | }; |
| 22 | |
| 23 | regulators { |
| 24 | compatible = "simple-bus"; |
| 25 | |
| 26 | reg_3p3v: 3p3v { |
| 27 | compatible = "regulator-fixed"; |
| 28 | regulator-name = "3P3V"; |
| 29 | regulator-min-microvolt = <3300000>; |
| 30 | regulator-max-microvolt = <3300000>; |
| 31 | regulator-always-on; |
| 32 | }; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | &esdhc2 { |
| 37 | pinctrl-names = "default"; |
Steffen Trumtrar | 1cbf45e | 2013-06-06 11:49:36 +0200 | [diff] [blame] | 38 | pinctrl-0 = <&pinctrl_esdhc2_1>, |
| 39 | <&pinctrl_tqma53_esdhc2_2>; |
| 40 | vmmc-supply = <®_3p3v>; |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 41 | wp-gpios = <&gpio1 2 0>; |
| 42 | cd-gpios = <&gpio1 4 0>; |
| 43 | status = "disabled"; |
| 44 | }; |
| 45 | |
| 46 | &uart3 { |
| 47 | pinctrl-names = "default"; |
| 48 | pinctrl-0 = <&pinctrl_uart3_2>; |
| 49 | status = "disabled"; |
| 50 | }; |
| 51 | |
| 52 | &ecspi1 { |
| 53 | pinctrl-names = "default"; |
| 54 | pinctrl-0 = <&pinctrl_ecspi1_1>; |
| 55 | fsl,spi-num-chipselects = <4>; |
| 56 | cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>, |
| 57 | <&gpio3 24 0>, <&gpio3 25 0>; |
| 58 | status = "disabled"; |
| 59 | }; |
| 60 | |
| 61 | &esdhc3 { /* EMMC */ |
| 62 | pinctrl-names = "default"; |
| 63 | pinctrl-0 = <&pinctrl_esdhc3_1>; |
| 64 | vmmc-supply = <®_3p3v>; |
| 65 | non-removable; |
| 66 | bus-width = <8>; |
| 67 | status = "okay"; |
| 68 | }; |
| 69 | |
| 70 | &iomuxc { |
| 71 | pinctrl-names = "default"; |
| 72 | pinctrl-0 = <&pinctrl_hog>; |
| 73 | |
Steffen Trumtrar | 1cbf45e | 2013-06-06 11:49:36 +0200 | [diff] [blame] | 74 | esdhc2_2 { |
| 75 | pinctrl_tqma53_esdhc2_2: esdhc2-tqma53-grp2 { |
| 76 | fsl,pins = < |
| 77 | MX53_PAD_GPIO_4__GPIO1_4 0x80000000 /* SD2_CD */ |
| 78 | MX53_PAD_GPIO_2__GPIO1_2 0x80000000 /* SD2_WP */ |
| 79 | >; |
| 80 | }; |
| 81 | }; |
| 82 | |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 83 | i2s { |
| 84 | pinctrl_i2s_1: i2s-grp1 { |
| 85 | fsl,pins = < |
Philipp Zabel | 87bcb12 | 2013-06-04 11:12:28 +0200 | [diff] [blame] | 86 | MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000 /* I2S_SCLK */ |
| 87 | MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000 /* I2S_DOUT */ |
| 88 | MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000 /* I2S_LRCLK */ |
| 89 | MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000 /* I2S_DIN */ |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 90 | >; |
| 91 | }; |
| 92 | }; |
| 93 | |
| 94 | hog { |
| 95 | pinctrl_hog: hoggrp { |
| 96 | fsl,pins = < |
Philipp Zabel | ce2c243c | 2013-06-04 11:12:29 +0200 | [diff] [blame] | 97 | MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000 /* SSI_MCLK */ |
Philipp Zabel | 87bcb12 | 2013-06-04 11:12:28 +0200 | [diff] [blame] | 98 | MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000 /* LCD_BLT_EN */ |
| 99 | MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000 /* LCD_RESET */ |
| 100 | MX53_PAD_PATA_DATA5__GPIO2_5 0x80000000 /* LCD_POWER */ |
| 101 | MX53_PAD_PATA_DATA6__GPIO2_6 0x80000000 /* PMIC_INT */ |
| 102 | MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000 /* CSI_RST */ |
| 103 | MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000 /* CSI_PWDN */ |
Philipp Zabel | ce2c243c | 2013-06-04 11:12:29 +0200 | [diff] [blame] | 104 | MX53_PAD_GPIO_19__GPIO4_5 0x80000000 /* #SYSTEM_DOWN */ |
Philipp Zabel | 87bcb12 | 2013-06-04 11:12:28 +0200 | [diff] [blame] | 105 | MX53_PAD_GPIO_3__GPIO1_3 0x80000000 |
Philipp Zabel | ce2c243c | 2013-06-04 11:12:29 +0200 | [diff] [blame] | 106 | MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 /* #PHY_RESET */ |
| 107 | MX53_PAD_GPIO_1__PWM2_PWMO 0x80000000 /* LCD_CONTRAST */ |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 108 | >; |
| 109 | }; |
| 110 | }; |
| 111 | }; |
| 112 | |
| 113 | &uart1 { |
| 114 | pinctrl-names = "default"; |
| 115 | pinctrl-0 = <&pinctrl_uart1_2>; |
| 116 | fsl,uart-has-rtscts; |
| 117 | status = "disabled"; |
| 118 | }; |
| 119 | |
| 120 | &uart2 { |
| 121 | pinctrl-names = "default"; |
| 122 | pinctrl-0 = <&pinctrl_uart2_1>; |
| 123 | status = "disabled"; |
| 124 | }; |
| 125 | |
| 126 | &can1 { |
| 127 | pinctrl-names = "default"; |
| 128 | pinctrl-0 = <&pinctrl_can1_2>; |
| 129 | status = "disabled"; |
| 130 | }; |
| 131 | |
| 132 | &can2 { |
| 133 | pinctrl-names = "default"; |
| 134 | pinctrl-0 = <&pinctrl_can2_1>; |
| 135 | status = "disabled"; |
| 136 | }; |
| 137 | |
| 138 | &i2c3 { |
| 139 | pinctrl-names = "default"; |
| 140 | pinctrl-0 = <&pinctrl_i2c3_1>; |
| 141 | status = "disabled"; |
| 142 | }; |
| 143 | |
| 144 | &cspi { |
| 145 | pinctrl-names = "default"; |
| 146 | pinctrl-0 = <&pinctrl_cspi_1>; |
| 147 | fsl,spi-num-chipselects = <3>; |
| 148 | cs-gpios = <&gpio1 18 0>, <&gpio1 19 0>, |
| 149 | <&gpio1 21 0>; |
| 150 | status = "disabled"; |
| 151 | }; |
| 152 | |
| 153 | &i2c2 { |
| 154 | pinctrl-names = "default"; |
| 155 | pinctrl-0 = <&pinctrl_i2c2_1>; |
| 156 | status = "okay"; |
| 157 | |
| 158 | pmic: mc34708@8 { |
| 159 | compatible = "fsl,mc34708"; |
| 160 | reg = <0x8>; |
| 161 | fsl,mc13xxx-uses-rtc; |
| 162 | interrupt-parent = <&gpio2>; |
Sascha Hauer | 1aa6f57 | 2013-06-04 11:12:27 +0200 | [diff] [blame] | 163 | interrupts = <6 4>; /* PATA_DATA6, active high */ |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 164 | }; |
| 165 | |
| 166 | sensor1: lm75@48 { |
| 167 | compatible = "lm75"; |
| 168 | reg = <0x48>; |
| 169 | }; |
| 170 | |
| 171 | eeprom: 24c64@50 { |
| 172 | compatible = "at,24c64"; |
| 173 | pagesize = <32>; |
| 174 | reg = <0x50>; |
| 175 | }; |
| 176 | }; |
| 177 | |
| 178 | &fec { |
| 179 | pinctrl-names = "default"; |
| 180 | pinctrl-0 = <&pinctrl_fec_1>; |
| 181 | phy-mode = "rmii"; |
| 182 | status = "disabled"; |
| 183 | }; |