From: Stefan Roese Date: Fri, 26 Aug 2016 11:10:45 +0000 (+0200) Subject: arm64: mvebu: Armada 3700: Add COMPHY device tree nodes X-Git-Tag: v2016.11-rc1~35^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56d53956979f233ca767e12f02b8c74e790f6017;p=u-boot arm64: mvebu: Armada 3700: Add COMPHY device tree nodes This patch adds the COMPHY device tree nodes that are still missing to the Armada 3700 dts files. Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts index f177c76f2e..60d841cfa2 100644 --- a/arch/arm/dts/armada-3720-db.dts +++ b/arch/arm/dts/armada-3720-db.dts @@ -68,6 +68,18 @@ }; }; +&comphy { + phy0 { + phy-type = ; + phy-speed = ; + }; + + phy1 { + phy-type = ; + phy-speed = ; + }; +}; + ð0 { status = "okay"; phy-mode = "rgmii"; diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi index 9f350df574..ceeb6e5d86 100644 --- a/arch/arm/dts/armada-37xx.dtsi +++ b/arch/arm/dts/armada-37xx.dtsi @@ -45,6 +45,7 @@ */ #include +#include / { model = "Marvell Armada 37xx SoC"; @@ -169,6 +170,14 @@ spi-max-frequency = <40000>; status = "disabled"; }; + + comphy: comphy@18300 { + compatible = "marvell,mvebu-comphy", "marvell,comphy-armada-3700"; + reg = <0x18300 0x28>, + <0x1f300 0x3d000>; + mux-bitcount = <1>; + max-lanes = <2>; + }; }; }; };