Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad548430 authored by Vignesh R's avatar Vignesh R Committed by Tony Lindgren
Browse files

ARM: dts: DRA72: switch to cpsw slave0 for ethernet



On DRA72 EVM, cpsw slave1 is muxed with VIN2A, hence switch to cpsw
slave0 for ethernet. Add gpio hog entry to pcf_gpio_21 in order to
select cpsw slave0.

Signed-off-by: default avatarVignesh R <vigneshr@ti.com>
Signed-off-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 71bed41c
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -343,6 +343,12 @@
		interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
		interrupt-controller;
		#interrupt-cells = <2>;

		cpsw_sel_s0 {
			gpio-hog;
			gpios = <4 GPIO_ACTIVE_HIGH>;
			output-low;
		};
	};
};

@@ -571,9 +577,10 @@
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&cpsw_default>;
	pinctrl-1 = <&cpsw_sleep>;
	slaves = <1>;
};

&cpsw_emac1 {
&cpsw_emac0 {
	phy_id = <&davinci_mdio>, <3>;
	phy-mode = "rgmii";
};
@@ -582,7 +589,6 @@
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&davinci_mdio_default>;
	pinctrl-1 = <&davinci_mdio_sleep>;
	active_slave = <1>;
};

&dcan1 {