rockchip: add wireless driver for NanoPi R5C

The NanoPi R5C has a (optional) wireless chip RTL8822CE connected to
the M.2 slot (PCIe2), add the driver for it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-02-23 05:48:51 +08:00 committed by sbwml
parent 941b9991c2
commit af0f9c7697
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
* Copyright (c) 2022 FriendlyElec Computer Tech. Co., Ltd.
* (http://www.friendlyelec.com)
*
* Copyright (c) 2023 Tianling Shen <cnsztl@immoratlwrt.org>
* Copyright (c) 2023 Tianling Shen <cnsztl@immortalwrt.org>
*/
/dts-v1/;
@ -57,11 +57,11 @@
pinctrl-0 = <&lan_led_pin>;
};
wifi_led: led-wifi {
wlan_led: led-wlan {
gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>;
label = "green:wifi";
label = "green:wlan";
pinctrl-names = "default";
pinctrl-0 = <&wifi_led_pin>;
pinctrl-0 = <&wlan_led_pin>;
};
};
};
@ -127,7 +127,7 @@
rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
};
wifi_led_pin: wifi-led-pin {
wlan_led_pin: wlan-led-pin {
rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

View File

@ -21,7 +21,7 @@ define Device/friendlyarm_nanopi-r5c
SOC := rk3568
UBOOT_DEVICE_NAME := nanopi-r5c-rk3568
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata
DEVICE_PACKAGES := kmod-r8125
DEVICE_PACKAGES := kmod-r8125 kmod-rtw88 kmod-mt7921e kmod-mt7922-firmware wpad-basic-openssl
endef
TARGET_DEVICES += friendlyarm_nanopi-r5c