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 {
|
2012-05-04 21:33:42 +08:00
|
|
|
reg = <0x40000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
apb@80000000 {
|
2012-05-06 16:29:36 +08:00
|
|
|
apbh@80000000 {
|
2012-07-03 12:58:13 +08:00
|
|
|
gpmi-nand@8000c000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-05-06 16:29:36 +08:00
|
|
|
ssp0: ssp@80010000 {
|
|
|
|
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>;
|
2013-04-08 02:44:59 +08:00
|
|
|
lcd-supply = <®_lcd_3v3>;
|
2014-09-03 09:45:13 +08:00
|
|
|
display = <&display0>;
|
2012-06-28 11:45:07 +08:00
|
|
|
status = "okay";
|
2013-03-14 11:37:15 +08:00
|
|
|
|
2014-09-03 09:45:13 +08:00
|
|
|
display0: display0 {
|
2013-03-14 11:37:15 +08:00
|
|
|
bits-per-pixel = <32>;
|
|
|
|
bus-width = <24>;
|
|
|
|
|
|
|
|
display-timings {
|
|
|
|
native-mode = <&timing0>;
|
|
|
|
timing0: timing0 {
|
|
|
|
clock-frequency = <9200000>;
|
|
|
|
hactive = <480>;
|
|
|
|
vactive = <272>;
|
|
|
|
hback-porch = <15>;
|
|
|
|
hfront-porch = <8>;
|
|
|
|
vback-porch = <12>;
|
|
|
|
vfront-porch = <4>;
|
|
|
|
hsync-len = <1>;
|
|
|
|
vsync-len = <1>;
|
|
|
|
hsync-active = <0>;
|
|
|
|
vsync-active = <0>;
|
|
|
|
de-active = <1>;
|
|
|
|
pixelclk-active = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
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
|
|
|
|
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
2014-02-07 23:18:30 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-06-28 11:44:59 +08:00
|
|
|
|
2014-02-07 23:18:30 +08:00
|
|
|
reg_vddio_sd0: regulator@0 {
|
2012-06-28 11:44:59 +08:00
|
|
|
compatible = "regulator-fixed";
|
2014-02-07 23:18:30 +08:00
|
|
|
reg = <0>;
|
2012-06-28 11:44:59 +08:00
|
|
|
regulator-name = "vddio-sd0";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&gpio1 29 0>;
|
|
|
|
};
|
2013-04-08 02:44:59 +08:00
|
|
|
|
2014-02-07 23:18:30 +08:00
|
|
|
reg_lcd_3v3: regulator@1 {
|
2013-04-08 02:44:59 +08:00
|
|
|
compatible = "regulator-fixed";
|
2014-02-07 23:18:30 +08:00
|
|
|
reg = <1>;
|
2013-04-08 02:44:59 +08:00
|
|
|
regulator-name = "lcd-3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&gpio1 18 0>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
2012-06-28 11:44:59 +08:00
|
|
|
};
|
2012-06-28 11:45:06 +08:00
|
|
|
|
|
|
|
backlight {
|
|
|
|
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
|
|
|
};
|