Commit | Line | Data |
---|---|---|
285f3690 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 | / { | |
60fdcb88 | 11 | model = "HP t410 Smart Zero Client"; |
285f3690 TL |
12 | compatible = "hp,t410", "ti,dm8148"; |
13 | ||
14 | memory { | |
15 | device_type = "memory"; | |
16 | reg = <0x80000000 0x40000000>; /* 1 GB */ | |
17 | }; | |
f24f1bdc | 18 | |
868e2478 TL |
19 | /* gpio9 seems to control USB VBUS regulator and/or hub power */ |
20 | usb_power: regulator@9 { | |
21 | compatible = "regulator-fixed"; | |
22 | regulator-name = "usb_power"; | |
23 | regulator-min-microvolt = <5000000>; | |
24 | regulator-max-microvolt = <5000000>; | |
25 | gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; | |
26 | enable-active-high; | |
27 | regulator-always-on; | |
28 | }; | |
29 | ||
f24f1bdc TL |
30 | vmmcsd_fixed: fixedregulator@0 { |
31 | compatible = "regulator-fixed"; | |
32 | regulator-name = "vmmcsd_fixed"; | |
33 | regulator-min-microvolt = <3300000>; | |
34 | regulator-max-microvolt = <3300000>; | |
35 | }; | |
285f3690 TL |
36 | }; |
37 | ||
38 | &cpsw_emac0 { | |
39 | phy_id = <&davinci_mdio>, <0>; | |
87ee15ec | 40 | phy-mode = "rgmii"; |
285f3690 TL |
41 | }; |
42 | ||
43 | &cpsw_emac1 { | |
44 | phy_id = <&davinci_mdio>, <1>; | |
87ee15ec | 45 | phy-mode = "rgmii"; |
285f3690 | 46 | }; |
f24f1bdc | 47 | |
1ddbef4d NC |
48 | &mmc1 { |
49 | status = "disabled"; | |
50 | }; | |
51 | ||
52 | &mmc2 { | |
53 | status = "disabled"; | |
54 | }; | |
55 | ||
f24f1bdc TL |
56 | &mmc3 { |
57 | pinctrl-names = "default"; | |
58 | pinctrl-0 = <&sd2_pins>; | |
59 | vmmc-supply = <&vmmcsd_fixed>; | |
60 | bus-width = <8>; | |
61 | dmas = <&edma_xbar 8 0 1 /* use SDTXEVT1 instead of MCASP0TX */ | |
62 | &edma_xbar 9 0 2>; /* use SDRXEVT1 instead of MCASP0RX */ | |
63 | dma-names = "tx", "rx"; | |
54c78870 | 64 | non-removable; |
f24f1bdc TL |
65 | }; |
66 | ||
67 | &pincntl { | |
68 | sd2_pins: pinmux_sd2_pins { | |
69 | pinctrl-single,pins = < | |
70 | DM814X_IOPAD(0x09c0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[7] */ | |
71 | DM814X_IOPAD(0x09c4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[6] */ | |
72 | DM814X_IOPAD(0x09c8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[5] */ | |
73 | DM814X_IOPAD(0x09cc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[4] */ | |
74 | DM814X_IOPAD(0x09d0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[3] */ | |
75 | DM814X_IOPAD(0x09d4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[2] */ | |
76 | DM814X_IOPAD(0x09d8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[1] */ | |
77 | DM814X_IOPAD(0x09dc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[0] */ | |
78 | DM814X_IOPAD(0x09e0, PIN_INPUT | 0x1) /* SD2_CLK */ | |
79 | DM814X_IOPAD(0x09f4, PIN_INPUT_PULLUP | 0x2) /* SD2_CMD */ | |
80 | DM814X_IOPAD(0x0920, PIN_INPUT | 40) /* SD2_SDCD */ | |
81 | >; | |
82 | }; | |
868e2478 TL |
83 | |
84 | usb0_pins: pinmux_usb0_pins { | |
85 | pinctrl-single,pins = < | |
86 | DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */ | |
87 | >; | |
88 | }; | |
89 | ||
90 | usb1_pins: pinmux_usb1_pins { | |
91 | pinctrl-single,pins = < | |
92 | DM814X_IOPAD(0x0834, PIN_OUTPUT | 0x80) /* USB1_DRVVBUS */ | |
93 | >; | |
94 | }; | |
95 | }; | |
96 | ||
97 | &usb0 { | |
98 | pinctrl-names = "default"; | |
99 | pinctrl-0 = <&usb0_pins>; | |
100 | dr_mode = "host"; | |
101 | }; | |
102 | ||
103 | &usb1 { | |
104 | pinctrl-names = "default"; | |
105 | pinctrl-0 = <&usb1_pins>; | |
106 | dr_mode = "host"; | |
f24f1bdc | 107 | }; |