blob: 57e29977ba06c0ed82d60b220e08973d30b3da02 [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/;
Lothar Waßmannbc3875f2013-09-19 08:59:48 +020013#include "imx23.dtsi"
Shawn Guo2954ff32012-05-04 21:33:42 +080014
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 = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +020048 MX23_PAD_LCD_RESET__GPIO_1_18
49 MX23_PAD_PWM3__GPIO_1_29
50 MX23_PAD_PWM4__GPIO_1_30
51 MX23_PAD_SSP1_DETECT__SSP1_DETECT
Shawn Guod54dbb52012-06-28 11:44:58 +080052 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +080053 fsl,drive-strength = <MXS_DRIVE_4mA>;
54 fsl,voltage = <MXS_VOLTAGE_HIGH>;
55 fsl,pull-up = <MXS_PULL_DISABLE>;
Shawn Guod54dbb52012-06-28 11:44:58 +080056 };
57 };
Shawn Guoa915ee42012-06-28 11:45:07 +080058
59 lcdif@80030000 {
60 pinctrl-names = "default";
61 pinctrl-0 = <&lcdif_24bit_pins_a>;
Fabio Estevam43444292013-04-07 15:44:59 -030062 lcd-supply = <&reg_lcd_3v3>;
Fabio Estevam31480922014-09-02 22:45:13 -030063 display = <&display0>;
Shawn Guoa915ee42012-06-28 11:45:07 +080064 status = "okay";
Shawn Guo0d9f8212013-03-14 11:37:15 +080065
Fabio Estevam31480922014-09-02 22:45:13 -030066 display0: display0 {
Shawn Guo0d9f8212013-03-14 11:37:15 +080067 bits-per-pixel = <32>;
68 bus-width = <24>;
69
70 display-timings {
71 native-mode = <&timing0>;
72 timing0: timing0 {
73 clock-frequency = <9200000>;
74 hactive = <480>;
75 vactive = <272>;
76 hback-porch = <15>;
77 hfront-porch = <8>;
78 vback-porch = <12>;
79 vfront-porch = <4>;
80 hsync-len = <1>;
81 vsync-len = <1>;
82 hsync-active = <0>;
83 vsync-active = <0>;
84 de-active = <1>;
85 pixelclk-active = <0>;
86 };
87 };
88 };
Shawn Guoa915ee42012-06-28 11:45:07 +080089 };
Shawn Guobe1ce302012-05-06 16:29:36 +080090 };
91
Shawn Guo2954ff32012-05-04 21:33:42 +080092 apbx@80040000 {
Otavio Salvador08ad7142013-07-16 09:56:13 -030093 lradc@80050000 {
94 status = "okay";
95 fsl,lradc-touchscreen-wires = <4>;
96 };
97
Shawn Guo52f71762012-06-28 11:45:06 +080098 pwm: pwm@80064000 {
99 pinctrl-names = "default";
100 pinctrl-0 = <&pwm2_pins_a>;
101 status = "okay";
102 };
103
Shawn Guoa4508392012-06-28 11:45:00 +0800104 auart0: serial@8006c000 {
105 pinctrl-names = "default";
106 pinctrl-0 = <&auart0_pins_a>;
107 status = "okay";
108 };
109
Shawn Guo2954ff32012-05-04 21:33:42 +0800110 duart: serial@80070000 {
111 pinctrl-names = "default";
112 pinctrl-0 = <&duart_pins_a>;
113 status = "okay";
114 };
Otavio Salvadorecdc78b2013-07-16 09:56:12 -0300115
116 usbphy0: usbphy@8007c000 {
117 status = "okay";
118 };
119 };
120 };
121
122 ahb@80080000 {
123 usb0: usb@80080000 {
124 status = "okay";
Shawn Guo2954ff32012-05-04 21:33:42 +0800125 };
126 };
Shawn Guo72beaba2012-06-28 11:44:59 +0800127
128 regulators {
129 compatible = "simple-bus";
Shawn Guo352d3182014-02-07 23:18:30 +0800130 #address-cells = <1>;
131 #size-cells = <0>;
Shawn Guo72beaba2012-06-28 11:44:59 +0800132
Shawn Guo352d3182014-02-07 23:18:30 +0800133 reg_vddio_sd0: regulator@0 {
Shawn Guo72beaba2012-06-28 11:44:59 +0800134 compatible = "regulator-fixed";
Shawn Guo352d3182014-02-07 23:18:30 +0800135 reg = <0>;
Shawn Guo72beaba2012-06-28 11:44:59 +0800136 regulator-name = "vddio-sd0";
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
139 gpio = <&gpio1 29 0>;
140 };
Fabio Estevam43444292013-04-07 15:44:59 -0300141
Shawn Guo352d3182014-02-07 23:18:30 +0800142 reg_lcd_3v3: regulator@1 {
Fabio Estevam43444292013-04-07 15:44:59 -0300143 compatible = "regulator-fixed";
Shawn Guo352d3182014-02-07 23:18:30 +0800144 reg = <1>;
Fabio Estevam43444292013-04-07 15:44:59 -0300145 regulator-name = "lcd-3v3";
146 regulator-min-microvolt = <3300000>;
147 regulator-max-microvolt = <3300000>;
148 gpio = <&gpio1 18 0>;
149 enable-active-high;
150 };
Shawn Guo72beaba2012-06-28 11:44:59 +0800151 };
Shawn Guo52f71762012-06-28 11:45:06 +0800152
153 backlight {
154 compatible = "pwm-backlight";
155 pwms = <&pwm 2 5000000>;
156 brightness-levels = <0 4 8 16 32 64 128 255>;
157 default-brightness-level = <6>;
158 };
Shawn Guo2954ff32012-05-04 21:33:42 +0800159};