Commit | Line | Data |
---|---|---|
1f31e253 FE |
1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | // | |
3 | // Copyright 2012 Freescale Semiconductor, Inc. | |
2954ff39 SG |
4 | |
5 | /dts-v1/; | |
bc3875f1 | 6 | #include "imx23.dtsi" |
2954ff39 SG |
7 | |
8 | / { | |
9 | model = "Freescale i.MX23 Evaluation Kit"; | |
10 | compatible = "fsl,imx23-evk", "fsl,imx23"; | |
11 | ||
ad00e080 | 12 | memory@40000000 { |
2954ff39 SG |
13 | reg = <0x40000000 0x08000000>; |
14 | }; | |
15 | ||
cde305e9 FE |
16 | reg_vddio_sd0: regulator-vddio-sd0 { |
17 | compatible = "regulator-fixed"; | |
18 | regulator-name = "vddio-sd0"; | |
19 | regulator-min-microvolt = <3300000>; | |
20 | regulator-max-microvolt = <3300000>; | |
21 | gpio = <&gpio1 29 0>; | |
22 | }; | |
23 | ||
24 | reg_lcd_3v3: regulator-lcd-3v3 { | |
25 | compatible = "regulator-fixed"; | |
26 | regulator-name = "lcd-3v3"; | |
27 | regulator-min-microvolt = <3300000>; | |
28 | regulator-max-microvolt = <3300000>; | |
29 | gpio = <&gpio1 18 0>; | |
30 | enable-active-high; | |
31 | }; | |
32 | ||
549644b8 FE |
33 | reg_lcd_5v: regulator-lcd-5v { |
34 | compatible = "regulator-fixed"; | |
35 | regulator-name = "lcd-5v"; | |
36 | regulator-min-microvolt = <5000000>; | |
37 | regulator-max-microvolt = <5000000>; | |
38 | }; | |
39 | ||
40 | panel { | |
41 | compatible = "sii,43wvf1g"; | |
42 | backlight = <&backlight_display>; | |
43 | dvdd-supply = <®_lcd_3v3>; | |
44 | avdd-supply = <®_lcd_5v>; | |
45 | ||
46 | port { | |
47 | panel_in: endpoint { | |
48 | remote-endpoint = <&display_out>; | |
49 | }; | |
50 | }; | |
51 | }; | |
52 | ||
2954ff39 | 53 | apb@80000000 { |
be1ce308 | 54 | apbh@80000000 { |
b9f25f86 HS |
55 | gpmi-nand@8000c000 { |
56 | pinctrl-names = "default"; | |
57 | pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>; | |
58 | status = "okay"; | |
59 | }; | |
60 | ||
5a2ecf0d | 61 | ssp0: spi@80010000 { |
be1ce308 SG |
62 | compatible = "fsl,imx23-mmc"; |
63 | pinctrl-names = "default"; | |
72beabae SG |
64 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; |
65 | bus-width = <4>; | |
be1ce308 | 66 | wp-gpios = <&gpio1 30 0>; |
72beabae | 67 | vmmc-supply = <®_vddio_sd0>; |
be1ce308 SG |
68 | status = "okay"; |
69 | }; | |
d54dbb50 SG |
70 | |
71 | pinctrl@80018000 { | |
72 | pinctrl-names = "default"; | |
73 | pinctrl-0 = <&hog_pins_a>; | |
74 | ||
e0e35b48 | 75 | hog_pins_a: hog@0 { |
d54dbb50 SG |
76 | reg = <0>; |
77 | fsl,pinmux-ids = < | |
bc3875f1 LW |
78 | MX23_PAD_LCD_RESET__GPIO_1_18 |
79 | MX23_PAD_PWM3__GPIO_1_29 | |
80 | MX23_PAD_PWM4__GPIO_1_30 | |
81 | MX23_PAD_SSP1_DETECT__SSP1_DETECT | |
d54dbb50 | 82 | >; |
4191c340 LW |
83 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
84 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | |
85 | fsl,pull-up = <MXS_PULL_DISABLE>; | |
d54dbb50 SG |
86 | }; |
87 | }; | |
a915ee42 SG |
88 | |
89 | lcdif@80030000 { | |
90 | pinctrl-names = "default"; | |
91 | pinctrl-0 = <&lcdif_24bit_pins_a>; | |
a915ee42 | 92 | status = "okay"; |
0d9f8217 | 93 | |
549644b8 FE |
94 | port { |
95 | display_out: endpoint { | |
96 | remote-endpoint = <&panel_in>; | |
0d9f8217 SG |
97 | }; |
98 | }; | |
a915ee42 | 99 | }; |
be1ce308 SG |
100 | }; |
101 | ||
2954ff39 | 102 | apbx@80040000 { |
08ad714b OS |
103 | lradc@80050000 { |
104 | status = "okay"; | |
105 | fsl,lradc-touchscreen-wires = <4>; | |
106 | }; | |
107 | ||
52f7176b SG |
108 | pwm: pwm@80064000 { |
109 | pinctrl-names = "default"; | |
110 | pinctrl-0 = <&pwm2_pins_a>; | |
111 | status = "okay"; | |
112 | }; | |
113 | ||
a4508394 SG |
114 | auart0: serial@8006c000 { |
115 | pinctrl-names = "default"; | |
116 | pinctrl-0 = <&auart0_pins_a>; | |
117 | status = "okay"; | |
118 | }; | |
119 | ||
2954ff39 SG |
120 | duart: serial@80070000 { |
121 | pinctrl-names = "default"; | |
122 | pinctrl-0 = <&duart_pins_a>; | |
123 | status = "okay"; | |
124 | }; | |
ecdc78b5 OS |
125 | |
126 | usbphy0: usbphy@8007c000 { | |
127 | status = "okay"; | |
128 | }; | |
129 | }; | |
130 | }; | |
131 | ||
132 | ahb@80080000 { | |
133 | usb0: usb@80080000 { | |
134 | status = "okay"; | |
2954ff39 SG |
135 | }; |
136 | }; | |
72beabae | 137 | |
549644b8 | 138 | backlight_display: backlight { |
52f7176b SG |
139 | compatible = "pwm-backlight"; |
140 | pwms = <&pwm 2 5000000>; | |
141 | brightness-levels = <0 4 8 16 32 64 128 255>; | |
142 | default-brightness-level = <6>; | |
143 | }; | |
2954ff39 | 144 | }; |