From f33f61bdb7ca6d5ebe7a78f9d8694b91360279ac Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 04 Dec 2023 07:10:27 +0000
Subject: [PATCH] add gpio
---
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi | 26 +++++---------------------
1 files changed, 5 insertions(+), 21 deletions(-)
diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
index 7403faa..db2298b 100755
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
@@ -352,22 +352,11 @@
compatible = "wlan-platdata";
rockchip,grf = <&grf>;
wifi_chip_type = "ap6398s";
- status = "okay";
+ status = "disabled";
};
wireless_bluetooth: wireless-bluetooth {
- compatible = "bluetooth-platdata";
- clocks = <&rk809 1>;
- clock-names = "ext_clock";
- //wifi-bt-power-toggle;
- uart_rts_gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
- pinctrl-names = "default", "rts_gpio";
- pinctrl-0 = <&uart8m0_rtsn>;
- pinctrl-1 = <&uart8_gpios>;
- BT,reset_gpio = <&gpio3 RK_PA0 GPIO_ACTIVE_HIGH>;
- BT,wake_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
- BT,wake_host_irq = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>;
- status = "okay";
+ status = "disabled";
};
test-power {
@@ -394,7 +383,7 @@
assigned-clock-rates = <150000000>;
pinctrl-names = "default";
pinctrl-0 = <&can1m1_pins>;
- status = "disabled";
+ status = "okay";
};
&can2 {
@@ -1532,11 +1521,6 @@
};
};
- wireless-bluetooth {
- uart8_gpios: uart8-gpios {
- rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
- };
- };
};
/*
@@ -1579,7 +1563,7 @@
};
&pwm7 {
- status = "okay";
+ status = "disabled";
compatible = "rockchip,remotectl-pwm";
remote_pwm_id = <3>;
@@ -1803,7 +1787,7 @@
};
&usbdrd_dwc3 {
- dr_mode = "otg";
+ dr_mode = "host";
extcon = <&usb2phy0>;
status = "okay";
};
--
Gitblit v1.6.2