mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-27 17:21:34 +00:00
Add basic support for A20-OLinuXino-MICRO-eMMC. This includes new board configuration, new .fex file. The board needs kernel patch, with disable hpi on eMMC. Additionally starting from revision J, the phy is changed - RTL8201 to LAN8710. This needs patch of dts file, to enable PA17 pin support.
25 lines
643 B
Diff
25 lines
643 B
Diff
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
|
|
index def0ad8..3843b69 100644
|
|
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
|
|
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
|
|
@@ -102,7 +102,7 @@
|
|
|
|
&gmac {
|
|
pinctrl-names = "default";
|
|
- pinctrl-0 = <&gmac_pins_mii_a>;
|
|
+ pinctrl-0 = <&gmac_pins_mii_a>,<&gmac_txerr>;
|
|
phy = <&phy1>;
|
|
phy-mode = "mii";
|
|
status = "okay";
|
|
@@ -229,6 +229,11 @@
|
|
};
|
|
|
|
&pio {
|
|
+ gmac_txerr: gmac_txerr@0 {
|
|
+ pins = "PA17";
|
|
+ function = "gmac";
|
|
+ };
|
|
+
|
|
mmc3_cd_pin_olinuxinom: mmc3_cd_pin@0 {
|
|
pins = "PH11";
|
|
function = "gpio_in";
|