diff options
author | Suman Anna <s-anna@ti.com> | 2021-07-30 00:46:12 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-08-03 14:25:09 +0200 |
commit | 984ba7ee456b716e2667903686ad5ee944c249ba (patch) | |
tree | e0b76a66f1c883eb1f6d76ea02b6459e5a4c89e4 | |
parent | ARM: dts: am33xx-l4: Add PRUSS node (diff) | |
download | linux-984ba7ee456b716e2667903686ad5ee944c249ba.tar.xz linux-984ba7ee456b716e2667903686ad5ee944c249ba.zip |
ARM: dts: am33xx-l4: Add PRUSS MDIO controller node
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-l4.dtsi 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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am33xx-l4.dtsi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi index 148176361b4e..c9629cb5ccd1 100644 --- a/arch/arm/boot/dts/am33xx-l4.dtsi +++ b/arch/arm/boot/dts/am33xx-l4.dtsi @@ -923,6 +923,17 @@ reg-names = "iram", "control", "debug"; firmware-name = "am335x-pru1-fw"; }; + + pruss_mdio: mdio@32400 { + compatible = "ti,davinci_mdio"; + reg = <0x32400 0x90>; + clocks = <&dpll_core_m4_ck>; + clock-names = "fck"; + bus_freq = <1000000>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; }; }; |