mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-27 09:11:49 +00:00
108 lines
2.5 KiB
Diff
108 lines
2.5 KiB
Diff
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 438b7b4..829c67a 100644
|
|
--- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
|
|
+++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
|
|
@@ -102,6 +102,8 @@
|
|
wifi_pwrseq: wifi_pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
reset-gpios = <&pio 6 10 GPIO_ACTIVE_LOW>; /* PG10 WIFI_EN */
|
|
+ clocks = <&ccu CLK_OUTA>;
|
|
+ clock-names = "ext_clock";
|
|
};
|
|
};
|
|
|
|
@@ -178,6 +180,15 @@
|
|
bus-width = <4>;
|
|
non-removable;
|
|
status = "okay";
|
|
+
|
|
+ brcmf: bcrmf@1 {
|
|
+ reg = <1>;
|
|
+ compatible = "brcm,bcm4329-fmac";
|
|
+ interrupt-names = "host-wake";
|
|
+ clocks = <&clk_out_a>;
|
|
+ pinctrl-0 = <&clk_out_a_pin>;
|
|
+ pinctrl-names = "default";
|
|
+ };
|
|
};
|
|
|
|
&mmc2 {
|
|
@@ -196,6 +207,11 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&pio {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&clk_out_a_pin>;
|
|
+};
|
|
+
|
|
®_aldo2 {
|
|
regulator-always-on;
|
|
regulator-min-microvolt = <2500000>;
|
|
@@ -251,11 +267,19 @@
|
|
};
|
|
|
|
®_dldo2 {
|
|
+ regulator-always-on;
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-name = "vcc-wifi";
|
|
};
|
|
|
|
+®_dldo3 {
|
|
+ regulator-always-on;
|
|
+ regulator-min-microvolt = <3300000>;
|
|
+ regulator-max-microvolt = <3300000>;
|
|
+ regulator-name = "vcc-wifi-2";
|
|
+};
|
|
+
|
|
®_dldo4 {
|
|
regulator-min-microvolt = <2500000>;
|
|
regulator-max-microvolt = <2500000>;
|
|
@@ -278,6 +302,25 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&uart3 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&uart3_pg_pins>, <&uart3_rts_cts_pg_pins>;
|
|
+ uart-has-rtscts;
|
|
+ status = "okay";
|
|
+
|
|
+ bluetooth {
|
|
+ compatible = "brcm,bcm43438-bt";
|
|
+ clocks = <&ccu CLK_OUTA>;
|
|
+ clock-names = "lpo";
|
|
+ vbat-supply = <®_dldo2>;
|
|
+ vddio-supply = <®_dldo1>;
|
|
+ device-wakeup-gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */
|
|
+ /* TODO host wake line connected to PMIC GPIO pins */
|
|
+ shutdown-gpios = <&pio 7 12 GPIO_ACTIVE_HIGH>; /* PH12 */
|
|
+ max-speed = <1500000>;
|
|
+ };
|
|
+};
|
|
+
|
|
&usbphy {
|
|
usb1_vbus-supply = <®_vcc5v0>;
|
|
usb2_vbus-supply = <®_vcc5v0>;
|
|
diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi
|
|
index 6f4c9ca..0781b85 100644
|
|
--- a/arch/arm/boot/dts/sun8i-r40.dtsi
|
|
+++ b/arch/arm/boot/dts/sun8i-r40.dtsi
|
|
@@ -377,6 +401,16 @@
|
|
pins = "PB22", "PB23";
|
|
function = "uart0";
|
|
};
|
|
+
|
|
+ uart3_pg_pins: uart3-pg-pins {
|
|
+ pins = "PG6", "PG7";
|
|
+ function = "uart3";
|
|
+ };
|
|
+
|
|
+ uart3_rts_cts_pg_pins: uart3-rts-cts-pg-pins {
|
|
+ pins = "PG8", "PG9";
|
|
+ function = "uart3";
|
|
+ };
|
|
};
|
|
|
|
wdt: watchdog@1c20c90 {
|