103 lines
2.2 KiB
Diff
103 lines
2.2 KiB
Diff
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
|
||
|
index f3f8e177a..3e7aea743 100644
|
||
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
|
||
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
|
||
|
@@ -52,6 +52,13 @@ reg_usb1_vbus: usb1-vbus {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+ reg_vcc3v3: vcc3v3 {
|
||
|
+ compatible = "regulator-fixed";
|
||
|
+ regulator-name = "vcc3v3";
|
||
|
+ regulator-min-microvolt = <3300000>;
|
||
|
+ regulator-max-microvolt = <3300000>;
|
||
|
+ };
|
||
|
+
|
||
|
wifi_pwrseq: wifi_pwrseq {
|
||
|
compatible = "mmc-pwrseq-simple";
|
||
|
reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
|
||
|
@@ -74,6 +81,18 @@ &cpu3 {
|
||
|
cpu-supply = <®_dcdc2>;
|
||
|
};
|
||
|
|
||
|
+&codec {
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
+&codec_analog {
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
+&dai {
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
&de {
|
||
|
status = "okay";
|
||
|
};
|
||
|
@@ -86,6 +105,14 @@ &ehci1 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&i2s2 {
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
+&mixer0 {
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
&emac {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&rgmii_pins>;
|
||
|
@@ -142,6 +169,16 @@ rtl8723bs: wifi@1 {
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+&mmc2 {
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&mmc2_pins>;
|
||
|
+ vmmc-supply = <®_vcc3v3>;
|
||
|
+ bus-width = <8>;
|
||
|
+ non-removable;
|
||
|
+ cap-mmc-hw-reset;
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
&ohci0 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
@@ -328,6 +365,32 @@ &simplefb_hdmi {
|
||
|
vcc-hdmi-supply = <®_dldo1>;
|
||
|
};
|
||
|
|
||
|
+&sound {
|
||
|
+ status = "okay";
|
||
|
+ simple-audio-card,widgets = "Microphone", "Internal Microphone Left",
|
||
|
+ "Microphone", "Internal Microphone Right",
|
||
|
+ "Headphone", "Headphone Jack";
|
||
|
+ simple-audio-card,aux-devs = <&codec_analog>;
|
||
|
+ simple-audio-card,routing =
|
||
|
+ "Left DAC", "AIF1 Slot 0 Left",
|
||
|
+ "Right DAC", "AIF1 Slot 0 Right",
|
||
|
+ "INL", "LINEOUT",
|
||
|
+ "INR", "LINEOUT",
|
||
|
+ "Headphone Jack", "HP",
|
||
|
+ "AIF1 Slot 0 Left ADC", "Left ADC",
|
||
|
+ "AIF1 Slot 0 Right ADC", "Right ADC",
|
||
|
+ "Left ADC", "ADC",
|
||
|
+ "Right ADC", "ADC",
|
||
|
+ "Internal Microphone Left", "MBIAS",
|
||
|
+ "MIC1", "Internal Microphone Left",
|
||
|
+ "Internal Microphone Right", "HBIAS",
|
||
|
+ "MIC2", "Internal Microphone Right";
|
||
|
+};
|
||
|
+
|
||
|
+&hdmi_sound {
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
&uart0 {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&uart0_pb_pins>;
|