rockchip: pinctrl: replace RK_FUNC_n defines

The use of RK_FUNC_n defines is deprecated in the upstream
rockchip.h file. Replace all them by the function number.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://patch.msgid.link/51cb65e5-1702-467f-b961-c9cdd029056f@gmail.com
Signed-off-by: Quentin Schulz <u-boot@0leil.net>
This commit is contained in:
Johan Jonker
2026-07-23 15:00:08 +02:00
committed by Quentin Schulz
parent 3067562284
commit e504d9cffb
4 changed files with 96 additions and 102 deletions
+2 -2
View File
@@ -97,8 +97,8 @@ Here are some things you might need to consider:
uart2: uart2 {
uart2_xfer: uart2-xfer {
rockchip,pins = <1 RK_PC2 RK_FUNC_2 &pcfg_pull_up>,
<1 RK_PC3 RK_FUNC_2 &pcfg_pull_none>;
rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
<1 RK_PC3 2 &pcfg_pull_none>;
};
...
};