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 */ |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +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>; |
| 31 | wp-gpios = <&gpio4 11 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 32 | status = "okay"; |
| 33 | }; |
| 34 | |
| 35 | esdhc@50008000 { /* ESDHC2 */ |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 36 | pinctrl-names = "default"; |
| 37 | pinctrl-0 = <&pinctrl_esdhc2_1>; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 38 | non-removable; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 39 | status = "okay"; |
| 40 | }; |
| 41 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 42 | uart3: serial@5000c000 { |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 43 | pinctrl-names = "default"; |
| 44 | pinctrl-0 = <&pinctrl_uart3_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 45 | fsl,uart-has-rtscts; |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | |
| 49 | ecspi@50010000 { /* ECSPI1 */ |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 50 | pinctrl-names = "default"; |
| 51 | pinctrl-0 = <&pinctrl_ecspi1_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 52 | fsl,spi-num-chipselects = <2>; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 53 | cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 54 | status = "okay"; |
| 55 | |
| 56 | zigbee: mc1323@0 { |
| 57 | compatible = "fsl,mc1323"; |
| 58 | spi-max-frequency = <8000000>; |
| 59 | reg = <0>; |
| 60 | }; |
| 61 | |
| 62 | flash: m25p32@1 { |
| 63 | #address-cells = <1>; |
| 64 | #size-cells = <1>; |
| 65 | compatible = "st,m25p32", "st,m25p"; |
| 66 | spi-max-frequency = <20000000>; |
| 67 | reg = <1>; |
| 68 | |
| 69 | partition@0 { |
| 70 | label = "U-Boot"; |
| 71 | reg = <0x0 0x40000>; |
| 72 | read-only; |
| 73 | }; |
| 74 | |
| 75 | partition@40000 { |
| 76 | label = "Kernel"; |
| 77 | reg = <0x40000 0x3c0000>; |
| 78 | }; |
| 79 | }; |
| 80 | }; |
| 81 | |
| 82 | esdhc@50020000 { /* ESDHC3 */ |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 83 | pinctrl-names = "default"; |
| 84 | pinctrl-0 = <&pinctrl_esdhc3_1>; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 85 | non-removable; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 86 | status = "okay"; |
| 87 | }; |
| 88 | }; |
| 89 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 90 | iomuxc@53fa8000 { |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 91 | pinctrl-names = "default"; |
| 92 | pinctrl-0 = <&pinctrl_hog>; |
| 93 | |
| 94 | hog { |
| 95 | pinctrl_hog: hoggrp { |
| 96 | fsl,pins = < |
| 97 | 982 0x80000000 /* MX53_PAD_PATA_DATA14__GPIO2_14 */ |
| 98 | 989 0x80000000 /* MX53_PAD_PATA_DATA15__GPIO2_15 */ |
| 99 | 424 0x80000000 /* MX53_PAD_EIM_EB2__GPIO2_30 */ |
| 100 | 701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */ |
| 101 | 449 0x80000000 /* MX53_PAD_EIM_D19__GPIO3_19 */ |
| 102 | 43 0x80000000 /* MX53_PAD_KEY_ROW2__GPIO4_11 */ |
| 103 | 868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */ |
| 104 | >; |
| 105 | }; |
| 106 | }; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 107 | }; |
| 108 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 109 | uart1: serial@53fbc000 { |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 110 | pinctrl-names = "default"; |
| 111 | pinctrl-0 = <&pinctrl_uart1_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 112 | status = "okay"; |
| 113 | }; |
| 114 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 115 | uart2: serial@53fc0000 { |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 116 | pinctrl-names = "default"; |
| 117 | pinctrl-0 = <&pinctrl_uart2_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 118 | status = "okay"; |
| 119 | }; |
| 120 | }; |
| 121 | |
| 122 | aips@60000000 { /* AIPS2 */ |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 123 | i2c@63fc4000 { /* I2C2 */ |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 124 | pinctrl-names = "default"; |
| 125 | pinctrl-0 = <&pinctrl_i2c2_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 126 | status = "okay"; |
| 127 | |
| 128 | codec: sgtl5000@0a { |
| 129 | compatible = "fsl,sgtl5000"; |
| 130 | reg = <0x0a>; |
| 131 | }; |
| 132 | |
| 133 | magnetometer: mag3110@0e { |
| 134 | compatible = "fsl,mag3110"; |
| 135 | reg = <0x0e>; |
| 136 | }; |
| 137 | |
| 138 | touchkey: mpr121@5a { |
| 139 | compatible = "fsl,mpr121"; |
| 140 | reg = <0x5a>; |
| 141 | }; |
| 142 | }; |
| 143 | |
| 144 | i2c@63fc8000 { /* I2C1 */ |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 145 | pinctrl-names = "default"; |
| 146 | pinctrl-0 = <&pinctrl_i2c1_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 147 | status = "okay"; |
| 148 | |
| 149 | accelerometer: mma8450@1c { |
| 150 | compatible = "fsl,mma8450"; |
| 151 | reg = <0x1c>; |
| 152 | }; |
| 153 | |
| 154 | camera: ov5642@3c { |
| 155 | compatible = "ovti,ov5642"; |
| 156 | reg = <0x3c>; |
| 157 | }; |
| 158 | |
| 159 | pmic: dialog@48 { |
| 160 | compatible = "dialog,da9053", "dialog,da9052"; |
| 161 | reg = <0x48>; |
| 162 | }; |
| 163 | }; |
| 164 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 165 | ethernet@63fec000 { |
Shawn Guo | 0724804 | 2012-08-12 22:22:33 +0800 | [diff] [blame^] | 166 | pinctrl-names = "default"; |
| 167 | pinctrl-0 = <&pinctrl_fec_1>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 168 | phy-mode = "rmii"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 169 | phy-reset-gpios = <&gpio7 6 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 170 | status = "okay"; |
| 171 | }; |
| 172 | }; |
| 173 | }; |
| 174 | |
| 175 | gpio-keys { |
| 176 | compatible = "gpio-keys"; |
| 177 | |
| 178 | volume-up { |
| 179 | label = "Volume Up"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 180 | gpios = <&gpio2 14 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 181 | linux,code = <115>; /* KEY_VOLUMEUP */ |
| 182 | }; |
| 183 | |
| 184 | volume-down { |
| 185 | label = "Volume Down"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 186 | gpios = <&gpio2 15 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 187 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
| 188 | }; |
| 189 | }; |
| 190 | }; |