From 071106ecf68c401173c58808b1cf5f68cc50d390 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 05 Jan 2024 08:39:27 +0000
Subject: [PATCH] change wifi driver to cypress
---
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb6-ddr3-v10.dtsi | 61 +-----------------------------
1 files changed, 3 insertions(+), 58 deletions(-)
diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb6-ddr3-v10.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb6-ddr3-v10.dtsi
index f268186..c93e473 100644
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb6-ddr3-v10.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb6-ddr3-v10.dtsi
@@ -41,13 +41,6 @@
regulator-always-on;
regulator-boot-on;
};
-
- ext_cam_clk: external-camera-clock {
- compatible = "fixed-clock";
- clock-frequency = <25000000>;
- clock-output-names = "CLK_CAMERA_25MHZ";
- #clock-cells = <0>;
- };
};
&bt_sound {
@@ -135,33 +128,6 @@
type = <SENSOR_TYPE_ACCEL>;
power-off-in-suspend = <1>;
layout = <4>;
- };
-
- lt8619c: lt8619c@32 {
- compatible = "lontium,lt8619c";
- reg = <0x32>;
- clocks = <&ext_cam_clk>;
- clock-names = "xvclk";
- pinctrl-names = "default";
- pinctrl-0 = <&cif_dvp_clk &cif_dvp_bus16 &cif_dvp_bus8>;
- power-gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
- reset-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_LOW>;
- plugin-det-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
- hpd-output-inverted;
- rockchip,dvp-mode = <3>; /* 3:BT1120, 4:BT656, 5:BT1120_8bit */
- rockchip,dual-edge = <1>; /* 0:single edge, 1:dual edge */
- rockchip,camera-module-index = <0>;
- rockchip,camera-module-facing = "back";
- rockchip,camera-module-name = "LT8619C";
- rockchip,camera-module-lens-name = "NC";
-
- port {
- lt8619c_out: endpoint {
- remote-endpoint = <&cif_para_in>;
- bus-width = <16>;
- pclk-sample = <1>;
- };
- };
};
};
@@ -391,7 +357,8 @@
&sdmmc1 {
max-frequency = <150000000>;
- supports-sdio;
+ no-sd;
+ no-mmc;
bus-width = <4>;
disable-wp;
cap-sd-highspeed;
@@ -453,6 +420,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 {
@@ -502,27 +470,4 @@
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x0>;
};
-};
-
-&rkcif_dvp {
- status = "okay";
-
- port {
- /* Parallel bus endpoint */
- cif_para_in: endpoint {
- remote-endpoint = <<8619c_out>;
- };
- };
-};
-
-&rkcif {
- status = "okay";
-};
-
-&rkcif_mmu {
- status = "okay";
-};
-
-&rkcif_dvp_sditf {
- status = "okay";
};
--
Gitblit v1.6.2