dra62x-j5eco-evm.dts revision 302408
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 "dra62x.dtsi" 9 10/ { 11 model = "DRA62x J5 Eco EVM"; 12 compatible = "ti,dra62x-j5eco-evm", "ti,dra62x", "ti,dm8148"; 13 14 memory { 15 device_type = "memory"; 16 reg = <0x80000000 0x40000000>; /* 1 GB */ 17 }; 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 }; 26}; 27 28&cpsw_emac0 { 29 phy_id = <&davinci_mdio>, <0>; 30 phy-mode = "rgmii"; 31}; 32 33&cpsw_emac1 { 34 phy_id = <&davinci_mdio>, <1>; 35 phy-mode = "rgmii"; 36}; 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 60 usb0_pins: pinmux_usb0_pins { 61 pinctrl-single,pins = < 62 DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */ 63 >; 64 }; 65}; 66 67/* USB0_ID pin state: SW10[1] = 0 cable detection, SW10[1] = 1 ID grounded */ 68&usb0 { 69 pinctrl-names = "default"; 70 pinctrl-0 = <&usb0_pins>; 71 dr_mode = "otg"; 72}; 73 74&usb1_phy { 75 status = "disabled"; 76}; 77 78&usb1 { 79 status = "disabled"; 80}; 81