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"; |
| 38 | pinctrl-0 = <&pinctrl_esdhc2_1>; |
| 39 | wp-gpios = <&gpio1 2 0>; |
| 40 | cd-gpios = <&gpio1 4 0>; |
| 41 | status = "disabled"; |
| 42 | }; |
| 43 | |
| 44 | &uart3 { |
| 45 | pinctrl-names = "default"; |
| 46 | pinctrl-0 = <&pinctrl_uart3_2>; |
| 47 | status = "disabled"; |
| 48 | }; |
| 49 | |
| 50 | &ecspi1 { |
| 51 | pinctrl-names = "default"; |
| 52 | pinctrl-0 = <&pinctrl_ecspi1_1>; |
| 53 | fsl,spi-num-chipselects = <4>; |
| 54 | cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>, |
| 55 | <&gpio3 24 0>, <&gpio3 25 0>; |
| 56 | status = "disabled"; |
| 57 | }; |
| 58 | |
| 59 | &esdhc3 { /* EMMC */ |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&pinctrl_esdhc3_1>; |
| 62 | vmmc-supply = <®_3p3v>; |
| 63 | non-removable; |
| 64 | bus-width = <8>; |
| 65 | status = "okay"; |
| 66 | }; |
| 67 | |
| 68 | &iomuxc { |
| 69 | pinctrl-names = "default"; |
| 70 | pinctrl-0 = <&pinctrl_hog>; |
| 71 | |
| 72 | i2s { |
| 73 | pinctrl_i2s_1: i2s-grp1 { |
| 74 | fsl,pins = < |
Philipp Zabel | 87bcb12 | 2013-06-04 11:12:28 +0200 | [diff] [blame^] | 75 | MX53_PAD_GPIO_19__GPIO4_5 0x80000000 /* I2S_MCLK */ |
| 76 | MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000 /* I2S_SCLK */ |
| 77 | MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000 /* I2S_DOUT */ |
| 78 | MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000 /* I2S_LRCLK */ |
| 79 | MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000 /* I2S_DIN */ |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 80 | >; |
| 81 | }; |
| 82 | }; |
| 83 | |
| 84 | hog { |
| 85 | pinctrl_hog: hoggrp { |
| 86 | fsl,pins = < |
Philipp Zabel | 87bcb12 | 2013-06-04 11:12:28 +0200 | [diff] [blame^] | 87 | MX53_PAD_EIM_CS1__IPU_DI1_PIN6 0x80000000 /* VSYNC */ |
| 88 | MX53_PAD_EIM_DA15__IPU_DI1_PIN4 0x80000000 /* HSYNC */ |
| 89 | MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000 /* LCD_BLT_EN */ |
| 90 | MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000 /* LCD_RESET */ |
| 91 | MX53_PAD_PATA_DATA5__GPIO2_5 0x80000000 /* LCD_POWER */ |
| 92 | MX53_PAD_PATA_DATA6__GPIO2_6 0x80000000 /* PMIC_INT */ |
| 93 | MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000 /* CSI_RST */ |
| 94 | MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000 /* CSI_PWDN */ |
| 95 | MX53_PAD_GPIO_0__GPIO1_0 0x80000000 /* SYSTEM_DOWN */ |
| 96 | MX53_PAD_GPIO_3__GPIO1_3 0x80000000 |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 97 | >; |
| 98 | }; |
| 99 | }; |
| 100 | }; |
| 101 | |
| 102 | &uart1 { |
| 103 | pinctrl-names = "default"; |
| 104 | pinctrl-0 = <&pinctrl_uart1_2>; |
| 105 | fsl,uart-has-rtscts; |
| 106 | status = "disabled"; |
| 107 | }; |
| 108 | |
| 109 | &uart2 { |
| 110 | pinctrl-names = "default"; |
| 111 | pinctrl-0 = <&pinctrl_uart2_1>; |
| 112 | status = "disabled"; |
| 113 | }; |
| 114 | |
| 115 | &can1 { |
| 116 | pinctrl-names = "default"; |
| 117 | pinctrl-0 = <&pinctrl_can1_2>; |
| 118 | status = "disabled"; |
| 119 | }; |
| 120 | |
| 121 | &can2 { |
| 122 | pinctrl-names = "default"; |
| 123 | pinctrl-0 = <&pinctrl_can2_1>; |
| 124 | status = "disabled"; |
| 125 | }; |
| 126 | |
| 127 | &i2c3 { |
| 128 | pinctrl-names = "default"; |
| 129 | pinctrl-0 = <&pinctrl_i2c3_1>; |
| 130 | status = "disabled"; |
| 131 | }; |
| 132 | |
| 133 | &cspi { |
| 134 | pinctrl-names = "default"; |
| 135 | pinctrl-0 = <&pinctrl_cspi_1>; |
| 136 | fsl,spi-num-chipselects = <3>; |
| 137 | cs-gpios = <&gpio1 18 0>, <&gpio1 19 0>, |
| 138 | <&gpio1 21 0>; |
| 139 | status = "disabled"; |
| 140 | }; |
| 141 | |
| 142 | &i2c2 { |
| 143 | pinctrl-names = "default"; |
| 144 | pinctrl-0 = <&pinctrl_i2c2_1>; |
| 145 | status = "okay"; |
| 146 | |
| 147 | pmic: mc34708@8 { |
| 148 | compatible = "fsl,mc34708"; |
| 149 | reg = <0x8>; |
| 150 | fsl,mc13xxx-uses-rtc; |
| 151 | interrupt-parent = <&gpio2>; |
Sascha Hauer | 1aa6f57 | 2013-06-04 11:12:27 +0200 | [diff] [blame] | 152 | interrupts = <6 4>; /* PATA_DATA6, active high */ |
Sascha Hauer | b17d516 | 2013-01-09 14:44:24 +0100 | [diff] [blame] | 153 | }; |
| 154 | |
| 155 | sensor1: lm75@48 { |
| 156 | compatible = "lm75"; |
| 157 | reg = <0x48>; |
| 158 | }; |
| 159 | |
| 160 | eeprom: 24c64@50 { |
| 161 | compatible = "at,24c64"; |
| 162 | pagesize = <32>; |
| 163 | reg = <0x50>; |
| 164 | }; |
| 165 | }; |
| 166 | |
| 167 | &fec { |
| 168 | pinctrl-names = "default"; |
| 169 | pinctrl-0 = <&pinctrl_fec_1>; |
| 170 | phy-mode = "rmii"; |
| 171 | status = "disabled"; |
| 172 | }; |