]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commitdiff
ARM: dts: AM33xx: Add PRUSS MDIO controller node
authorSuman Anna <s-anna@ti.com>
Tue, 7 Nov 2017 19:52:42 +0000 (13:52 -0600)
committerSuman Anna <s-anna@ti.com>
Sun, 24 Feb 2019 01:20:49 +0000 (19:20 -0600)
The PRUSS on AM335x SoCs has a MDIO sub-module that can be used
to control external PHYs associated with the Industrial Ethernet
peripherals within the 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 node is added to the common am33xx dts file and is disabled.
This needs to be enabled in the respective board files using the
relevant AM335x SoCs supporting PRUSS and where the ethernet is
pinned out and connected properly.

Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/boot/dts/am33xx.dtsi

index 1b62014551151e28179e9ae9b75d5207f6257f89..405255ae9bd7a4e7415296c403e555141f10bdfe 100644 (file)
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am335x-pru1-fw";
                                };
+
+                               pruss_mdio: mdio@4a332400 {
+                                       compatible = "ti,davinci_mdio";
+                                       reg = <0x4a332400 0x90>;
+                                       clocks = <&dpll_core_m4_ck>;
+                                       clock-names = "fck";
+                                       bus_freq = <1000000>;
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+                                       status = "disabled";
+                               };
                        };
                };