From: Vignesh R Date: Tue, 2 Aug 2016 04:44:28 +0000 (+0530) Subject: ARM: dts: dra72-evm: Add mode-gpios entry for mac node X-Git-Tag: v2016.09-rc2~87 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ceec08f50b6;p=u-boot ARM: dts: dra72-evm: Add mode-gpios entry for mac node On DRA72 EVM, cpsw slave1 is muxed with VIN2A, hence switch to cpsw slave0 for ethernet. This is controlled by pcf gpio line. Add appropriate mode-gpios DT entry so that driver can select the required slave. Signed-off-by: Vignesh R Reviewed-by: Tom Rini Reviewed-by: Mugunthan V N --- diff --git a/arch/arm/dts/dra72-evm.dts b/arch/arm/dts/dra72-evm.dts index 277745fec9..e78ec2e185 100644 --- a/arch/arm/dts/dra72-evm.dts +++ b/arch/arm/dts/dra72-evm.dts @@ -578,6 +578,7 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; + mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_HIGH>; }; &cpsw_emac1 { @@ -589,7 +590,6 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; - active_slave = <1>; }; &dcan1 {