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 Smart Mobile Reference Design Board"; |
| 18 | compatible = "fsl,imx53-smd", "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>; |
| 29 | wp-gpios = <&gpio4 11 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 30 | status = "okay"; |
| 31 | }; |
| 32 | |
| 33 | esdhc@50008000 { /* ESDHC2 */ |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 34 | non-removable; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 35 | status = "okay"; |
| 36 | }; |
| 37 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 38 | uart3: serial@5000c000 { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 39 | fsl,uart-has-rtscts; |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | ecspi@50010000 { /* ECSPI1 */ |
| 44 | fsl,spi-num-chipselects = <2>; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 45 | cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 46 | status = "okay"; |
| 47 | |
| 48 | zigbee: mc1323@0 { |
| 49 | compatible = "fsl,mc1323"; |
| 50 | spi-max-frequency = <8000000>; |
| 51 | reg = <0>; |
| 52 | }; |
| 53 | |
| 54 | flash: m25p32@1 { |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <1>; |
| 57 | compatible = "st,m25p32", "st,m25p"; |
| 58 | spi-max-frequency = <20000000>; |
| 59 | reg = <1>; |
| 60 | |
| 61 | partition@0 { |
| 62 | label = "U-Boot"; |
| 63 | reg = <0x0 0x40000>; |
| 64 | read-only; |
| 65 | }; |
| 66 | |
| 67 | partition@40000 { |
| 68 | label = "Kernel"; |
| 69 | reg = <0x40000 0x3c0000>; |
| 70 | }; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | esdhc@50020000 { /* ESDHC3 */ |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 75 | non-removable; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 76 | status = "okay"; |
| 77 | }; |
| 78 | }; |
| 79 | |
| 80 | wdog@53f98000 { /* WDOG1 */ |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | iomuxc@53fa8000 { |
| 85 | compatible = "fsl,imx53-iomuxc-smd"; |
| 86 | reg = <0x53fa8000 0x4000>; |
| 87 | }; |
| 88 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 89 | uart1: serial@53fbc000 { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 90 | status = "okay"; |
| 91 | }; |
| 92 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 93 | uart2: serial@53fc0000 { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 94 | status = "okay"; |
| 95 | }; |
| 96 | }; |
| 97 | |
| 98 | aips@60000000 { /* AIPS2 */ |
| 99 | sdma@63fb0000 { |
| 100 | fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; |
| 101 | }; |
| 102 | |
| 103 | i2c@63fc4000 { /* I2C2 */ |
| 104 | status = "okay"; |
| 105 | |
| 106 | codec: sgtl5000@0a { |
| 107 | compatible = "fsl,sgtl5000"; |
| 108 | reg = <0x0a>; |
| 109 | }; |
| 110 | |
| 111 | magnetometer: mag3110@0e { |
| 112 | compatible = "fsl,mag3110"; |
| 113 | reg = <0x0e>; |
| 114 | }; |
| 115 | |
| 116 | touchkey: mpr121@5a { |
| 117 | compatible = "fsl,mpr121"; |
| 118 | reg = <0x5a>; |
| 119 | }; |
| 120 | }; |
| 121 | |
| 122 | i2c@63fc8000 { /* I2C1 */ |
| 123 | status = "okay"; |
| 124 | |
| 125 | accelerometer: mma8450@1c { |
| 126 | compatible = "fsl,mma8450"; |
| 127 | reg = <0x1c>; |
| 128 | }; |
| 129 | |
| 130 | camera: ov5642@3c { |
| 131 | compatible = "ovti,ov5642"; |
| 132 | reg = <0x3c>; |
| 133 | }; |
| 134 | |
| 135 | pmic: dialog@48 { |
| 136 | compatible = "dialog,da9053", "dialog,da9052"; |
| 137 | reg = <0x48>; |
| 138 | }; |
| 139 | }; |
| 140 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 141 | ethernet@63fec000 { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 142 | phy-mode = "rmii"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 143 | phy-reset-gpios = <&gpio7 6 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 144 | status = "okay"; |
| 145 | }; |
| 146 | }; |
| 147 | }; |
| 148 | |
| 149 | gpio-keys { |
| 150 | compatible = "gpio-keys"; |
| 151 | |
| 152 | volume-up { |
| 153 | label = "Volume Up"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 154 | gpios = <&gpio2 14 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 155 | linux,code = <115>; /* KEY_VOLUMEUP */ |
| 156 | }; |
| 157 | |
| 158 | volume-down { |
| 159 | label = "Volume Down"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 160 | gpios = <&gpio2 15 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 161 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
| 162 | }; |
| 163 | }; |
| 164 | }; |