blob: 3b609d987d88300f68f1402057dfc9b47b8bb146 [file] [log] [blame]
Fabio Estevam1f31e252018-05-14 14:58:47 -03001// SPDX-License-Identifier: GPL-2.0+
2//
3// Copyright 2012 Freescale Semiconductor, Inc.
Shawn Guo2954ff32012-05-04 21:33:42 +08004
5/dts-v1/;
Lothar Waßmannbc3875f2013-09-19 08:59:48 +02006#include "imx23.dtsi"
Shawn Guo2954ff32012-05-04 21:33:42 +08007
8/ {
9 model = "Freescale i.MX23 Evaluation Kit";
10 compatible = "fsl,imx23-evk", "fsl,imx23";
11
Marco Franchiad00e082018-01-24 11:22:14 -020012 memory@40000000 {
Fabio Estevamb629e832018-11-26 10:08:55 -020013 device_type = "memory";
Shawn Guo2954ff32012-05-04 21:33:42 +080014 reg = <0x40000000 0x08000000>;
15 };
16
Fabio Estevamcde305e2018-07-20 17:39:18 -030017 reg_vddio_sd0: regulator-vddio-sd0 {
18 compatible = "regulator-fixed";
19 regulator-name = "vddio-sd0";
20 regulator-min-microvolt = <3300000>;
21 regulator-max-microvolt = <3300000>;
22 gpio = <&gpio1 29 0>;
23 };
24
25 reg_lcd_3v3: regulator-lcd-3v3 {
26 compatible = "regulator-fixed";
27 regulator-name = "lcd-3v3";
28 regulator-min-microvolt = <3300000>;
29 regulator-max-microvolt = <3300000>;
30 gpio = <&gpio1 18 0>;
31 enable-active-high;
32 };
33
Fabio Estevam549644b2018-07-20 17:39:19 -030034 reg_lcd_5v: regulator-lcd-5v {
35 compatible = "regulator-fixed";
36 regulator-name = "lcd-5v";
37 regulator-min-microvolt = <5000000>;
38 regulator-max-microvolt = <5000000>;
39 };
40
41 panel {
42 compatible = "sii,43wvf1g";
43 backlight = <&backlight_display>;
44 dvdd-supply = <&reg_lcd_3v3>;
45 avdd-supply = <&reg_lcd_5v>;
46
47 port {
48 panel_in: endpoint {
49 remote-endpoint = <&display_out>;
50 };
51 };
52 };
53
Shawn Guo2954ff32012-05-04 21:33:42 +080054 apb@80000000 {
Shawn Guobe1ce302012-05-06 16:29:36 +080055 apbh@80000000 {
Anson Huang175808882020-07-30 21:04:06 +080056 nand-controller@8000c000 {
Huang Shijieb9f25f82012-07-03 12:58:13 +080057 pinctrl-names = "default";
58 pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>;
59 status = "okay";
60 };
61
Rob Herring5a2ecf02018-09-13 13:12:29 -050062 ssp0: spi@80010000 {
Shawn Guobe1ce302012-05-06 16:29:36 +080063 compatible = "fsl,imx23-mmc";
64 pinctrl-names = "default";
Shawn Guo72beaba2012-06-28 11:44:59 +080065 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
66 bus-width = <4>;
Shawn Guobe1ce302012-05-06 16:29:36 +080067 wp-gpios = <&gpio1 30 0>;
Shawn Guo72beaba2012-06-28 11:44:59 +080068 vmmc-supply = <&reg_vddio_sd0>;
Shawn Guobe1ce302012-05-06 16:29:36 +080069 status = "okay";
70 };
Shawn Guod54dbb52012-06-28 11:44:58 +080071
72 pinctrl@80018000 {
73 pinctrl-names = "default";
74 pinctrl-0 = <&hog_pins_a>;
75
Fabio Estevame0e35b42012-08-22 13:25:31 -030076 hog_pins_a: hog@0 {
Shawn Guod54dbb52012-06-28 11:44:58 +080077 reg = <0>;
78 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +020079 MX23_PAD_LCD_RESET__GPIO_1_18
80 MX23_PAD_PWM3__GPIO_1_29
81 MX23_PAD_PWM4__GPIO_1_30
Shawn Guod54dbb52012-06-28 11:44:58 +080082 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +080083 fsl,drive-strength = <MXS_DRIVE_4mA>;
84 fsl,voltage = <MXS_VOLTAGE_HIGH>;
85 fsl,pull-up = <MXS_PULL_DISABLE>;
Shawn Guod54dbb52012-06-28 11:44:58 +080086 };
87 };
Shawn Guoa915ee42012-06-28 11:45:07 +080088
89 lcdif@80030000 {
90 pinctrl-names = "default";
91 pinctrl-0 = <&lcdif_24bit_pins_a>;
Shawn Guoa915ee42012-06-28 11:45:07 +080092 status = "okay";
Shawn Guo0d9f8212013-03-14 11:37:15 +080093
Fabio Estevam549644b2018-07-20 17:39:19 -030094 port {
95 display_out: endpoint {
96 remote-endpoint = <&panel_in>;
Shawn Guo0d9f8212013-03-14 11:37:15 +080097 };
98 };
Shawn Guoa915ee42012-06-28 11:45:07 +080099 };
Shawn Guobe1ce302012-05-06 16:29:36 +0800100 };
101
Shawn Guo2954ff32012-05-04 21:33:42 +0800102 apbx@80040000 {
Otavio Salvador08ad7142013-07-16 09:56:13 -0300103 lradc@80050000 {
104 status = "okay";
105 fsl,lradc-touchscreen-wires = <4>;
106 };
107
Shawn Guo52f71762012-06-28 11:45:06 +0800108 pwm: pwm@80064000 {
109 pinctrl-names = "default";
110 pinctrl-0 = <&pwm2_pins_a>;
111 status = "okay";
112 };
113
Shawn Guoa4508392012-06-28 11:45:00 +0800114 auart0: serial@8006c000 {
115 pinctrl-names = "default";
116 pinctrl-0 = <&auart0_pins_a>;
117 status = "okay";
118 };
119
Shawn Guo2954ff32012-05-04 21:33:42 +0800120 duart: serial@80070000 {
121 pinctrl-names = "default";
122 pinctrl-0 = <&duart_pins_a>;
123 status = "okay";
124 };
Otavio Salvadorecdc78b2013-07-16 09:56:12 -0300125
126 usbphy0: usbphy@8007c000 {
127 status = "okay";
128 };
129 };
130 };
131
132 ahb@80080000 {
133 usb0: usb@80080000 {
134 status = "okay";
Shawn Guo2954ff32012-05-04 21:33:42 +0800135 };
136 };
Shawn Guo72beaba2012-06-28 11:44:59 +0800137
Fabio Estevam549644b2018-07-20 17:39:19 -0300138 backlight_display: backlight {
Shawn Guo52f71762012-06-28 11:45:06 +0800139 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 };
Shawn Guo2954ff32012-05-04 21:33:42 +0800144};