rockchip: add missing network setup for station p2

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 8c751d42c0)
This commit is contained in:
Tianling Shen 2023-07-14 21:55:42 +08:00
parent d8dc0eb2e4
commit 9dccfb8079
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ rockchip_setup_interfaces()
case "$board" in
ezpro,mrkaio-m68s|\
firefly,rk3568-roc-pc|\
friendlyarm,nanopi-r2c|\
friendlyarm,nanopi-r2c-plus|\
friendlyarm,nanopi-r2s|\

View File

@ -30,6 +30,7 @@ set_interface_core() {
case "$(board_name)" in
ezpro,mrkaio-m68s|\
firefly,rk3568-roc-pc|\
friendlyarm,nanopi-r5c|\
lunzn,fastrhino-r66s)
set_interface_core 2 "eth0"

View File

@ -303,7 +303,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
+ };
+
+ led-user {
+ label = "yellow:user";
+ label = "red:user";
+ gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
};
};