1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* 3 * Device Tree Source for the RZ/G2LC SMARC pincontrol parts 4 * 5 * Copyright (C) 2021 Renesas Electronics Corp. 6 */ 7 8#include <dt-bindings/gpio/gpio.h> 9#include <dt-bindings/pinctrl/rzg2l-pinctrl.h> 10 11&pinctrl { 12 pinctrl-0 = <&sound_clk_pins>; 13 pinctrl-names = "default"; 14 15 scif0_pins: scif0 { 16 pinmux = <RZG2L_PORT_PINMUX(38, 0, 1)>, /* TxD */ 17 <RZG2L_PORT_PINMUX(38, 1, 1)>; /* RxD */ 18 }; 19 20 sd1-pwr-en-hog { 21 gpio-hog; 22 gpios = <RZG2L_GPIO(39, 2) GPIO_ACTIVE_HIGH>; 23 output-high; 24 line-name = "sd1_pwr_en"; 25 }; 26 27 sdhi1_pins: sd1 { 28 sd1_data { 29 pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; 30 power-source = <3300>; 31 }; 32 33 sd1_ctrl { 34 pins = "SD1_CLK", "SD1_CMD"; 35 power-source = <3300>; 36 }; 37 38 sd1_mux { 39 pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */ 40 }; 41 }; 42 43 sdhi1_pins_uhs: sd1_uhs { 44 sd1_data_uhs { 45 pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; 46 power-source = <1800>; 47 }; 48 49 sd1_ctrl_uhs { 50 pins = "SD1_CLK", "SD1_CMD"; 51 power-source = <1800>; 52 }; 53 54 sd1_mux_uhs { 55 pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */ 56 }; 57 }; 58 59 sound_clk_pins: sound_clk { 60 pins = "AUDIO_CLK1", "AUDIO_CLK2"; 61 input-enable; 62 }; 63}; 64 65