0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /dts-v1/;
0003
0004 #include "dm814x.dtsi"
0005
0006 / {
0007 model = "HP t410 Smart Zero Client";
0008 compatible = "hp,t410", "ti,dm8148", "ti,dm814";
0009
0010 memory@80000000 {
0011 device_type = "memory";
0012 reg = <0x80000000 0x40000000>; /* 1 GB */
0013 };
0014
0015 /* gpio9 seems to control USB VBUS regulator and/or hub power */
0016 usb_power: regulator@9 {
0017 compatible = "regulator-fixed";
0018 regulator-name = "usb_power";
0019 regulator-min-microvolt = <5000000>;
0020 regulator-max-microvolt = <5000000>;
0021 gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
0022 enable-active-high;
0023 regulator-always-on;
0024 };
0025
0026 vmmcsd_fixed: fixedregulator0 {
0027 compatible = "regulator-fixed";
0028 regulator-name = "vmmcsd_fixed";
0029 regulator-min-microvolt = <3300000>;
0030 regulator-max-microvolt = <3300000>;
0031 };
0032 };
0033
0034 &cpsw_emac0 {
0035 phy-handle = <ðphy0>;
0036 phy-mode = "rgmii-id";
0037 };
0038
0039 &cpsw_emac1 {
0040 phy-handle = <ðphy1>;
0041 phy-mode = "rgmii-id";
0042 };
0043
0044 &davinci_mdio {
0045 ethphy0: ethernet-phy@0 {
0046 reg = <0>;
0047 };
0048
0049 ethphy1: ethernet-phy@1 {
0050 reg = <1>;
0051 };
0052 };
0053
0054 &mmc1 {
0055 status = "disabled";
0056 };
0057
0058 &mmc2 {
0059 status = "disabled";
0060 };
0061
0062 &mmc3 {
0063 pinctrl-names = "default";
0064 pinctrl-0 = <&sd2_pins>;
0065 vmmc-supply = <&vmmcsd_fixed>;
0066 bus-width = <8>;
0067 dmas = <&edma_xbar 8 0 1 /* use SDTXEVT1 instead of MCASP0TX */
0068 &edma_xbar 9 0 2>; /* use SDRXEVT1 instead of MCASP0RX */
0069 dma-names = "tx", "rx";
0070 non-removable;
0071 };
0072
0073 &pincntl {
0074 sd2_pins: pinmux_sd2_pins {
0075 pinctrl-single,pins = <
0076 DM814X_IOPAD(0x09c0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[7] */
0077 DM814X_IOPAD(0x09c4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[6] */
0078 DM814X_IOPAD(0x09c8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[5] */
0079 DM814X_IOPAD(0x09cc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[4] */
0080 DM814X_IOPAD(0x09d0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[3] */
0081 DM814X_IOPAD(0x09d4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[2] */
0082 DM814X_IOPAD(0x09d8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[1] */
0083 DM814X_IOPAD(0x09dc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[0] */
0084 DM814X_IOPAD(0x09e0, PIN_INPUT | 0x1) /* SD2_CLK */
0085 DM814X_IOPAD(0x09f4, PIN_INPUT_PULLUP | 0x2) /* SD2_CMD */
0086 DM814X_IOPAD(0x0920, PIN_INPUT | 0x40) /* SD2_SDCD */
0087 >;
0088 };
0089
0090 usb0_pins: pinmux_usb0_pins {
0091 pinctrl-single,pins = <
0092 DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */
0093 >;
0094 };
0095
0096 usb1_pins: pinmux_usb1_pins {
0097 pinctrl-single,pins = <
0098 DM814X_IOPAD(0x0834, PIN_OUTPUT | 0x80) /* USB1_DRVVBUS */
0099 >;
0100 };
0101 };
0102
0103 &usb0 {
0104 pinctrl-names = "default";
0105 pinctrl-0 = <&usb0_pins>;
0106 dr_mode = "host";
0107 };
0108
0109 &usb1 {
0110 pinctrl-names = "default";
0111 pinctrl-0 = <&usb1_pins>;
0112 dr_mode = "host";
0113 };