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