Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2011 Linaro Ltd. |
| 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 | |
| 13 | /dts-v1/; |
| 14 | /include/ "imx53.dtsi" |
| 15 | |
| 16 | / { |
| 17 | model = "Freescale i.MX53 Quick Start Board"; |
| 18 | compatible = "fsl,imx53-qsb", "fsl,imx53"; |
| 19 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 20 | memory { |
| 21 | reg = <0x70000000 0x40000000>; |
| 22 | }; |
| 23 | |
| 24 | soc { |
| 25 | aips@50000000 { /* AIPS1 */ |
| 26 | spba@50000000 { |
| 27 | esdhc@50004000 { /* ESDHC1 */ |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 28 | pinctrl-names = "default"; |
| 29 | pinctrl-0 = <&pinctrl_esdhc1_1>; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 30 | cd-gpios = <&gpio3 13 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 31 | status = "okay"; |
| 32 | }; |
| 33 | |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 34 | ssi2: ssi@50014000 { |
| 35 | fsl,mode = "i2s-slave"; |
| 36 | status = "okay"; |
| 37 | }; |
| 38 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 39 | esdhc@50020000 { /* ESDHC3 */ |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 40 | pinctrl-names = "default"; |
| 41 | pinctrl-0 = <&pinctrl_esdhc3_1>; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 42 | cd-gpios = <&gpio3 11 0>; |
| 43 | wp-gpios = <&gpio3 12 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 44 | status = "okay"; |
| 45 | }; |
| 46 | }; |
| 47 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 48 | iomuxc@53fa8000 { |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 49 | pinctrl-names = "default"; |
| 50 | pinctrl-0 = <&pinctrl_hog>; |
| 51 | |
| 52 | hog { |
| 53 | pinctrl_hog: hoggrp { |
| 54 | fsl,pins = < |
| 55 | 1071 0x80000000 /* MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK */ |
| 56 | 1141 0x80000000 /* MX53_PAD_GPIO_8__GPIO1_8 */ |
| 57 | 982 0x80000000 /* MX53_PAD_PATA_DATA14__GPIO2_14 */ |
| 58 | 989 0x80000000 /* MX53_PAD_PATA_DATA15__GPIO2_15 */ |
| 59 | 693 0x80000000 /* MX53_PAD_EIM_DA11__GPIO3_11 */ |
| 60 | 697 0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */ |
| 61 | 701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */ |
| 62 | 868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */ |
Fabio Estevam | e9dc615 | 2012-09-26 20:27:35 -0300 | [diff] [blame^] | 63 | >; |
| 64 | }; |
| 65 | |
| 66 | led_pin_gpio7_7: led_gpio7_7@0 { |
| 67 | fsl,pins = < |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 68 | 873 0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */ |
| 69 | >; |
| 70 | }; |
| 71 | }; |
Fabio Estevam | e9dc615 | 2012-09-26 20:27:35 -0300 | [diff] [blame^] | 72 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 73 | }; |
| 74 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 75 | uart1: serial@53fbc000 { |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 76 | pinctrl-names = "default"; |
| 77 | pinctrl-0 = <&pinctrl_uart1_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 78 | status = "okay"; |
| 79 | }; |
| 80 | }; |
| 81 | |
| 82 | aips@60000000 { /* AIPS2 */ |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 83 | i2c@63fc4000 { /* I2C2 */ |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 84 | pinctrl-names = "default"; |
| 85 | pinctrl-0 = <&pinctrl_i2c2_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 86 | status = "okay"; |
| 87 | |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 88 | sgtl5000: codec@0a { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 89 | compatible = "fsl,sgtl5000"; |
| 90 | reg = <0x0a>; |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 91 | VDDA-supply = <®_3p2v>; |
| 92 | VDDIO-supply = <®_3p2v>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 93 | }; |
| 94 | }; |
| 95 | |
| 96 | i2c@63fc8000 { /* I2C1 */ |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 97 | pinctrl-names = "default"; |
| 98 | pinctrl-0 = <&pinctrl_i2c1_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 99 | status = "okay"; |
| 100 | |
| 101 | accelerometer: mma8450@1c { |
| 102 | compatible = "fsl,mma8450"; |
| 103 | reg = <0x1c>; |
| 104 | }; |
| 105 | |
| 106 | pmic: dialog@48 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 107 | compatible = "dlg,da9053-aa", "dlg,da9052"; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 108 | reg = <0x48>; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 109 | |
| 110 | regulators { |
| 111 | buck0 { |
| 112 | regulator-min-microvolt = <500000>; |
| 113 | regulator-max-microvolt = <2075000>; |
| 114 | }; |
| 115 | |
| 116 | buck1 { |
| 117 | regulator-min-microvolt = <500000>; |
| 118 | regulator-max-microvolt = <2075000>; |
| 119 | }; |
| 120 | |
| 121 | buck2 { |
| 122 | regulator-min-microvolt = <925000>; |
| 123 | regulator-max-microvolt = <2500000>; |
| 124 | }; |
| 125 | |
| 126 | buck3 { |
| 127 | regulator-min-microvolt = <925000>; |
| 128 | regulator-max-microvolt = <2500000>; |
| 129 | }; |
| 130 | |
| 131 | ldo4 { |
| 132 | regulator-min-microvolt = <600000>; |
| 133 | regulator-max-microvolt = <1800000>; |
| 134 | }; |
| 135 | |
| 136 | ldo5 { |
| 137 | regulator-min-microvolt = <600000>; |
| 138 | regulator-max-microvolt = <1800000>; |
| 139 | }; |
| 140 | |
| 141 | ldo6 { |
| 142 | regulator-min-microvolt = <1725000>; |
| 143 | regulator-max-microvolt = <3300000>; |
| 144 | }; |
| 145 | |
| 146 | ldo7 { |
| 147 | regulator-min-microvolt = <1725000>; |
| 148 | regulator-max-microvolt = <3300000>; |
| 149 | }; |
| 150 | |
| 151 | ldo8 { |
| 152 | regulator-min-microvolt = <1200000>; |
| 153 | regulator-max-microvolt = <3600000>; |
| 154 | }; |
| 155 | |
| 156 | ldo9 { |
| 157 | regulator-min-microvolt = <1200000>; |
| 158 | regulator-max-microvolt = <3600000>; |
| 159 | }; |
| 160 | |
| 161 | ldo10 { |
| 162 | regulator-min-microvolt = <1200000>; |
| 163 | regulator-max-microvolt = <3600000>; |
| 164 | }; |
| 165 | |
| 166 | ldo11 { |
| 167 | regulator-min-microvolt = <1200000>; |
| 168 | regulator-max-microvolt = <3600000>; |
| 169 | }; |
| 170 | |
| 171 | ldo12 { |
| 172 | regulator-min-microvolt = <1250000>; |
| 173 | regulator-max-microvolt = <3650000>; |
| 174 | }; |
| 175 | |
| 176 | ldo13 { |
| 177 | regulator-min-microvolt = <1200000>; |
| 178 | regulator-max-microvolt = <3600000>; |
| 179 | }; |
| 180 | }; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 181 | }; |
| 182 | }; |
| 183 | |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 184 | audmux@63fd0000 { |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 185 | pinctrl-names = "default"; |
| 186 | pinctrl-0 = <&pinctrl_audmux_1>; |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 187 | status = "okay"; |
| 188 | }; |
| 189 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 190 | ethernet@63fec000 { |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 191 | pinctrl-names = "default"; |
| 192 | pinctrl-0 = <&pinctrl_fec_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 193 | phy-mode = "rmii"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 194 | phy-reset-gpios = <&gpio7 6 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 195 | status = "okay"; |
| 196 | }; |
| 197 | }; |
| 198 | }; |
| 199 | |
| 200 | gpio-keys { |
| 201 | compatible = "gpio-keys"; |
| 202 | |
| 203 | power { |
| 204 | label = "Power Button"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 205 | gpios = <&gpio1 8 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 206 | linux,code = <116>; /* KEY_POWER */ |
| 207 | gpio-key,wakeup; |
| 208 | }; |
| 209 | |
| 210 | volume-up { |
| 211 | label = "Volume Up"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 212 | gpios = <&gpio2 14 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 213 | linux,code = <115>; /* KEY_VOLUMEUP */ |
| 214 | }; |
| 215 | |
| 216 | volume-down { |
| 217 | label = "Volume Down"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 218 | gpios = <&gpio2 15 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 219 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
| 220 | }; |
| 221 | }; |
| 222 | |
| 223 | leds { |
| 224 | compatible = "gpio-leds"; |
Fabio Estevam | e9dc615 | 2012-09-26 20:27:35 -0300 | [diff] [blame^] | 225 | pinctrl-names = "default"; |
| 226 | pinctrl-0 = <&led_pin_gpio7_7>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 227 | |
| 228 | user { |
| 229 | label = "Heartbeat"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 230 | gpios = <&gpio7 7 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 231 | linux,default-trigger = "heartbeat"; |
| 232 | }; |
| 233 | }; |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 234 | |
| 235 | regulators { |
| 236 | compatible = "simple-bus"; |
| 237 | |
| 238 | reg_3p2v: 3p2v { |
| 239 | compatible = "regulator-fixed"; |
| 240 | regulator-name = "3P2V"; |
| 241 | regulator-min-microvolt = <3200000>; |
| 242 | regulator-max-microvolt = <3200000>; |
| 243 | regulator-always-on; |
| 244 | }; |
| 245 | }; |
| 246 | |
| 247 | sound { |
| 248 | compatible = "fsl,imx53-qsb-sgtl5000", |
| 249 | "fsl,imx-audio-sgtl5000"; |
| 250 | model = "imx53-qsb-sgtl5000"; |
| 251 | ssi-controller = <&ssi2>; |
| 252 | audio-codec = <&sgtl5000>; |
| 253 | audio-routing = |
| 254 | "MIC_IN", "Mic Jack", |
| 255 | "Mic Jack", "Mic Bias", |
| 256 | "Headphone Jack", "HP_OUT"; |
| 257 | mux-int-port = <2>; |
| 258 | mux-ext-port = <5>; |
| 259 | }; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 260 | }; |