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 | |
| 20 | chosen { |
| 21 | bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; |
| 22 | }; |
| 23 | |
| 24 | memory { |
| 25 | reg = <0x70000000 0x40000000>; |
| 26 | }; |
| 27 | |
| 28 | soc { |
| 29 | aips@50000000 { /* AIPS1 */ |
| 30 | spba@50000000 { |
| 31 | esdhc@50004000 { /* ESDHC1 */ |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 32 | cd-gpios = <&gpio3 13 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 33 | status = "okay"; |
| 34 | }; |
| 35 | |
| 36 | esdhc@50020000 { /* ESDHC3 */ |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 37 | cd-gpios = <&gpio3 11 0>; |
| 38 | wp-gpios = <&gpio3 12 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 39 | status = "okay"; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | wdog@53f98000 { /* WDOG1 */ |
| 44 | status = "okay"; |
| 45 | }; |
| 46 | |
| 47 | iomuxc@53fa8000 { |
| 48 | compatible = "fsl,imx53-iomuxc-qsb"; |
| 49 | reg = <0x53fa8000 0x4000>; |
| 50 | }; |
| 51 | |
Richard Zhao | 8f9ffec | 2011-12-14 09:26:45 +0800 | [diff] [blame] | 52 | uart1: uart@53fbc000 { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 53 | status = "okay"; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | aips@60000000 { /* AIPS2 */ |
| 58 | sdma@63fb0000 { |
| 59 | fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; |
| 60 | }; |
| 61 | |
| 62 | i2c@63fc4000 { /* I2C2 */ |
| 63 | status = "okay"; |
| 64 | |
| 65 | codec: sgtl5000@0a { |
| 66 | compatible = "fsl,sgtl5000"; |
| 67 | reg = <0x0a>; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | i2c@63fc8000 { /* I2C1 */ |
| 72 | status = "okay"; |
| 73 | |
| 74 | accelerometer: mma8450@1c { |
| 75 | compatible = "fsl,mma8450"; |
| 76 | reg = <0x1c>; |
| 77 | }; |
| 78 | |
| 79 | pmic: dialog@48 { |
| 80 | compatible = "dialog,da9053", "dialog,da9052"; |
| 81 | reg = <0x48>; |
| 82 | }; |
| 83 | }; |
| 84 | |
| 85 | fec@63fec000 { |
| 86 | phy-mode = "rmii"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 87 | phy-reset-gpios = <&gpio7 6 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 88 | status = "okay"; |
| 89 | }; |
| 90 | }; |
| 91 | }; |
| 92 | |
| 93 | gpio-keys { |
| 94 | compatible = "gpio-keys"; |
| 95 | |
| 96 | power { |
| 97 | label = "Power Button"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 98 | gpios = <&gpio1 8 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 99 | linux,code = <116>; /* KEY_POWER */ |
| 100 | gpio-key,wakeup; |
| 101 | }; |
| 102 | |
| 103 | volume-up { |
| 104 | label = "Volume Up"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 105 | gpios = <&gpio2 14 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 106 | linux,code = <115>; /* KEY_VOLUMEUP */ |
| 107 | }; |
| 108 | |
| 109 | volume-down { |
| 110 | label = "Volume Down"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 111 | gpios = <&gpio2 15 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 112 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
| 113 | }; |
| 114 | }; |
| 115 | |
| 116 | leds { |
| 117 | compatible = "gpio-leds"; |
| 118 | |
| 119 | user { |
| 120 | label = "Heartbeat"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 121 | gpios = <&gpio7 7 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 122 | linux,default-trigger = "heartbeat"; |
| 123 | }; |
| 124 | }; |
| 125 | }; |