Commit | Line | Data |
---|---|---|
73db9e01 TL |
1 | /* |
2 | * This program is free software; you can redistribute it and/or modify | |
3 | * it under the terms of the GNU General Public License version 2 as | |
4 | * published by the Free Software Foundation. | |
5 | */ | |
6 | /dts-v1/; | |
7 | ||
8 | #include "dm814x.dtsi" | |
9 | ||
10 | / { | |
11 | model = "DM8148 EVM"; | |
12 | compatible = "ti,dm8148-evm", "ti,dm8148"; | |
13 | ||
14 | memory { | |
15 | device_type = "memory"; | |
16 | reg = <0x80000000 0x40000000>; /* 1 GB */ | |
17 | }; | |
67b5e9ec TL |
18 | |
19 | /* MIC94060YC6 controlled by SD1_POW pin */ | |
20 | vmmcsd_fixed: fixedregulator@0 { | |
21 | compatible = "regulator-fixed"; | |
22 | regulator-name = "vmmcsd_fixed"; | |
23 | regulator-min-microvolt = <3300000>; | |
24 | regulator-max-microvolt = <3300000>; | |
25 | }; | |
73db9e01 TL |
26 | }; |
27 | ||
28 | &cpsw_emac0 { | |
29 | phy_id = <&davinci_mdio>, <0>; | |
87ee15ec | 30 | phy-mode = "rgmii"; |
73db9e01 TL |
31 | }; |
32 | ||
33 | &cpsw_emac1 { | |
34 | phy_id = <&davinci_mdio>, <1>; | |
87ee15ec | 35 | phy-mode = "rgmii"; |
73db9e01 | 36 | }; |
67b5e9ec TL |
37 | |
38 | &mmc2 { | |
39 | pinctrl-names = "default"; | |
40 | pinctrl-0 = <&sd1_pins>; | |
41 | vmmc-supply = <&vmmcsd_fixed>; | |
42 | bus-width = <4>; | |
43 | cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; | |
44 | }; | |
45 | ||
46 | &pincntl { | |
47 | sd1_pins: pinmux_sd1_pins { | |
48 | pinctrl-single,pins = < | |
49 | DM814X_IOPAD(0x0800, PIN_INPUT | 0x1) /* SD1_CLK */ | |
50 | DM814X_IOPAD(0x0804, PIN_INPUT_PULLUP | 0x1) /* SD1_CMD */ | |
51 | DM814X_IOPAD(0x0808, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[0] */ | |
52 | DM814X_IOPAD(0x080c, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[1] */ | |
53 | DM814X_IOPAD(0x0810, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[2] */ | |
54 | DM814X_IOPAD(0x0814, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[3] */ | |
55 | DM814X_IOPAD(0x0924, PIN_OUTPUT | 0x40) /* SD1_POW */ | |
56 | DM814X_IOPAD(0x093C, PIN_INPUT_PULLUP | 0x80) /* GP1[6] */ | |
57 | >; | |
58 | }; | |
59 | }; |