From 25c72f09e887f85fcff4a3f978d294da97ab1420 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 13 Mar 2023 02:12:05 +0000
Subject: [PATCH] 修改默认LVDS为1280x800
---
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi | 44 ++++++++++++++++----------------------------
1 files changed, 16 insertions(+), 28 deletions(-)
diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
old mode 100644
new mode 100755
index ac300ae..ea2fb31
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
@@ -273,6 +273,8 @@
vcc5v0_otg: vcc5v0-otg-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_otg";
+ egulator-boot-on;
+ regulator-always-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
@@ -289,7 +291,7 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
- gpio = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
+ gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3
vin-supply = <&vcc3v3_sys>;
regulator-state-mem {
@@ -326,7 +328,7 @@
* - PDN (power down when low)
*/
post-power-on-delay-ms = <200>;
- reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>;
+ reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
};
wireless_wlan: wireless-wlan {
@@ -1068,28 +1070,7 @@
status = "okay";
};
-&hdmi {
- status = "okay";
- rockchip,phy-table =
- <92812500 0x8009 0x0000 0x0270>,
- <165000000 0x800b 0x0000 0x026d>,
- <185625000 0x800b 0x0000 0x01ed>,
- <297000000 0x800b 0x0000 0x01ad>,
- <594000000 0x8029 0x0000 0x0088>,
- <000000000 0x0000 0x0000 0x0000>;
-};
-&hdmi_in_vp0 {
- status = "okay";
-};
-
-&hdmi_in_vp1 {
- status = "disabled";
-};
-
-&hdmi_sound {
- status = "okay";
-};
&i2c0 {
status = "okay";
@@ -1497,7 +1478,8 @@
sdio-pwrseq {
wifi_enable_h: wifi-enable-h {
- rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
+ rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
+ //WIFI_REG_ON_H_GPIO2_B1
};
};
@@ -1688,10 +1670,7 @@
status = "okay";
};
-&route_hdmi {
- status = "okay";
- connect = <&vp0_out_hdmi>;
-};
+
&saradc {
status = "okay";
@@ -1788,6 +1767,15 @@
};
&usbhost_dwc3 {
+// phys = <&u2phy0_host>;
+// phy-names = "usb2-phy";
+// maximum-speed = "high-speed";
+// snps,dis_u2_susphy_quirk;
+ status = "okay";
+};
+
+&combphy1_usq {
+// rockchip,dis-u3otg1-port;
status = "okay";
};
--
Gitblit v1.6.2