/* * Copyright (C) 2015-2016 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 "dra74x.dtsi" #include "am572x-idk-common.dtsi" #include "dra74x-mmc-iodelay.dtsi" / { model = "TI AM5728 IDK"; compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; chosen { stdout-path = &uart3; }; memory { device_type = "memory"; /*zyflex: change memory map, unsure?*/ reg = <0x0 0x40000000 0x0 0x40000000>; }; }; &qspi { spi-max-frequency = <76800000>; m25p80@0 { spi-max-frequency = <76800000>; }; }; &usb1 { dr_mode = "host"; }; &mmc1 { status = "okay"; pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; pinctrl-0 = <&mmc1_pins_default>; pinctrl-1 = <&mmc1_pins_hs>; pinctrl-2 = <&mmc1_pins_sdr12>; pinctrl-3 = <&mmc1_pins_sdr25>; pinctrl-4 = <&mmc1_pins_sdr50>; pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>; pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; vmmc-supply = <&ldo1_reg>; bus-width = <4>; cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ }; &mmc2 { pinctrl-names = "default", "hs", "ddr_1_8v"; pinctrl-0 = <&mmc2_pins_default>; pinctrl-1 = <&mmc2_pins_hs>; pinctrl-2 = <&mmc2_pins_ddr_rev20>; }; &mac { /* cptr pps1 generator properties */ timers = <&timer16>; pinctrl-names = "pwm_off", "pwm_on", "ref_off", "ref_on"; pinctrl-0 = <&pps1_timer16_pwm_off>; pinctrl-1 = <&pps1_timer16_pwm_on>; pinctrl-2 = <&pps1_timer16_pwm2_off>; pinctrl-3 = <&pps1_timer16_pwm2_on>; }; &cpsw_emac0 { status = "okay"; phy_id = <&davinci_mdio>, <3>; /*zyflex*/ phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; //&cpsw_emac1 { // status = "okay"; // phy_id = <&davinci_mdio>, <0>; /*zyflex*/ // phy-mode = "rgmii"; // dual_emac_res_vlan = <2>; //}; &pruss2_eth { pinctrl-names = "sync0_off", "sync0_on", "latch0_off", "latch0_on", "sync1_off", "sync1_on"; pinctrl-0 = <&pr2_edc_sync0_off>; pinctrl-1 = <&pr2_edc_sync0_on>; pinctrl-2 = <&pr2_edc_latch0_off>; pinctrl-3 = <&pr2_edc_latch0_on>; pinctrl-4 = <&pr2_edc_sync1_off>; pinctrl-5 = <&pr2_edc_sync1_on>; }; &dra7_pmx_core { i2c2_pins_default: i2c2_pins_default { pinctrl-single,pins = < 0x408 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda.sda */ 0x40C (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl.scl */ >; }; pps1_timer16_pwm_on: pps1_timer16_pwm_on { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x36a0, PIN_OUTPUT | MUX_MODE10) >; }; pps1_timer16_pwm_off: pps1_timer16_pwm_off { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x36a0, PIN_OUTPUT | MUX_MODE15) >; }; pps1_timer16_pwm2_on: pps1_timer16_pwm2_on { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x3680, PIN_OUTPUT | MUX_MODE7) >; }; pps1_timer16_pwm2_off: pps1_timer16_pwm2_off { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x3680, PIN_OUTPUT | MUX_MODE15) >; }; pr2_edc_sync0_on: pr2_edc_sync0_on { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x35f8, PIN_OUTPUT | MUX_MODE10) >; }; pr2_edc_sync0_off: pr2_edc_sync0_off { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x35f8, PIN_OUTPUT | MUX_MODE15) >; }; pr2_edc_latch0_on: pr2_edc_latch0_on { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x35f0, PIN_INPUT | MUX_MODE10) >; }; pr2_edc_latch0_off: pr2_edc_latch0_off { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x35f0, PIN_INPUT | MUX_MODE15) >; }; pr2_edc_sync1_on: pr2_edc_sync1_on { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x35fc, PIN_OUTPUT | MUX_MODE10) >; }; pr2_edc_sync1_off: pr2_edc_sync1_off { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x35fc, PIN_OUTPUT | MUX_MODE15) >; }; }; &i2c2 { status = "okay"; clock-frequency = <400000>; tvp5150: tvp5150@5d { compatible = "ti,tvp5150"; reg = <0x5d>; /*pdn-gpios = <&gpio7 25 GPIO_ACTIVE_LOW>;*/ /*reset-gpios = <&gpio8 8 GPIO_ACTIVE_LOW>;*/ port { tvp5150_1: endpoint { hsync-active = <1>; vsync-active = <1>; field-even-active = <0>; remote-endpoint = <&vin1b>; }; }; }; }; &vin1b { status = "okay"; endpoint@2 { slave-mode; remote-endpoint = <&tvp5150_1>; }; }; &vip1 { status = "okay"; }; &ptp_bc { status = "okay"; }; #include "am57xx-evm-cmem.dtsi"