1 // SPDX-License-Identifier: (GPL-2.0-only OR B 2 /* 3 * Copyright 2024 Mobileye Vision Technologies 4 */ 5 6 /* 7 * MUX register structure 8 * bits | field | comment 9 * [0] | MUX_SEL | 0 - GPIO, 1 - altern 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 15 * [14] | OD | Open drain 16 * [15] | ST_CFG | Hysteretic input ena 17 */ 18 19 &pinctrl_west { 20 // TODO: use pinctrl-single,bias-pullu 21 // TODO: use pinctrl-single,bias-pulld 22 // TODO: use pinctrl-single,drive-stre 23 // TODO: use pinctrl-single,input-schm 24 25 i2c0_pins: i2c0-pins { 26 pinctrl-single,pins = < 27 0x000 0x200 // I2C 28 0x004 0x200 // I2C 29 >; 30 }; 31 i2c1_pins: i2c1-pins { 32 pinctrl-single,pins = < 33 0x008 0x200 // I2C 34 0x00c 0x200 // I2C 35 >; 36 }; 37 eth0_pins: eth0-pins { 38 pinctrl-single,pins = < 39 0x080 1 // GPI 40 0x084 1 // GPI 41 >; 42 }; 43 uart0_pins: uart0-pins { 44 pinctrl-single,pins = <0x0a8 1 45 }; 46 uart1_pins: uart1-pins { 47 pinctrl-single,pins = <0x0a0 1 48 }; 49 spi0_pins: spi0-pins { 50 pinctrl-single,pins = <0x0ac 1 51 }; 52 spi1_pins: spi1-pins { 53 pinctrl-single,pins = <0x0a4 1 54 }; 55 }; 56 57 &pinctrl_east { 58 i2c2_pins: i2c2-pins { 59 pinctrl-single,pins = < 60 0x000 0x200 // i2c 61 0x004 0x200 // i2c 62 >; 63 }; 64 i2c3_pins: i2c3-pins { 65 pinctrl-single,pins = < 66 0x008 0x200 // i2c 67 0x00c 0x200 // i2c 68 >; 69 }; 70 eth1_pins: eth1-pins { 71 pinctrl-single,pins = < 72 0x080 1 // GPIO_D4__SM 73 0x084 1 // GPIO_D5__SM 74 >; 75 }; 76 uart2_sel_pins: uart2-pins { 77 pinctrl-single,pins = <0x0a4 1 78 }; 79 uart3_pins: uart3-pins { 80 pinctrl-single,pins = <0x09c 1 81 }; 82 spi2_pins: spi2-pins { 83 pinctrl-single,pins = <0x0a8 1 84 }; 85 spi3_pins: spi3-pins { 86 pinctrl-single,pins = <0x0a0 1 87 }; 88 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.