forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/rockchip/rk3308-ai-va-v10.dts
....@@ -190,7 +190,7 @@
190190 uart_rts_gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_LOW>;
191191 pinctrl-names = "default", "rts_gpio";
192192 pinctrl-0 = <&uart4_rts>;
193
- pinctrl-1 = <&uart4_rts_gpio>;
193
+ pinctrl-1 = <&uart4_rts_pin>;
194194 BT,power_gpio = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
195195 BT,wake_host_irq = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
196196 status = "okay";
....@@ -199,6 +199,8 @@
199199 wireless-wlan {
200200 compatible = "wlan-platdata";
201201 rockchip,grf = <&grf>;
202
+ pinctrl-names = "default";
203
+ pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
202204 wifi_chip_type = "ap6255";
203205 WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
204206 status = "okay";
....@@ -218,7 +220,8 @@
218220 bus-width = <8>;
219221 cap-mmc-highspeed;
220222 mmc-hs200-1_8v;
221
- supports-emmc;
223
+ no-sdio;
224
+ no-sd;
222225 disable-wp;
223226 non-removable;
224227 num-slots = <1>;
....@@ -599,9 +602,6 @@
599602 };
600603
601604 &pinctrl {
602
- pinctrl-names = "default";
603
- pinctrl-0 = <&rtc_32k>;
604
-
605605 buttons {
606606 mic_mute: mic-mute {
607607 rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>;
....@@ -617,6 +617,18 @@
617617 sdio-pwrseq {
618618 wifi_enable_h: wifi-enable-h {
619619 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
620
+ };
621
+ };
622
+
623
+ wireless-bluetooth {
624
+ uart4_gpios: uart4-gpios {
625
+ rockchip,pins = <4 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
626
+ };
627
+ };
628
+
629
+ wireless-wlan {
630
+ wifi_wake_host: wifi-wake-host {
631
+ rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
620632 };
621633 };
622634 };
....@@ -645,7 +657,8 @@
645657 &sdio {
646658 bus-width = <4>;
647659 cap-sd-highspeed;
648
- supports-sdio;
660
+ no-sd;
661
+ no-mmc;
649662 ignore-pm-notify;
650663 keep-power-in-suspend;
651664 non-removable;