Commit | Line | Data |
---|---|---|
2954ff39 SG |
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 { | |
be1ce308 | 24 | apbh@80000000 { |
b9f25f86 HS |
25 | gpmi-nand@8000c000 { |
26 | pinctrl-names = "default"; | |
27 | pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>; | |
28 | status = "okay"; | |
29 | }; | |
30 | ||
be1ce308 SG |
31 | ssp0: ssp@80010000 { |
32 | compatible = "fsl,imx23-mmc"; | |
33 | pinctrl-names = "default"; | |
72beabae SG |
34 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; |
35 | bus-width = <4>; | |
be1ce308 | 36 | wp-gpios = <&gpio1 30 0>; |
72beabae | 37 | vmmc-supply = <®_vddio_sd0>; |
be1ce308 SG |
38 | status = "okay"; |
39 | }; | |
d54dbb50 SG |
40 | |
41 | pinctrl@80018000 { | |
42 | pinctrl-names = "default"; | |
43 | pinctrl-0 = <&hog_pins_a>; | |
44 | ||
e0e35b48 | 45 | hog_pins_a: hog@0 { |
d54dbb50 SG |
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 */ | |
74b42123 | 51 | 0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */ |
d54dbb50 SG |
52 | >; |
53 | fsl,drive-strength = <0>; | |
54 | fsl,voltage = <1>; | |
55 | fsl,pull-up = <0>; | |
56 | }; | |
57 | }; | |
a915ee42 SG |
58 | |
59 | lcdif@80030000 { | |
60 | pinctrl-names = "default"; | |
61 | pinctrl-0 = <&lcdif_24bit_pins_a>; | |
4344429d | 62 | lcd-supply = <®_lcd_3v3>; |
0d9f8217 | 63 | display = <&display>; |
a915ee42 | 64 | status = "okay"; |
0d9f8217 SG |
65 | |
66 | display: display { | |
67 | 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 | }; | |
a915ee42 | 89 | }; |
be1ce308 SG |
90 | }; |
91 | ||
2954ff39 | 92 | apbx@80040000 { |
52f7176b SG |
93 | pwm: pwm@80064000 { |
94 | pinctrl-names = "default"; | |
95 | pinctrl-0 = <&pwm2_pins_a>; | |
96 | status = "okay"; | |
97 | }; | |
98 | ||
a4508394 SG |
99 | auart0: serial@8006c000 { |
100 | pinctrl-names = "default"; | |
101 | pinctrl-0 = <&auart0_pins_a>; | |
102 | status = "okay"; | |
103 | }; | |
104 | ||
2954ff39 SG |
105 | duart: serial@80070000 { |
106 | pinctrl-names = "default"; | |
107 | pinctrl-0 = <&duart_pins_a>; | |
108 | status = "okay"; | |
109 | }; | |
110 | }; | |
111 | }; | |
72beabae SG |
112 | |
113 | regulators { | |
114 | compatible = "simple-bus"; | |
115 | ||
116 | reg_vddio_sd0: vddio-sd0 { | |
117 | compatible = "regulator-fixed"; | |
118 | regulator-name = "vddio-sd0"; | |
119 | regulator-min-microvolt = <3300000>; | |
120 | regulator-max-microvolt = <3300000>; | |
121 | gpio = <&gpio1 29 0>; | |
122 | }; | |
4344429d FE |
123 | |
124 | reg_lcd_3v3: lcd-3v3 { | |
125 | compatible = "regulator-fixed"; | |
126 | regulator-name = "lcd-3v3"; | |
127 | regulator-min-microvolt = <3300000>; | |
128 | regulator-max-microvolt = <3300000>; | |
129 | gpio = <&gpio1 18 0>; | |
130 | enable-active-high; | |
131 | }; | |
72beabae | 132 | }; |
52f7176b SG |
133 | |
134 | backlight { | |
135 | compatible = "pwm-backlight"; | |
136 | pwms = <&pwm 2 5000000>; | |
137 | brightness-levels = <0 4 8 16 32 64 128 255>; | |
138 | default-brightness-level = <6>; | |
139 | }; | |
2954ff39 | 140 | }; |