blob: 97000b521ceabea2dd4ca9b7bd930fa575187d6e [file] [log] [blame]
Tony Lindgren285f3692015-07-23 22:33:19 -07001/*
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/ {
Nicolas Chauvet60fdcb82015-09-03 17:34:40 +020011 model = "HP t410 Smart Zero Client";
Tony Lindgren285f3692015-07-23 22:33:19 -070012 compatible = "hp,t410", "ti,dm8148";
13
14 memory {
15 device_type = "memory";
16 reg = <0x80000000 0x40000000>; /* 1 GB */
17 };
Tony Lindgrenf24f1bd2015-12-22 16:01:03 -080018
Tony Lindgren868e2472015-12-22 16:01:37 -080019 /* 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
Tony Lindgrenf24f1bd2015-12-22 16:01:03 -080030 vmmcsd_fixed: fixedregulator@0 {
31 compatible = "regulator-fixed";
32 regulator-name = "vmmcsd_fixed";
33 regulator-min-microvolt = <3300000>;
34 regulator-max-microvolt = <3300000>;
35 };
Tony Lindgren285f3692015-07-23 22:33:19 -070036};
37
38&cpsw_emac0 {
39 phy_id = <&davinci_mdio>, <0>;
Tony Lindgren87ee15e2015-09-14 07:07:28 -070040 phy-mode = "rgmii";
Tony Lindgren285f3692015-07-23 22:33:19 -070041};
42
43&cpsw_emac1 {
44 phy_id = <&davinci_mdio>, <1>;
Tony Lindgren87ee15e2015-09-14 07:07:28 -070045 phy-mode = "rgmii";
Tony Lindgren285f3692015-07-23 22:33:19 -070046};
Tony Lindgrenf24f1bd2015-12-22 16:01:03 -080047
48&mmc3 {
49 pinctrl-names = "default";
50 pinctrl-0 = <&sd2_pins>;
51 vmmc-supply = <&vmmcsd_fixed>;
52 bus-width = <8>;
53 dmas = <&edma_xbar 8 0 1 /* use SDTXEVT1 instead of MCASP0TX */
54 &edma_xbar 9 0 2>; /* use SDRXEVT1 instead of MCASP0RX */
55 dma-names = "tx", "rx";
Nicolas Chauvet54c78872016-05-10 12:14:57 +020056 non-removable;
Tony Lindgrenf24f1bd2015-12-22 16:01:03 -080057};
58
59&pincntl {
60 sd2_pins: pinmux_sd2_pins {
61 pinctrl-single,pins = <
62 DM814X_IOPAD(0x09c0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[7] */
63 DM814X_IOPAD(0x09c4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[6] */
64 DM814X_IOPAD(0x09c8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[5] */
65 DM814X_IOPAD(0x09cc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[4] */
66 DM814X_IOPAD(0x09d0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[3] */
67 DM814X_IOPAD(0x09d4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[2] */
68 DM814X_IOPAD(0x09d8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[1] */
69 DM814X_IOPAD(0x09dc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[0] */
70 DM814X_IOPAD(0x09e0, PIN_INPUT | 0x1) /* SD2_CLK */
71 DM814X_IOPAD(0x09f4, PIN_INPUT_PULLUP | 0x2) /* SD2_CMD */
72 DM814X_IOPAD(0x0920, PIN_INPUT | 40) /* SD2_SDCD */
73 >;
74 };
Tony Lindgren868e2472015-12-22 16:01:37 -080075
76 usb0_pins: pinmux_usb0_pins {
77 pinctrl-single,pins = <
78 DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */
79 >;
80 };
81
82 usb1_pins: pinmux_usb1_pins {
83 pinctrl-single,pins = <
84 DM814X_IOPAD(0x0834, PIN_OUTPUT | 0x80) /* USB1_DRVVBUS */
85 >;
86 };
87};
88
89&usb0 {
90 pinctrl-names = "default";
91 pinctrl-0 = <&usb0_pins>;
92 dr_mode = "host";
93};
94
95&usb1 {
96 pinctrl-names = "default";
97 pinctrl-0 = <&usb1_pins>;
98 dr_mode = "host";
Tony Lindgrenf24f1bd2015-12-22 16:01:03 -080099};