diff options
author | Christophe Roullier <christophe.roullier@st.com> | 2018-06-26 15:12:23 +0200 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2018-07-13 13:57:03 +0200 |
commit | a7419ff8b71a10fca551e3e7e89afe6a2b89559f (patch) | |
tree | 8124486f6cf0b5ad5bf60ddd945ea18f8aad2ddb /arch/arm/boot/dts/stm32mp157c-ev1.dts | |
parent | ARM: dts: stm32: Add ethernet dwmac on stm32mp1 (diff) | |
download | linux-a7419ff8b71a10fca551e3e7e89afe6a2b89559f.tar.xz linux-a7419ff8b71a10fca551e3e7e89afe6a2b89559f.zip |
ARM: dts: stm32: add support of ethernet on stm32mp157c-ev1
MAC is connected to a PHY in RGMII mode.
Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-ev1.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32mp157c-ev1.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index 28284513d886..372bc2ea6b92 100644 --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts @@ -17,6 +17,26 @@ aliases { serial0 = &uart4; + ethernet0 = ðernet0; + }; +}; + +ðernet0 { + status = "okay"; + pinctrl-0 = <ðernet0_rgmii_pins_a>; + pinctrl-1 = <ðernet0_rgmii_pins_sleep_a>; + pinctrl-names = "default", "sleep"; + phy-mode = "rgmii"; + max-speed = <1000>; + phy-handle = <&phy0>; + + mdio0 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + phy0: ethernet-phy@0 { + reg = <0>; + }; }; }; |