remove redundant stuff in PiZero and re-use the one from PiOne

This commit is contained in:
Martin Ayotte 2016-12-30 14:46:21 -05:00
parent a305da75ee
commit fdaadb42d7

View file

@ -15,7 +15,7 @@ new file mode 100644
index 00000000..d262a251
--- /dev/null
+++ b/arch/arm/boot/dts/sun8i-h2plus-orangepi-zero.dts
@@ -0,0 +1,68 @@
@@ -0,0 +1,60 @@
+
+#include "sun8i-h3-orangepi-one.dts"
+
@ -37,7 +37,7 @@ index 00000000..d262a251
+ enable-active-high;
+ };
+
+ pwrseq_wifi: pwrseq_wifi@0 {
+ wifi_pwrseq: wifi_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ pinctrl-names = "default";
+ pinctrl-0 = <&wifi_rst>;
@ -51,7 +51,7 @@ index 00000000..d262a251
+ pinctrl-0 = <&mmc1_pins_a>;
+ vmmc-supply = <&reg_vcc3v3>;
+ vqmmc-supply = <&vdd_wifi>;
+ mmc-pwrseq = <&pwrseq_wifi>;
+ mmc-pwrseq = <&wifi_pwrseq>;
+ bus-width = <4>;
+ non-removable;
+ status = "okay";
@ -76,12 +76,4 @@ index 00000000..d262a251
+ };
+};
+
+&r_pio {
+ wifi_rst: wifi_rst@0 {
+ allwinner,pins = "PL7";
+ allwinner,function = "gpio_out";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+};
\ No newline at end of file