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

TOMOYO Linux Cross Reference
Linux/arch/mips/boot/dts/mobileye/eyeq6h-pins.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 /*
  3  * Copyright 2024 Mobileye Vision Technologies Ltd.
  4  */
  5 
  6 /*
  7  * MUX register structure
  8  * bits    | field      | comment
  9  * [0]     | MUX_SEL    | 0 - GPIO, 1 - alternative func
 10  * [4]     | SW_LOOPBACK|
 11  * [5]     | SW_OUT_HZ  |
 12  * [7]     | DBG_IN     |
 13  * [11:8]  | DS         | drive strength
 14  * [13:12] | PUD        | pull-up/pull-down. 0, 3 - no, 1 - PD, 2 - PU
 15  * [14]    | OD         | Open drain
 16  * [15]    | ST_CFG     | Hysteretic input enable (Schmitt trigger)
 17  */
 18 
 19 &pinctrl_west {
 20         // TODO: use pinctrl-single,bias-pullup
 21         // TODO: use pinctrl-single,bias-pulldown
 22         // TODO: use pinctrl-single,drive-strength
 23         // TODO: use pinctrl-single,input-schmitt
 24 
 25         i2c0_pins: i2c0-pins {
 26                 pinctrl-single,pins = <
 27                         0x000 0x200     // I2C0_SCL pin
 28                         0x004 0x200     // I2C0_SDA pin
 29                 >;
 30         };
 31         i2c1_pins: i2c1-pins {
 32                 pinctrl-single,pins = <
 33                         0x008 0x200     // I2C1_SCL pin
 34                         0x00c 0x200     // I2C1_SDA pin
 35                 >;
 36         };
 37         eth0_pins: eth0-pins {
 38                 pinctrl-single,pins = <
 39                         0x080 1         // GPIO_C4__SMA0_MDC pin
 40                         0x084 1         // GPIO_C5__SMA0_MDIO pin
 41                 >;
 42         };
 43         uart0_pins: uart0-pins {
 44                 pinctrl-single,pins = <0x0a8 1>; // UART0 pin group
 45         };
 46         uart1_pins: uart1-pins {
 47                 pinctrl-single,pins = <0x0a0 1>; // UART1 pin group
 48         };
 49         spi0_pins: spi0-pins {
 50                 pinctrl-single,pins = <0x0ac 1>; // SPI0 pin group
 51         };
 52         spi1_pins: spi1-pins {
 53                 pinctrl-single,pins = <0x0a4 1>; // SPI1 pin group
 54         };
 55 };
 56 
 57 &pinctrl_east {
 58         i2c2_pins: i2c2-pins {
 59                 pinctrl-single,pins = <
 60                         0x000 0x200     // i2c2_SCL pin
 61                         0x004 0x200     // i2c2_SDA pin
 62                 >;
 63         };
 64         i2c3_pins: i2c3-pins {
 65                 pinctrl-single,pins = <
 66                         0x008 0x200     // i2c3_SCL pin
 67                         0x00c 0x200     // i2c3_SDA pin
 68                 >;
 69         };
 70         eth1_pins: eth1-pins {
 71                 pinctrl-single,pins = <
 72                         0x080 1 // GPIO_D4__SMA1_MDC pin
 73                         0x084 1 // GPIO_D5__SMA1_MDIO pin
 74                 >;
 75         };
 76         uart2_sel_pins: uart2-pins {
 77                 pinctrl-single,pins = <0x0a4 1>; // UART2 pin group
 78         };
 79         uart3_pins: uart3-pins {
 80                 pinctrl-single,pins = <0x09c 1>; // UART3 pin group
 81         };
 82         spi2_pins: spi2-pins {
 83                 pinctrl-single,pins = <0x0a8 1>; // SPI2 pin group
 84         };
 85         spi3_pins: spi3-pins {
 86                 pinctrl-single,pins = <0x0a0 1>; // SPI3 pin group
 87         };
 88 };

~ [ 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