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 | |
| 12 | /dts-v1/; |
| 13 | /include/ "imx23.dtsi" |
| 14 | |
| 15 | / { |
| 16 | model = "Freescale i.MX23 Evaluation Kit"; |
| 17 | compatible = "fsl,imx23-evk", "fsl,imx23"; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x40000000 0x08000000>; |
| 21 | }; |
| 22 | |
| 23 | apb@80000000 { |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 24 | apbh@80000000 { |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 25 | gpmi-nand@8000c000 { |
| 26 | pinctrl-names = "default"; |
| 27 | pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>; |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 31 | ssp0: ssp@80010000 { |
| 32 | compatible = "fsl,imx23-mmc"; |
| 33 | pinctrl-names = "default"; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 34 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; |
| 35 | bus-width = <4>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 36 | wp-gpios = <&gpio1 30 0>; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 37 | vmmc-supply = <®_vddio_sd0>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 38 | status = "okay"; |
| 39 | }; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 40 | |
| 41 | pinctrl@80018000 { |
| 42 | pinctrl-names = "default"; |
| 43 | pinctrl-0 = <&hog_pins_a>; |
| 44 | |
Fabio Estevam | e0e35b4 | 2012-08-22 13:25:31 -0300 | [diff] [blame] | 45 | hog_pins_a: hog@0 { |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 46 | reg = <0>; |
| 47 | fsl,pinmux-ids = < |
| 48 | 0x1123 /* MX23_PAD_LCD_RESET__GPIO_1_18 */ |
| 49 | 0x11d3 /* MX23_PAD_PWM3__GPIO_1_29 */ |
| 50 | 0x11e3 /* MX23_PAD_PWM4__GPIO_1_30 */ |
Fabio Estevam | 74b4212 | 2012-08-22 13:25:32 -0300 | [diff] [blame^] | 51 | 0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */ |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 52 | >; |
| 53 | fsl,drive-strength = <0>; |
| 54 | fsl,voltage = <1>; |
| 55 | fsl,pull-up = <0>; |
| 56 | }; |
| 57 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 58 | |
| 59 | lcdif@80030000 { |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&lcdif_24bit_pins_a>; |
| 62 | panel-enable-gpios = <&gpio1 18 0>; |
| 63 | status = "okay"; |
| 64 | }; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 65 | }; |
| 66 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 67 | apbx@80040000 { |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 68 | pwm: pwm@80064000 { |
| 69 | pinctrl-names = "default"; |
| 70 | pinctrl-0 = <&pwm2_pins_a>; |
| 71 | status = "okay"; |
| 72 | }; |
| 73 | |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 74 | auart0: serial@8006c000 { |
| 75 | pinctrl-names = "default"; |
| 76 | pinctrl-0 = <&auart0_pins_a>; |
| 77 | status = "okay"; |
| 78 | }; |
| 79 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 80 | duart: serial@80070000 { |
| 81 | pinctrl-names = "default"; |
| 82 | pinctrl-0 = <&duart_pins_a>; |
| 83 | status = "okay"; |
| 84 | }; |
| 85 | }; |
| 86 | }; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 87 | |
| 88 | regulators { |
| 89 | compatible = "simple-bus"; |
| 90 | |
| 91 | reg_vddio_sd0: vddio-sd0 { |
| 92 | compatible = "regulator-fixed"; |
| 93 | regulator-name = "vddio-sd0"; |
| 94 | regulator-min-microvolt = <3300000>; |
| 95 | regulator-max-microvolt = <3300000>; |
| 96 | gpio = <&gpio1 29 0>; |
| 97 | }; |
| 98 | }; |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 99 | |
| 100 | backlight { |
| 101 | compatible = "pwm-backlight"; |
| 102 | pwms = <&pwm 2 5000000>; |
| 103 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 104 | default-brightness-level = <6>; |
| 105 | }; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 106 | }; |