/* * 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 "am571x-idk-common.dtsi" / { model = "TI AM5718 IDK"; aliases { ethernet4 = &pruss1_emac0; ethernet5 = &pruss1_emac1; sound0 = &sound0; }; sound0: sound0 { compatible = "simple-audio-card"; simple-audio-card,bitclock-master = <&sound0_master>; simple-audio-card,frame-master = <&sound0_master>; assigned-clocks = <&clkoutmux2_clk_mux>; assigned-clock-parents = <&sys_clk1_dclk_div>; assigned-clock-rates = <10000000>; sound0_master: simple-audio-card,codec { clocks = <&clkout2_clk>; }; }; /* Dual mac ethernet application node on icss2 */ pruss1_eth: pruss1_eth { status = "disabled"; compatible = "ti,am57-prueth"; prus = <&pru1_0>, <&pru1_1>; firmware-name = "ti-pruss/am57xx-pru0-prueth-fw.elf", "ti-pruss/am57xx-pru1-prueth-fw.elf"; ti,pruss-gp-mux-sel = <0>, /* GP, default */ <4>; /* MII2, needed for PRUSS1_MII1 */ sram = <&ocmcram1>; interrupt-parent = <&pruss1_intc>; interrupts = <20>, <21>; interrupt-names = "rx_red_hp", "rx_red_lp"; pruss1_emac0: ethernet-mii0 { phy-handle = <&pruss1_eth0_phy>; phy-mode = "mii"; interrupts = <20>, <22>, <23>, <26>; interrupt-names = "rx", "tx", "hsrprp_ptp_tx", "emac_ptp_tx"; /* Filled in by bootloader */ local-mac-address = [00 00 00 00 00 00]; }; pruss1_emac1: ethernet-mii1 { phy-handle = <&pruss1_eth1_phy>; phy-mode = "mii"; interrupts = <21>, <23>, <24>, <27>; interrupt-names = "rx", "tx", "hsrprp_ptp_tx", "emac_ptp_tx"; /* Filled in by bootloader */ local-mac-address = [00 00 00 00 00 00]; }; }; }; &pruss1_mdio { status = "disabled"; reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; reset-delay-us = <2>; /* PHY datasheet states 1uS min */ pruss1_eth0_phy: ethernet-phy@0 { reg = <0>; interrupt-parent = <&gpio3>; interrupts = <28 IRQ_TYPE_EDGE_FALLING>; }; pruss1_eth1_phy: ethernet-phy@1 { reg = <1>; interrupt-parent = <&gpio3>; interrupts = <29 IRQ_TYPE_EDGE_FALLING>; }; }; &pruss2_eth { ti,pruss-gp-mux-sel = <4>, /* MII2, needed for PRUSS1_MII0 */ <4>; /* MII2, needed for PRUSS1_MII1 */ }; #include "am57xx-evm-cmem-am571x.dtsi"