Commit 49e86fd9 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard

ARM: dts: sun6i: hummingbird: Add missing pinmux setting for gmac phy reset

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent b8962f7e
...@@ -73,7 +73,7 @@ &ehci0 { ...@@ -73,7 +73,7 @@ &ehci0 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_pins_rgmii_a>; pinctrl-0 = <&gmac_pins_rgmii_a>, <&gmac_phy_reset_pin_hummingbird>;
phy = <&phy1>; phy = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
snps,reset-gpio = <&pio 0 21 GPIO_ACTIVE_HIGH>; snps,reset-gpio = <&pio 0 21 GPIO_ACTIVE_HIGH>;
...@@ -146,6 +146,13 @@ &ohci0 { ...@@ -146,6 +146,13 @@ &ohci0 {
}; };
&pio { &pio {
gmac_phy_reset_pin_hummingbird: gmac_phy_reset_pin@0 {
allwinner,pins = "PA21";
allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
mmc0_cd_pin_hummingbird: mmc0_cd_pin@0 { mmc0_cd_pin_hummingbird: mmc0_cd_pin@0 {
allwinner,pins = "PA8"; allwinner,pins = "PA8";
allwinner,function = "gpio_in"; allwinner,function = "gpio_in";
......
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