2012-05-04 13:33:42 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* The code contained herein is licensed under the GNU General Public
|
|
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
|
|
* Version 2 or later at the following locations:
|
|
|
|
*
|
|
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2013-09-19 06:59:48 +00:00
|
|
|
#include "imx23.dtsi"
|
2012-05-04 13:33:42 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Freescale i.MX23 Evaluation Kit";
|
|
|
|
compatible = "fsl,imx23-evk", "fsl,imx23";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
reg = <0x40000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
apb@80000000 {
|
2012-05-06 08:29:36 +00:00
|
|
|
apbh@80000000 {
|
2012-07-03 04:58:13 +00:00
|
|
|
gpmi-nand@8000c000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-05-06 08:29:36 +00:00
|
|
|
ssp0: ssp@80010000 {
|
|
|
|
compatible = "fsl,imx23-mmc";
|
|
|
|
pinctrl-names = "default";
|
2012-06-28 03:44:59 +00:00
|
|
|
pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
|
|
|
|
bus-width = <4>;
|
2012-05-06 08:29:36 +00:00
|
|
|
wp-gpios = <&gpio1 30 0>;
|
2012-06-28 03:44:59 +00:00
|
|
|
vmmc-supply = <®_vddio_sd0>;
|
2012-05-06 08:29:36 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2012-06-28 03:44:58 +00:00
|
|
|
|
|
|
|
pinctrl@80018000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&hog_pins_a>;
|
|
|
|
|
2012-08-22 16:25:31 +00:00
|
|
|
hog_pins_a: hog@0 {
|
2012-06-28 03:44:58 +00:00
|
|
|
reg = <0>;
|
|
|
|
fsl,pinmux-ids = <
|
2013-09-19 06:59:48 +00: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 03:44:58 +00:00
|
|
|
>;
|
2013-09-22 06:02:59 +00:00
|
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
|
|
fsl,pull-up = <MXS_PULL_DISABLE>;
|
2012-06-28 03:44:58 +00:00
|
|
|
};
|
|
|
|
};
|
2012-06-28 03:45:07 +00:00
|
|
|
|
|
|
|
lcdif@80030000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&lcdif_24bit_pins_a>;
|
2013-04-07 18:44:59 +00:00
|
|
|
lcd-supply = <®_lcd_3v3>;
|
2014-09-03 01:45:13 +00:00
|
|
|
display = <&display0>;
|
2012-06-28 03:45:07 +00:00
|
|
|
status = "okay";
|
2013-03-14 03:37:15 +00:00
|
|
|
|
2014-09-03 01:45:13 +00:00
|
|
|
display0: display0 {
|
2013-03-14 03:37:15 +00: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 03:45:07 +00:00
|
|
|
};
|
2012-05-06 08:29:36 +00:00
|
|
|
};
|
|
|
|
|
2012-05-04 13:33:42 +00:00
|
|
|
apbx@80040000 {
|
2013-07-16 12:56:13 +00:00
|
|
|
lradc@80050000 {
|
|
|
|
status = "okay";
|
|
|
|
fsl,lradc-touchscreen-wires = <4>;
|
|
|
|
};
|
|
|
|
|
2012-06-28 03:45:06 +00:00
|
|
|
pwm: pwm@80064000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm2_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-06-28 03:45:00 +00:00
|
|
|
auart0: serial@8006c000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&auart0_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-05-04 13:33:42 +00:00
|
|
|
duart: serial@80070000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&duart_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2013-07-16 12:56:12 +00:00
|
|
|
|
|
|
|
usbphy0: usbphy@8007c000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ahb@80080000 {
|
|
|
|
usb0: usb@80080000 {
|
|
|
|
status = "okay";
|
2012-05-04 13:33:42 +00:00
|
|
|
};
|
|
|
|
};
|
2012-06-28 03:44:59 +00:00
|
|
|
|
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
2014-02-07 15:18:30 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-06-28 03:44:59 +00:00
|
|
|
|
2014-02-07 15:18:30 +00:00
|
|
|
reg_vddio_sd0: regulator@0 {
|
2012-06-28 03:44:59 +00:00
|
|
|
compatible = "regulator-fixed";
|
2014-02-07 15:18:30 +00:00
|
|
|
reg = <0>;
|
2012-06-28 03:44:59 +00:00
|
|
|
regulator-name = "vddio-sd0";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&gpio1 29 0>;
|
|
|
|
};
|
2013-04-07 18:44:59 +00:00
|
|
|
|
2014-02-07 15:18:30 +00:00
|
|
|
reg_lcd_3v3: regulator@1 {
|
2013-04-07 18:44:59 +00:00
|
|
|
compatible = "regulator-fixed";
|
2014-02-07 15:18:30 +00:00
|
|
|
reg = <1>;
|
2013-04-07 18:44:59 +00:00
|
|
|
regulator-name = "lcd-3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&gpio1 18 0>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
2012-06-28 03:44:59 +00:00
|
|
|
};
|
2012-06-28 03:45:06 +00: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 13:33:42 +00:00
|
|
|
};
|