Bring up SSD2092 display/touch, USB NCM, HiDPI XLibre/DWM, and USB charging
This commit is contained in:
1 parent
034c1f61b1
commit
9db15e30ce
150 files changed
+2356
-446
No files matched your search
@@ -8,8 +8,8 @@ Subject: [PATCH] arm64: dts: mediatek: add Geminux Gemini PDA board devicetree
|
||||
(cherry picked from commit f2f4795496329352910716c5f46ac82446e05e8b)
|
||||
---
|
||||
arch/arm64/boot/dts/mediatek/Makefile | 1 +
|
||||
.../mediatek/mt6797-gemini-pda-geminux.dts | 167 ++++++++++++++++++
|
||||
2 files changed, 168 insertions(+)
|
||||
.../mediatek/mt6797-gemini-pda-geminux.dts | 233 ++++++++++++++++++
|
||||
2 files changed, 234 insertions(+)
|
||||
create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
|
||||
@@ -29,7 +29,7 @@ new file mode 100644
|
||||
index 000000000..0497766c8
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts
|
||||
@@ -0,0 +1,167 @@
|
||||
@@ -0,0 +1,233 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-only
|
||||
+/*
|
||||
+ * Planet Computers Gemini PDA (MT6797X 4G+WiFi) Device Tree for Geminux.
|
||||
@@ -78,6 +78,14 @@ index 000000000..0497766c8
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&sii902x_1v2_pins>;
|
||||
+ };
|
||||
+
|
||||
+ backlight: backlight {
|
||||
+ compatible = "pwm-backlight";
|
||||
+ pwms = <&disp_pwm 0 500000>;
|
||||
+ brightness-levels = <0 255>;
|
||||
+ num-interpolated-steps = <255>;
|
||||
+ default-brightness-level = <200>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&mt6351regulator {
|
||||
@@ -92,6 +100,16 @@ index 000000000..0497766c8
|
||||
+ regulator-min-microvolt = <1700000>;
|
||||
+ regulator-max-microvolt = <3100000>;
|
||||
+ };
|
||||
+
|
||||
+ mt6351_vusb33_reg: ldo-vusb33 {
|
||||
+ regulator-name = "vusb33";
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ mt6351_vldo28_reg: ldo-vldo28 {
|
||||
+ regulator-name = "vldo28";
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pio {
|
||||
@@ -197,6 +215,54 @@ index 000000000..0497766c8
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&i2c0_pins_a>;
|
||||
+ clock-frequency = <400000>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&disp_pwm {
|
||||
+ /delete-property/ power-domains;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&{/i2c@11008000/typec@25/connector} {
|
||||
+ /delete-node/ port;
|
||||
+};
|
||||
+
|
||||
+&ssusb {
|
||||
+ dr_mode = "peripheral";
|
||||
+ vusb33-supply = <&mt6351_vusb33_reg>;
|
||||
+ /delete-property/ usb-role-switch;
|
||||
+ /delete-property/ role-switch-default-mode;
|
||||
+ /delete-node/ port;
|
||||
+};
|
||||
+
|
||||
+&dsi0 {
|
||||
+ panel@0 {
|
||||
+ backlight = <&backlight>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&hall_gpio_keys {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&{/i2c@11007000/charger@6b} {
|
||||
+ linux,guard-end-threshold = <100>;
|
||||
+};
|
||||
+
|
||||
+&i2c4 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&i2c4_pins_a>;
|
||||
+
|
||||
+ touchscreen@62 {
|
||||
+ vcc-supply = <&mt6351_vldo28_reg>;
|
||||
+ reset-gpios = <&pio 68 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+};
|
||||
--
|
||||
2.55.0
|
||||
|
||||
Reference in new issue
Block a user