From 10ebd8556b7990499c896a550e3d416b444211e6 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 02:23:07 +0000
Subject: [PATCH] add led

---
 kernel/arch/arm64/boot/dts/rockchip/rk3568-evb2-lp4x-v10.dtsi |  128 +-----------------------------------------
 1 files changed, 3 insertions(+), 125 deletions(-)

diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb2-lp4x-v10.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb2-lp4x-v10.dtsi
index e73325e..34b7f28 100644
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb2-lp4x-v10.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb2-lp4x-v10.dtsi
@@ -63,13 +63,6 @@
 		regulator-max-microvolt = <3300000>;
 		vin-supply = <&vcc5v0_sys>;
 	};
-
-	ext_cam_clk: external-camera-clock {
-		compatible = "fixed-clock";
-		clock-frequency = <24000000>;
-		clock-output-names = "CLK_CAMERA_24MHZ";
-		#clock-cells = <0>;
-	};
 };
 
 &bt_sound {
@@ -173,35 +166,6 @@
  */
 &gt1x {
 	power-supply = <&vcc3v3_lcd0_n>;
-};
-
-&i2c3 {
-	status = "okay";
-
-	lt6911uxc: lt6911uxc@2b {
-		status = "okay";
-		reg = <0x2b>;
-		compatible = "lontium,lt6911uxc";
-		clocks = <&ext_cam_clk>;
-		clock-names = "xvclk";
-		interrupt-parent = <&gpio4>;
-		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
-		power-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
-		reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
-		plugin-det-gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
-		hpd-ctl-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
-		rockchip,camera-module-index = <0>;
-		rockchip,camera-module-facing = "back";
-		rockchip,camera-module-name = "LT6911UXC";
-		rockchip,camera-module-lens-name = "NC";
-
-		port {
-			lt6911uxc_out: endpoint {
-				remote-endpoint = <&hdmi_to_mipi_in>;
-				data-lanes = <1 2 3 4>;
-			};
-		};
-	};
 };
 
 &i2c4 {
@@ -450,7 +414,8 @@
 
 &sdmmc1 {
 	max-frequency = <150000000>;
-	supports-sdio;
+	no-sd;
+	no-mmc;
 	bus-width = <4>;
 	disable-wp;
 	cap-sd-highspeed;
@@ -488,6 +453,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&wifi_host_wake_irq>;
 	WIFI,host_wake_irq = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
+	WIFI,poweren_gpio = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;
 };
 
 &wireless_bluetooth {
@@ -506,93 +472,5 @@
 };
 
 &xpcs {
-	status = "okay";
-};
-
-&csi2_dphy_hw {
-	status = "okay";
-};
-
-&csi2_dphy0 {
-	status = "okay";
-
-	ports {
-		#address-cells = <1>;
-		#size-cells = <0>;
-		port@0 {
-			reg = <0>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			hdmi_to_mipi_in: endpoint@1 {
-				reg = <1>;
-				remote-endpoint = <&lt6911uxc_out>;
-				data-lanes = <1 2 3 4>;
-			};
-		};
-
-		port@1 {
-			reg = <1>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			csidphy_out: endpoint@1 {
-				reg = <1>;
-				remote-endpoint = <&mipi_csi2_input>;
-				data-lanes = <1 2 3 4>;
-			};
-		};
-	};
-};
-
-&mipi_csi2 {
-	status = "okay";
-
-	ports {
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		port@0 {
-			reg = <0>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			mipi_csi2_input: endpoint@1 {
-				reg = <1>;
-				remote-endpoint = <&csidphy_out>;
-				data-lanes = <1 2 3 4>;
-			};
-		};
-
-		port@1 {
-			reg = <1>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			mipi_csi2_output: endpoint@0 {
-				reg = <0>;
-				remote-endpoint = <&cif_mipi_in>;
-				data-lanes = <1 2 3 4>;
-			};
-		};
-	};
-};
-
-&rkcif {
-	status = "okay";
-};
-
-&rkcif_mipi_lvds {
-	status = "okay";
-
-	port {
-		cif_mipi_in: endpoint {
-			remote-endpoint = <&mipi_csi2_output>;
-			data-lanes = <1 2 3 4>;
-		};
-	};
-};
-
-&rkcif_mmu {
 	status = "okay";
 };

--
Gitblit v1.6.2