Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 12 | #include "skeleton.dtsi" |
| 13 | #include "imx23-pinfunc.h" |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | interrupt-parent = <&icoll>; |
| 17 | |
Shawn Guo | ce4c6f9 | 2012-05-04 14:32:35 +0800 | [diff] [blame] | 18 | aliases { |
| 19 | gpio0 = &gpio0; |
| 20 | gpio1 = &gpio1; |
| 21 | gpio2 = &gpio2; |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 22 | serial0 = &auart0; |
| 23 | serial1 = &auart1; |
Fabio Estevam | 6bf6eb0 | 2013-07-22 17:57:01 -0300 | [diff] [blame] | 24 | spi0 = &ssp0; |
| 25 | spi1 = &ssp1; |
Peter Chen | 1f35cc6 | 2013-12-20 15:52:05 +0800 | [diff] [blame] | 26 | usbphy0 = &usbphy0; |
Shawn Guo | ce4c6f9 | 2012-05-04 14:32:35 +0800 | [diff] [blame] | 27 | }; |
| 28 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 29 | cpus { |
Lorenzo Pieralisi | 7925e89 | 2013-04-18 18:34:06 +0100 | [diff] [blame] | 30 | #address-cells = <0>; |
| 31 | #size-cells = <0>; |
| 32 | |
| 33 | cpu { |
| 34 | compatible = "arm,arm926ej-s"; |
| 35 | device_type = "cpu"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 36 | }; |
| 37 | }; |
| 38 | |
| 39 | apb@80000000 { |
| 40 | compatible = "simple-bus"; |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <1>; |
| 43 | reg = <0x80000000 0x80000>; |
| 44 | ranges; |
| 45 | |
| 46 | apbh@80000000 { |
| 47 | compatible = "simple-bus"; |
| 48 | #address-cells = <1>; |
| 49 | #size-cells = <1>; |
| 50 | reg = <0x80000000 0x40000>; |
| 51 | ranges; |
| 52 | |
| 53 | icoll: interrupt-controller@80000000 { |
Shawn Guo | 83a84ef | 2012-08-20 21:34:56 +0800 | [diff] [blame] | 54 | compatible = "fsl,imx23-icoll", "fsl,icoll"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 55 | interrupt-controller; |
| 56 | #interrupt-cells = <1>; |
| 57 | reg = <0x80000000 0x2000>; |
| 58 | }; |
| 59 | |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 60 | dma_apbh: dma-apbh@80004000 { |
Dong Aisheng | 84f3570 | 2012-05-04 20:12:19 +0800 | [diff] [blame] | 61 | compatible = "fsl,imx23-dma-apbh"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 62 | reg = <0x80004000 0x2000>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 63 | interrupts = <0 14 20 0 |
| 64 | 13 13 13 13>; |
| 65 | interrupt-names = "empty", "ssp0", "ssp1", "empty", |
| 66 | "gpmi0", "gpmi1", "gpmi2", "gpmi3"; |
| 67 | #dma-cells = <1>; |
| 68 | dma-channels = <8>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 69 | clocks = <&clks 15>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 70 | }; |
| 71 | |
| 72 | ecc@80008000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 73 | reg = <0x80008000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 74 | status = "disabled"; |
| 75 | }; |
| 76 | |
Marek Vasut | a217c46 | 2012-06-09 01:21:55 +0200 | [diff] [blame] | 77 | gpmi-nand@8000c000 { |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 78 | compatible = "fsl,imx23-gpmi-nand"; |
| 79 | #address-cells = <1>; |
| 80 | #size-cells = <1>; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 81 | reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>; |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 82 | reg-names = "gpmi-nand", "bch"; |
Shawn Guo | 7f2b928 | 2013-07-16 17:10:55 +0800 | [diff] [blame] | 83 | interrupts = <56>; |
| 84 | interrupt-names = "bch"; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 85 | clocks = <&clks 34>; |
Huang Shijie | b644255 | 2012-10-10 18:27:09 +0800 | [diff] [blame] | 86 | clock-names = "gpmi_io"; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 87 | dmas = <&dma_apbh 4>; |
| 88 | dma-names = "rx-tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 89 | status = "disabled"; |
| 90 | }; |
| 91 | |
| 92 | ssp0: ssp@80010000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 93 | reg = <0x80010000 0x2000>; |
Shawn Guo | 7f2b928 | 2013-07-16 17:10:55 +0800 | [diff] [blame] | 94 | interrupts = <15>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 95 | clocks = <&clks 33>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 96 | dmas = <&dma_apbh 1>; |
| 97 | dma-names = "rx-tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 98 | status = "disabled"; |
| 99 | }; |
| 100 | |
| 101 | etm@80014000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 102 | reg = <0x80014000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 103 | status = "disabled"; |
| 104 | }; |
| 105 | |
| 106 | pinctrl@80018000 { |
| 107 | #address-cells = <1>; |
| 108 | #size-cells = <0>; |
Shawn Guo | ce4c6f9 | 2012-05-04 14:32:35 +0800 | [diff] [blame] | 109 | compatible = "fsl,imx23-pinctrl", "simple-bus"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 110 | reg = <0x80018000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 111 | |
Shawn Guo | ce4c6f9 | 2012-05-04 14:32:35 +0800 | [diff] [blame] | 112 | gpio0: gpio@0 { |
| 113 | compatible = "fsl,imx23-gpio", "fsl,mxs-gpio"; |
| 114 | interrupts = <16>; |
| 115 | gpio-controller; |
| 116 | #gpio-cells = <2>; |
| 117 | interrupt-controller; |
| 118 | #interrupt-cells = <2>; |
| 119 | }; |
| 120 | |
| 121 | gpio1: gpio@1 { |
| 122 | compatible = "fsl,imx23-gpio", "fsl,mxs-gpio"; |
| 123 | interrupts = <17>; |
| 124 | gpio-controller; |
| 125 | #gpio-cells = <2>; |
| 126 | interrupt-controller; |
| 127 | #interrupt-cells = <2>; |
| 128 | }; |
| 129 | |
| 130 | gpio2: gpio@2 { |
| 131 | compatible = "fsl,imx23-gpio", "fsl,mxs-gpio"; |
| 132 | interrupts = <18>; |
| 133 | gpio-controller; |
| 134 | #gpio-cells = <2>; |
| 135 | interrupt-controller; |
| 136 | #interrupt-cells = <2>; |
| 137 | }; |
| 138 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 139 | duart_pins_a: duart@0 { |
| 140 | reg = <0>; |
Shawn Guo | f14da76 | 2012-06-28 11:44:57 +0800 | [diff] [blame] | 141 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 142 | MX23_PAD_PWM0__DUART_RX |
| 143 | MX23_PAD_PWM1__DUART_TX |
Shawn Guo | f14da76 | 2012-06-28 11:44:57 +0800 | [diff] [blame] | 144 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 145 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 146 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 147 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 148 | }; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 149 | |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 150 | auart0_pins_a: auart0@0 { |
| 151 | reg = <0>; |
| 152 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 153 | MX23_PAD_AUART1_RX__AUART1_RX |
| 154 | MX23_PAD_AUART1_TX__AUART1_TX |
| 155 | MX23_PAD_AUART1_CTS__AUART1_CTS |
| 156 | MX23_PAD_AUART1_RTS__AUART1_RTS |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 157 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 158 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 159 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 160 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 161 | }; |
| 162 | |
Fabio Estevam | 98916a2 | 2012-07-30 16:33:44 -0300 | [diff] [blame] | 163 | auart0_2pins_a: auart0-2pins@0 { |
| 164 | reg = <0>; |
| 165 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 166 | MX23_PAD_I2C_SCL__AUART1_TX |
| 167 | MX23_PAD_I2C_SDA__AUART1_RX |
Fabio Estevam | 98916a2 | 2012-07-30 16:33:44 -0300 | [diff] [blame] | 168 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 169 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 170 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 171 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Fabio Estevam | 98916a2 | 2012-07-30 16:33:44 -0300 | [diff] [blame] | 172 | }; |
| 173 | |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 174 | gpmi_pins_a: gpmi-nand@0 { |
| 175 | reg = <0>; |
| 176 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 177 | MX23_PAD_GPMI_D00__GPMI_D00 |
| 178 | MX23_PAD_GPMI_D01__GPMI_D01 |
| 179 | MX23_PAD_GPMI_D02__GPMI_D02 |
| 180 | MX23_PAD_GPMI_D03__GPMI_D03 |
| 181 | MX23_PAD_GPMI_D04__GPMI_D04 |
| 182 | MX23_PAD_GPMI_D05__GPMI_D05 |
| 183 | MX23_PAD_GPMI_D06__GPMI_D06 |
| 184 | MX23_PAD_GPMI_D07__GPMI_D07 |
| 185 | MX23_PAD_GPMI_CLE__GPMI_CLE |
| 186 | MX23_PAD_GPMI_ALE__GPMI_ALE |
| 187 | MX23_PAD_GPMI_RDY0__GPMI_RDY0 |
| 188 | MX23_PAD_GPMI_RDY1__GPMI_RDY1 |
| 189 | MX23_PAD_GPMI_WPN__GPMI_WPN |
| 190 | MX23_PAD_GPMI_WRN__GPMI_WRN |
| 191 | MX23_PAD_GPMI_RDN__GPMI_RDN |
| 192 | MX23_PAD_GPMI_CE1N__GPMI_CE1N |
| 193 | MX23_PAD_GPMI_CE0N__GPMI_CE0N |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 194 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 195 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 196 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 197 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 198 | }; |
| 199 | |
| 200 | gpmi_pins_fixup: gpmi-pins-fixup { |
| 201 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 202 | MX23_PAD_GPMI_WPN__GPMI_WPN |
| 203 | MX23_PAD_GPMI_WRN__GPMI_WRN |
| 204 | MX23_PAD_GPMI_RDN__GPMI_RDN |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 205 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 206 | fsl,drive-strength = <MXS_DRIVE_12mA>; |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 207 | }; |
| 208 | |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 209 | mmc0_4bit_pins_a: mmc0-4bit@0 { |
| 210 | reg = <0>; |
| 211 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 212 | MX23_PAD_SSP1_DATA0__SSP1_DATA0 |
| 213 | MX23_PAD_SSP1_DATA1__SSP1_DATA1 |
| 214 | MX23_PAD_SSP1_DATA2__SSP1_DATA2 |
| 215 | MX23_PAD_SSP1_DATA3__SSP1_DATA3 |
| 216 | MX23_PAD_SSP1_CMD__SSP1_CMD |
| 217 | MX23_PAD_SSP1_SCK__SSP1_SCK |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 218 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 219 | fsl,drive-strength = <MXS_DRIVE_8mA>; |
| 220 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 221 | fsl,pull-up = <MXS_PULL_ENABLE>; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 222 | }; |
| 223 | |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 224 | mmc0_8bit_pins_a: mmc0-8bit@0 { |
| 225 | reg = <0>; |
Shawn Guo | f14da76 | 2012-06-28 11:44:57 +0800 | [diff] [blame] | 226 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 227 | MX23_PAD_SSP1_DATA0__SSP1_DATA0 |
| 228 | MX23_PAD_SSP1_DATA1__SSP1_DATA1 |
| 229 | MX23_PAD_SSP1_DATA2__SSP1_DATA2 |
| 230 | MX23_PAD_SSP1_DATA3__SSP1_DATA3 |
| 231 | MX23_PAD_GPMI_D08__SSP1_DATA4 |
| 232 | MX23_PAD_GPMI_D09__SSP1_DATA5 |
| 233 | MX23_PAD_GPMI_D10__SSP1_DATA6 |
| 234 | MX23_PAD_GPMI_D11__SSP1_DATA7 |
| 235 | MX23_PAD_SSP1_CMD__SSP1_CMD |
| 236 | MX23_PAD_SSP1_DETECT__SSP1_DETECT |
| 237 | MX23_PAD_SSP1_SCK__SSP1_SCK |
Shawn Guo | f14da76 | 2012-06-28 11:44:57 +0800 | [diff] [blame] | 238 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 239 | fsl,drive-strength = <MXS_DRIVE_8mA>; |
| 240 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 241 | fsl,pull-up = <MXS_PULL_ENABLE>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 242 | }; |
| 243 | |
| 244 | mmc0_pins_fixup: mmc0-pins-fixup { |
Shawn Guo | f14da76 | 2012-06-28 11:44:57 +0800 | [diff] [blame] | 245 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 246 | MX23_PAD_SSP1_DETECT__SSP1_DETECT |
| 247 | MX23_PAD_SSP1_SCK__SSP1_SCK |
Shawn Guo | f14da76 | 2012-06-28 11:44:57 +0800 | [diff] [blame] | 248 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 249 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 250 | }; |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 251 | |
| 252 | pwm2_pins_a: pwm2@0 { |
| 253 | reg = <0>; |
| 254 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 255 | MX23_PAD_PWM2__PWM2 |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 256 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 257 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 258 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 259 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 260 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 261 | |
| 262 | lcdif_24bit_pins_a: lcdif-24bit@0 { |
| 263 | reg = <0>; |
| 264 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 265 | MX23_PAD_LCD_D00__LCD_D00 |
| 266 | MX23_PAD_LCD_D01__LCD_D01 |
| 267 | MX23_PAD_LCD_D02__LCD_D02 |
| 268 | MX23_PAD_LCD_D03__LCD_D03 |
| 269 | MX23_PAD_LCD_D04__LCD_D04 |
| 270 | MX23_PAD_LCD_D05__LCD_D05 |
| 271 | MX23_PAD_LCD_D06__LCD_D06 |
| 272 | MX23_PAD_LCD_D07__LCD_D07 |
| 273 | MX23_PAD_LCD_D08__LCD_D08 |
| 274 | MX23_PAD_LCD_D09__LCD_D09 |
| 275 | MX23_PAD_LCD_D10__LCD_D10 |
| 276 | MX23_PAD_LCD_D11__LCD_D11 |
| 277 | MX23_PAD_LCD_D12__LCD_D12 |
| 278 | MX23_PAD_LCD_D13__LCD_D13 |
| 279 | MX23_PAD_LCD_D14__LCD_D14 |
| 280 | MX23_PAD_LCD_D15__LCD_D15 |
| 281 | MX23_PAD_LCD_D16__LCD_D16 |
| 282 | MX23_PAD_LCD_D17__LCD_D17 |
| 283 | MX23_PAD_GPMI_D08__LCD_D18 |
| 284 | MX23_PAD_GPMI_D09__LCD_D19 |
| 285 | MX23_PAD_GPMI_D10__LCD_D20 |
| 286 | MX23_PAD_GPMI_D11__LCD_D21 |
| 287 | MX23_PAD_GPMI_D12__LCD_D22 |
| 288 | MX23_PAD_GPMI_D13__LCD_D23 |
| 289 | MX23_PAD_LCD_DOTCK__LCD_DOTCK |
| 290 | MX23_PAD_LCD_ENABLE__LCD_ENABLE |
| 291 | MX23_PAD_LCD_HSYNC__LCD_HSYNC |
| 292 | MX23_PAD_LCD_VSYNC__LCD_VSYNC |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 293 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 294 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 295 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 296 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 297 | }; |
Fadil Berisha | a048786 | 2012-11-17 16:52:32 -0500 | [diff] [blame] | 298 | |
| 299 | spi2_pins_a: spi2@0 { |
| 300 | reg = <0>; |
| 301 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 302 | MX23_PAD_GPMI_WRN__SSP2_SCK |
| 303 | MX23_PAD_GPMI_RDY1__SSP2_CMD |
| 304 | MX23_PAD_GPMI_D00__SSP2_DATA0 |
| 305 | MX23_PAD_GPMI_D03__SSP2_DATA3 |
Fadil Berisha | a048786 | 2012-11-17 16:52:32 -0500 | [diff] [blame] | 306 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 307 | fsl,drive-strength = <MXS_DRIVE_8mA>; |
| 308 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 309 | fsl,pull-up = <MXS_PULL_ENABLE>; |
Fadil Berisha | a048786 | 2012-11-17 16:52:32 -0500 | [diff] [blame] | 310 | }; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 311 | }; |
| 312 | |
| 313 | digctl@8001c000 { |
Shawn Guo | 38d6590 | 2013-03-26 21:11:02 +0800 | [diff] [blame] | 314 | compatible = "fsl,imx23-digctl"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 315 | reg = <0x8001c000 2000>; |
| 316 | status = "disabled"; |
| 317 | }; |
| 318 | |
| 319 | emi@80020000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 320 | reg = <0x80020000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 321 | status = "disabled"; |
| 322 | }; |
| 323 | |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 324 | dma_apbx: dma-apbx@80024000 { |
Dong Aisheng | 84f3570 | 2012-05-04 20:12:19 +0800 | [diff] [blame] | 325 | compatible = "fsl,imx23-dma-apbx"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 326 | reg = <0x80024000 0x2000>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 327 | interrupts = <7 5 9 26 |
| 328 | 19 0 25 23 |
| 329 | 60 58 9 0 |
| 330 | 0 0 0 0>; |
| 331 | interrupt-names = "audio-adc", "audio-dac", "spdif-tx", "i2c", |
| 332 | "saif0", "empty", "auart0-rx", "auart0-tx", |
| 333 | "auart1-rx", "auart1-tx", "saif1", "empty", |
| 334 | "empty", "empty", "empty", "empty"; |
| 335 | #dma-cells = <1>; |
| 336 | dma-channels = <16>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 337 | clocks = <&clks 16>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 338 | }; |
| 339 | |
| 340 | dcp@80028000 { |
Marek Vasut | 7d56a28 | 2013-12-10 20:26:22 +0100 | [diff] [blame] | 341 | compatible = "fsl,imx23-dcp"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 342 | reg = <0x80028000 0x2000>; |
Marek Vasut | 7d56a28 | 2013-12-10 20:26:22 +0100 | [diff] [blame] | 343 | interrupts = <53 54>; |
| 344 | status = "okay"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 345 | }; |
| 346 | |
| 347 | pxp@8002a000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 348 | reg = <0x8002a000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 349 | status = "disabled"; |
| 350 | }; |
| 351 | |
| 352 | ocotp@8002c000 { |
Shawn Guo | 69d75a0 | 2013-03-29 09:59:28 +0800 | [diff] [blame] | 353 | compatible = "fsl,ocotp"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 354 | reg = <0x8002c000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 355 | status = "disabled"; |
| 356 | }; |
| 357 | |
| 358 | axi-ahb@8002e000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 359 | reg = <0x8002e000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 360 | status = "disabled"; |
| 361 | }; |
| 362 | |
| 363 | lcdif@80030000 { |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 364 | compatible = "fsl,imx23-lcdif"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 365 | reg = <0x80030000 2000>; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 366 | interrupts = <46 45>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 367 | clocks = <&clks 38>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 368 | status = "disabled"; |
| 369 | }; |
| 370 | |
| 371 | ssp1: ssp@80034000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 372 | reg = <0x80034000 0x2000>; |
Shawn Guo | 7f2b928 | 2013-07-16 17:10:55 +0800 | [diff] [blame] | 373 | interrupts = <2>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 374 | clocks = <&clks 33>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 375 | dmas = <&dma_apbh 2>; |
| 376 | dma-names = "rx-tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 377 | status = "disabled"; |
| 378 | }; |
| 379 | |
| 380 | tvenc@80038000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 381 | reg = <0x80038000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 382 | status = "disabled"; |
| 383 | }; |
| 384 | }; |
| 385 | |
| 386 | apbx@80040000 { |
| 387 | compatible = "simple-bus"; |
| 388 | #address-cells = <1>; |
| 389 | #size-cells = <1>; |
| 390 | reg = <0x80040000 0x40000>; |
| 391 | ranges; |
| 392 | |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 393 | clks: clkctrl@80040000 { |
Shawn Guo | 8f7cf88 | 2013-03-29 09:33:09 +0800 | [diff] [blame] | 394 | compatible = "fsl,imx23-clkctrl", "fsl,clkctrl"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 395 | reg = <0x80040000 0x2000>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 396 | #clock-cells = <1>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 397 | }; |
| 398 | |
| 399 | saif0: saif@80042000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 400 | reg = <0x80042000 0x2000>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 401 | dmas = <&dma_apbx 4>; |
| 402 | dma-names = "rx-tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 403 | status = "disabled"; |
| 404 | }; |
| 405 | |
| 406 | power@80044000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 407 | reg = <0x80044000 0x2000>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 408 | status = "disabled"; |
| 409 | }; |
| 410 | |
| 411 | saif1: saif@80046000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 412 | reg = <0x80046000 0x2000>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 413 | dmas = <&dma_apbx 10>; |
| 414 | dma-names = "rx-tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 415 | status = "disabled"; |
| 416 | }; |
| 417 | |
| 418 | audio-out@80048000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 419 | reg = <0x80048000 0x2000>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 420 | dmas = <&dma_apbx 1>; |
| 421 | dma-names = "tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 422 | status = "disabled"; |
| 423 | }; |
| 424 | |
| 425 | audio-in@8004c000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 426 | reg = <0x8004c000 0x2000>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 427 | dmas = <&dma_apbx 0>; |
| 428 | dma-names = "rx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 429 | status = "disabled"; |
| 430 | }; |
| 431 | |
Alexandre Belloni | bd798f9 | 2013-12-18 19:50:56 +0100 | [diff] [blame] | 432 | lradc: lradc@80050000 { |
Marek Vasut | 1f45188 | 2013-01-21 20:05:00 +0000 | [diff] [blame] | 433 | compatible = "fsl,imx23-lradc"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 434 | reg = <0x80050000 0x2000>; |
Marek Vasut | 1f45188 | 2013-01-21 20:05:00 +0000 | [diff] [blame] | 435 | interrupts = <36 37 38 39 40 41 42 43 44>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 436 | status = "disabled"; |
Juergen Beisert | 18da755 | 2013-09-23 15:36:00 +0100 | [diff] [blame] | 437 | clocks = <&clks 26>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 438 | }; |
| 439 | |
| 440 | spdif@80054000 { |
| 441 | reg = <0x80054000 2000>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 442 | dmas = <&dma_apbx 2>; |
| 443 | dma-names = "tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 444 | status = "disabled"; |
| 445 | }; |
| 446 | |
| 447 | i2c@80058000 { |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 448 | reg = <0x80058000 0x2000>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 449 | dmas = <&dma_apbx 3>; |
| 450 | dma-names = "rx-tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 451 | status = "disabled"; |
| 452 | }; |
| 453 | |
| 454 | rtc@8005c000 { |
Shawn Guo | f98c990 | 2012-06-28 11:45:05 +0800 | [diff] [blame] | 455 | compatible = "fsl,imx23-rtc", "fsl,stmp3xxx-rtc"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 456 | reg = <0x8005c000 0x2000>; |
Shawn Guo | f98c990 | 2012-06-28 11:45:05 +0800 | [diff] [blame] | 457 | interrupts = <22>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 458 | }; |
| 459 | |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 460 | pwm: pwm@80064000 { |
| 461 | compatible = "fsl,imx23-pwm"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 462 | reg = <0x80064000 0x2000>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 463 | clocks = <&clks 30>; |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 464 | #pwm-cells = <2>; |
| 465 | fsl,pwm-number = <5>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 466 | status = "disabled"; |
| 467 | }; |
| 468 | |
| 469 | timrot@80068000 { |
Shawn Guo | eeca6e6 | 2012-08-20 08:51:45 +0800 | [diff] [blame] | 470 | compatible = "fsl,imx23-timrot", "fsl,timrot"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 471 | reg = <0x80068000 0x2000>; |
Shawn Guo | eeca6e6 | 2012-08-20 08:51:45 +0800 | [diff] [blame] | 472 | interrupts = <28 29 30 31>; |
Shawn Guo | 2efb950 | 2013-03-25 22:57:14 +0800 | [diff] [blame] | 473 | clocks = <&clks 28>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 474 | }; |
| 475 | |
| 476 | auart0: serial@8006c000 { |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 477 | compatible = "fsl,imx23-auart"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 478 | reg = <0x8006c000 0x2000>; |
Shawn Guo | 7f2b928 | 2013-07-16 17:10:55 +0800 | [diff] [blame] | 479 | interrupts = <24>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 480 | clocks = <&clks 32>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 481 | dmas = <&dma_apbx 6>, <&dma_apbx 7>; |
| 482 | dma-names = "rx", "tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 483 | status = "disabled"; |
| 484 | }; |
| 485 | |
| 486 | auart1: serial@8006e000 { |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 487 | compatible = "fsl,imx23-auart"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 488 | reg = <0x8006e000 0x2000>; |
Shawn Guo | 7f2b928 | 2013-07-16 17:10:55 +0800 | [diff] [blame] | 489 | interrupts = <59>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 490 | clocks = <&clks 32>; |
Shawn Guo | f30fb03 | 2013-02-25 21:56:56 +0800 | [diff] [blame] | 491 | dmas = <&dma_apbx 8>, <&dma_apbx 9>; |
| 492 | dma-names = "rx", "tx"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 493 | status = "disabled"; |
| 494 | }; |
| 495 | |
| 496 | duart: serial@80070000 { |
| 497 | compatible = "arm,pl011", "arm,primecell"; |
| 498 | reg = <0x80070000 0x2000>; |
| 499 | interrupts = <0>; |
Shawn Guo | 53f9443 | 2012-08-22 21:36:30 +0800 | [diff] [blame] | 500 | clocks = <&clks 32>, <&clks 16>; |
| 501 | clock-names = "uart", "apb_pclk"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 502 | status = "disabled"; |
| 503 | }; |
| 504 | |
Fabio Estevam | d6475317b | 2012-09-13 14:33:38 -0300 | [diff] [blame] | 505 | usbphy0: usbphy@8007c000 { |
| 506 | compatible = "fsl,imx23-usbphy"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 507 | reg = <0x8007c000 0x2000>; |
Fabio Estevam | d6475317b | 2012-09-13 14:33:38 -0300 | [diff] [blame] | 508 | clocks = <&clks 41>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 509 | status = "disabled"; |
| 510 | }; |
| 511 | }; |
| 512 | }; |
| 513 | |
| 514 | ahb@80080000 { |
| 515 | compatible = "simple-bus"; |
| 516 | #address-cells = <1>; |
| 517 | #size-cells = <1>; |
| 518 | reg = <0x80080000 0x80000>; |
| 519 | ranges; |
| 520 | |
Fabio Estevam | d6475317b | 2012-09-13 14:33:38 -0300 | [diff] [blame] | 521 | usb0: usb@80080000 { |
| 522 | compatible = "fsl,imx23-usb", "fsl,imx27-usb"; |
Fabio Estevam | 640bf06 | 2012-07-30 21:29:18 -0300 | [diff] [blame] | 523 | reg = <0x80080000 0x40000>; |
Fabio Estevam | d6475317b | 2012-09-13 14:33:38 -0300 | [diff] [blame] | 524 | interrupts = <11>; |
| 525 | fsl,usbphy = <&usbphy0>; |
| 526 | clocks = <&clks 40>; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 527 | status = "disabled"; |
| 528 | }; |
| 529 | }; |
Alexandre Belloni | bd798f9 | 2013-12-18 19:50:56 +0100 | [diff] [blame] | 530 | |
| 531 | iio_hwmon { |
| 532 | compatible = "iio-hwmon"; |
| 533 | io-channels = <&lradc 8>; |
| 534 | }; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 535 | }; |