The PRUSSs on AM57xx SoCs contain an MDIO controller that can be used to control external PHYs associated with the Industrial Ethernet peripherals within each PRUSS. The MDIO module used within the PRU-ICSS is an instance of the MDIO Controller used in TI Davinci SoCs. The same bus frequency of 1 MHz is chosen as the regular MDIO node. The nodes are added in the common am57-pruss.dtsi file and enabled by default, but are disabled in all the existing AM57xx board dts files. These nodes need pinctrl lines, and so should be enabled only on boards where they are actually wired and pinned out for PRUSS Ethernet. Any new board dts file should disable these if they are not sure. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
37 lines
717 B
Text
37 lines
717 B
Text
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "am5728.dtsi"
|
|
#include "dra7-mmc-iodelay.dtsi"
|
|
#include "dra74x-mmc-iodelay.dtsi"
|
|
#include "am572x-idk-common.dtsi"
|
|
|
|
/ {
|
|
model = "TI AM5728 IDK";
|
|
compatible = "ti,am5728-idk", "ti,am5728", "ti,dra7";
|
|
};
|
|
|
|
&mmc1 {
|
|
pinctrl-names = "default", "hs";
|
|
pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
|
|
pinctrl-1 = <&mmc1_pins_hs>;
|
|
};
|
|
|
|
&mmc2 {
|
|
pinctrl-names = "default", "hs", "ddr_3_3v";
|
|
pinctrl-0 = <&mmc2_pins_default>;
|
|
pinctrl-1 = <&mmc2_pins_hs>;
|
|
pinctrl-2 = <&mmc2_pins_ddr_rev20>;
|
|
};
|
|
|
|
&pruss1_mdio {
|
|
status = "disabled";
|
|
};
|
|
|
|
&pruss2_mdio {
|
|
status = "disabled";
|
|
};
|