~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/renesas/rzg2ul-smarc-pinfunction.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 /*
  3  * Device Tree Source for the RZ/G2UL SMARC pincontrol parts
  4  *
  5  * Copyright (C) 2022 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         can0_pins: can0 {
 16                 pinmux = <RZG2L_PORT_PINMUX(1, 1, 3)>, /* TX */
 17                          <RZG2L_PORT_PINMUX(1, 2, 3)>; /* RX */
 18         };
 19 
 20 #if (SW_ET0_EN_N)
 21         can0-stb-hog {
 22                 gpio-hog;
 23                 gpios = <RZG2L_GPIO(2, 2) GPIO_ACTIVE_HIGH>;
 24                 output-low;
 25                 line-name = "can0_stb";
 26         };
 27 #endif
 28 
 29         can1_pins: can1 {
 30                 pinmux = <RZG2L_PORT_PINMUX(2, 0, 3)>, /* TX */
 31                          <RZG2L_PORT_PINMUX(2, 1, 3)>; /* RX */
 32         };
 33 
 34 #if (SW_ET0_EN_N)
 35         can1-stb-hog {
 36                 gpio-hog;
 37                 gpios = <RZG2L_GPIO(2, 3) GPIO_ACTIVE_HIGH>;
 38                 output-low;
 39                 line-name = "can1_stb";
 40         };
 41 #endif
 42 
 43         i2c0_pins: i2c0 {
 44                 pins = "RIIC0_SDA", "RIIC0_SCL";
 45                 input-enable;
 46         };
 47 
 48         i2c1_pins: i2c1 {
 49                 pins = "RIIC1_SDA", "RIIC1_SCL";
 50                 input-enable;
 51         };
 52 
 53         mtu3_pins: mtu3 {
 54                 mtu2-pwm {
 55                         pinmux = <RZG2L_PORT_PINMUX(4, 0, 4)>; /* MTIOC2A */
 56                 };
 57         };
 58 
 59         scif0_pins: scif0 {
 60                 pinmux = <RZG2L_PORT_PINMUX(6, 4, 6)>, /* TxD */
 61                          <RZG2L_PORT_PINMUX(6, 3, 6)>; /* RxD */
 62         };
 63 
 64         sd1-pwr-en-hog {
 65                 gpio-hog;
 66                 gpios = <RZG2L_GPIO(0, 3) GPIO_ACTIVE_HIGH>;
 67                 output-high;
 68                 line-name = "sd1_pwr_en";
 69         };
 70 
 71         sdhi1_pins: sd1 {
 72                 sd1_data {
 73                         pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3";
 74                         power-source = <3300>;
 75                 };
 76 
 77                 sd1_ctrl {
 78                         pins = "SD1_CLK", "SD1_CMD";
 79                         power-source = <3300>;
 80                 };
 81 
 82                 sd1_mux {
 83                         pinmux = <RZG2L_PORT_PINMUX(0, 2, 1)>; /* SD1_CD */
 84                 };
 85         };
 86 
 87         sdhi1_pins_uhs: sd1_uhs {
 88                 sd1_data_uhs {
 89                         pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3";
 90                         power-source = <1800>;
 91                 };
 92 
 93                 sd1_ctrl_uhs {
 94                         pins = "SD1_CLK", "SD1_CMD";
 95                         power-source = <1800>;
 96                 };
 97 
 98                 sd1_mux_uhs {
 99                         pinmux = <RZG2L_PORT_PINMUX(0, 2, 1)>; /* SD1_CD */
100                 };
101         };
102 
103         sound_clk_pins: sound_clk {
104                 pins = "AUDIO_CLK1", "AUDIO_CLK2";
105                 input-enable;
106         };
107 
108         spi1_pins: spi1 {
109                 pinmux = <RZG2L_PORT_PINMUX(4, 0, 2)>, /* CK */
110                          <RZG2L_PORT_PINMUX(4, 1, 2)>, /* MOSI */
111                          <RZG2L_PORT_PINMUX(4, 2, 2)>, /* MISO */
112                          <RZG2L_PORT_PINMUX(4, 3, 2)>; /* SSL */
113         };
114 
115         ssi1_pins: ssi1 {
116                 pinmux = <RZG2L_PORT_PINMUX(3, 0, 2)>, /* BCK */
117                          <RZG2L_PORT_PINMUX(3, 1, 2)>, /* RCK */
118                          <RZG2L_PORT_PINMUX(3, 2, 2)>, /* TXD */
119                          <RZG2L_PORT_PINMUX(3, 3, 2)>; /* RXD */
120         };
121 
122         usb0_pins: usb0 {
123                 pinmux = <RZG2L_PORT_PINMUX(5, 0, 1)>, /* VBUS */
124                          <RZG2L_PORT_PINMUX(5, 2, 1)>, /* OVC */
125                          <RZG2L_PORT_PINMUX(5, 3, 1)>; /* OTG_ID */
126         };
127 
128         usb1_pins: usb1 {
129                 pinmux = <RZG2L_PORT_PINMUX(5, 4, 5)>, /* OVC */
130                          <RZG2L_PORT_PINMUX(6, 0, 1)>; /* VBUS */
131         };
132 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php