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-evb2-lp4x-v10.dtsi | 137 ++++-----------------------------------------
1 files changed, 14 insertions(+), 123 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 55caf89..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,12 +63,12 @@
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 {
+ status = "disabled";
+ simple-audio-card,cpu {
+ sound-dai = <&i2s2_2ch>;
};
};
@@ -168,35 +168,6 @@
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 {
status = "okay";
@@ -216,6 +187,12 @@
};
&i2c5 {
+ status = "disabled";
+};
+
+&i2s2_2ch {
+ pinctrl-0 = <&i2s2m0_sclktx &i2s2m0_lrcktx &i2s2m0_sdi &i2s2m0_sdo>;
+ rockchip,bclk-fs = <32>;
status = "disabled";
};
@@ -437,7 +414,8 @@
&sdmmc1 {
max-frequency = <150000000>;
- supports-sdio;
+ no-sd;
+ no-mmc;
bus-width = <4>;
disable-wp;
cap-sd-highspeed;
@@ -475,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 {
@@ -493,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 = <<6911uxc_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