
Changelog-entry: Rename meta-resin to meta-balena in repository Signed-off-by: Florin Sarbu <florin@balena.io>
140 lines
2.8 KiB
Diff
140 lines
2.8 KiB
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
|
index ba4d6b1..d71a8b8
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
|
@@ -43,15 +43,17 @@
|
|
/dts-v1/;
|
|
|
|
#include "sun50i-h5.dtsi"
|
|
-
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
+#include <dt-bindings/input/input.h>
|
|
+#include <dt-bindings/pinctrl/sun4i-a10.h>
|
|
|
|
/ {
|
|
- model = "OrangePi Zero Plus2";
|
|
+ model = "Xunlong Orange Pi Zero Plus2";
|
|
compatible = "xunlong,orangepi-zero-plus2", "allwinner,sun50i-h5";
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
+ ethernet1 = &brcmf;
|
|
};
|
|
|
|
chosen {
|
|
@@ -65,11 +67,29 @@
|
|
regulator-max-microvolt = <3300000>;
|
|
};
|
|
|
|
- wifi_pwrseq: wifi_pwrseq {
|
|
- compatible = "mmc-pwrseq-simple";
|
|
- reset-gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */
|
|
- post-power-on-delay-ms = <50>;
|
|
- };
|
|
+ wifi_pwrseq: wifi_pwrseq {
|
|
+ compatible = "mmc-pwrseq-simple";
|
|
+ reset-gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */
|
|
+ post-power-on-delay-ms = <50>;
|
|
+ };
|
|
+
|
|
+ reg_sy8113b: gpio-regulator {
|
|
+ compatible = "regulator-gpio";
|
|
+ regulator-name = "vdd-cpux";
|
|
+ regulator-type = "voltage";
|
|
+ regulator-boot-on;
|
|
+ regulator-always-on;
|
|
+ regulator-min-microvolt = <1100000>;
|
|
+ regulator-max-microvolt = <1300000>;
|
|
+ regulator-ramp-delay = <50>; /* 4ms */
|
|
+
|
|
+ gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
|
+ enable-active-high;
|
|
+ gpios-states = <0x1>;
|
|
+ states = <1100000 0x0
|
|
+ 1300000 0x1>;
|
|
+ };
|
|
+
|
|
};
|
|
|
|
&mmc0 {
|
|
@@ -112,6 +132,43 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&cpu0 {
|
|
+ cpu-supply = <®_sy8113b>;
|
|
+};
|
|
+
|
|
+&de {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&ehci0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&ohci0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&spi0 {
|
|
+ /* Disable SPI NOR by default: it optional on Orange Pi Zero boards */
|
|
+ status = "disabled";
|
|
+
|
|
+ flash@0 {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+ compatible = "mxicy,mx25l1606e", "winbond,w25q128";
|
|
+ reg = <0>;
|
|
+ spi-max-frequency = <40000000>;
|
|
+ };
|
|
+};
|
|
+
|
|
+&hdmi {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&mixer0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&r_pio {
|
|
wifi_wake: wifi_wake@0 {
|
|
pins = "PL7";
|
|
@@ -120,8 +177,35 @@
|
|
};
|
|
};
|
|
|
|
+&sound_hdmi {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&tcon0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&r_i2c {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_pins_a>;
|
|
status = "okay";
|
|
};
|
|
+
|
|
+&usb_otg {
|
|
+ dr_mode = "peripheral";
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&usbphy {
|
|
+ /*
|
|
+ * USB Type-A port VBUS is always on. However, MicroUSB VBUS can only
|
|
+ * power up the board; when it's used as OTG port, this VBUS is
|
|
+ * always off even if the board is powered via GPIO pins.
|
|
+ */
|
|
+ usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
|
|
+ status = "okay";
|
|
+};
|
|
\ No newline at end of file
|