diff options
author | John Crispin <john@openwrt.org> | 2015-03-16 07:41:24 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-16 07:41:24 +0000 |
commit | c0a15a57bda510fac081d536013d16446baf6813 (patch) | |
tree | 941690d0c41e1342dbcdac9639e64605e230af51 /target/linux/sunxi/patches-3.14/306-dt-sun7i-fix-gmac-on-bananapi.patch | |
parent | eb396d656911024685f1f514036aec091669211f (diff) | |
download | upstream-c0a15a57bda510fac081d536013d16446baf6813.tar.gz upstream-c0a15a57bda510fac081d536013d16446baf6813.tar.bz2 upstream-c0a15a57bda510fac081d536013d16446baf6813.zip |
sunxi: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44824
Diffstat (limited to 'target/linux/sunxi/patches-3.14/306-dt-sun7i-fix-gmac-on-bananapi.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.14/306-dt-sun7i-fix-gmac-on-bananapi.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/target/linux/sunxi/patches-3.14/306-dt-sun7i-fix-gmac-on-bananapi.patch b/target/linux/sunxi/patches-3.14/306-dt-sun7i-fix-gmac-on-bananapi.patch deleted file mode 100644 index 19934eacbe..0000000000 --- a/target/linux/sunxi/patches-3.14/306-dt-sun7i-fix-gmac-on-bananapi.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts -+++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts -@@ -86,6 +86,13 @@ - allwinner,drive = <0>; - allwinner,pull = <1>; - }; -+ -+ gmac_power_pin_bananapi: gmac_power_pin@0 { -+ allwinner,pins = "PH23"; -+ allwinner,function = "gpio_out"; -+ allwinner,drive = <0>; -+ allwinner,pull = <0>; -+ }; - }; - - lradc: lradc@01c22800 { -@@ -134,9 +141,10 @@ - - gmac: ethernet@01c50000 { - pinctrl-names = "default"; -- pinctrl-0 = <&gmac_pins_mii_a>; -+ pinctrl-0 = <&gmac_pins_rgmii_a>; - phy = <&phy1>; -- phy-mode = "mii"; -+ phy-mode = "rgmii"; -+ phy-supply = <®_gmac_3v3>; - status = "okay"; - - phy1: ethernet-phy@1 { -@@ -169,4 +177,16 @@ - status = "okay"; - }; - -+ reg_gmac_3v3: gmac-3v3 { -+ compatible = "regulator-fixed"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&gmac_power_pin_bananapi>; -+ regulator-name = "gmac-3v3"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ startup-delay-us = <50000>; -+ enable-active-high; -+ gpio = <&pio 7 23 0>; -+ status = "okay"; -+ }; - }; |