blob: 1093dd55c87a8e8e01b73a6af686adbbe8951ad6 [file] [log] [blame]
Shawn Guo2954ff32012-05-04 21:33:42 +08001/*
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 Guobe1ce302012-05-06 16:29:36 +080024 apbh@80000000 {
Huang Shijieb9f25f82012-07-03 12:58:13 +080025 gpmi-nand@8000c000 {
26 pinctrl-names = "default";
27 pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>;
28 status = "okay";
29 };
30
Shawn Guobe1ce302012-05-06 16:29:36 +080031 ssp0: ssp@80010000 {
32 compatible = "fsl,imx23-mmc";
33 pinctrl-names = "default";
Shawn Guo72beaba2012-06-28 11:44:59 +080034 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
35 bus-width = <4>;
Shawn Guobe1ce302012-05-06 16:29:36 +080036 wp-gpios = <&gpio1 30 0>;
Shawn Guo72beaba2012-06-28 11:44:59 +080037 vmmc-supply = <&reg_vddio_sd0>;
Shawn Guobe1ce302012-05-06 16:29:36 +080038 status = "okay";
39 };
Shawn Guod54dbb52012-06-28 11:44:58 +080040
41 pinctrl@80018000 {
42 pinctrl-names = "default";
43 pinctrl-0 = <&hog_pins_a>;
44
Fabio Estevame0e35b42012-08-22 13:25:31 -030045 hog_pins_a: hog@0 {
Shawn Guod54dbb52012-06-28 11:44:58 +080046 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 */
51 >;
52 fsl,drive-strength = <0>;
53 fsl,voltage = <1>;
54 fsl,pull-up = <0>;
55 };
56 };
Shawn Guoa915ee42012-06-28 11:45:07 +080057
58 lcdif@80030000 {
59 pinctrl-names = "default";
60 pinctrl-0 = <&lcdif_24bit_pins_a>;
61 panel-enable-gpios = <&gpio1 18 0>;
62 status = "okay";
63 };
Shawn Guobe1ce302012-05-06 16:29:36 +080064 };
65
Shawn Guo2954ff32012-05-04 21:33:42 +080066 apbx@80040000 {
Shawn Guo52f71762012-06-28 11:45:06 +080067 pwm: pwm@80064000 {
68 pinctrl-names = "default";
69 pinctrl-0 = <&pwm2_pins_a>;
70 status = "okay";
71 };
72
Shawn Guoa4508392012-06-28 11:45:00 +080073 auart0: serial@8006c000 {
74 pinctrl-names = "default";
75 pinctrl-0 = <&auart0_pins_a>;
76 status = "okay";
77 };
78
Shawn Guo2954ff32012-05-04 21:33:42 +080079 duart: serial@80070000 {
80 pinctrl-names = "default";
81 pinctrl-0 = <&duart_pins_a>;
82 status = "okay";
83 };
84 };
85 };
Shawn Guo72beaba2012-06-28 11:44:59 +080086
87 regulators {
88 compatible = "simple-bus";
89
90 reg_vddio_sd0: vddio-sd0 {
91 compatible = "regulator-fixed";
92 regulator-name = "vddio-sd0";
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
95 gpio = <&gpio1 29 0>;
96 };
97 };
Shawn Guo52f71762012-06-28 11:45:06 +080098
99 backlight {
100 compatible = "pwm-backlight";
101 pwms = <&pwm 2 5000000>;
102 brightness-levels = <0 4 8 16 32 64 128 255>;
103 default-brightness-level = <6>;
104 };
Shawn Guo2954ff32012-05-04 21:33:42 +0800105};