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 { |
| 25 | ssp0: ssp@80010000 { |
| 26 | compatible = "fsl,imx23-mmc"; |
| 27 | pinctrl-names = "default"; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 28 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; |
| 29 | bus-width = <4>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 30 | wp-gpios = <&gpio1 30 0>; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 31 | vmmc-supply = <®_vddio_sd0>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 32 | status = "okay"; |
| 33 | }; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 34 | |
| 35 | pinctrl@80018000 { |
| 36 | pinctrl-names = "default"; |
| 37 | pinctrl-0 = <&hog_pins_a>; |
| 38 | |
| 39 | hog_pins_a: hog-gpios@0 { |
| 40 | reg = <0>; |
| 41 | fsl,pinmux-ids = < |
| 42 | 0x1123 /* MX23_PAD_LCD_RESET__GPIO_1_18 */ |
| 43 | 0x11d3 /* MX23_PAD_PWM3__GPIO_1_29 */ |
| 44 | 0x11e3 /* MX23_PAD_PWM4__GPIO_1_30 */ |
| 45 | >; |
| 46 | fsl,drive-strength = <0>; |
| 47 | fsl,voltage = <1>; |
| 48 | fsl,pull-up = <0>; |
| 49 | }; |
| 50 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame^] | 51 | |
| 52 | lcdif@80030000 { |
| 53 | pinctrl-names = "default"; |
| 54 | pinctrl-0 = <&lcdif_24bit_pins_a>; |
| 55 | panel-enable-gpios = <&gpio1 18 0>; |
| 56 | status = "okay"; |
| 57 | }; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 58 | }; |
| 59 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 60 | apbx@80040000 { |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 61 | pwm: pwm@80064000 { |
| 62 | pinctrl-names = "default"; |
| 63 | pinctrl-0 = <&pwm2_pins_a>; |
| 64 | status = "okay"; |
| 65 | }; |
| 66 | |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 67 | auart0: serial@8006c000 { |
| 68 | pinctrl-names = "default"; |
| 69 | pinctrl-0 = <&auart0_pins_a>; |
| 70 | status = "okay"; |
| 71 | }; |
| 72 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 73 | duart: serial@80070000 { |
| 74 | pinctrl-names = "default"; |
| 75 | pinctrl-0 = <&duart_pins_a>; |
| 76 | status = "okay"; |
| 77 | }; |
| 78 | }; |
| 79 | }; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 80 | |
| 81 | regulators { |
| 82 | compatible = "simple-bus"; |
| 83 | |
| 84 | reg_vddio_sd0: vddio-sd0 { |
| 85 | compatible = "regulator-fixed"; |
| 86 | regulator-name = "vddio-sd0"; |
| 87 | regulator-min-microvolt = <3300000>; |
| 88 | regulator-max-microvolt = <3300000>; |
| 89 | gpio = <&gpio1 29 0>; |
| 90 | }; |
| 91 | }; |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 92 | |
| 93 | backlight { |
| 94 | compatible = "pwm-backlight"; |
| 95 | pwms = <&pwm 2 5000000>; |
| 96 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 97 | default-brightness-level = <6>; |
| 98 | }; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 99 | }; |