123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386 |
- /*
- * Copyright (C) 2017 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.
- */
- /dts-v1/;
- #include "dra76x.dtsi"
- #include "dra7-evm-common.dtsi"
- #include "dra76x-mmc-iodelay.dtsi"
- #include <dt-bindings/net/ti-dp83867.h>
- / {
- model = "TI DRA762 EVM";
- compatible = "ti,dra76-evm", "ti,dra76", "ti,dra7";
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x80000000 0x0 0x80000000>;
- };
- vsys_12v0: fixedregulator-vsys12v0 {
- /* main supply */
- compatible = "regulator-fixed";
- regulator-name = "vsys_12v0";
- regulator-min-microvolt = <12000000>;
- regulator-max-microvolt = <12000000>;
- regulator-always-on;
- regulator-boot-on;
- };
- vsys_5v0: fixedregulator-vsys5v0 {
- /* Output of Cntlr B of TPS43351-Q1 on dra76-evm */
- compatible = "regulator-fixed";
- regulator-name = "vsys_5v0";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- vin-supply = <&vsys_12v0>;
- regulator-always-on;
- regulator-boot-on;
- };
- vsys_3v3: fixedregulator-vsys3v3 {
- /* Output of Cntlr A of TPS43351-Q1 on dra76-evm */
- compatible = "regulator-fixed";
- regulator-name = "vsys_3v3";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- vin-supply = <&vsys_12v0>;
- regulator-always-on;
- regulator-boot-on;
- };
- vio_3v3: fixedregulator-vio_3v3 {
- compatible = "regulator-fixed";
- regulator-name = "vio_3v3";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- vin-supply = <&vsys_3v3>;
- regulator-always-on;
- regulator-boot-on;
- };
- vio_3v3_sd: fixedregulator-sd {
- compatible = "regulator-fixed";
- regulator-name = "vio_3v3_sd";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- vin-supply = <&vio_3v3>;
- enable-active-high;
- gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
- };
- vio_1v8: fixedregulator-vio_1v8 {
- compatible = "regulator-fixed";
- regulator-name = "vio_1v8";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- vin-supply = <&smps5_reg>;
- };
- vtt_fixed: fixedregulator-vtt {
- compatible = "regulator-fixed";
- regulator-name = "vtt_fixed";
- regulator-min-microvolt = <1350000>;
- regulator-max-microvolt = <1350000>;
- vin-supply = <&vsys_3v3>;
- regulator-always-on;
- regulator-boot-on;
- };
- aic_dvdd: fixedregulator-aic_dvdd {
- /* TPS77018DBVT */
- compatible = "regulator-fixed";
- regulator-name = "aic_dvdd";
- vin-supply = <&vio_3v3>;
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- };
- };
- &i2c1 {
- status = "okay";
- clock-frequency = <400000>;
- tps65917: tps65917@58 {
- compatible = "ti,tps65917";
- reg = <0x58>;
- ti,system-power-controller;
- interrupt-controller;
- #interrupt-cells = <2>;
- tps65917_pmic {
- compatible = "ti,tps65917-pmic";
- smps12-in-supply = <&vsys_3v3>;
- smps3-in-supply = <&vsys_3v3>;
- smps4-in-supply = <&vsys_3v3>;
- smps5-in-supply = <&vsys_3v3>;
- ldo1-in-supply = <&vsys_3v3>;
- ldo2-in-supply = <&vsys_3v3>;
- ldo3-in-supply = <&vsys_5v0>;
- ldo4-in-supply = <&vsys_5v0>;
- ldo5-in-supply = <&vsys_3v3>;
- tps65917_regulators: regulators {
- smps12_reg: smps12 {
- /* VDD_DSPEVE */
- regulator-name = "smps12";
- regulator-min-microvolt = <850000>;
- regulator-max-microvolt = <1250000>;
- regulator-always-on;
- regulator-boot-on;
- };
- smps3_reg: smps3 {
- /* VDD_CORE */
- regulator-name = "smps3";
- regulator-min-microvolt = <850000>;
- regulator-max-microvolt = <1250000>;
- regulator-boot-on;
- regulator-always-on;
- };
- smps4_reg: smps4 {
- /* VDD_IVA */
- regulator-name = "smps4";
- regulator-min-microvolt = <850000>;
- regulator-max-microvolt = <1250000>;
- regulator-always-on;
- regulator-boot-on;
- };
- smps5_reg: smps5 {
- /* VDDS1V8 */
- regulator-name = "smps5";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-boot-on;
- regulator-always-on;
- };
- ldo1_reg: ldo1 {
- /* LDO1_OUT --> VDA_PHY1_1V8 */
- regulator-name = "ldo1";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-always-on;
- regulator-boot-on;
- regulator-allow-bypass;
- };
- ldo2_reg: ldo2 {
- /* LDO2_OUT --> VDA_PHY2_1V8 */
- regulator-name = "ldo2";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-allow-bypass;
- regulator-always-on;
- };
- ldo3_reg: ldo3 {
- /* VDA_USB_3V3 */
- regulator-name = "ldo3";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- 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 {
- /* VDD_SDIO_DV */
- regulator-name = "ldo4";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
- };
- };
- tps65917_power_button {
- compatible = "ti,palmas-pwrbutton";
- interrupt-parent = <&tps65917>;
- interrupts = <1 IRQ_TYPE_NONE>;
- wakeup-source;
- ti,palmas-long-press-seconds = <6>;
- };
- };
- lp87565: lp87565@60 {
- compatible = "ti,lp87565-q1";
- reg = <0x60>;
- buck10-in-supply =<&vsys_3v3>;
- buck23-in-supply =<&vsys_3v3>;
- regulators: regulators {
- buck10_reg: buck10 {
- /*VDD_MPU*/
- regulator-name = "buck10";
- regulator-min-microvolt = <850000>;
- regulator-max-microvolt = <1250000>;
- regulator-always-on;
- regulator-boot-on;
- };
- buck23_reg: buck23 {
- /* VDD_GPU*/
- regulator-name = "buck23";
- regulator-min-microvolt = <850000>;
- regulator-max-microvolt = <1250000>;
- regulator-boot-on;
- regulator-always-on;
- };
- };
- };
- pcf_lcd: pcf8757@20 {
- compatible = "ti,pcf8575", "nxp,pcf8575";
- reg = <0x20>;
- gpio-controller;
- #gpio-cells = <2>;
- interrupt-controller;
- #interrupt-cells = <2>;
- interrupt-parent = <&gpio6>;
- interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
- };
- pcf_gpio_21: pcf8757@21 {
- compatible = "ti,pcf8575", "nxp,pcf8575";
- reg = <0x21>;
- gpio-controller;
- #gpio-cells = <2>;
- interrupt-parent = <&gpio6>;
- interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
- interrupt-controller;
- #interrupt-cells = <2>;
- };
- pcf_hdmi: pcf8575@26 {
- compatible = "ti,pcf8575", "nxp,pcf8575";
- reg = <0x26>;
- gpio-controller;
- #gpio-cells = <2>;
- p1 {
- /* vin6_sel_s0: high: VIN6, low: audio */
- gpio-hog;
- gpios = <1 GPIO_ACTIVE_HIGH>;
- output-low;
- line-name = "vin6_sel_s0";
- };
- };
- tlv320aic3106: tlv320aic3106@19 {
- #sound-dai-cells = <0>;
- compatible = "ti,tlv320aic3106";
- reg = <0x19>;
- adc-settle-ms = <40>;
- ai3x-micbias-vg = <1>; /* 2.0V */
- status = "okay";
- /* Regulators */
- AVDD-supply = <&vio_3v3>;
- IOVDD-supply = <&vio_3v3>;
- DRVDD-supply = <&vio_3v3>;
- DVDD-supply = <&aic_dvdd>;
- };
- };
- &cpu0 {
- vdd-supply = <&buck10_reg>;
- };
- &mmc1 {
- status = "okay";
- vmmc-supply = <&vio_3v3_sd>;
- vmmc_aux-supply = <&ldo4_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>;
- pinctrl-names = "default", "hs";
- pinctrl-0 = <&mmc1_pins_default>;
- pinctrl-1 = <&mmc1_pins_hs>;
- };
- &mmc2 {
- status = "okay";
- vmmc-supply = <&vio_1v8>;
- bus-width = <8>;
- pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
- pinctrl-0 = <&mmc2_pins_default>;
- pinctrl-1 = <&mmc2_pins_hs>;
- pinctrl-2 = <&mmc2_pins_ddr>;
- pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_conf>;
- };
- /* No RTC on this device */
- &rtc {
- status = "disabled";
- };
- &mac {
- status = "okay";
- dual_emac;
- };
- &cpsw_emac0 {
- phy-handle = <&dp83867_0>;
- phy-mode = "rgmii-id";
- dual_emac_res_vlan = <1>;
- };
- &cpsw_emac1 {
- phy-handle = <&dp83867_1>;
- phy-mode = "rgmii-id";
- dual_emac_res_vlan = <2>;
- };
- &davinci_mdio {
- dp83867_0: ethernet-phy@2 {
- reg = <2>;
- ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
- ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
- ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
- ti,min-output-impedance;
- };
- dp83867_1: ethernet-phy@3 {
- reg = <3>;
- ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
- ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
- ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
- ti,min-output-impedance;
- };
- };
- &usb2_phy1 {
- phy-supply = <&ldo3_reg>;
- };
- &usb2_phy2 {
- phy-supply = <&ldo3_reg>;
- };
- &qspi {
- spi-max-frequency = <96000000>;
- m25p80@0 {
- spi-max-frequency = <96000000>;
- };
- };
|