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 | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 63 | 1149 0x80000000 /* MX53_PAD_GPIO_16__GPIO7_11 */ |
Fabio Estevam | e9dc615 | 2012-09-26 20:27:35 -0300 | [diff] [blame] | 64 | >; |
| 65 | }; |
| 66 | |
| 67 | led_pin_gpio7_7: led_gpio7_7@0 { |
| 68 | fsl,pins = < |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 69 | 873 0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */ |
| 70 | >; |
| 71 | }; |
| 72 | }; |
Fabio Estevam | e9dc615 | 2012-09-26 20:27:35 -0300 | [diff] [blame] | 73 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 74 | }; |
| 75 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 76 | uart1: serial@53fbc000 { |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 77 | pinctrl-names = "default"; |
| 78 | pinctrl-0 = <&pinctrl_uart1_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 79 | status = "okay"; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | aips@60000000 { /* AIPS2 */ |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 84 | i2c@63fc4000 { /* I2C2 */ |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 85 | pinctrl-names = "default"; |
| 86 | pinctrl-0 = <&pinctrl_i2c2_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 87 | status = "okay"; |
| 88 | |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 89 | sgtl5000: codec@0a { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 90 | compatible = "fsl,sgtl5000"; |
| 91 | reg = <0x0a>; |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 92 | VDDA-supply = <®_3p2v>; |
| 93 | VDDIO-supply = <®_3p2v>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 94 | }; |
| 95 | }; |
| 96 | |
| 97 | i2c@63fc8000 { /* I2C1 */ |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 98 | pinctrl-names = "default"; |
| 99 | pinctrl-0 = <&pinctrl_i2c1_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 100 | status = "okay"; |
| 101 | |
| 102 | accelerometer: mma8450@1c { |
| 103 | compatible = "fsl,mma8450"; |
| 104 | reg = <0x1c>; |
| 105 | }; |
| 106 | |
| 107 | pmic: dialog@48 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 108 | compatible = "dlg,da9053-aa", "dlg,da9052"; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 109 | reg = <0x48>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 110 | interrupt-parent = <&gpio7>; |
| 111 | interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */ |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 112 | |
| 113 | regulators { |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 114 | buck1_reg: buck1 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 115 | regulator-min-microvolt = <500000>; |
| 116 | regulator-max-microvolt = <2075000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 117 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 118 | }; |
| 119 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 120 | buck2_reg: buck2 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 121 | regulator-min-microvolt = <500000>; |
| 122 | regulator-max-microvolt = <2075000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 123 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 124 | }; |
| 125 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 126 | buck3_reg: buck3 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 127 | regulator-min-microvolt = <925000>; |
| 128 | regulator-max-microvolt = <2500000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 129 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 130 | }; |
| 131 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 132 | buck4_reg: buck4 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 133 | regulator-min-microvolt = <925000>; |
| 134 | regulator-max-microvolt = <2500000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 135 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 136 | }; |
| 137 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 138 | ldo1_reg: ldo1 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 139 | regulator-min-microvolt = <600000>; |
| 140 | regulator-max-microvolt = <1800000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 141 | regulator-boot-on; |
| 142 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 143 | }; |
| 144 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 145 | ldo2_reg: ldo2 { |
| 146 | regulator-min-microvolt = <600000>; |
| 147 | regulator-max-microvolt = <1800000>; |
| 148 | regulator-always-on; |
| 149 | }; |
| 150 | |
| 151 | ldo3_reg: ldo3 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 152 | regulator-min-microvolt = <600000>; |
| 153 | regulator-max-microvolt = <1800000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 154 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 155 | }; |
| 156 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 157 | ldo4_reg: ldo4 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 158 | regulator-min-microvolt = <1725000>; |
| 159 | regulator-max-microvolt = <3300000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 160 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 161 | }; |
| 162 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 163 | ldo5_reg: ldo5 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 164 | regulator-min-microvolt = <1725000>; |
| 165 | regulator-max-microvolt = <3300000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 166 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 167 | }; |
| 168 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 169 | ldo6_reg: ldo6 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 170 | regulator-min-microvolt = <1200000>; |
| 171 | regulator-max-microvolt = <3600000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 172 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 173 | }; |
| 174 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 175 | ldo7_reg: ldo7 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 176 | regulator-min-microvolt = <1200000>; |
| 177 | regulator-max-microvolt = <3600000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 178 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 179 | }; |
| 180 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 181 | ldo8_reg: ldo8 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 182 | regulator-min-microvolt = <1200000>; |
| 183 | regulator-max-microvolt = <3600000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 184 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 185 | }; |
| 186 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 187 | ldo9_reg: ldo9 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 188 | regulator-min-microvolt = <1200000>; |
| 189 | regulator-max-microvolt = <3600000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 190 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 191 | }; |
| 192 | |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 193 | ldo10_reg: ldo10 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 194 | regulator-min-microvolt = <1250000>; |
| 195 | regulator-max-microvolt = <3650000>; |
Fabio Estevam | 2a32467 | 2012-09-26 20:27:36 -0300 | [diff] [blame] | 196 | regulator-always-on; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 197 | }; |
| 198 | }; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 199 | }; |
| 200 | }; |
| 201 | |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 202 | audmux@63fd0000 { |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 203 | pinctrl-names = "default"; |
| 204 | pinctrl-0 = <&pinctrl_audmux_1>; |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 205 | status = "okay"; |
| 206 | }; |
| 207 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 208 | ethernet@63fec000 { |
Shawn Guo | 5be03a7 | 2012-08-12 20:02:10 +0800 | [diff] [blame] | 209 | pinctrl-names = "default"; |
| 210 | pinctrl-0 = <&pinctrl_fec_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 211 | phy-mode = "rmii"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 212 | phy-reset-gpios = <&gpio7 6 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 213 | status = "okay"; |
| 214 | }; |
| 215 | }; |
| 216 | }; |
| 217 | |
| 218 | gpio-keys { |
| 219 | compatible = "gpio-keys"; |
| 220 | |
| 221 | power { |
| 222 | label = "Power Button"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 223 | gpios = <&gpio1 8 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 224 | linux,code = <116>; /* KEY_POWER */ |
| 225 | gpio-key,wakeup; |
| 226 | }; |
| 227 | |
| 228 | volume-up { |
| 229 | label = "Volume Up"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 230 | gpios = <&gpio2 14 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 231 | linux,code = <115>; /* KEY_VOLUMEUP */ |
| 232 | }; |
| 233 | |
| 234 | volume-down { |
| 235 | label = "Volume Down"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 236 | gpios = <&gpio2 15 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 237 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
| 238 | }; |
| 239 | }; |
| 240 | |
| 241 | leds { |
| 242 | compatible = "gpio-leds"; |
Fabio Estevam | e9dc615 | 2012-09-26 20:27:35 -0300 | [diff] [blame] | 243 | pinctrl-names = "default"; |
| 244 | pinctrl-0 = <&led_pin_gpio7_7>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 245 | |
| 246 | user { |
| 247 | label = "Heartbeat"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 248 | gpios = <&gpio7 7 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 249 | linux,default-trigger = "heartbeat"; |
| 250 | }; |
| 251 | }; |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame] | 252 | |
| 253 | regulators { |
| 254 | compatible = "simple-bus"; |
| 255 | |
| 256 | reg_3p2v: 3p2v { |
| 257 | compatible = "regulator-fixed"; |
| 258 | regulator-name = "3P2V"; |
| 259 | regulator-min-microvolt = <3200000>; |
| 260 | regulator-max-microvolt = <3200000>; |
| 261 | regulator-always-on; |
| 262 | }; |
| 263 | }; |
| 264 | |
| 265 | sound { |
| 266 | compatible = "fsl,imx53-qsb-sgtl5000", |
| 267 | "fsl,imx-audio-sgtl5000"; |
| 268 | model = "imx53-qsb-sgtl5000"; |
| 269 | ssi-controller = <&ssi2>; |
| 270 | audio-codec = <&sgtl5000>; |
| 271 | audio-routing = |
| 272 | "MIC_IN", "Mic Jack", |
| 273 | "Mic Jack", "Mic Bias", |
| 274 | "Headphone Jack", "HP_OUT"; |
| 275 | mux-int-port = <2>; |
| 276 | mux-ext-port = <5>; |
| 277 | }; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 278 | }; |