Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 13 | #include "imx28.dtsi" |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Freescale i.MX28 Evaluation Kit"; |
| 17 | compatible = "fsl,imx28-evk", "fsl,imx28"; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x40000000 0x08000000>; |
| 21 | }; |
| 22 | |
| 23 | apb@80000000 { |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 24 | apbh@80000000 { |
Huang Shijie | 7a8e514 | 2012-05-25 17:25:35 +0800 | [diff] [blame] | 25 | gpmi-nand@8000c000 { |
| 26 | pinctrl-names = "default"; |
Shawn Guo | daefb69 | 2012-07-07 20:59:09 +0800 | [diff] [blame] | 27 | pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg |
| 28 | &gpmi_pins_evk>; |
Huang Shijie | 7a8e514 | 2012-05-25 17:25:35 +0800 | [diff] [blame] | 29 | status = "okay"; |
| 30 | }; |
| 31 | |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 32 | ssp0: ssp@80010000 { |
| 33 | compatible = "fsl,imx28-mmc"; |
| 34 | pinctrl-names = "default"; |
| 35 | pinctrl-0 = <&mmc0_8bit_pins_a |
| 36 | &mmc0_cd_cfg &mmc0_sck_cfg>; |
| 37 | bus-width = <8>; |
| 38 | wp-gpios = <&gpio2 12 0>; |
Shawn Guo | 64edbcd | 2012-06-28 11:45:01 +0800 | [diff] [blame] | 39 | vmmc-supply = <®_vddio_sd0>; |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | ssp1: ssp@80012000 { |
| 44 | compatible = "fsl,imx28-mmc"; |
| 45 | bus-width = <8>; |
| 46 | wp-gpios = <&gpio0 28 0>; |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 47 | }; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 48 | |
Fabio Estevam | 5decb4b | 2012-08-27 13:23:27 -0300 | [diff] [blame] | 49 | ssp2: ssp@80014000 { |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <0>; |
| 52 | compatible = "fsl,imx28-spi"; |
| 53 | pinctrl-names = "default"; |
| 54 | pinctrl-0 = <&spi2_pins_a>; |
| 55 | status = "okay"; |
| 56 | |
| 57 | flash: m25p80@0 { |
| 58 | #address-cells = <1>; |
| 59 | #size-cells = <1>; |
| 60 | compatible = "sst,sst25vf016b"; |
| 61 | spi-max-frequency = <40000000>; |
| 62 | reg = <0>; |
| 63 | }; |
| 64 | }; |
| 65 | |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 66 | pinctrl@80018000 { |
| 67 | pinctrl-names = "default"; |
| 68 | pinctrl-0 = <&hog_pins_a>; |
| 69 | |
Fabio Estevam | e0e35b4 | 2012-08-22 13:25:31 -0300 | [diff] [blame] | 70 | hog_pins_a: hog@0 { |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 71 | reg = <0>; |
| 72 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 73 | MX28_PAD_SSP1_CMD__GPIO_2_13 |
| 74 | MX28_PAD_SSP1_DATA3__GPIO_2_15 |
| 75 | MX28_PAD_ENET0_RX_CLK__GPIO_4_13 |
| 76 | MX28_PAD_SSP1_SCK__GPIO_2_12 |
| 77 | MX28_PAD_PWM3__GPIO_3_28 |
| 78 | MX28_PAD_LCD_RESET__GPIO_3_30 |
| 79 | MX28_PAD_AUART2_RX__GPIO_3_8 |
| 80 | MX28_PAD_AUART2_TX__GPIO_3_9 |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 81 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 82 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 83 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 84 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 85 | }; |
Shawn Guo | daefb69 | 2012-07-07 20:59:09 +0800 | [diff] [blame] | 86 | |
Fabio Estevam | 30d6e2d | 2012-09-23 16:18:38 -0300 | [diff] [blame] | 87 | led_pin_gpio3_5: led_gpio3_5@0 { |
| 88 | reg = <0>; |
| 89 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 90 | MX28_PAD_AUART1_TX__GPIO_3_5 |
Fabio Estevam | 30d6e2d | 2012-09-23 16:18:38 -0300 | [diff] [blame] | 91 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 92 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 93 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 94 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Fabio Estevam | 30d6e2d | 2012-09-23 16:18:38 -0300 | [diff] [blame] | 95 | }; |
| 96 | |
Shawn Guo | daefb69 | 2012-07-07 20:59:09 +0800 | [diff] [blame] | 97 | gpmi_pins_evk: gpmi-nand-evk@0 { |
| 98 | reg = <0>; |
| 99 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 100 | MX28_PAD_GPMI_CE1N__GPMI_CE1N |
| 101 | MX28_PAD_GPMI_RDY1__GPMI_READY1 |
Shawn Guo | daefb69 | 2012-07-07 20:59:09 +0800 | [diff] [blame] | 102 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 103 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 104 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 105 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | daefb69 | 2012-07-07 20:59:09 +0800 | [diff] [blame] | 106 | }; |
Shawn Guo | 3dba259 | 2012-07-07 21:09:51 +0800 | [diff] [blame] | 107 | |
| 108 | lcdif_pins_evk: lcdif-evk@0 { |
| 109 | reg = <0>; |
| 110 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 111 | MX28_PAD_LCD_RD_E__LCD_VSYNC |
| 112 | MX28_PAD_LCD_WR_RWN__LCD_HSYNC |
| 113 | MX28_PAD_LCD_RS__LCD_DOTCLK |
| 114 | MX28_PAD_LCD_CS__LCD_ENABLE |
Shawn Guo | 3dba259 | 2012-07-07 21:09:51 +0800 | [diff] [blame] | 115 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 116 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 117 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 118 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | 3dba259 | 2012-07-07 21:09:51 +0800 | [diff] [blame] | 119 | }; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 120 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 121 | |
| 122 | lcdif@80030000 { |
| 123 | pinctrl-names = "default"; |
Shawn Guo | 3dba259 | 2012-07-07 21:09:51 +0800 | [diff] [blame] | 124 | pinctrl-0 = <&lcdif_24bit_pins_a |
| 125 | &lcdif_pins_evk>; |
Fabio Estevam | 4344429 | 2013-04-07 15:44:59 -0300 | [diff] [blame] | 126 | lcd-supply = <®_lcd_3v3>; |
Fabio Estevam | 20d412b | 2014-09-02 22:45:12 -0300 | [diff] [blame] | 127 | display = <&display0>; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 128 | status = "okay"; |
Shawn Guo | 0d9f821 | 2013-03-14 11:37:15 +0800 | [diff] [blame] | 129 | |
Fabio Estevam | 20d412b | 2014-09-02 22:45:12 -0300 | [diff] [blame] | 130 | display0: display0 { |
Shawn Guo | 0d9f821 | 2013-03-14 11:37:15 +0800 | [diff] [blame] | 131 | bits-per-pixel = <32>; |
| 132 | bus-width = <24>; |
| 133 | |
| 134 | display-timings { |
| 135 | native-mode = <&timing0>; |
| 136 | timing0: timing0 { |
| 137 | clock-frequency = <33500000>; |
| 138 | hactive = <800>; |
| 139 | vactive = <480>; |
| 140 | hback-porch = <89>; |
| 141 | hfront-porch = <164>; |
| 142 | vback-porch = <23>; |
| 143 | vfront-porch = <10>; |
| 144 | hsync-len = <10>; |
| 145 | vsync-len = <10>; |
| 146 | hsync-active = <0>; |
| 147 | vsync-active = <0>; |
| 148 | de-active = <1>; |
| 149 | pixelclk-active = <0>; |
| 150 | }; |
| 151 | }; |
| 152 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 153 | }; |
Shawn Guo | 6ca44ac | 2012-06-28 11:45:03 +0800 | [diff] [blame] | 154 | |
| 155 | can0: can@80032000 { |
| 156 | pinctrl-names = "default"; |
| 157 | pinctrl-0 = <&can0_pins_a>; |
Fabio Estevam | b7c4114 | 2013-06-10 23:12:57 -0300 | [diff] [blame] | 158 | xceiver-supply = <®_can_3v3>; |
Shawn Guo | 6ca44ac | 2012-06-28 11:45:03 +0800 | [diff] [blame] | 159 | status = "okay"; |
| 160 | }; |
| 161 | |
| 162 | can1: can@80034000 { |
| 163 | pinctrl-names = "default"; |
| 164 | pinctrl-0 = <&can1_pins_a>; |
Fabio Estevam | b7c4114 | 2013-06-10 23:12:57 -0300 | [diff] [blame] | 165 | xceiver-supply = <®_can_3v3>; |
Shawn Guo | 6ca44ac | 2012-06-28 11:45:03 +0800 | [diff] [blame] | 166 | status = "okay"; |
| 167 | }; |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 168 | }; |
| 169 | |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 170 | apbx@80040000 { |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 171 | saif0: saif@80042000 { |
| 172 | pinctrl-names = "default"; |
| 173 | pinctrl-0 = <&saif0_pins_a>; |
| 174 | status = "okay"; |
| 175 | }; |
| 176 | |
| 177 | saif1: saif@80046000 { |
| 178 | pinctrl-names = "default"; |
| 179 | pinctrl-0 = <&saif1_pins_a>; |
| 180 | fsl,saif-master = <&saif0>; |
| 181 | status = "okay"; |
| 182 | }; |
| 183 | |
Fabio Estevam | 8495a24 | 2012-08-27 13:23:28 -0300 | [diff] [blame] | 184 | lradc@80050000 { |
Fabio Estevam | 289604d | 2013-09-17 16:18:38 -0300 | [diff] [blame] | 185 | fsl,lradc-touchscreen-wires = <4>; |
Fabio Estevam | 8495a24 | 2012-08-27 13:23:28 -0300 | [diff] [blame] | 186 | status = "okay"; |
Juergen Beisert | e9c88fb | 2013-09-23 15:36:00 +0100 | [diff] [blame] | 187 | fsl,lradc-touchscreen-wires = <4>; |
| 188 | fsl,ave-ctrl = <4>; |
| 189 | fsl,ave-delay = <2>; |
| 190 | fsl,settling = <10>; |
Fabio Estevam | 8495a24 | 2012-08-27 13:23:28 -0300 | [diff] [blame] | 191 | }; |
| 192 | |
Shawn Guo | 2a96e39 | 2012-05-10 15:02:10 +0800 | [diff] [blame] | 193 | i2c0: i2c@80058000 { |
| 194 | pinctrl-names = "default"; |
| 195 | pinctrl-0 = <&i2c0_pins_a>; |
Fabio Estevam | 78b81f46 | 2013-11-25 15:47:39 -0200 | [diff] [blame] | 196 | clock-frequency = <400000>; |
Shawn Guo | 2a96e39 | 2012-05-10 15:02:10 +0800 | [diff] [blame] | 197 | status = "okay"; |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 198 | |
| 199 | sgtl5000: codec@0a { |
| 200 | compatible = "fsl,sgtl5000"; |
| 201 | reg = <0x0a>; |
| 202 | VDDA-supply = <®_3p3v>; |
| 203 | VDDIO-supply = <®_3p3v>; |
Shawn Guo | 66acaf3 | 2013-07-01 15:46:05 +0800 | [diff] [blame] | 204 | clocks = <&saif0>; |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 205 | }; |
Fabio Estevam | fa876ce | 2012-08-27 16:39:59 -0300 | [diff] [blame] | 206 | |
| 207 | at24@51 { |
| 208 | compatible = "at24,24c32"; |
| 209 | pagesize = <32>; |
| 210 | reg = <0x51>; |
| 211 | }; |
Shawn Guo | 2a96e39 | 2012-05-10 15:02:10 +0800 | [diff] [blame] | 212 | }; |
| 213 | |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 214 | pwm: pwm@80064000 { |
| 215 | pinctrl-names = "default"; |
| 216 | pinctrl-0 = <&pwm2_pins_a>; |
| 217 | status = "okay"; |
| 218 | }; |
| 219 | |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 220 | duart: serial@80074000 { |
| 221 | pinctrl-names = "default"; |
| 222 | pinctrl-0 = <&duart_pins_a>; |
| 223 | status = "okay"; |
| 224 | }; |
Fabio Estevam | 80d969e | 2012-06-15 12:35:56 -0300 | [diff] [blame] | 225 | |
| 226 | auart0: serial@8006a000 { |
| 227 | pinctrl-names = "default"; |
| 228 | pinctrl-0 = <&auart0_pins_a>; |
Huang Shijie | b2755b7 | 2013-08-03 10:09:16 -0400 | [diff] [blame] | 229 | fsl,uart-has-rtscts; |
Fabio Estevam | 80d969e | 2012-06-15 12:35:56 -0300 | [diff] [blame] | 230 | status = "okay"; |
| 231 | }; |
| 232 | |
| 233 | auart3: serial@80070000 { |
| 234 | pinctrl-names = "default"; |
| 235 | pinctrl-0 = <&auart3_pins_a>; |
| 236 | status = "okay"; |
| 237 | }; |
Richard Zhao | 5da0127 | 2012-07-12 10:25:27 +0800 | [diff] [blame] | 238 | |
| 239 | usbphy0: usbphy@8007c000 { |
| 240 | status = "okay"; |
| 241 | }; |
| 242 | |
| 243 | usbphy1: usbphy@8007e000 { |
| 244 | status = "okay"; |
| 245 | }; |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 246 | }; |
| 247 | }; |
| 248 | |
| 249 | ahb@80080000 { |
Richard Zhao | 5da0127 | 2012-07-12 10:25:27 +0800 | [diff] [blame] | 250 | usb0: usb@80080000 { |
Fabio Estevam | 69c02f9 | 2013-08-21 10:27:03 -0300 | [diff] [blame] | 251 | pinctrl-names = "default"; |
| 252 | pinctrl-0 = <&usb0_id_pins_a>; |
Richard Zhao | 5da0127 | 2012-07-12 10:25:27 +0800 | [diff] [blame] | 253 | vbus-supply = <®_usb0_vbus>; |
| 254 | status = "okay"; |
| 255 | }; |
| 256 | |
| 257 | usb1: usb@80090000 { |
| 258 | vbus-supply = <®_usb1_vbus>; |
| 259 | status = "okay"; |
| 260 | }; |
| 261 | |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 262 | mac0: ethernet@800f0000 { |
| 263 | phy-mode = "rmii"; |
| 264 | pinctrl-names = "default"; |
| 265 | pinctrl-0 = <&mac0_pins_a>; |
Shawn Guo | c9987c8 | 2012-06-28 11:45:02 +0800 | [diff] [blame] | 266 | phy-supply = <®_fec_3v3>; |
| 267 | phy-reset-gpios = <&gpio4 13 0>; |
| 268 | phy-reset-duration = <100>; |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 269 | status = "okay"; |
| 270 | }; |
| 271 | |
| 272 | mac1: ethernet@800f4000 { |
| 273 | phy-mode = "rmii"; |
| 274 | pinctrl-names = "default"; |
| 275 | pinctrl-0 = <&mac1_pins_a>; |
| 276 | status = "okay"; |
| 277 | }; |
| 278 | }; |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 279 | |
| 280 | regulators { |
| 281 | compatible = "simple-bus"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 282 | #address-cells = <1>; |
| 283 | #size-cells = <0>; |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 284 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 285 | reg_3p3v: regulator@0 { |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 286 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 287 | reg = <0>; |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 288 | regulator-name = "3P3V"; |
| 289 | regulator-min-microvolt = <3300000>; |
| 290 | regulator-max-microvolt = <3300000>; |
| 291 | regulator-always-on; |
| 292 | }; |
Shawn Guo | 64edbcd | 2012-06-28 11:45:01 +0800 | [diff] [blame] | 293 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 294 | reg_vddio_sd0: regulator@1 { |
Shawn Guo | 64edbcd | 2012-06-28 11:45:01 +0800 | [diff] [blame] | 295 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 296 | reg = <1>; |
Shawn Guo | 64edbcd | 2012-06-28 11:45:01 +0800 | [diff] [blame] | 297 | regulator-name = "vddio-sd0"; |
| 298 | regulator-min-microvolt = <3300000>; |
| 299 | regulator-max-microvolt = <3300000>; |
| 300 | gpio = <&gpio3 28 0>; |
| 301 | }; |
Shawn Guo | c9987c8 | 2012-06-28 11:45:02 +0800 | [diff] [blame] | 302 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 303 | reg_fec_3v3: regulator@2 { |
Shawn Guo | c9987c8 | 2012-06-28 11:45:02 +0800 | [diff] [blame] | 304 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 305 | reg = <2>; |
Shawn Guo | c9987c8 | 2012-06-28 11:45:02 +0800 | [diff] [blame] | 306 | regulator-name = "fec-3v3"; |
| 307 | regulator-min-microvolt = <3300000>; |
| 308 | regulator-max-microvolt = <3300000>; |
| 309 | gpio = <&gpio2 15 0>; |
| 310 | }; |
Richard Zhao | 5da0127 | 2012-07-12 10:25:27 +0800 | [diff] [blame] | 311 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 312 | reg_usb0_vbus: regulator@3 { |
Richard Zhao | 5da0127 | 2012-07-12 10:25:27 +0800 | [diff] [blame] | 313 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 314 | reg = <3>; |
Richard Zhao | 5da0127 | 2012-07-12 10:25:27 +0800 | [diff] [blame] | 315 | regulator-name = "usb0_vbus"; |
| 316 | regulator-min-microvolt = <5000000>; |
| 317 | regulator-max-microvolt = <5000000>; |
| 318 | gpio = <&gpio3 9 0>; |
| 319 | enable-active-high; |
| 320 | }; |
| 321 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 322 | reg_usb1_vbus: regulator@4 { |
Richard Zhao | 5da0127 | 2012-07-12 10:25:27 +0800 | [diff] [blame] | 323 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 324 | reg = <4>; |
Richard Zhao | 5da0127 | 2012-07-12 10:25:27 +0800 | [diff] [blame] | 325 | regulator-name = "usb1_vbus"; |
| 326 | regulator-min-microvolt = <5000000>; |
| 327 | regulator-max-microvolt = <5000000>; |
| 328 | gpio = <&gpio3 8 0>; |
| 329 | enable-active-high; |
| 330 | }; |
Fabio Estevam | 4344429 | 2013-04-07 15:44:59 -0300 | [diff] [blame] | 331 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 332 | reg_lcd_3v3: regulator@5 { |
Fabio Estevam | 4344429 | 2013-04-07 15:44:59 -0300 | [diff] [blame] | 333 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 334 | reg = <5>; |
Fabio Estevam | 4344429 | 2013-04-07 15:44:59 -0300 | [diff] [blame] | 335 | regulator-name = "lcd-3v3"; |
| 336 | regulator-min-microvolt = <3300000>; |
| 337 | regulator-max-microvolt = <3300000>; |
| 338 | gpio = <&gpio3 30 0>; |
| 339 | enable-active-high; |
| 340 | }; |
Fabio Estevam | b7c4114 | 2013-06-10 23:12:57 -0300 | [diff] [blame] | 341 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 342 | reg_can_3v3: regulator@6 { |
Fabio Estevam | b7c4114 | 2013-06-10 23:12:57 -0300 | [diff] [blame] | 343 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 344 | reg = <6>; |
Fabio Estevam | b7c4114 | 2013-06-10 23:12:57 -0300 | [diff] [blame] | 345 | regulator-name = "can-3v3"; |
| 346 | regulator-min-microvolt = <3300000>; |
| 347 | regulator-max-microvolt = <3300000>; |
| 348 | gpio = <&gpio2 13 0>; |
| 349 | enable-active-high; |
| 350 | }; |
| 351 | |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 352 | }; |
| 353 | |
| 354 | sound { |
| 355 | compatible = "fsl,imx28-evk-sgtl5000", |
| 356 | "fsl,mxs-audio-sgtl5000"; |
| 357 | model = "imx28-evk-sgtl5000"; |
| 358 | saif-controllers = <&saif0 &saif1>; |
| 359 | audio-codec = <&sgtl5000>; |
| 360 | }; |
Shawn Guo | a600e33 | 2012-06-28 11:45:04 +0800 | [diff] [blame] | 361 | |
| 362 | leds { |
| 363 | compatible = "gpio-leds"; |
Fabio Estevam | 30d6e2d | 2012-09-23 16:18:38 -0300 | [diff] [blame] | 364 | pinctrl-names = "default"; |
| 365 | pinctrl-0 = <&led_pin_gpio3_5>; |
Shawn Guo | a600e33 | 2012-06-28 11:45:04 +0800 | [diff] [blame] | 366 | |
| 367 | user { |
| 368 | label = "Heartbeat"; |
| 369 | gpios = <&gpio3 5 0>; |
| 370 | linux,default-trigger = "heartbeat"; |
| 371 | }; |
| 372 | }; |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 373 | |
| 374 | backlight { |
| 375 | compatible = "pwm-backlight"; |
| 376 | pwms = <&pwm 2 5000000>; |
| 377 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 378 | default-brightness-level = <6>; |
| 379 | }; |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 380 | }; |