1ce0c63b6SBiju Das// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2ce0c63b6SBiju Das/* 3ce0c63b6SBiju Das * Device Tree Source for the RZ/G2LC SMARC pincontrol parts 4ce0c63b6SBiju Das * 5ce0c63b6SBiju Das * Copyright (C) 2021 Renesas Electronics Corp. 6ce0c63b6SBiju Das */ 7ce0c63b6SBiju Das 8ce0c63b6SBiju Das#include <dt-bindings/gpio/gpio.h> 9ce0c63b6SBiju Das#include <dt-bindings/pinctrl/rzg2l-pinctrl.h> 10ce0c63b6SBiju Das 11ce0c63b6SBiju Das&pinctrl { 12ce0c63b6SBiju Das pinctrl-0 = <&sound_clk_pins>; 13ce0c63b6SBiju Das pinctrl-names = "default"; 14ce0c63b6SBiju Das 15ce0c63b6SBiju Das scif0_pins: scif0 { 16ce0c63b6SBiju Das pinmux = <RZG2L_PORT_PINMUX(38, 0, 1)>, /* TxD */ 17ce0c63b6SBiju Das <RZG2L_PORT_PINMUX(38, 1, 1)>; /* RxD */ 18ce0c63b6SBiju Das }; 19ce0c63b6SBiju Das 20*fa00d6dcSBiju Das scif1_pins: scif1 { 21*fa00d6dcSBiju Das pinmux = <RZG2L_PORT_PINMUX(40, 0, 1)>, /* TxD */ 22*fa00d6dcSBiju Das <RZG2L_PORT_PINMUX(40, 1, 1)>, /* RxD */ 23*fa00d6dcSBiju Das <RZG2L_PORT_PINMUX(41, 0, 1)>, /* CTS# */ 24*fa00d6dcSBiju Das <RZG2L_PORT_PINMUX(41, 1, 1)>; /* RTS# */ 25*fa00d6dcSBiju Das }; 26*fa00d6dcSBiju Das 2781a27b1fSBiju Das sd1-pwr-en-hog { 2881a27b1fSBiju Das gpio-hog; 2981a27b1fSBiju Das gpios = <RZG2L_GPIO(39, 2) GPIO_ACTIVE_HIGH>; 3081a27b1fSBiju Das output-high; 3181a27b1fSBiju Das line-name = "sd1_pwr_en"; 3281a27b1fSBiju Das }; 3381a27b1fSBiju Das 3481a27b1fSBiju Das sdhi1_pins: sd1 { 3581a27b1fSBiju Das sd1_data { 3681a27b1fSBiju Das pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; 3781a27b1fSBiju Das power-source = <3300>; 3881a27b1fSBiju Das }; 3981a27b1fSBiju Das 4081a27b1fSBiju Das sd1_ctrl { 4181a27b1fSBiju Das pins = "SD1_CLK", "SD1_CMD"; 4281a27b1fSBiju Das power-source = <3300>; 4381a27b1fSBiju Das }; 4481a27b1fSBiju Das 4581a27b1fSBiju Das sd1_mux { 4681a27b1fSBiju Das pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */ 4781a27b1fSBiju Das }; 4881a27b1fSBiju Das }; 4981a27b1fSBiju Das 5081a27b1fSBiju Das sdhi1_pins_uhs: sd1_uhs { 5181a27b1fSBiju Das sd1_data_uhs { 5281a27b1fSBiju Das pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; 5381a27b1fSBiju Das power-source = <1800>; 5481a27b1fSBiju Das }; 5581a27b1fSBiju Das 5681a27b1fSBiju Das sd1_ctrl_uhs { 5781a27b1fSBiju Das pins = "SD1_CLK", "SD1_CMD"; 5881a27b1fSBiju Das power-source = <1800>; 5981a27b1fSBiju Das }; 6081a27b1fSBiju Das 6181a27b1fSBiju Das sd1_mux_uhs { 6281a27b1fSBiju Das pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */ 6381a27b1fSBiju Das }; 6481a27b1fSBiju Das }; 6581a27b1fSBiju Das 66ce0c63b6SBiju Das sound_clk_pins: sound_clk { 67ce0c63b6SBiju Das pins = "AUDIO_CLK1", "AUDIO_CLK2"; 68ce0c63b6SBiju Das input-enable; 69ce0c63b6SBiju Das }; 70ce0c63b6SBiju Das}; 71ce0c63b6SBiju Das 72