139 lines
2.7 KiB
Diff
139 lines
2.7 KiB
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
|
|
index 9b80e06f4..e7b8bc72f 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
|
|
@@ -46,6 +46,8 @@
|
|
#include "sun50i-a64-cpu-opp.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
+#include <dt-bindings/input/input.h>
|
|
+#include <dt-bindings/pwm/pwm.h>
|
|
|
|
/ {
|
|
model = "BananaPi-M64";
|
|
@@ -161,12 +163,12 @@
|
|
};
|
|
};
|
|
|
|
-&i2c1 {
|
|
+&i2s2 {
|
|
status = "okay";
|
|
};
|
|
|
|
-&i2c1_pins {
|
|
- bias-pull-up;
|
|
+&mixer0 {
|
|
+ status = "okay";
|
|
};
|
|
|
|
&mdio {
|
|
@@ -180,7 +182,7 @@
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc0_pins>;
|
|
vmmc-supply = <®_dcdc1>;
|
|
- cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
|
|
+ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
|
|
disable-wp;
|
|
bus-width = <4>;
|
|
status = "okay";
|
|
@@ -209,9 +211,11 @@
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc2_pins>, <&mmc2_ds_pin>;
|
|
vmmc-supply = <®_dcdc1>;
|
|
+ vqmmc-supply = <®_eldo1>;
|
|
bus-width = <8>;
|
|
non-removable;
|
|
cap-mmc-hw-reset;
|
|
+ mmc-hs200-1_8v;
|
|
status = "okay";
|
|
};
|
|
|
|
@@ -223,6 +227,10 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&r_ir {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&r_rsb {
|
|
status = "okay";
|
|
|
|
@@ -321,8 +329,14 @@
|
|
regulator-name = "vcc-wifi";
|
|
};
|
|
|
|
+®_dldo3 {
|
|
+ regulator-min-microvolt = <3300000>;
|
|
+ regulator-max-microvolt = <3300000>;
|
|
+ regulator-name = "avdd-csi";
|
|
+};
|
|
+
|
|
®_dldo4 {
|
|
- regulator-min-microvolt = <1800000>;
|
|
+ regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-name = "vcc-wifi-io";
|
|
};
|
|
@@ -333,11 +347,18 @@
|
|
};
|
|
|
|
®_eldo1 {
|
|
+ regulator-always-on;
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-name = "cpvdd";
|
|
};
|
|
|
|
+®_eldo3 {
|
|
+ regulator-min-microvolt = <1800000>;
|
|
+ regulator-max-microvolt = <1800000>;
|
|
+ regulator-name = "dvdd-csi";
|
|
+};
|
|
+
|
|
®_fldo1 {
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
@@ -356,6 +377,13 @@
|
|
regulator-name = "vdd-cpus";
|
|
};
|
|
|
|
+®_ldo_io0 {
|
|
+ regulator-min-microvolt = <3300000>;
|
|
+ regulator-max-microvolt = <3300000>;
|
|
+ regulator-name = "vcc-usb";
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
®_rtc_ldo {
|
|
regulator-name = "vcc-rtc";
|
|
};
|
|
@@ -380,12 +408,19 @@
|
|
"MIC1", "Onboard Microphone";
|
|
};
|
|
|
|
+&sound_hdmi {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+
|
|
+/* On debug connector */
|
|
&uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_pb_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
+/* Bluetooth */
|
|
&uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
|
|
@@ -394,6 +429,7 @@
|
|
|
|
bluetooth {
|
|
compatible = "brcm,bcm43438-bt";
|
|
+ max-speed = <1500000>;
|
|
clocks = <&rtc 1>;
|
|
clock-names = "lpo";
|
|
vbat-supply = <®_dldo2>;
|