2018-05-15 01:58:47 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
//
|
|
|
|
// Copyright 2012 Freescale Semiconductor, Inc.
|
2012-05-04 21:33:42 +08:00
|
|
|
|
|
|
|
/dts-v1/;
|
2013-09-19 14:59:48 +08:00
|
|
|
#include "imx23.dtsi"
|
2012-05-04 21:33:42 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Freescale i.MX23 Evaluation Kit";
|
|
|
|
compatible = "fsl,imx23-evk", "fsl,imx23";
|
|
|
|
|
2018-01-24 21:22:14 +08:00
|
|
|
memory@40000000 {
|
2018-11-26 20:08:55 +08:00
|
|
|
device_type = "memory";
|
2012-05-04 21:33:42 +08:00
|
|
|
reg = <0x40000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
2018-07-21 04:39:18 +08:00
|
|
|
reg_vddio_sd0: regulator-vddio-sd0 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vddio-sd0";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&gpio1 29 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_lcd_3v3: regulator-lcd-3v3 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "lcd-3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&gpio1 18 0>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
2018-07-21 04:39:19 +08:00
|
|
|
reg_lcd_5v: regulator-lcd-5v {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "lcd-5v";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
panel {
|
|
|
|
compatible = "sii,43wvf1g";
|
|
|
|
backlight = <&backlight_display>;
|
|
|
|
dvdd-supply = <®_lcd_3v3>;
|
|
|
|
avdd-supply = <®_lcd_5v>;
|
|
|
|
|
|
|
|
port {
|
|
|
|
panel_in: endpoint {
|
|
|
|
remote-endpoint = <&display_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-05-04 21:33:42 +08:00
|
|
|
apb@80000000 {
|
2012-05-06 16:29:36 +08:00
|
|
|
apbh@80000000 {
|
2020-07-30 21:04:06 +08:00
|
|
|
nand-controller@8000c000 {
|
2012-07-03 12:58:13 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-09-14 02:12:29 +08:00
|
|
|
ssp0: spi@80010000 {
|
2012-05-06 16:29:36 +08:00
|
|
|
compatible = "fsl,imx23-mmc";
|
|
|
|
pinctrl-names = "default";
|
2012-06-28 11:44:59 +08:00
|
|
|
pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
|
|
|
|
bus-width = <4>;
|
2012-05-06 16:29:36 +08:00
|
|
|
wp-gpios = <&gpio1 30 0>;
|
2012-06-28 11:44:59 +08:00
|
|
|
vmmc-supply = <®_vddio_sd0>;
|
2012-05-06 16:29:36 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2012-06-28 11:44:58 +08:00
|
|
|
|
|
|
|
pinctrl@80018000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&hog_pins_a>;
|
|
|
|
|
2012-08-23 00:25:31 +08:00
|
|
|
hog_pins_a: hog@0 {
|
2012-06-28 11:44:58 +08:00
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 14:59:48 +08:00
|
|
|
MX23_PAD_LCD_RESET__GPIO_1_18
|
|
|
|
MX23_PAD_PWM3__GPIO_1_29
|
|
|
|
MX23_PAD_PWM4__GPIO_1_30
|
|
|
|
MX23_PAD_SSP1_DETECT__SSP1_DETECT
|
2012-06-28 11:44:58 +08:00
|
|
|
>;
|
2013-09-22 14:02:59 +08:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_DISABLE>;
|
2012-06-28 11:44:58 +08:00
|
|
|
};
|
|
|
|
};
|
2012-06-28 11:45:07 +08:00
|
|
|
|
|
|
|
lcdif@80030000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&lcdif_24bit_pins_a>;
|
|
|
|
status = "okay";
|
2013-03-14 11:37:15 +08:00
|
|
|
|
2018-07-21 04:39:19 +08:00
|
|
|
port {
|
|
|
|
display_out: endpoint {
|
|
|
|
remote-endpoint = <&panel_in>;
|
2013-03-14 11:37:15 +08:00
|
|
|
};
|
|
|
|
};
|
2012-06-28 11:45:07 +08:00
|
|
|
};
|
2012-05-06 16:29:36 +08:00
|
|
|
};
|
|
|
|
|
2012-05-04 21:33:42 +08:00
|
|
|
apbx@80040000 {
|
2013-07-16 20:56:13 +08:00
|
|
|
lradc@80050000 {
|
|
|
|
status = "okay";
|
|
|
|
fsl,lradc-touchscreen-wires = <4>;
|
|
|
|
};
|
|
|
|
|
2012-06-28 11:45:06 +08:00
|
|
|
pwm: pwm@80064000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm2_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-06-28 11:45:00 +08:00
|
|
|
auart0: serial@8006c000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&auart0_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-05-04 21:33:42 +08:00
|
|
|
duart: serial@80070000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&duart_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2013-07-16 20:56:12 +08:00
|
|
|
|
|
|
|
usbphy0: usbphy@8007c000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ahb@80080000 {
|
|
|
|
usb0: usb@80080000 {
|
|
|
|
status = "okay";
|
2012-05-04 21:33:42 +08:00
|
|
|
};
|
|
|
|
};
|
2012-06-28 11:44:59 +08:00
|
|
|
|
2018-07-21 04:39:19 +08:00
|
|
|
backlight_display: backlight {
|
2012-06-28 11:45:06 +08:00
|
|
|
compatible = "pwm-backlight";
|
|
|
|
pwms = <&pwm 2 5000000>;
|
|
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
|
|
default-brightness-level = <6>;
|
|
|
|
};
|
2012-05-04 21:33:42 +08:00
|
|
|
};
|