Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Tony Lindgren | 285f369 | 2015-07-23 22:33:19 -0700 | [diff] [blame] | 2 | /dts-v1/; |
| 3 | |
| 4 | #include "dm814x.dtsi" |
| 5 | |
| 6 | / { |
Nicolas Chauvet | 60fdcb8 | 2015-09-03 17:34:40 +0200 | [diff] [blame] | 7 | model = "HP t410 Smart Zero Client"; |
Graeme Smecher | 647efef | 2018-05-02 17:32:36 -0700 | [diff] [blame] | 8 | compatible = "hp,t410", "ti,dm8148", "ti,dm814"; |
Tony Lindgren | 285f369 | 2015-07-23 22:33:19 -0700 | [diff] [blame] | 9 | |
Javier Martinez Canillas | c5ee1b4 | 2016-08-31 12:35:34 +0200 | [diff] [blame] | 10 | memory@80000000 { |
Tony Lindgren | 285f369 | 2015-07-23 22:33:19 -0700 | [diff] [blame] | 11 | device_type = "memory"; |
| 12 | reg = <0x80000000 0x40000000>; /* 1 GB */ |
| 13 | }; |
Tony Lindgren | f24f1bd | 2015-12-22 16:01:03 -0800 | [diff] [blame] | 14 | |
Tony Lindgren | 868e247 | 2015-12-22 16:01:37 -0800 | [diff] [blame] | 15 | /* gpio9 seems to control USB VBUS regulator and/or hub power */ |
| 16 | usb_power: regulator@9 { |
| 17 | compatible = "regulator-fixed"; |
| 18 | regulator-name = "usb_power"; |
| 19 | regulator-min-microvolt = <5000000>; |
| 20 | regulator-max-microvolt = <5000000>; |
| 21 | gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
| 22 | enable-active-high; |
| 23 | regulator-always-on; |
| 24 | }; |
| 25 | |
Javier Martinez Canillas | 0b0d912 | 2016-08-01 12:46:59 -0400 | [diff] [blame] | 26 | vmmcsd_fixed: fixedregulator0 { |
Tony Lindgren | f24f1bd | 2015-12-22 16:01:03 -0800 | [diff] [blame] | 27 | compatible = "regulator-fixed"; |
| 28 | regulator-name = "vmmcsd_fixed"; |
| 29 | regulator-min-microvolt = <3300000>; |
| 30 | regulator-max-microvolt = <3300000>; |
| 31 | }; |
Tony Lindgren | 285f369 | 2015-07-23 22:33:19 -0700 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | &cpsw_emac0 { |
Grygorii Strashko | 3a25128 | 2018-09-10 17:57:54 -0500 | [diff] [blame] | 35 | phy-handle = <ðphy0>; |
Tony Lindgren | b46b2b7 | 2020-03-03 13:18:36 -0800 | [diff] [blame] | 36 | phy-mode = "rgmii-id"; |
Tony Lindgren | 285f369 | 2015-07-23 22:33:19 -0700 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | &cpsw_emac1 { |
Grygorii Strashko | 3a25128 | 2018-09-10 17:57:54 -0500 | [diff] [blame] | 40 | phy-handle = <ðphy1>; |
Tony Lindgren | b46b2b7 | 2020-03-03 13:18:36 -0800 | [diff] [blame] | 41 | phy-mode = "rgmii-id"; |
Tony Lindgren | 285f369 | 2015-07-23 22:33:19 -0700 | [diff] [blame] | 42 | }; |
Tony Lindgren | f24f1bd | 2015-12-22 16:01:03 -0800 | [diff] [blame] | 43 | |
Grygorii Strashko | 3a25128 | 2018-09-10 17:57:54 -0500 | [diff] [blame] | 44 | &davinci_mdio { |
| 45 | ethphy0: ethernet-phy@0 { |
| 46 | reg = <0>; |
| 47 | }; |
| 48 | |
| 49 | ethphy1: ethernet-phy@1 { |
| 50 | reg = <1>; |
| 51 | }; |
| 52 | }; |
| 53 | |
Nicolas Chauvet | 1ddbef4 | 2016-05-10 12:14:58 +0200 | [diff] [blame] | 54 | &mmc1 { |
| 55 | status = "disabled"; |
| 56 | }; |
| 57 | |
| 58 | &mmc2 { |
| 59 | status = "disabled"; |
| 60 | }; |
| 61 | |
Tony Lindgren | f24f1bd | 2015-12-22 16:01:03 -0800 | [diff] [blame] | 62 | &mmc3 { |
| 63 | pinctrl-names = "default"; |
| 64 | pinctrl-0 = <&sd2_pins>; |
| 65 | vmmc-supply = <&vmmcsd_fixed>; |
| 66 | bus-width = <8>; |
| 67 | dmas = <&edma_xbar 8 0 1 /* use SDTXEVT1 instead of MCASP0TX */ |
| 68 | &edma_xbar 9 0 2>; /* use SDRXEVT1 instead of MCASP0RX */ |
| 69 | dma-names = "tx", "rx"; |
Nicolas Chauvet | 54c7887 | 2016-05-10 12:14:57 +0200 | [diff] [blame] | 70 | non-removable; |
Tony Lindgren | f24f1bd | 2015-12-22 16:01:03 -0800 | [diff] [blame] | 71 | }; |
| 72 | |
| 73 | &pincntl { |
| 74 | sd2_pins: pinmux_sd2_pins { |
| 75 | pinctrl-single,pins = < |
| 76 | DM814X_IOPAD(0x09c0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[7] */ |
| 77 | DM814X_IOPAD(0x09c4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[6] */ |
| 78 | DM814X_IOPAD(0x09c8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[5] */ |
| 79 | DM814X_IOPAD(0x09cc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[4] */ |
| 80 | DM814X_IOPAD(0x09d0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[3] */ |
| 81 | DM814X_IOPAD(0x09d4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[2] */ |
| 82 | DM814X_IOPAD(0x09d8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[1] */ |
| 83 | DM814X_IOPAD(0x09dc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[0] */ |
| 84 | DM814X_IOPAD(0x09e0, PIN_INPUT | 0x1) /* SD2_CLK */ |
| 85 | DM814X_IOPAD(0x09f4, PIN_INPUT_PULLUP | 0x2) /* SD2_CMD */ |
Graeme Smecher | 8dfa755 | 2018-05-03 10:03:01 -0700 | [diff] [blame] | 86 | DM814X_IOPAD(0x0920, PIN_INPUT | 0x40) /* SD2_SDCD */ |
Tony Lindgren | f24f1bd | 2015-12-22 16:01:03 -0800 | [diff] [blame] | 87 | >; |
| 88 | }; |
Tony Lindgren | 868e247 | 2015-12-22 16:01:37 -0800 | [diff] [blame] | 89 | |
| 90 | usb0_pins: pinmux_usb0_pins { |
| 91 | pinctrl-single,pins = < |
| 92 | DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */ |
| 93 | >; |
| 94 | }; |
| 95 | |
| 96 | usb1_pins: pinmux_usb1_pins { |
| 97 | pinctrl-single,pins = < |
| 98 | DM814X_IOPAD(0x0834, PIN_OUTPUT | 0x80) /* USB1_DRVVBUS */ |
| 99 | >; |
| 100 | }; |
| 101 | }; |
| 102 | |
| 103 | &usb0 { |
| 104 | pinctrl-names = "default"; |
| 105 | pinctrl-0 = <&usb0_pins>; |
| 106 | dr_mode = "host"; |
| 107 | }; |
| 108 | |
| 109 | &usb1 { |
| 110 | pinctrl-names = "default"; |
| 111 | pinctrl-0 = <&usb1_pins>; |
| 112 | dr_mode = "host"; |
Tony Lindgren | f24f1bd | 2015-12-22 16:01:03 -0800 | [diff] [blame] | 113 | }; |