dt-bindings: pinctrl: rockchip: update example
authorJohan Jonker <jbx6244@gmail.com>
Tue, 12 May 2020 20:35:23 +0000 (22:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 May 2020 07:21:02 +0000 (09:21 +0200)
The Rockchip dtsi and dts files have been bulk-converted for the
remaining raw gpio numbers into their descriptive counterparts and
also got rid of the unhelpful RK_FUNC_x -> x and RK_GPIOx -> x
mappings, so update the example as well.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200512203524.7317-2-jbx6244@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt

index 2113cfaa26e670f28c6b6285053ce55f70388116..d3eae61a340db61722944bc852830778c9b85557 100644 (file)
@@ -110,8 +110,8 @@ pinctrl@20008000 {
 
        uart2 {
                uart2_xfer: uart2-xfer {
-                       rockchip,pins = <RK_GPIO1 8 1 &pcfg_pull_default>,
-                                       <RK_GPIO1 9 1 &pcfg_pull_default>;
+                       rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>,
+                                       <1 RK_PB1 1 &pcfg_pull_default>;
                };
        };
 };