/* * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include "dra71-evm.dts" &pcf_gpio_21 { status = "disabled"; }; &evm_3v3_sd { gpio = <>; }; &extcon_usb1 { id-gpio = <>; }; &extcon_usb2 { id-gpio = <>; }; / { chosen { stdout-path = &uart4; }; memory { reg = <0x80000000 0x20000000>; /* 512 MB */ }; }; &uart4 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart4_pins>; }; &dra7_pmx_core { uart4_pins: pinmux_uart4_pins { pinctrl-single,pins = < 0x33C (PIN_INPUT_SLEW | MUX_MODE4) /* uart4_rxd */ 0x340 (PIN_INPUT_SLEW | MUX_MODE4) /* uart4_txd */ >; }; }; /*=================== Add PMIC TPS65917 ==================*/ &i2c1 { status = "okay"; clock-frequency = <400000>; tps65917: tps65917@58 { compatible = "ti,tps65917"; reg = <0x58>; interrupts = ; /* IRQ_SYS_1N */ interrupt-controller; #interrupt-cells = <2>; ti,system-power-controller; tps65917_pmic { compatible = "ti,tps65917-pmic"; tps65917_regulators: regulators { smps1_reg: smps1 { /* VDD_MPU */ regulator-name = "smps1"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; regulator-always-on; regulator-boot-on; }; smps2_reg: smps2 { /* VDD_CORE */ regulator-name = "smps2"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1060000>; regulator-boot-on; regulator-always-on; }; smps3_reg: smps3 { /* VDD_GPU IVA DSPEVE */ regulator-name = "smps3"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; regulator-boot-on; regulator-always-on; }; smps4_reg: smps4 { /* VDDS1V8 */ regulator-name = "smps4"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; smps5_reg: smps5 { /* VDD_DDR */ regulator-name = "smps5"; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; regulator-boot-on; regulator-always-on; }; ldo1_reg: ldo1 { /* LDO1_OUT --> SDIO */ regulator-name = "ldo1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; regulator-allow-bypass; }; ldo3_reg: ldo3 { /* VDDA_1V8_PHY */ regulator-name = "ldo3"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; ldo5_reg: ldo5 { /* VDDA_1V8_PLL */ regulator-name = "ldo5"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; ldo4_reg: ldo4 { /* VDDA_3V_USB: VDDA_USBHS33 */ regulator-name = "ldo4"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-boot-on; }; }; }; tps65917_power_button { status = "disabled"; compatible = "ti,palmas-pwrbutton"; interrupt-parent = <&tps65917>; interrupts = <1 IRQ_TYPE_NONE>; wakeup-source; ti,palmas-long-press-seconds = <6>; }; }; }; &mmc1 { status = "okay"; vmmc-supply = <&evm_3v3_sd>; vmmc_aux-supply = <&ldo1_reg>; bus-width = <4>; /* * SDCD signal is not being used here - using the fact that GPIO mode * is always hardwired. */ cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; max-frequency = <192000000>; }; /*=================================================*/