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