]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: renesas: r9a06g032-rzn1d400-db: Add pinmux for the CPLD
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 8 May 2025 07:43:13 +0000 (09:43 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 8 May 2025 18:23:33 +0000 (20:23 +0200)
The CPLD has no dedicated driver, so apply the pinmux settings with the
pinmux driver instead.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250508074311.20343-5-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts

index 328cb35547d791c31cee63007208f39d7e0b033a..2de047393652c7ccc7112d068aec74dc2065dda2 100644 (file)
 };
 
 &pinctrl {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pins_cpld>;
+
        pins_can0: pins_can0 {
                pinmux = <RZN1_PINMUX(162, RZN1_FUNC_CAN)>,     /* CAN0_TXD */
                         <RZN1_PINMUX(163, RZN1_FUNC_CAN)>;     /* CAN0_RXD */
                drive-strength = <6>;
        };
 
+       pins_cpld: pins-cpld {
+               pinmux = <RZN1_PINMUX(119, RZN1_FUNC_USB)>,
+                        <RZN1_PINMUX(120, RZN1_FUNC_USB)>,
+                        <RZN1_PINMUX(121, RZN1_FUNC_USB)>,
+                        <RZN1_PINMUX(122, RZN1_FUNC_USB)>;
+       };
+
        pins_eth3: pins_eth3 {
                pinmux = <RZN1_PINMUX(36, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)>,
                         <RZN1_PINMUX(37, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)>,