From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:43:03 +0000
Subject: [PATCH] add ax88772C AX88772C_eeprom_tools

---
 kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi |   28 ++++++++++++++++++++--------
 1 files changed, 20 insertions(+), 8 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 9a9ff3d..3e36985
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
@@ -188,10 +188,22 @@
 
 	leds: leds {
 		compatible = "gpio-leds";
-		sys_led: sys_led {
-			gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
-			linux,default-trigger = "heartbeat";
+		run_led: run_led {
+			gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
+			default-state = "on";
+//			linux,default-trigger = "heartbeat";
 		};
+	/*	
+		sig_led: sig_led {
+			gpios = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>;
+			default-state = "on";
+		};
+		
+		err_led: err_led {
+			gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
+			default-state = "on";
+		};
+		*/
 	};
 
 	pdmics: dummy-codec {
@@ -318,7 +330,6 @@
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 		enable-active-high;
-		gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;  //VCC3_IO_EN_GPIO0_C4_3V3
 		vin-supply = <&vcc3v3_sys>;
 
 		regulator-state-mem {
@@ -333,7 +344,6 @@
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 		enable-active-high;
-		gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
 		vin-supply = <&vcc3v3_sys>;
 
 		regulator-state-mem {
@@ -362,6 +372,8 @@
 		compatible = "wlan-platdata";
 		rockchip,grf = <&grf>;
 		wifi_chip_type = "ap6398s";
+		clocks = <&rk809 1>;
+		clock-names = "ext_clock";
 		status = "okay";
 	};
 
@@ -398,6 +410,7 @@
 &dfi {
 	status = "okay";
 };
+
 
 &dmc {
 	center-supply = <&vdd_logic>;
@@ -1289,7 +1302,6 @@
 };
 
 &i2s3_2ch {
-	pinctrl-0 = <&i2s3m0_sclk &i2s3m0_lrck &i2s3m0_sdi &i2s3m0_sdo>;
 	rockchip,bclk-fs = <32>;
 	status = "disabled";
 };
@@ -1431,7 +1443,7 @@
 };
 
 &pwm7 {
-	status = "okay";
+	status = "disabled";
 
 	compatible = "rockchip,remotectl-pwm";
 	remote_pwm_id = <3>;
@@ -1606,7 +1618,7 @@
 };
 
 &spdif_8ch {
-	status = "okay";
+	status = "disabled";
 };
 
 &tsadc {

--
Gitblit v1.6.2