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 */ |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 28 | cd-gpios = <&gpio3 13 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 29 | status = "okay"; |
| 30 | }; |
| 31 | |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame^] | 32 | ssi2: ssi@50014000 { |
| 33 | fsl,mode = "i2s-slave"; |
| 34 | status = "okay"; |
| 35 | }; |
| 36 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 37 | esdhc@50020000 { /* ESDHC3 */ |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 38 | cd-gpios = <&gpio3 11 0>; |
| 39 | wp-gpios = <&gpio3 12 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 40 | status = "okay"; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | wdog@53f98000 { /* WDOG1 */ |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
| 48 | iomuxc@53fa8000 { |
| 49 | compatible = "fsl,imx53-iomuxc-qsb"; |
| 50 | reg = <0x53fa8000 0x4000>; |
| 51 | }; |
| 52 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 53 | uart1: serial@53fbc000 { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 54 | status = "okay"; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | aips@60000000 { /* AIPS2 */ |
| 59 | sdma@63fb0000 { |
| 60 | fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; |
| 61 | }; |
| 62 | |
| 63 | i2c@63fc4000 { /* I2C2 */ |
| 64 | status = "okay"; |
| 65 | |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame^] | 66 | sgtl5000: codec@0a { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 67 | compatible = "fsl,sgtl5000"; |
| 68 | reg = <0x0a>; |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame^] | 69 | VDDA-supply = <®_3p2v>; |
| 70 | VDDIO-supply = <®_3p2v>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 71 | }; |
| 72 | }; |
| 73 | |
| 74 | i2c@63fc8000 { /* I2C1 */ |
| 75 | status = "okay"; |
| 76 | |
| 77 | accelerometer: mma8450@1c { |
| 78 | compatible = "fsl,mma8450"; |
| 79 | reg = <0x1c>; |
| 80 | }; |
| 81 | |
| 82 | pmic: dialog@48 { |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 83 | compatible = "dlg,da9053-aa", "dlg,da9052"; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 84 | reg = <0x48>; |
Ying-Chun Liu (PaulLiu) | 41a0d3a | 2012-05-09 02:06:27 +0800 | [diff] [blame] | 85 | |
| 86 | regulators { |
| 87 | buck0 { |
| 88 | regulator-min-microvolt = <500000>; |
| 89 | regulator-max-microvolt = <2075000>; |
| 90 | }; |
| 91 | |
| 92 | buck1 { |
| 93 | regulator-min-microvolt = <500000>; |
| 94 | regulator-max-microvolt = <2075000>; |
| 95 | }; |
| 96 | |
| 97 | buck2 { |
| 98 | regulator-min-microvolt = <925000>; |
| 99 | regulator-max-microvolt = <2500000>; |
| 100 | }; |
| 101 | |
| 102 | buck3 { |
| 103 | regulator-min-microvolt = <925000>; |
| 104 | regulator-max-microvolt = <2500000>; |
| 105 | }; |
| 106 | |
| 107 | ldo4 { |
| 108 | regulator-min-microvolt = <600000>; |
| 109 | regulator-max-microvolt = <1800000>; |
| 110 | }; |
| 111 | |
| 112 | ldo5 { |
| 113 | regulator-min-microvolt = <600000>; |
| 114 | regulator-max-microvolt = <1800000>; |
| 115 | }; |
| 116 | |
| 117 | ldo6 { |
| 118 | regulator-min-microvolt = <1725000>; |
| 119 | regulator-max-microvolt = <3300000>; |
| 120 | }; |
| 121 | |
| 122 | ldo7 { |
| 123 | regulator-min-microvolt = <1725000>; |
| 124 | regulator-max-microvolt = <3300000>; |
| 125 | }; |
| 126 | |
| 127 | ldo8 { |
| 128 | regulator-min-microvolt = <1200000>; |
| 129 | regulator-max-microvolt = <3600000>; |
| 130 | }; |
| 131 | |
| 132 | ldo9 { |
| 133 | regulator-min-microvolt = <1200000>; |
| 134 | regulator-max-microvolt = <3600000>; |
| 135 | }; |
| 136 | |
| 137 | ldo10 { |
| 138 | regulator-min-microvolt = <1200000>; |
| 139 | regulator-max-microvolt = <3600000>; |
| 140 | }; |
| 141 | |
| 142 | ldo11 { |
| 143 | regulator-min-microvolt = <1200000>; |
| 144 | regulator-max-microvolt = <3600000>; |
| 145 | }; |
| 146 | |
| 147 | ldo12 { |
| 148 | regulator-min-microvolt = <1250000>; |
| 149 | regulator-max-microvolt = <3650000>; |
| 150 | }; |
| 151 | |
| 152 | ldo13 { |
| 153 | regulator-min-microvolt = <1200000>; |
| 154 | regulator-max-microvolt = <3600000>; |
| 155 | }; |
| 156 | }; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 157 | }; |
| 158 | }; |
| 159 | |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame^] | 160 | audmux@63fd0000 { |
| 161 | status = "okay"; |
| 162 | }; |
| 163 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 164 | ethernet@63fec000 { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 165 | phy-mode = "rmii"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 166 | phy-reset-gpios = <&gpio7 6 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 167 | status = "okay"; |
| 168 | }; |
| 169 | }; |
| 170 | }; |
| 171 | |
| 172 | gpio-keys { |
| 173 | compatible = "gpio-keys"; |
| 174 | |
| 175 | power { |
| 176 | label = "Power Button"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 177 | gpios = <&gpio1 8 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 178 | linux,code = <116>; /* KEY_POWER */ |
| 179 | gpio-key,wakeup; |
| 180 | }; |
| 181 | |
| 182 | volume-up { |
| 183 | label = "Volume Up"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 184 | gpios = <&gpio2 14 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 185 | linux,code = <115>; /* KEY_VOLUMEUP */ |
| 186 | }; |
| 187 | |
| 188 | volume-down { |
| 189 | label = "Volume Down"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 190 | gpios = <&gpio2 15 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 191 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
| 192 | }; |
| 193 | }; |
| 194 | |
| 195 | leds { |
| 196 | compatible = "gpio-leds"; |
| 197 | |
| 198 | user { |
| 199 | label = "Heartbeat"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 200 | gpios = <&gpio7 7 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 201 | linux,default-trigger = "heartbeat"; |
| 202 | }; |
| 203 | }; |
Shawn Guo | ffc505c | 2012-05-11 13:12:01 +0800 | [diff] [blame^] | 204 | |
| 205 | regulators { |
| 206 | compatible = "simple-bus"; |
| 207 | |
| 208 | reg_3p2v: 3p2v { |
| 209 | compatible = "regulator-fixed"; |
| 210 | regulator-name = "3P2V"; |
| 211 | regulator-min-microvolt = <3200000>; |
| 212 | regulator-max-microvolt = <3200000>; |
| 213 | regulator-always-on; |
| 214 | }; |
| 215 | }; |
| 216 | |
| 217 | sound { |
| 218 | compatible = "fsl,imx53-qsb-sgtl5000", |
| 219 | "fsl,imx-audio-sgtl5000"; |
| 220 | model = "imx53-qsb-sgtl5000"; |
| 221 | ssi-controller = <&ssi2>; |
| 222 | audio-codec = <&sgtl5000>; |
| 223 | audio-routing = |
| 224 | "MIC_IN", "Mic Jack", |
| 225 | "Mic Jack", "Mic Bias", |
| 226 | "Headphone Jack", "HP_OUT"; |
| 227 | mux-int-port = <2>; |
| 228 | mux-ext-port = <5>; |
| 229 | }; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 230 | }; |