123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969 |
- // SPDX-License-Identifier: GPL-2.0
- /*
- * Pinctrl dts file for HiSilicon HiKey970 development board
- */
- #include <dt-bindings/pinctrl/hisi.h>
- / {
- soc {
- range: gpio-range {
- #pinctrl-single,gpio-range-cells = <3>;
- };
- pmx0: pinmux@e896c000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xe896c000 0x0 0x72c>;
- #pinctrl-cells = <1>;
- #gpio-range-cells = <0x3>;
- pinctrl-single,register-width = <0x20>;
- pinctrl-single,function-mask = <0x7>;
- /* pin base, nr pins & gpio function */
- pinctrl-single,gpio-range = <&range 0 82 0>;
- uart0_pmx_func: uart0_pmx_func {
- pinctrl-single,pins = <
- 0x054 MUX_M2 /* UART0_RXD */
- 0x058 MUX_M2 /* UART0_TXD */
- >;
- };
- uart2_pmx_func: uart2_pmx_func {
- pinctrl-single,pins = <
- 0x700 MUX_M2 /* UART2_CTS_N */
- 0x704 MUX_M2 /* UART2_RTS_N */
- 0x708 MUX_M2 /* UART2_RXD */
- 0x70c MUX_M2 /* UART2_TXD */
- >;
- };
- uart3_pmx_func: uart3_pmx_func {
- pinctrl-single,pins = <
- 0x064 MUX_M1 /* UART3_CTS_N */
- 0x068 MUX_M1 /* UART3_RTS_N */
- 0x06c MUX_M1 /* UART3_RXD */
- 0x070 MUX_M1 /* UART3_TXD */
- >;
- };
- uart4_pmx_func: uart4_pmx_func {
- pinctrl-single,pins = <
- 0x074 MUX_M1 /* UART4_CTS_N */
- 0x078 MUX_M1 /* UART4_RTS_N */
- 0x07c MUX_M1 /* UART4_RXD */
- 0x080 MUX_M1 /* UART4_TXD */
- >;
- };
- uart6_pmx_func: uart6_pmx_func {
- pinctrl-single,pins = <
- 0x05c MUX_M1 /* UART6_RXD */
- 0x060 MUX_M1 /* UART6_TXD */
- >;
- };
- i2c3_pmx_func: i2c3_pmx_func {
- pinctrl-single,pins = <
- 0x010 MUX_M1 /* I2C3_SCL */
- 0x014 MUX_M1 /* I2C3_SDA */
- >;
- };
- i2c4_pmx_func: i2c4_pmx_func {
- pinctrl-single,pins = <
- 0x03c MUX_M1 /* I2C4_SCL */
- 0x040 MUX_M1 /* I2C4_SDA */
- >;
- };
- cam0_rst_pmx_func: cam0_rst_pmx_func {
- pinctrl-single,pins = <
- 0x714 MUX_M0 /* CAM0_RST */
- >;
- };
- cam1_rst_pmx_func: cam1_rst_pmx_func {
- pinctrl-single,pins = <
- 0x048 MUX_M0 /* CAM1_RST */
- >;
- };
- cam0_pwd_n_pmx_func: cam0_pwd_n_pmx_func {
- pinctrl-single,pins = <
- 0x098 MUX_M0 /* CAM0_PWD_N */
- >;
- };
- cam1_pwd_n_pmx_func: cam1_pwd_n_pmx_func {
- pinctrl-single,pins = <
- 0x044 MUX_M0 /* CAM1_PWD_N */
- >;
- };
- isp0_pmx_func: isp0_pmx_func {
- pinctrl-single,pins = <
- 0x018 MUX_M1 /* ISP_CLK0 */
- 0x024 MUX_M1 /* ISP_SCL0 */
- 0x028 MUX_M1 /* ISP_SDA0 */
- >;
- };
- isp1_pmx_func: isp1_pmx_func {
- pinctrl-single,pins = <
- 0x01c MUX_M1 /* ISP_CLK1 */
- 0x02c MUX_M1 /* ISP_SCL1 */
- 0x030 MUX_M1 /* ISP_SDA1 */
- >;
- };
- };
- pmx1: pinmux@fff11000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xfff11000 0x0 0x73c>;
- #gpio-range-cells = <0x3>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- pinctrl-single,function-mask = <0x7>;
- /* pin base, nr pins & gpio function */
- pinctrl-single,gpio-range = <&range 0 46 0>;
- pwr_key_pmx_func: pwr_key_pmx_func {
- pinctrl-single,pins = <
- 0x064 MUX_M0 /* GPIO_203 */
- >;
- };
- pd_pmx_func: pd_pmx_func{
- pinctrl-single,pins = <
- 0x080 MUX_M0 /* GPIO_221 */
- >;
- };
- i2s2_pmx_func: i2s2_pmx_func {
- pinctrl-single,pins = <
- 0x050 MUX_M1 /* I2S2_DI */
- 0x054 MUX_M1 /* I2S2_DO */
- 0x058 MUX_M1 /* I2S2_XCLK */
- 0x05c MUX_M1 /* I2S2_XFS */
- >;
- };
- spi0_pmx_func: spi0_pmx_func {
- pinctrl-single,pins = <
- 0x094 MUX_M1 /* SPI0_CLK */
- 0x098 MUX_M1 /* SPI0_DI */
- 0x09c MUX_M1 /* SPI0_DO */
- 0x0a0 MUX_M1 /* SPI0_CS0_N */
- >;
- };
- spi2_pmx_func: spi2_pmx_func {
- pinctrl-single,pins = <
- 0x710 MUX_M1 /* SPI2_CLK */
- 0x714 MUX_M1 /* SPI2_DI */
- 0x718 MUX_M1 /* SPI2_DO */
- 0x71c MUX_M1 /* SPI2_CS0_N */
- >;
- };
- spi3_pmx_func: spi3_pmx_func {
- pinctrl-single,pins = <
- 0x72c MUX_M1 /* SPI3_CLK */
- 0x730 MUX_M1 /* SPI3_DI */
- 0x734 MUX_M1 /* SPI3_DO */
- 0x738 MUX_M1 /* SPI3_CS0_N */
- >;
- };
- i2c0_pmx_func: i2c0_pmx_func {
- pinctrl-single,pins = <
- 0x020 MUX_M1 /* I2C0_SCL */
- 0x024 MUX_M1 /* I2C0_SDA */
- >;
- };
- i2c1_pmx_func: i2c1_pmx_func {
- pinctrl-single,pins = <
- 0x028 MUX_M1 /* I2C1_SCL */
- 0x02c MUX_M1 /* I2C1_SDA */
- >;
- };
- i2c2_pmx_func: i2c2_pmx_func {
- pinctrl-single,pins = <
- 0x030 MUX_M1 /* I2C2_SCL */
- 0x034 MUX_M1 /* I2C2_SDA */
- >;
- };
- pcie_clkreq_pmx_func: pcie_clkreq_pmx_func {
- pinctrl-single,pins = <
- 0x084 MUX_M1 /* PCIE0_CLKREQ_N */
- >;
- };
- gpio185_pmx_func: gpio185_pmx_func {
- pinctrl-single,pins = <0x01C 0x1>;
- };
- gpio185_pmx_idle: gpio185_pmx_idle {
- pinctrl-single,pins = <0x01C 0x0>;
- };
- };
- pmx2: pinmux@e896c800 {
- compatible = "pinconf-single";
- reg = <0x0 0xe896c800 0x0 0x72c>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- uart0_cfg_func: uart0_cfg_func {
- pinctrl-single,pins = <
- 0x058 0x0 /* UART0_RXD */
- 0x05c 0x0 /* UART0_TXD */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- uart2_cfg_func: uart2_cfg_func {
- pinctrl-single,pins = <
- 0x700 0x0 /* UART2_CTS_N */
- 0x704 0x0 /* UART2_RTS_N */
- 0x708 0x0 /* UART2_RXD */
- 0x70c 0x0 /* UART2_TXD */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- uart3_cfg_func: uart3_cfg_func {
- pinctrl-single,pins = <
- 0x068 0x0 /* UART3_CTS_N */
- 0x06c 0x0 /* UART3_RTS_N */
- 0x070 0x0 /* UART3_RXD */
- 0x074 0x0 /* UART3_TXD */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- uart4_cfg_func: uart4_cfg_func {
- pinctrl-single,pins = <
- 0x078 0x0 /* UART4_CTS_N */
- 0x07c 0x0 /* UART4_RTS_N */
- 0x080 0x0 /* UART4_RXD */
- 0x084 0x0 /* UART4_TXD */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- uart6_cfg_func: uart6_cfg_func {
- pinctrl-single,pins = <
- 0x060 0x0 /* UART6_RXD */
- 0x064 0x0 /* UART6_TXD */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_02MA DRIVE6_MASK
- >;
- };
- i2c3_cfg_func: i2c3_cfg_func {
- pinctrl-single,pins = <
- 0x014 0x0 /* I2C3_SCL */
- 0x018 0x0 /* I2C3_SDA */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- i2c4_cfg_func: i2c4_cfg_func {
- pinctrl-single,pins = <
- 0x040 0x0 /* I2C4_SCL */
- 0x044 0x0 /* I2C4_SDA */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- cam0_rst_cfg_func: cam0_rst_cfg_func {
- pinctrl-single,pins = <
- 0x714 0x0 /* CAM0_RST */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- cam1_rst_cfg_func: cam1_rst_cfg_func {
- pinctrl-single,pins = <
- 0x04C 0x0 /* CAM1_RST */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- cam0_pwd_n_cfg_func: cam0_pwd_n_cfg_func {
- pinctrl-single,pins = <
- 0x09C 0x0 /* CAM0_PWD_N */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- cam1_pwd_n_cfg_func: cam1_pwd_n_cfg_func {
- pinctrl-single,pins = <
- 0x048 0x0 /* CAM1_PWD_N */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- isp0_cfg_func: isp0_cfg_func {
- pinctrl-single,pins = <
- 0x01C 0x0 /* ISP_CLK0 */
- 0x028 0x0 /* ISP_SCL0 */
- 0x02C 0x0 /* ISP_SDA0 */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- isp1_cfg_func: isp1_cfg_func {
- pinctrl-single,pins = <
- 0x020 0x0 /* ISP_CLK1 */
- 0x030 0x0 /* ISP_SCL1 */
- 0x034 0x0 /* ISP_SDA1 */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- };
- pmx5: pinmux@fc182000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xfc182000 0x0 0x028>;
- #gpio-range-cells = <3>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- pinctrl-single,function-mask = <0x7>;
- /* pin base, nr pins & gpio function */
- pinctrl-single,gpio-range = <&range 0 10 0>;
- sdio_pmx_func: sdio_pmx_func {
- pinctrl-single,pins = <
- 0x000 MUX_M1 /* SDIO_CLK */
- 0x004 MUX_M1 /* SDIO_CMD */
- 0x008 MUX_M1 /* SDIO_DATA0 */
- 0x00c MUX_M1 /* SDIO_DATA1 */
- 0x010 MUX_M1 /* SDIO_DATA2 */
- 0x014 MUX_M1 /* SDIO_DATA3 */
- >;
- };
- };
- pmx6: pinmux@fc182800 {
- compatible = "pinconf-single";
- reg = <0x0 0xfc182800 0x0 0x028>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- sdio_clk_cfg_func: sdio_clk_cfg_func {
- pinctrl-single,pins = <
- 0x000 0x0 /* SDIO_CLK */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE6_32MA DRIVE6_MASK
- >;
- };
- sdio_cfg_func: sdio_cfg_func {
- pinctrl-single,pins = <
- 0x004 0x0 /* SDIO_CMD */
- 0x008 0x0 /* SDIO_DATA0 */
- 0x00c 0x0 /* SDIO_DATA1 */
- 0x010 0x0 /* SDIO_DATA2 */
- 0x014 0x0 /* SDIO_DATA3 */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_UP
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE6_19MA DRIVE6_MASK
- >;
- };
- };
- pmx7: pinmux@ff37e000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xff37e000 0x0 0x030>;
- #gpio-range-cells = <3>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- pinctrl-single,function-mask = <7>;
- /* pin base, nr pins & gpio function */
- pinctrl-single,gpio-range = <&range 0 12 0>;
- sd_pmx_func: sd_pmx_func {
- pinctrl-single,pins = <
- 0x000 MUX_M1 /* SD_CLK */
- 0x004 MUX_M1 /* SD_CMD */
- 0x008 MUX_M1 /* SD_DATA0 */
- 0x00c MUX_M1 /* SD_DATA1 */
- 0x010 MUX_M1 /* SD_DATA2 */
- 0x014 MUX_M1 /* SD_DATA3 */
- >;
- };
- };
- pmx8: pinmux@ff37e800 {
- compatible = "pinconf-single";
- reg = <0x0 0xff37e800 0x0 0x030>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- sd_clk_cfg_func: sd_clk_cfg_func {
- pinctrl-single,pins = <
- 0x000 0x0 /* SD_CLK */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE6_32MA
- DRIVE6_MASK
- >;
- };
- sd_cfg_func: sd_cfg_func {
- pinctrl-single,pins = <
- 0x004 0x0 /* SD_CMD */
- 0x008 0x0 /* SD_DATA0 */
- 0x00c 0x0 /* SD_DATA1 */
- 0x010 0x0 /* SD_DATA2 */
- 0x014 0x0 /* SD_DATA3 */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_UP
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE6_19MA
- DRIVE6_MASK
- >;
- };
- };
- pmx16: pinmux@fff11800 {
- compatible = "pinconf-single";
- reg = <0x0 0xfff11800 0x0 0x73c>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- pwr_key_cfg_func: pwr_key_cfg_func {
- pinctrl-single,pins = <
- 0x090 0x0 /* GPIO_203 */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_UP
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_02MA DRIVE6_MASK
- >;
- };
- usb_cfg_func: usb_cfg_func {
- pinctrl-single,pins = <
- 0x0AC 0x0 /* GPIO_221 */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_UP
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_02MA DRIVE6_MASK
- >;
- };
- spi0_cfg_func: spi0_cfg_func {
- pinctrl-single,pins = <
- 0x0c8 0x0 /* SPI0_DI */
- 0x0cc 0x0 /* SPI0_DO */
- 0x0d0 0x0 /* SPI0_CS0_N */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_06MA DRIVE6_MASK
- >;
- };
- spi2_cfg_func: spi2_cfg_func {
- pinctrl-single,pins = <
- 0x714 0x0 /* SPI2_DI */
- 0x718 0x0 /* SPI2_DO */
- 0x71c 0x0 /* SPI2_CS0_N */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_06MA DRIVE6_MASK
- >;
- };
- spi3_cfg_func: spi3_cfg_func {
- pinctrl-single,pins = <
- 0x730 0x0 /* SPI3_DI */
- 0x734 0x0 /* SPI3_DO */
- 0x738 0x0 /* SPI3_CS0_N */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_06MA DRIVE6_MASK
- >;
- };
- spi0_clk_cfg_func: spi0_clk_cfg_func {
- pinctrl-single,pins = <
- 0x0c4 0x0 /* SPI0_CLK */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_10MA DRIVE6_MASK
- >;
- };
- spi2_clk_cfg_func: spi2_clk_cfg_func {
- pinctrl-single,pins = <
- 0x710 0x0 /* SPI2_CLK */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_10MA DRIVE6_MASK
- >;
- };
- spi3_clk_cfg_func: spi3_clk_cfg_func {
- pinctrl-single,pins = <
- 0x72c 0x0 /* SPI3_CLK */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_10MA DRIVE6_MASK
- >;
- };
- i2c0_cfg_func: i2c0_cfg_func {
- pinctrl-single,pins = <
- 0x04c 0x0 /* I2C0_SCL */
- 0x050 0x0 /* I2C0_SDA */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- i2c1_cfg_func: i2c1_cfg_func {
- pinctrl-single,pins = <
- 0x054 0x0 /* I2C1_SCL */
- 0x058 0x0 /* I2C1_SDA */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- i2c2_cfg_func: i2c2_cfg_func {
- pinctrl-single,pins = <
- 0x05c 0x0 /* I2C2_SCL */
- 0x060 0x0 /* I2C2_SDA */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_04MA DRIVE6_MASK
- >;
- };
- pcie_clkreq_cfg_func: pcie_clkreq_cfg_func {
- pinctrl-single,pins = <
- 0x0b0 0x0
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_DIS
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_06MA DRIVE6_MASK
- >;
- };
- i2s2_cfg_func: i2s2_cfg_func {
- pinctrl-single,pins = <
- 0x07c 0x0 /* I2S2_DI */
- 0x080 0x0 /* I2S2_DO */
- 0x084 0x0 /* I2S2_XCLK */
- 0x088 0x0 /* I2S2_XFS */
- >;
- pinctrl-single,bias-pulldown = <
- PULL_DIS
- PULL_DOWN
- PULL_DIS
- PULL_DOWN
- >;
- pinctrl-single,bias-pullup = <
- PULL_UP
- PULL_UP
- PULL_DIS
- PULL_UP
- >;
- pinctrl-single,drive-strength = <
- DRIVE7_02MA DRIVE6_MASK
- >;
- };
- gpio185_cfg_func: gpio185_cfg_func {
- pinctrl-single,pins = <0x048 0>;
- pinctrl-single,bias-pulldown = <0 2 0 2>;
- pinctrl-single,bias-pullup = <0 1 0 1>;
- pinctrl-single,drive-strength = <0x00 0x70>;
- pinctrl-single,slew-rate = <0x0 0x80>;
- };
- gpio185_cfg_idle: gpio185_cfg_idle {
- pinctrl-single,pins = <0x048 0>;
- pinctrl-single,bias-pulldown = <2 2 0 2>;
- pinctrl-single,bias-pullup = <0 1 0 1>;
- pinctrl-single,drive-strength = <0x00 0x70>;
- pinctrl-single,slew-rate = <0x0 0x80>;
- };
- };
- };
- };
|