mirror of
https://github.com/Fishwaldo/build.git
synced 2025-04-26 16:01:38 +00:00
151 lines
2.6 KiB
Diff
151 lines
2.6 KiB
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
|
|
index f54a415f2..fb4cf5423 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
|
|
@@ -46,6 +46,8 @@
|
|
#include "sun50i-a64.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
+#include <dt-bindings/input/input.h>
|
|
+#include <dt-bindings/pwm/pwm.h>
|
|
|
|
/ {
|
|
model = "OrangePi Win/Win Plus";
|
|
@@ -55,9 +57,6 @@
|
|
ethernet0 = &emac;
|
|
serial0 = &uart0;
|
|
serial1 = &uart1;
|
|
- serial2 = &uart2;
|
|
- serial3 = &uart3;
|
|
- serial4 = &uart4;
|
|
};
|
|
|
|
chosen {
|
|
@@ -127,11 +126,17 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&cpu0 {
|
|
+ cpu-supply = <®_dcdc2>;
|
|
+};
|
|
+
|
|
&de {
|
|
status = "okay";
|
|
};
|
|
|
|
&ehci0 {
|
|
+ phys = <&usbphy 0>;
|
|
+ phy-names = "usb";
|
|
status = "okay";
|
|
};
|
|
|
|
@@ -159,6 +164,14 @@
|
|
};
|
|
};
|
|
|
|
+&i2s2 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&mixer0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&mdio {
|
|
ext_rgmii_phy: ethernet-phy@1 {
|
|
compatible = "ethernet-phy-ieee802.3-c22";
|
|
@@ -195,7 +208,21 @@
|
|
};
|
|
};
|
|
|
|
+&mmc2 {
|
|
+ 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";
|
|
+};
|
|
+
|
|
&ohci0 {
|
|
+ phys = <&usbphy 0>;
|
|
+ phy-names = "usb";
|
|
status = "okay";
|
|
};
|
|
|
|
@@ -309,13 +336,14 @@
|
|
};
|
|
|
|
®_eldo1 {
|
|
+ regulator-always-on;
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-name = "cpvdd";
|
|
};
|
|
|
|
®_eldo3 {
|
|
- regulator-min-microvolt = <1500000>;
|
|
+ regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-name = "dvdd-csi";
|
|
};
|
|
@@ -338,6 +366,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";
|
|
};
|
|
@@ -362,6 +397,10 @@
|
|
"MIC1", "Onboard Microphone";
|
|
};
|
|
|
|
+&sound_hdmi {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&spi0 {
|
|
status = "okay";
|
|
|
|
@@ -401,30 +440,8 @@
|
|
};
|
|
};
|
|
|
|
-/* On Pi-2 connector, RTS/CTS optional */
|
|
-&uart2 {
|
|
- pinctrl-names = "default";
|
|
- pinctrl-0 = <&uart2_pins>;
|
|
- status = "disabled";
|
|
-};
|
|
-
|
|
-/* On Pi-2 connector, RTS/CTS optional */
|
|
-&uart3 {
|
|
- pinctrl-names = "default";
|
|
- pinctrl-0 = <&uart3_pins>;
|
|
- status = "disabled";
|
|
-};
|
|
-
|
|
-/* On Pi-2 connector (labeled for SPI1), RTS/CTS optional */
|
|
-&uart4 {
|
|
- pinctrl-names = "default";
|
|
- pinctrl-0 = <&uart4_pins>;
|
|
- status = "disabled";
|
|
-};
|
|
-
|
|
&usb_otg {
|
|
- dr_mode = "otg";
|
|
- status = "okay";
|
|
+ dr_mode = "host";
|
|
};
|
|
|
|
&usbphy {
|