summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2016-08-02 04:44:28 (GMT)
committerTom Rini <trini@konsulko.com>2016-08-08 17:32:55 (GMT)
commitceec08f50b66df0c988033842ec057a32658cfe0 (patch)
tree3fcba64eaa8dafabde40e26b44338917a923f354
parent2e205ef7eb9e7793e922d0b6cd0fe4181309c058 (diff)
downloadu-boot-fsl-qoriq-ceec08f50b66df0c988033842ec057a32658cfe0.tar.xz
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 <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
-rw-r--r--arch/arm/dts/dra72-evm.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/dts/dra72-evm.dts b/arch/arm/dts/dra72-evm.dts
index 277745f..e78ec2e 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 {