diff options
author | Chen-Yu Tsai <wens@csie.org> | 2015-08-19 16:57:22 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-09-27 10:21:17 +0200 |
commit | 49e86fd98b726d176ed3fd15d1bc14352bb4b171 (patch) | |
tree | 672c211b5141adb4482327b6a9f5df89934521dc /arch/arm/boot/dts/sun6i-a31-hummingbird.dts | |
parent | b8962f7ee700580a148e05eceb2302bcfc59ffbc (diff) | |
download | linux-49e86fd98b726d176ed3fd15d1bc14352bb4b171.tar.bz2 |
ARM: dts: sun6i: hummingbird: Add missing pinmux setting for gmac phy reset
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-hummingbird.dts')
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts index d0cfadac0691..06d9391ca30e 100644 --- a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts +++ b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts @@ -73,7 +73,7 @@ &gmac { pinctrl-names = "default"; - pinctrl-0 = <&gmac_pins_rgmii_a>; + pinctrl-0 = <&gmac_pins_rgmii_a>, <&gmac_phy_reset_pin_hummingbird>; phy = <&phy1>; phy-mode = "rgmii"; snps,reset-gpio = <&pio 0 21 GPIO_ACTIVE_HIGH>; @@ -146,6 +146,13 @@ }; &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 { allwinner,pins = "PA8"; allwinner,function = "gpio_in"; |