mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 05:18:55 +00:00
add preliminary integretion of AP6212 in BananapiM2Ultra
This commit is contained in:
parent
b9f544f6d4
commit
a3c5b63638
1 changed files with 62 additions and 0 deletions
|
@ -0,0 +1,62 @@
|
|||
diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
|
||||
index 761bca9..d71f63d 100644
|
||||
--- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
|
||||
+++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
|
||||
@@ -44,6 +44,7 @@
|
||||
/dts-v1/;
|
||||
#include "sun8i-r40.dtsi"
|
||||
#include "sunxi-common-regulators.dtsi"
|
||||
+#include <dt-bindings/pinctrl/sun4i-a10.h>
|
||||
|
||||
/ {
|
||||
model = "Banana Pi BPI-M2-Ultra";
|
||||
@@ -59,7 +59,10 @@
|
||||
|
||||
wifi_pwrseq: wifi_pwrseq {
|
||||
compatible = "mmc-pwrseq-simple";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&wifi_pwrseq_pin>;
|
||||
reset-gpios = <&pio 6 10 GPIO_ACTIVE_LOW>; /* PG10 WIFI_EN */
|
||||
+ post-power-on-delay-ms = <50>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -168,6 +171,14 @@
|
||||
bus-width = <4>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
+
|
||||
+ brcmf: bcrmf@1 {
|
||||
+ reg = <1>;
|
||||
+ compatible = "brcm,bcm4329-fmac";
|
||||
+// interrupt-parent = <&r_pio>;
|
||||
+// interrupts = <0 7 IRQ_TYPE_LEVEL_LOW>; /* PL7 / EINT7 */
|
||||
+ interrupt-names = "host-wake";
|
||||
+ };
|
||||
};
|
||||
|
||||
&mmc2 {
|
||||
@@ -188,6 +199,23 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&pio {
|
||||
+ wifi_pwrseq_pin: wifi_pwrseq_pin@0 {
|
||||
+ allwinner,pins = "PG10";
|
||||
+ allwinner,function = "gpio_out";
|
||||
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
|
||||
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+//&r_pio {
|
||||
+// wifi_wake: wifi_wake@0 {
|
||||
+// allwinner,pins = "PL7";
|
||||
+// allwinner,function = "irq";
|
||||
+// allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
|
||||
+// };
|
||||
+//};
|
||||
+
|
||||
&uart0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_pins_0>;
|
Loading…
Add table
Add a link
Reference in a new issue