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

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
...@@ -343,6 +343,12 @@ pcf_gpio_21: gpio@21 { ...@@ -343,6 +343,12 @@ pcf_gpio_21: gpio@21 {
interrupts = <11 IRQ_TYPE_EDGE_FALLING>; interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
cpsw_sel_s0 {
gpio-hog;
gpios = <4 GPIO_ACTIVE_HIGH>;
output-low;
};
}; };
}; };
...@@ -571,9 +577,10 @@ &mac { ...@@ -571,9 +577,10 @@ &mac {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>; pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>; pinctrl-1 = <&cpsw_sleep>;
slaves = <1>;
}; };
&cpsw_emac1 { &cpsw_emac0 {
phy_id = <&davinci_mdio>, <3>; phy_id = <&davinci_mdio>, <3>;
phy-mode = "rgmii"; phy-mode = "rgmii";
}; };
...@@ -582,7 +589,6 @@ &davinci_mdio { ...@@ -582,7 +589,6 @@ &davinci_mdio {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>; pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>; pinctrl-1 = <&davinci_mdio_sleep>;
active_slave = <1>;
}; };
&dcan1 { &dcan1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment