Fabio Estevam | 1f31e25 | 2018-05-14 14:58:47 -0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | // |
| 3 | // Copyright 2012 Freescale Semiconductor, Inc. |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 4 | |
| 5 | /dts-v1/; |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 6 | #include "imx23.dtsi" |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 7 | |
| 8 | / { |
| 9 | model = "Freescale i.MX23 Evaluation Kit"; |
| 10 | compatible = "fsl,imx23-evk", "fsl,imx23"; |
| 11 | |
Marco Franchi | ad00e08 | 2018-01-24 11:22:14 -0200 | [diff] [blame] | 12 | memory@40000000 { |
Fabio Estevam | b629e83 | 2018-11-26 10:08:55 -0200 | [diff] [blame] | 13 | device_type = "memory"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 14 | reg = <0x40000000 0x08000000>; |
| 15 | }; |
| 16 | |
Fabio Estevam | cde305e | 2018-07-20 17:39:18 -0300 | [diff] [blame] | 17 | reg_vddio_sd0: regulator-vddio-sd0 { |
| 18 | compatible = "regulator-fixed"; |
| 19 | regulator-name = "vddio-sd0"; |
| 20 | regulator-min-microvolt = <3300000>; |
| 21 | regulator-max-microvolt = <3300000>; |
| 22 | gpio = <&gpio1 29 0>; |
| 23 | }; |
| 24 | |
| 25 | reg_lcd_3v3: regulator-lcd-3v3 { |
| 26 | compatible = "regulator-fixed"; |
| 27 | regulator-name = "lcd-3v3"; |
| 28 | regulator-min-microvolt = <3300000>; |
| 29 | regulator-max-microvolt = <3300000>; |
| 30 | gpio = <&gpio1 18 0>; |
| 31 | enable-active-high; |
| 32 | }; |
| 33 | |
Fabio Estevam | 549644b | 2018-07-20 17:39:19 -0300 | [diff] [blame] | 34 | reg_lcd_5v: regulator-lcd-5v { |
| 35 | compatible = "regulator-fixed"; |
| 36 | regulator-name = "lcd-5v"; |
| 37 | regulator-min-microvolt = <5000000>; |
| 38 | regulator-max-microvolt = <5000000>; |
| 39 | }; |
| 40 | |
| 41 | panel { |
| 42 | compatible = "sii,43wvf1g"; |
| 43 | backlight = <&backlight_display>; |
| 44 | dvdd-supply = <®_lcd_3v3>; |
| 45 | avdd-supply = <®_lcd_5v>; |
| 46 | |
| 47 | port { |
| 48 | panel_in: endpoint { |
| 49 | remote-endpoint = <&display_out>; |
| 50 | }; |
| 51 | }; |
| 52 | }; |
| 53 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 54 | apb@80000000 { |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 55 | apbh@80000000 { |
Anson Huang | 17580888 | 2020-07-30 21:04:06 +0800 | [diff] [blame] | 56 | nand-controller@8000c000 { |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 57 | pinctrl-names = "default"; |
| 58 | pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>; |
| 59 | status = "okay"; |
| 60 | }; |
| 61 | |
Rob Herring | 5a2ecf0 | 2018-09-13 13:12:29 -0500 | [diff] [blame] | 62 | ssp0: spi@80010000 { |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 63 | compatible = "fsl,imx23-mmc"; |
| 64 | pinctrl-names = "default"; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 65 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; |
| 66 | bus-width = <4>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 67 | wp-gpios = <&gpio1 30 0>; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 68 | vmmc-supply = <®_vddio_sd0>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 69 | status = "okay"; |
| 70 | }; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 71 | |
| 72 | pinctrl@80018000 { |
| 73 | pinctrl-names = "default"; |
| 74 | pinctrl-0 = <&hog_pins_a>; |
| 75 | |
Fabio Estevam | e0e35b4 | 2012-08-22 13:25:31 -0300 | [diff] [blame] | 76 | hog_pins_a: hog@0 { |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 77 | reg = <0>; |
| 78 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 79 | MX23_PAD_LCD_RESET__GPIO_1_18 |
| 80 | MX23_PAD_PWM3__GPIO_1_29 |
| 81 | MX23_PAD_PWM4__GPIO_1_30 |
| 82 | MX23_PAD_SSP1_DETECT__SSP1_DETECT |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 83 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 84 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 85 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 86 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 87 | }; |
| 88 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 89 | |
| 90 | lcdif@80030000 { |
| 91 | pinctrl-names = "default"; |
| 92 | pinctrl-0 = <&lcdif_24bit_pins_a>; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 93 | status = "okay"; |
Shawn Guo | 0d9f821 | 2013-03-14 11:37:15 +0800 | [diff] [blame] | 94 | |
Fabio Estevam | 549644b | 2018-07-20 17:39:19 -0300 | [diff] [blame] | 95 | port { |
| 96 | display_out: endpoint { |
| 97 | remote-endpoint = <&panel_in>; |
Shawn Guo | 0d9f821 | 2013-03-14 11:37:15 +0800 | [diff] [blame] | 98 | }; |
| 99 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 100 | }; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 101 | }; |
| 102 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 103 | apbx@80040000 { |
Otavio Salvador | 08ad714 | 2013-07-16 09:56:13 -0300 | [diff] [blame] | 104 | lradc@80050000 { |
| 105 | status = "okay"; |
| 106 | fsl,lradc-touchscreen-wires = <4>; |
| 107 | }; |
| 108 | |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 109 | pwm: pwm@80064000 { |
| 110 | pinctrl-names = "default"; |
| 111 | pinctrl-0 = <&pwm2_pins_a>; |
| 112 | status = "okay"; |
| 113 | }; |
| 114 | |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 115 | auart0: serial@8006c000 { |
| 116 | pinctrl-names = "default"; |
| 117 | pinctrl-0 = <&auart0_pins_a>; |
| 118 | status = "okay"; |
| 119 | }; |
| 120 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 121 | duart: serial@80070000 { |
| 122 | pinctrl-names = "default"; |
| 123 | pinctrl-0 = <&duart_pins_a>; |
| 124 | status = "okay"; |
| 125 | }; |
Otavio Salvador | ecdc78b | 2013-07-16 09:56:12 -0300 | [diff] [blame] | 126 | |
| 127 | usbphy0: usbphy@8007c000 { |
| 128 | status = "okay"; |
| 129 | }; |
| 130 | }; |
| 131 | }; |
| 132 | |
| 133 | ahb@80080000 { |
| 134 | usb0: usb@80080000 { |
| 135 | status = "okay"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 136 | }; |
| 137 | }; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 138 | |
Fabio Estevam | 549644b | 2018-07-20 17:39:19 -0300 | [diff] [blame] | 139 | backlight_display: backlight { |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 140 | compatible = "pwm-backlight"; |
| 141 | pwms = <&pwm 2 5000000>; |
| 142 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 143 | default-brightness-level = <6>; |
| 144 | }; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 145 | }; |