ARM: dts: armada388-clearfog: enable spi flash
[linux-2.6-block.git] / arch / arm / boot / dts / imx23-evk.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 //
3 // Copyright 2012 Freescale Semiconductor, Inc.
4
5 /dts-v1/;
6 #include "imx23.dtsi"
7
8 / {
9         model = "Freescale i.MX23 Evaluation Kit";
10         compatible = "fsl,imx23-evk", "fsl,imx23";
11
12         memory@40000000 {
13                 reg = <0x40000000 0x08000000>;
14         };
15
16         apb@80000000 {
17                 apbh@80000000 {
18                         gpmi-nand@8000c000 {
19                                 pinctrl-names = "default";
20                                 pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>;
21                                 status = "okay";
22                         };
23
24                         ssp0: ssp@80010000 {
25                                 compatible = "fsl,imx23-mmc";
26                                 pinctrl-names = "default";
27                                 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
28                                 bus-width = <4>;
29                                 wp-gpios = <&gpio1 30 0>;
30                                 vmmc-supply = <&reg_vddio_sd0>;
31                                 status = "okay";
32                         };
33
34                         pinctrl@80018000 {
35                                 pinctrl-names = "default";
36                                 pinctrl-0 = <&hog_pins_a>;
37
38                                 hog_pins_a: hog@0 {
39                                         reg = <0>;
40                                         fsl,pinmux-ids = <
41                                                 MX23_PAD_LCD_RESET__GPIO_1_18
42                                                 MX23_PAD_PWM3__GPIO_1_29
43                                                 MX23_PAD_PWM4__GPIO_1_30
44                                                 MX23_PAD_SSP1_DETECT__SSP1_DETECT
45                                         >;
46                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
47                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
48                                         fsl,pull-up = <MXS_PULL_DISABLE>;
49                                 };
50                         };
51
52                         lcdif@80030000 {
53                                 pinctrl-names = "default";
54                                 pinctrl-0 = <&lcdif_24bit_pins_a>;
55                                 lcd-supply = <&reg_lcd_3v3>;
56                                 display = <&display0>;
57                                 status = "okay";
58
59                                 display0: display0 {
60                                         bits-per-pixel = <32>;
61                                         bus-width = <24>;
62
63                                         display-timings {
64                                                 native-mode = <&timing0>;
65                                                 timing0: timing0 {
66                                                         clock-frequency = <9200000>;
67                                                         hactive = <480>;
68                                                         vactive = <272>;
69                                                         hback-porch = <15>;
70                                                         hfront-porch = <8>;
71                                                         vback-porch = <12>;
72                                                         vfront-porch = <4>;
73                                                         hsync-len = <1>;
74                                                         vsync-len = <1>;
75                                                         hsync-active = <0>;
76                                                         vsync-active = <0>;
77                                                         de-active = <1>;
78                                                         pixelclk-active = <0>;
79                                                 };
80                                         };
81                                 };
82                         };
83                 };
84
85                 apbx@80040000 {
86                         lradc@80050000 {
87                                 status = "okay";
88                                 fsl,lradc-touchscreen-wires = <4>;
89                         };
90
91                         pwm: pwm@80064000 {
92                                 pinctrl-names = "default";
93                                 pinctrl-0 = <&pwm2_pins_a>;
94                                 status = "okay";
95                         };
96
97                         auart0: serial@8006c000 {
98                                 pinctrl-names = "default";
99                                 pinctrl-0 = <&auart0_pins_a>;
100                                 status = "okay";
101                         };
102
103                         duart: serial@80070000 {
104                                 pinctrl-names = "default";
105                                 pinctrl-0 = <&duart_pins_a>;
106                                 status = "okay";
107                         };
108
109                         usbphy0: usbphy@8007c000 {
110                                 status = "okay";
111                         };
112                 };
113         };
114
115         ahb@80080000 {
116                 usb0: usb@80080000 {
117                         status = "okay";
118                 };
119         };
120
121         regulators {
122                 compatible = "simple-bus";
123                 #address-cells = <1>;
124                 #size-cells = <0>;
125
126                 reg_vddio_sd0: regulator@0 {
127                         compatible = "regulator-fixed";
128                         reg = <0>;
129                         regulator-name = "vddio-sd0";
130                         regulator-min-microvolt = <3300000>;
131                         regulator-max-microvolt = <3300000>;
132                         gpio = <&gpio1 29 0>;
133                 };
134
135                 reg_lcd_3v3: regulator@1 {
136                         compatible = "regulator-fixed";
137                         reg = <1>;
138                         regulator-name = "lcd-3v3";
139                         regulator-min-microvolt = <3300000>;
140                         regulator-max-microvolt = <3300000>;
141                         gpio = <&gpio1 18 0>;
142                         enable-active-high;
143                 };
144         };
145
146         backlight {
147                 compatible = "pwm-backlight";
148                 pwms = <&pwm 2 5000000>;
149                 brightness-levels = <0 4 8 16 32 64 128 255>;
150                 default-brightness-level = <6>;
151         };
152 };