imx53-m53evk.dts revision 262569
1/* 2 * Copyright (C) 2013 Marek Vasut <marex@denx.de> 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/; 13#include "imx53.dtsi" 14 15/ { 16 model = "DENX M53EVK"; 17 compatible = "denx,imx53-m53evk", "fsl,imx53"; 18 19 memory { 20 reg = <0x70000000 0x20000000>; 21 }; 22 23 soc { 24 display@di1 { 25 compatible = "fsl,imx-parallel-display"; 26 crtcs = <&ipu 1>; 27 interface-pix-fmt = "bgr666"; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&pinctrl_ipu_disp2_1>; 30 31 display-timings { 32 800x480p60 { 33 native-mode; 34 clock-frequency = <31500000>; 35 hactive = <800>; 36 vactive = <480>; 37 hfront-porch = <40>; 38 hback-porch = <88>; 39 hsync-len = <128>; 40 vback-porch = <33>; 41 vfront-porch = <9>; 42 vsync-len = <3>; 43 vsync-active = <1>; 44 }; 45 }; 46 }; 47 }; 48 49 backlight { 50 compatible = "pwm-backlight"; 51 pwms = <&pwm1 0 3000>; 52 brightness-levels = <0 4 8 16 32 64 128 255>; 53 default-brightness-level = <6>; 54 }; 55 56 leds { 57 compatible = "gpio-leds"; 58 pinctrl-names = "default"; 59 pinctrl-0 = <&led_pin_gpio>; 60 61 user1 { 62 label = "user1"; 63 gpios = <&gpio2 8 0>; 64 linux,default-trigger = "heartbeat"; 65 }; 66 67 user2 { 68 label = "user2"; 69 gpios = <&gpio2 9 0>; 70 linux,default-trigger = "heartbeat"; 71 }; 72 }; 73 74 regulators { 75 compatible = "simple-bus"; 76 77 reg_3p2v: 3p2v { 78 compatible = "regulator-fixed"; 79 regulator-name = "3P2V"; 80 regulator-min-microvolt = <3200000>; 81 regulator-max-microvolt = <3200000>; 82 regulator-always-on; 83 }; 84 }; 85 86 sound { 87 compatible = "fsl,imx53-m53evk-sgtl5000", 88 "fsl,imx-audio-sgtl5000"; 89 model = "imx53-m53evk-sgtl5000"; 90 ssi-controller = <&ssi2>; 91 audio-codec = <&sgtl5000>; 92 audio-routing = 93 "MIC_IN", "Mic Jack", 94 "Mic Jack", "Mic Bias", 95 "LINE_IN", "Line In Jack", 96 "Headphone Jack", "HP_OUT", 97 "Ext Spk", "LINE_OUT"; 98 mux-int-port = <2>; 99 mux-ext-port = <4>; 100 }; 101}; 102 103&audmux { 104 pinctrl-names = "default"; 105 pinctrl-0 = <&pinctrl_audmux_2>; 106 status = "okay"; 107}; 108 109&can1 { 110 pinctrl-names = "default"; 111 pinctrl-0 = <&pinctrl_can1_3>; 112 status = "okay"; 113}; 114 115&can2 { 116 pinctrl-names = "default"; 117 pinctrl-0 = <&pinctrl_can2_1>; 118 status = "okay"; 119}; 120 121&esdhc1 { 122 pinctrl-names = "default"; 123 pinctrl-0 = <&pinctrl_esdhc1_1>; 124 cd-gpios = <&gpio1 1 0>; 125 wp-gpios = <&gpio1 9 0>; 126 status = "okay"; 127}; 128 129&fec { 130 pinctrl-names = "default"; 131 pinctrl-0 = <&pinctrl_fec_1>; 132 phy-mode = "rmii"; 133 status = "okay"; 134}; 135 136&i2c1 { 137 pinctrl-names = "default"; 138 pinctrl-0 = <&pinctrl_i2c1_2>; 139 status = "okay"; 140 141 sgtl5000: codec@0a { 142 compatible = "fsl,sgtl5000"; 143 reg = <0x0a>; 144 VDDA-supply = <®_3p2v>; 145 VDDIO-supply = <®_3p2v>; 146 clocks = <&clks 150>; 147 }; 148}; 149 150&i2c2 { 151 pinctrl-names = "default"; 152 pinctrl-0 = <&pinctrl_i2c2_2>; 153 clock-frequency = <400000>; 154 status = "okay"; 155 156 stmpe610@41 { 157 compatible = "st,stmpe610"; 158 #address-cells = <1>; 159 #size-cells = <0>; 160 reg = <0x41>; 161 id = <0>; 162 blocks = <0x5>; 163 interrupts = <6 0x0>; 164 interrupt-parent = <&gpio7>; 165 irq-trigger = <0x1>; 166 167 stmpe_touchscreen { 168 compatible = "stmpe,ts"; 169 reg = <0>; 170 ts,sample-time = <4>; 171 ts,mod-12b = <1>; 172 ts,ref-sel = <0>; 173 ts,adc-freq = <1>; 174 ts,ave-ctrl = <3>; 175 ts,touch-det-delay = <3>; 176 ts,settling = <4>; 177 ts,fraction-z = <7>; 178 ts,i-drive = <1>; 179 }; 180 }; 181 182 eeprom: eeprom@50 { 183 compatible = "atmel,24c128"; 184 reg = <0x50>; 185 pagesize = <32>; 186 }; 187 188 rtc: rtc@68 { 189 compatible = "stm,m41t62"; 190 reg = <0x68>; 191 }; 192}; 193 194&i2c3 { 195 pinctrl-names = "default"; 196 pinctrl-0 = <&pinctrl_i2c3_1>; 197 status = "okay"; 198}; 199 200&iomuxc { 201 pinctrl-names = "default"; 202 pinctrl-0 = <&pinctrl_hog>; 203 204 hog { 205 pinctrl_hog: hoggrp { 206 fsl,pins = < 207 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000 208 MX53_PAD_EIM_EB3__GPIO2_31 0x80000000 209 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 210 MX53_PAD_DISP0_DAT8__PWM1_PWMO 0x5 211 212 >; 213 }; 214 215 led_pin_gpio: led_gpio@0 { 216 fsl,pins = < 217 MX53_PAD_PATA_DATA8__GPIO2_8 0x80000000 218 MX53_PAD_PATA_DATA9__GPIO2_9 0x80000000 219 >; 220 }; 221 }; 222}; 223 224&nfc { 225 pinctrl-names = "default"; 226 pinctrl-0 = <&pinctrl_nand_1>; 227 nand-bus-width = <8>; 228 nand-ecc-mode = "hw"; 229 status = "okay"; 230}; 231 232&pwm1 { 233 pinctrl-names = "default"; 234 pinctrl-0 = <&pinctrl_pwm1_1>; 235 status = "okay"; 236}; 237 238&ssi2 { 239 fsl,mode = "i2s-slave"; 240 status = "okay"; 241}; 242 243&uart1 { 244 pinctrl-names = "default"; 245 pinctrl-0 = <&pinctrl_uart1_2>; 246 status = "okay"; 247}; 248 249&uart2 { 250 pinctrl-names = "default"; 251 pinctrl-0 = <&pinctrl_uart2_1>; 252 status = "okay"; 253}; 254 255&uart3 { 256 pinctrl-names = "default"; 257 pinctrl-0 = <&pinctrl_uart3_1>; 258 status = "okay"; 259}; 260