]> git.sur5r.net Git - u-boot/commitdiff
ARM: dts: dra72-evm: Add mode-gpios entry for mac node
authorVignesh R <vigneshr@ti.com>
Tue, 2 Aug 2016 04:44:28 +0000 (10:14 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 8 Aug 2016 17:32:55 +0000 (13:32 -0400)
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>
arch/arm/dts/dra72-evm.dts

index 277745fec998657f5935e8e4fa3d6f3117cb161b..e78ec2e1859f4120770ef93d280b797c68151405 100644 (file)
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        pinctrl-1 = <&cpsw_sleep>;
+       mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_HIGH>;
 };
 
 &cpsw_emac1 {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
-       active_slave = <1>;
 };
 
 &dcan1 {