ARM: dts: rockchip: rk3308 boards: move rtc_32k to wireless pinctrl

The 32k from RK3308 is divider from 24MHz, and it's used by wifi module.

When the board use an wifi module with internal 32k, the rtc_32k never
been needed, and maybe used as other function.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I3b27b5a0a1a97eae477bfa5b297c8997653ae42d
This commit is contained in:
Jianqun Xu
2021-11-03 17:50:55 +08:00
committed by Tao Huang
parent 92ee001b27
commit 50422d1c9c
9 changed files with 15 additions and 24 deletions

View File

@@ -161,7 +161,7 @@
clock-names = "clk_wifi";
ref-clock-frequency = <24000000>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_wake_host>;
pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
wifi_chip_type = "rtl8723ds";
WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
status = "okay";

View File

@@ -166,7 +166,7 @@
clock-names = "clk_wifi";
ref-clock-frequency = <24000000>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_wake_host>;
pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
wifi_chip_type = "rtl8723ds";
WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
status = "okay";

View File

@@ -15,7 +15,7 @@
compatible = "wlan-platdata";
rockchip,grf = <&grf>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_wake_host>;
pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
wifi_chip_type = "rtl8189fs";
WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
status = "okay";

View File

@@ -15,7 +15,7 @@
compatible = "wlan-platdata";
rockchip,grf = <&grf>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_wake_host>;
pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
wifi_chip_type = "rtl8189fs";
WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
status = "okay";

View File

@@ -30,7 +30,7 @@
clock-names = "clk_wifi";
ref-clock-frequency = <24000000>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_wake_host>;
pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
wifi_chip_type = "rtl8723ds";
WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
status = "okay";
@@ -390,11 +390,6 @@
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&rtc_32k>;
};
&pwm3 {
status = "okay";
/* Used for IR */

View File

@@ -199,6 +199,8 @@
wireless-wlan {
compatible = "wlan-platdata";
rockchip,grf = <&grf>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
wifi_chip_type = "ap6255";
WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
status = "okay";
@@ -600,9 +602,6 @@
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&rtc_32k>;
buttons {
mic_mute: mic-mute {
rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>;
@@ -620,6 +619,12 @@
rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
wireless-wlan {
wifi_wake_host: wifi-wake-host {
rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};
&pwm0 {

View File

@@ -719,9 +719,6 @@
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&rtc_32k>;
buttons {
pwr_key: pwr-key {
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;

View File

@@ -273,7 +273,7 @@
compatible = "wlan-platdata";
rockchip,grf = <&grf>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_wake_host>;
pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
wifi_chip_type = "ap6255";
WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
status = "okay";
@@ -778,9 +778,6 @@
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&rtc_32k>;
buttons {
pwr_key: pwr-key {
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;

View File

@@ -243,7 +243,7 @@
compatible = "wlan-platdata";
rockchip,grf = <&grf>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_wake_host>;
pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
wifi_chip_type = "ap6255";
WIFI,host_wake_irq = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
status = "okay";
@@ -683,9 +683,6 @@
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&rtc_32k>;
buttons {
pwr_key: pwr-key {
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;