AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * AM335x Starter Kit |
| 11 | * http://www.ti.com/tool/tmdssk3358 |
| 12 | */ |
| 13 | |
| 14 | /dts-v1/; |
| 15 | |
Florian Vaussard | eb33ef66 | 2013-06-03 16:12:22 +0200 | [diff] [blame] | 16 | #include "am33xx.dtsi" |
Laurent Pinchart | eb9bdef | 2013-07-18 00:54:24 +0200 | [diff] [blame] | 17 | #include <dt-bindings/pwm/pwm.h> |
AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +0530 | [diff] [blame] | 18 | |
| 19 | / { |
| 20 | model = "TI AM335x EVM-SK"; |
| 21 | compatible = "ti,am335x-evmsk", "ti,am33xx"; |
| 22 | |
| 23 | cpus { |
| 24 | cpu@0 { |
| 25 | cpu0-supply = <&vdd1_reg>; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | memory { |
| 30 | device_type = "memory"; |
| 31 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 32 | }; |
| 33 | |
AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +0530 | [diff] [blame] | 34 | vbat: fixedregulator@0 { |
| 35 | compatible = "regulator-fixed"; |
| 36 | regulator-name = "vbat"; |
| 37 | regulator-min-microvolt = <5000000>; |
| 38 | regulator-max-microvolt = <5000000>; |
| 39 | regulator-boot-on; |
| 40 | }; |
| 41 | |
| 42 | lis3_reg: fixedregulator@1 { |
| 43 | compatible = "regulator-fixed"; |
| 44 | regulator-name = "lis3_reg"; |
| 45 | regulator-boot-on; |
| 46 | }; |
AnilKumar Ch | 29b0b843 | 2012-11-06 19:18:36 +0530 | [diff] [blame] | 47 | |
| 48 | leds { |
Vaibhav Hiremath | b8f70c3 | 2013-03-26 15:42:15 +0530 | [diff] [blame] | 49 | pinctrl-names = "default"; |
| 50 | pinctrl-0 = <&user_leds_s0>; |
| 51 | |
AnilKumar Ch | 29b0b843 | 2012-11-06 19:18:36 +0530 | [diff] [blame] | 52 | compatible = "gpio-leds"; |
| 53 | |
| 54 | led@1 { |
| 55 | label = "evmsk:green:usr0"; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 56 | gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; |
AnilKumar Ch | 29b0b843 | 2012-11-06 19:18:36 +0530 | [diff] [blame] | 57 | default-state = "off"; |
| 58 | }; |
| 59 | |
| 60 | led@2 { |
| 61 | label = "evmsk:green:usr1"; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 62 | gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; |
AnilKumar Ch | 29b0b843 | 2012-11-06 19:18:36 +0530 | [diff] [blame] | 63 | default-state = "off"; |
| 64 | }; |
| 65 | |
| 66 | led@3 { |
| 67 | label = "evmsk:green:mmc0"; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 68 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
AnilKumar Ch | 29b0b843 | 2012-11-06 19:18:36 +0530 | [diff] [blame] | 69 | linux,default-trigger = "mmc0"; |
| 70 | default-state = "off"; |
| 71 | }; |
| 72 | |
| 73 | led@4 { |
| 74 | label = "evmsk:green:heartbeat"; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 75 | gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; |
AnilKumar Ch | 29b0b843 | 2012-11-06 19:18:36 +0530 | [diff] [blame] | 76 | linux,default-trigger = "heartbeat"; |
| 77 | default-state = "off"; |
| 78 | }; |
| 79 | }; |
AnilKumar Ch | 00834b7 | 2012-11-06 19:18:38 +0530 | [diff] [blame] | 80 | |
| 81 | gpio_buttons: gpio_buttons@0 { |
| 82 | compatible = "gpio-keys"; |
| 83 | #address-cells = <1>; |
| 84 | #size-cells = <0>; |
| 85 | |
| 86 | switch@1 { |
| 87 | label = "button0"; |
| 88 | linux,code = <0x100>; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 89 | gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; |
AnilKumar Ch | 00834b7 | 2012-11-06 19:18:38 +0530 | [diff] [blame] | 90 | }; |
| 91 | |
| 92 | switch@2 { |
| 93 | label = "button1"; |
| 94 | linux,code = <0x101>; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 95 | gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; |
AnilKumar Ch | 00834b7 | 2012-11-06 19:18:38 +0530 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | switch@3 { |
| 99 | label = "button2"; |
| 100 | linux,code = <0x102>; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 101 | gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>; |
AnilKumar Ch | 00834b7 | 2012-11-06 19:18:38 +0530 | [diff] [blame] | 102 | gpio-key,wakeup; |
| 103 | }; |
| 104 | |
| 105 | switch@4 { |
| 106 | label = "button3"; |
| 107 | linux,code = <0x103>; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 108 | gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; |
AnilKumar Ch | 00834b7 | 2012-11-06 19:18:38 +0530 | [diff] [blame] | 109 | }; |
| 110 | }; |
Philip Avinash | 1632fbd | 2013-06-06 15:52:39 +0200 | [diff] [blame] | 111 | |
| 112 | backlight { |
| 113 | compatible = "pwm-backlight"; |
Laurent Pinchart | eb9bdef | 2013-07-18 00:54:24 +0200 | [diff] [blame] | 114 | pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>; |
Philip Avinash | 1632fbd | 2013-06-06 15:52:39 +0200 | [diff] [blame] | 115 | brightness-levels = <0 58 61 66 75 90 125 170 255>; |
| 116 | default-brightness-level = <8>; |
| 117 | }; |
AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +0530 | [diff] [blame] | 118 | }; |
| 119 | |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 120 | &am33xx_pinmux { |
| 121 | pinctrl-names = "default"; |
| 122 | pinctrl-0 = <&gpio_keys_s0 &clkout2_pin>; |
| 123 | |
| 124 | user_leds_s0: user_leds_s0 { |
| 125 | pinctrl-single,pins = < |
| 126 | 0x10 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */ |
| 127 | 0x14 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */ |
| 128 | 0x18 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */ |
| 129 | 0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */ |
| 130 | >; |
| 131 | }; |
| 132 | |
| 133 | gpio_keys_s0: gpio_keys_s0 { |
| 134 | pinctrl-single,pins = < |
| 135 | 0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_oen_ren.gpio2_3 */ |
| 136 | 0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_advn_ale.gpio2_2 */ |
| 137 | 0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_wait0.gpio0_30 */ |
| 138 | 0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ben0_cle.gpio2_5 */ |
| 139 | >; |
| 140 | }; |
| 141 | |
| 142 | i2c0_pins: pinmux_i2c0_pins { |
| 143 | pinctrl-single,pins = < |
| 144 | 0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ |
| 145 | 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ |
| 146 | >; |
| 147 | }; |
| 148 | |
| 149 | uart0_pins: pinmux_uart0_pins { |
| 150 | pinctrl-single,pins = < |
| 151 | 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */ |
| 152 | 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ |
| 153 | >; |
| 154 | }; |
| 155 | |
| 156 | clkout2_pin: pinmux_clkout2_pin { |
| 157 | pinctrl-single,pins = < |
| 158 | 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */ |
| 159 | >; |
| 160 | }; |
| 161 | |
| 162 | ecap2_pins: backlight_pins { |
| 163 | pinctrl-single,pins = < |
| 164 | 0x19c 0x4 /* mcasp0_ahclkr.ecap2_in_pwm2_out MODE4 */ |
| 165 | >; |
| 166 | }; |
| 167 | |
| 168 | cpsw_default: cpsw_default { |
| 169 | pinctrl-single,pins = < |
| 170 | /* Slave 1 */ |
| 171 | 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */ |
| 172 | 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */ |
| 173 | 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */ |
| 174 | 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */ |
| 175 | 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */ |
| 176 | 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */ |
| 177 | 0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */ |
| 178 | 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */ |
| 179 | 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */ |
| 180 | 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */ |
| 181 | 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */ |
| 182 | 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */ |
| 183 | |
| 184 | /* Slave 2 */ |
| 185 | 0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a0.rgmii2_tctl */ |
| 186 | 0x44 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a1.rgmii2_rctl */ |
| 187 | 0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a2.rgmii2_td3 */ |
| 188 | 0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a3.rgmii2_td2 */ |
| 189 | 0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a4.rgmii2_td1 */ |
| 190 | 0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a5.rgmii2_td0 */ |
| 191 | 0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a6.rgmii2_tclk */ |
| 192 | 0x5c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a7.rgmii2_rclk */ |
| 193 | 0x60 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a8.rgmii2_rd3 */ |
| 194 | 0x64 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a9.rgmii2_rd2 */ |
| 195 | 0x68 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a10.rgmii2_rd1 */ |
| 196 | 0x6c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a11.rgmii2_rd0 */ |
| 197 | >; |
| 198 | }; |
| 199 | |
| 200 | cpsw_sleep: cpsw_sleep { |
| 201 | pinctrl-single,pins = < |
| 202 | /* Slave 1 reset value */ |
| 203 | 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 204 | 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 205 | 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 206 | 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 207 | 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 208 | 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 209 | 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 210 | 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 211 | 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 212 | 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 213 | 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 214 | 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 215 | |
| 216 | /* Slave 2 reset value*/ |
| 217 | 0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 218 | 0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 219 | 0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 220 | 0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 221 | 0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 222 | 0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 223 | 0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 224 | 0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 225 | 0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 226 | 0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 227 | 0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 228 | 0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 229 | >; |
| 230 | }; |
| 231 | |
| 232 | davinci_mdio_default: davinci_mdio_default { |
| 233 | pinctrl-single,pins = < |
| 234 | /* MDIO */ |
| 235 | 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */ |
| 236 | 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */ |
| 237 | >; |
| 238 | }; |
| 239 | |
| 240 | davinci_mdio_sleep: davinci_mdio_sleep { |
| 241 | pinctrl-single,pins = < |
| 242 | /* MDIO reset value */ |
| 243 | 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 244 | 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 245 | >; |
| 246 | }; |
| 247 | }; |
| 248 | |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame^] | 249 | &uart0 { |
| 250 | pinctrl-names = "default"; |
| 251 | pinctrl-0 = <&uart0_pins>; |
| 252 | |
| 253 | status = "okay"; |
| 254 | }; |
| 255 | |
| 256 | &i2c0 { |
| 257 | pinctrl-names = "default"; |
| 258 | pinctrl-0 = <&i2c0_pins>; |
| 259 | |
| 260 | status = "okay"; |
| 261 | clock-frequency = <400000>; |
| 262 | |
| 263 | tps: tps@2d { |
| 264 | reg = <0x2d>; |
| 265 | }; |
| 266 | |
| 267 | lis331dlh: lis331dlh@18 { |
| 268 | compatible = "st,lis331dlh", "st,lis3lv02d"; |
| 269 | reg = <0x18>; |
| 270 | Vdd-supply = <&lis3_reg>; |
| 271 | Vdd_IO-supply = <&lis3_reg>; |
| 272 | |
| 273 | st,click-single-x; |
| 274 | st,click-single-y; |
| 275 | st,click-single-z; |
| 276 | st,click-thresh-x = <10>; |
| 277 | st,click-thresh-y = <10>; |
| 278 | st,click-thresh-z = <10>; |
| 279 | st,irq1-click; |
| 280 | st,irq2-click; |
| 281 | st,wakeup-x-lo; |
| 282 | st,wakeup-x-hi; |
| 283 | st,wakeup-y-lo; |
| 284 | st,wakeup-y-hi; |
| 285 | st,wakeup-z-lo; |
| 286 | st,wakeup-z-hi; |
| 287 | st,min-limit-x = <120>; |
| 288 | st,min-limit-y = <120>; |
| 289 | st,min-limit-z = <140>; |
| 290 | st,max-limit-x = <550>; |
| 291 | st,max-limit-y = <550>; |
| 292 | st,max-limit-z = <750>; |
| 293 | }; |
| 294 | }; |
| 295 | |
| 296 | &usb { |
| 297 | status = "okay"; |
| 298 | |
| 299 | control@44e10000 { |
| 300 | status = "okay"; |
| 301 | }; |
| 302 | |
| 303 | usb-phy@47401300 { |
| 304 | status = "okay"; |
| 305 | }; |
| 306 | |
| 307 | usb@47401000 { |
| 308 | status = "okay"; |
| 309 | }; |
| 310 | }; |
| 311 | |
| 312 | &epwmss2 { |
| 313 | status = "okay"; |
| 314 | |
| 315 | ecap2: ecap@48304100 { |
| 316 | status = "okay"; |
| 317 | pinctrl-names = "default"; |
| 318 | pinctrl-0 = <&ecap2_pins>; |
| 319 | }; |
| 320 | }; |
| 321 | |
Florian Vaussard | eb33ef66 | 2013-06-03 16:12:22 +0200 | [diff] [blame] | 322 | #include "tps65910.dtsi" |
AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +0530 | [diff] [blame] | 323 | |
| 324 | &tps { |
| 325 | vcc1-supply = <&vbat>; |
| 326 | vcc2-supply = <&vbat>; |
| 327 | vcc3-supply = <&vbat>; |
| 328 | vcc4-supply = <&vbat>; |
| 329 | vcc5-supply = <&vbat>; |
| 330 | vcc6-supply = <&vbat>; |
| 331 | vcc7-supply = <&vbat>; |
| 332 | vccio-supply = <&vbat>; |
| 333 | |
| 334 | regulators { |
| 335 | vrtc_reg: regulator@0 { |
| 336 | regulator-always-on; |
| 337 | }; |
| 338 | |
| 339 | vio_reg: regulator@1 { |
| 340 | regulator-always-on; |
| 341 | }; |
| 342 | |
| 343 | vdd1_reg: regulator@2 { |
| 344 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ |
| 345 | regulator-name = "vdd_mpu"; |
| 346 | regulator-min-microvolt = <912500>; |
| 347 | regulator-max-microvolt = <1312500>; |
| 348 | regulator-boot-on; |
| 349 | regulator-always-on; |
| 350 | }; |
| 351 | |
| 352 | vdd2_reg: regulator@3 { |
| 353 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ |
| 354 | regulator-name = "vdd_core"; |
| 355 | regulator-min-microvolt = <912500>; |
| 356 | regulator-max-microvolt = <1150000>; |
| 357 | regulator-boot-on; |
| 358 | regulator-always-on; |
| 359 | }; |
| 360 | |
| 361 | vdd3_reg: regulator@4 { |
| 362 | regulator-always-on; |
| 363 | }; |
| 364 | |
| 365 | vdig1_reg: regulator@5 { |
| 366 | regulator-always-on; |
| 367 | }; |
| 368 | |
| 369 | vdig2_reg: regulator@6 { |
| 370 | regulator-always-on; |
| 371 | }; |
| 372 | |
| 373 | vpll_reg: regulator@7 { |
| 374 | regulator-always-on; |
| 375 | }; |
| 376 | |
| 377 | vdac_reg: regulator@8 { |
| 378 | regulator-always-on; |
| 379 | }; |
| 380 | |
| 381 | vaux1_reg: regulator@9 { |
| 382 | regulator-always-on; |
| 383 | }; |
| 384 | |
| 385 | vaux2_reg: regulator@10 { |
| 386 | regulator-always-on; |
| 387 | }; |
| 388 | |
| 389 | vaux33_reg: regulator@11 { |
| 390 | regulator-always-on; |
| 391 | }; |
| 392 | |
| 393 | vmmc_reg: regulator@12 { |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 394 | regulator-min-microvolt = <1800000>; |
| 395 | regulator-max-microvolt = <3300000>; |
AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +0530 | [diff] [blame] | 396 | regulator-always-on; |
| 397 | }; |
| 398 | }; |
| 399 | }; |
Mugunthan V N | 94a924c | 2013-06-07 17:02:53 +0530 | [diff] [blame] | 400 | |
| 401 | &mac { |
| 402 | pinctrl-names = "default", "sleep"; |
| 403 | pinctrl-0 = <&cpsw_default>; |
| 404 | pinctrl-1 = <&cpsw_sleep>; |
| 405 | }; |
| 406 | |
| 407 | &davinci_mdio { |
| 408 | pinctrl-names = "default", "sleep"; |
| 409 | pinctrl-0 = <&davinci_mdio_default>; |
| 410 | pinctrl-1 = <&davinci_mdio_sleep>; |
| 411 | }; |
Linus Torvalds | 496322b | 2013-07-09 18:24:39 -0700 | [diff] [blame] | 412 | |
Mugunthan V N | f6655d6 | 2013-06-03 20:10:09 +0000 | [diff] [blame] | 413 | &cpsw_emac0 { |
| 414 | phy_id = <&davinci_mdio>, <0>; |
Mugunthan V N | 6d75afe | 2013-06-03 20:10:11 +0000 | [diff] [blame] | 415 | phy-mode = "rgmii-txid"; |
Mugunthan V N | f6655d6 | 2013-06-03 20:10:09 +0000 | [diff] [blame] | 416 | }; |
| 417 | |
| 418 | &cpsw_emac1 { |
| 419 | phy_id = <&davinci_mdio>, <1>; |
Mugunthan V N | 6d75afe | 2013-06-03 20:10:11 +0000 | [diff] [blame] | 420 | phy-mode = "rgmii-txid"; |
Mugunthan V N | f6655d6 | 2013-06-03 20:10:09 +0000 | [diff] [blame] | 421 | }; |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 422 | |
| 423 | &mmc1 { |
| 424 | status = "okay"; |
| 425 | vmmc-supply = <&vmmc_reg>; |
| 426 | }; |