// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* * Device Tree Source for the RZ/{G2L,V2L} SMARC pincontrol parts * * Copyright (C) 2021 Renesas Electronics Corp. */ #include #include &pinctrl { pinctrl-0 = <&sound_clk_pins>; pinctrl-names = "default"; can0_pins: can0 { pinmux = , /* TX */ ; /* RX */ }; /* SW7 should be at position 2->3 so that GPIO8_CAN0_STB line is activated */ can0-stb-hog { gpio-hog; gpios = ; output-low; line-name = "can0_stb"; }; can1_pins: can1 { pinmux = , /* TX */ ; /* RX */ }; /* SW8 should be at position 2->3 so that GPIO9_CAN1_STB line is activated */ can1-stb-hog { gpio-hog; gpios = ; output-low; line-name = "can1_stb"; }; i2c0_pins: i2c0 { pins = "RIIC0_SDA", "RIIC0_SCL"; input-enable; }; i2c1_pins: i2c1 { pins = "RIIC1_SDA", "RIIC1_SCL"; input-enable; }; i2c3_pins: i2c3 { pinmux = , /* SDA */ ; /* SCL */ }; mtu3_pins: mtu3 { mtu3-ext-clk-input-pin { pinmux = , /* MTCLKA */ ; /* MTCLKB */ }; mtu3-pwm { pinmux = , /* MTIOC3A */ , /* MTIOC3B */ , /* MTIOC3C */ ; /* MTIOC3D */ }; #if MTU3_COUNTER_Z_PHASE_SIGNAL mtu3-zphase-clk { pinmux = ; /* MTIOC1A */ }; #endif /* MTU3_COUNTER_Z_PHASE_SIGNAL */ }; scif0_pins: scif0 { pinmux = , /* TxD */ ; /* RxD */ }; scif2_pins: scif2 { pinmux = , /* TxD */ , /* RxD */ , /* CTS# */ ; /* RTS# */ }; sd1-pwr-en-hog { gpio-hog; gpios = ; output-high; line-name = "sd1_pwr_en"; }; sdhi1_pins: sd1 { sd1_data { pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; power-source = <3300>; }; sd1_ctrl { pins = "SD1_CLK", "SD1_CMD"; power-source = <3300>; }; sd1_mux { pinmux = ; /* SD1_CD */ }; }; sdhi1_pins_uhs: sd1_uhs { sd1_data_uhs { pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; power-source = <1800>; }; sd1_ctrl_uhs { pins = "SD1_CLK", "SD1_CMD"; power-source = <1800>; }; sd1_mux_uhs { pinmux = ; /* SD1_CD */ }; }; sound_clk_pins: sound_clk { pins = "AUDIO_CLK1", "AUDIO_CLK2"; input-enable; }; spi1_pins: spi1 { pinmux = , /* CK */ , /* MOSI */ , /* MISO */ ; /* SSL */ }; ssi0_pins: ssi0 { pinmux = , /* BCK */ , /* RCK */ , /* TXD */ ; /* RXD */ }; ssi1_pins: ssi1 { pinmux = , /* BCK */ , /* RCK */ ; /* TXD */ }; usb0_pins: usb0 { pinmux = , /* VBUS */ , /* OVC */ ; /* OTG_ID */ }; usb1_pins: usb1 { pinmux = , /* VBUS */ ; /* OVC */ }; };