12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061 |
- // SPDX-License-Identifier: GPL-2.0
- /*
- * pinctrl dts fils for Hislicon HiKey960 development board
- *
- */
- #include <dt-bindings/pinctrl/hisi.h>
- / {
- soc {
- /* [IOMG_000, IOMG_123] */
- range: gpio-range {
- #pinctrl-single,gpio-range-cells = <3>;
- };
- pmx0: pinmux@e896c000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xe896c000 0x0 0x1f0>;
- #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 7 0
- &range 8 116 0>;
- pmu_pmx_func: pmu_pmx_func {
- pinctrl-single,pins = <
- 0x008 MUX_M1 /* PMU1_SSI */
- 0x00c MUX_M1 /* PMU2_SSI */
- 0x010 MUX_M1 /* PMU_CLKOUT */
- 0x100 MUX_M1 /* PMU_HKADC_SSI */
- >;
- };
- csi0_pwd_n_pmx_func: csi0_pwd_n_pmx_func {
- pinctrl-single,pins = <
- 0x044 MUX_M0 /* CSI0_PWD_N */
- >;
- };
- csi1_pwd_n_pmx_func: csi1_pwd_n_pmx_func {
- pinctrl-single,pins = <
- 0x04c MUX_M0 /* CSI1_PWD_N */
- >;
- };
- isp0_pmx_func: isp0_pmx_func {
- pinctrl-single,pins = <
- 0x058 MUX_M1 /* ISP_CLK0 */
- 0x064 MUX_M1 /* ISP_SCL0 */
- 0x068 MUX_M1 /* ISP_SDA0 */
- >;
- };
- isp1_pmx_func: isp1_pmx_func {
- pinctrl-single,pins = <
- 0x05c MUX_M1 /* ISP_CLK1 */
- 0x06c MUX_M1 /* ISP_SCL1 */
- 0x070 MUX_M1 /* ISP_SDA1 */
- >;
- };
- pwr_key_pmx_func: pwr_key_pmx_func {
- pinctrl-single,pins = <
- 0x080 MUX_M0 /* GPIO_034 */
- >;
- };
- i2c3_pmx_func: i2c3_pmx_func {
- pinctrl-single,pins = <
- 0x02c MUX_M1 /* I2C3_SCL */
- 0x030 MUX_M1 /* I2C3_SDA */
- >;
- };
- i2c4_pmx_func: i2c4_pmx_func {
- pinctrl-single,pins = <
- 0x090 MUX_M1 /* I2C4_SCL */
- 0x094 MUX_M1 /* I2C4_SDA */
- >;
- };
- pcie_perstn_pmx_func: pcie_perstn_pmx_func {
- pinctrl-single,pins = <
- 0x15c MUX_M1 /* PCIE_PERST_N */
- >;
- };
- usbhub5734_pmx_func: usbhub5734_pmx_func {
- pinctrl-single,pins = <
- 0x11c MUX_M0 /* GPIO_073 */
- 0x120 MUX_M0 /* GPIO_074 */
- >;
- };
- uart0_pmx_func: uart0_pmx_func {
- pinctrl-single,pins = <
- 0x0cc MUX_M2 /* UART0_RXD */
- 0x0d0 MUX_M2 /* UART0_TXD */
- >;
- };
- uart1_pmx_func: uart1_pmx_func {
- pinctrl-single,pins = <
- 0x0b0 MUX_M2 /* UART1_CTS_N */
- 0x0b4 MUX_M2 /* UART1_RTS_N */
- 0x0a8 MUX_M2 /* UART1_RXD */
- 0x0ac MUX_M2 /* UART1_TXD */
- >;
- };
- uart2_pmx_func: uart2_pmx_func {
- pinctrl-single,pins = <
- 0x0bc MUX_M2 /* UART2_CTS_N */
- 0x0c0 MUX_M2 /* UART2_RTS_N */
- 0x0c8 MUX_M2 /* UART2_RXD */
- 0x0c4 MUX_M2 /* UART2_TXD */
- >;
- };
- uart3_pmx_func: uart3_pmx_func {
- pinctrl-single,pins = <
- 0x0dc MUX_M1 /* UART3_CTS_N */
- 0x0e0 MUX_M1 /* UART3_RTS_N */
- 0x0e4 MUX_M1 /* UART3_RXD */
- 0x0e8 MUX_M1 /* UART3_TXD */
- >;
- };
- uart4_pmx_func: uart4_pmx_func {
- pinctrl-single,pins = <
- 0x0ec MUX_M1 /* UART4_CTS_N */
- 0x0f0 MUX_M1 /* UART4_RTS_N */
- 0x0f4 MUX_M1 /* UART4_RXD */
- 0x0f8 MUX_M1 /* UART4_TXD */
- >;
- };
- uart5_pmx_func: uart5_pmx_func {
- pinctrl-single,pins = <
- 0x0c4 MUX_M3 /* UART5_CTS_N */
- 0x0c8 MUX_M3 /* UART5_RTS_N */
- 0x0bc MUX_M3 /* UART5_RXD */
- 0x0c0 MUX_M3 /* UART5_TXD */
- >;
- };
- uart6_pmx_func: uart6_pmx_func {
- pinctrl-single,pins = <
- 0x0cc MUX_M1 /* UART6_CTS_N */
- 0x0d0 MUX_M1 /* UART6_RTS_N */
- 0x0d4 MUX_M1 /* UART6_RXD */
- 0x0d8 MUX_M1 /* UART6_TXD */
- >;
- };
- cam0_rst_pmx_func: cam0_rst_pmx_func {
- pinctrl-single,pins = <
- 0x0c8 MUX_M0 /* CAM0_RST */
- >;
- };
- cam1_rst_pmx_func: cam1_rst_pmx_func {
- pinctrl-single,pins = <
- 0x124 MUX_M0 /* CAM1_RST */
- >;
- };
- };
- /* [IOMG_MMC0_000, IOMG_MMC0_005] */
- pmx1: pinmux@ff37e000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xff37e000 0x0 0x18>;
- #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 6 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 */
- >;
- };
- };
- /* [IOMG_FIX_000, IOMG_FIX_011] */
- pmx2: pinmux@ff3b6000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xff3b6000 0x0 0x30>;
- #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 12 0>;
- ufs_pmx_func: ufs_pmx_func {
- pinctrl-single,pins = <
- 0x000 MUX_M1 /* UFS_REF_CLK */
- 0x004 MUX_M1 /* UFS_RST_N */
- >;
- };
- spi3_pmx_func: spi3_pmx_func {
- pinctrl-single,pins = <
- 0x008 MUX_M1 /* SPI3_CLK */
- 0x00c MUX_M1 /* SPI3_DI */
- 0x010 MUX_M1 /* SPI3_DO */
- 0x014 MUX_M1 /* SPI3_CS0_N */
- >;
- };
- };
- /* [IOMG_MMC1_000, IOMG_MMC1_005] */
- pmx3: pinmux@ff3fd000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xff3fd000 0x0 0x18>;
- #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 6 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 */
- >;
- };
- };
- /* [IOMG_AO_000, IOMG_AO_041] */
- pmx4: pinmux@fff11000 {
- compatible = "pinctrl-single";
- reg = <0x0 0xfff11000 0x0 0xa8>;
- #pinctrl-cells = <1>;
- #gpio-range-cells = <0x3>;
- pinctrl-single,register-width = <0x20>;
- pinctrl-single,function-mask = <0x7>;
- /* pin base in node, nr pins & gpio function */
- pinctrl-single,gpio-range = <&range 0 42 0>;
- i2s2_pmx_func: i2s2_pmx_func {
- pinctrl-single,pins = <
- 0x044 MUX_M1 /* I2S2_DI */
- 0x048 MUX_M1 /* I2S2_DO */
- 0x04c MUX_M1 /* I2S2_XCLK */
- 0x050 MUX_M1 /* I2S2_XFS */
- >;
- };
- slimbus_pmx_func: slimbus_pmx_func {
- pinctrl-single,pins = <
- 0x02c MUX_M1 /* SLIMBUS_CLK */
- 0x030 MUX_M1 /* SLIMBUS_DATA */
- >;
- };
- i2c0_pmx_func: i2c0_pmx_func {
- pinctrl-single,pins = <
- 0x014 MUX_M1 /* I2C0_SCL */
- 0x018 MUX_M1 /* I2C0_SDA */
- >;
- };
- i2c1_pmx_func: i2c1_pmx_func {
- pinctrl-single,pins = <
- 0x01c MUX_M1 /* I2C1_SCL */
- 0x020 MUX_M1 /* I2C1_SDA */
- >;
- };
- i2c7_pmx_func: i2c7_pmx_func {
- pinctrl-single,pins = <
- 0x024 MUX_M3 /* I2C7_SCL */
- 0x028 MUX_M3 /* I2C7_SDA */
- >;
- };
- pcie_pmx_func: pcie_pmx_func {
- pinctrl-single,pins = <
- 0x084 MUX_M1 /* PCIE_CLKREQ_N */
- 0x088 MUX_M1 /* PCIE_WAKE_N */
- >;
- };
- spi2_pmx_func: spi2_pmx_func {
- pinctrl-single,pins = <
- 0x08c MUX_M1 /* SPI2_CLK */
- 0x090 MUX_M1 /* SPI2_DI */
- 0x094 MUX_M1 /* SPI2_DO */
- 0x098 MUX_M1 /* SPI2_CS0_N */
- >;
- };
- i2s0_pmx_func: i2s0_pmx_func {
- pinctrl-single,pins = <
- 0x034 MUX_M1 /* I2S0_DI */
- 0x038 MUX_M1 /* I2S0_DO */
- 0x03c MUX_M1 /* I2S0_XCLK */
- 0x040 MUX_M1 /* I2S0_XFS */
- >;
- };
- };
- pmx5: pinmux@e896c800 {
- compatible = "pinconf-single";
- reg = <0x0 0xe896c800 0x0 0x200>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- pmu_cfg_func: pmu_cfg_func {
- pinctrl-single,pins = <
- 0x010 0x0 /* PMU1_SSI */
- 0x014 0x0 /* PMU2_SSI */
- 0x018 0x0 /* PMU_CLKOUT */
- 0x10c 0x0 /* PMU_HKADC_SSI */
- >;
- 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
- >;
- };
- i2c3_cfg_func: i2c3_cfg_func {
- pinctrl-single,pins = <
- 0x038 0x0 /* I2C3_SCL */
- 0x03c 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_02MA DRIVE6_MASK
- >;
- };
- csi0_pwd_n_cfg_func: csi0_pwd_n_cfg_func {
- pinctrl-single,pins = <
- 0x050 0x0 /* CSI0_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
- >;
- };
- csi1_pwd_n_cfg_func: csi1_pwd_n_cfg_func {
- pinctrl-single,pins = <
- 0x058 0x0 /* CSI1_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 = <
- 0x064 0x0 /* ISP_CLK0 */
- 0x070 0x0 /* ISP_SCL0 */
- 0x074 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 = <
- 0x068 0x0 /* ISP_CLK1 */
- 0x078 0x0 /* ISP_SCL1 */
- 0x07c 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
- >;
- };
- pwr_key_cfg_func: pwr_key_cfg_func {
- pinctrl-single,pins = <
- 0x08c 0x0 /* GPIO_034 */
- >;
- 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
- >;
- };
- uart1_cfg_func: uart1_cfg_func {
- pinctrl-single,pins = <
- 0x0b4 0x0 /* UART1_RXD */
- 0x0b8 0x0 /* UART1_TXD */
- 0x0bc 0x0 /* UART1_CTS_N */
- 0x0c0 0x0 /* UART1_RTS_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_02MA DRIVE6_MASK
- >;
- };
- uart2_cfg_func: uart2_cfg_func {
- pinctrl-single,pins = <
- 0x0c8 0x0 /* UART2_CTS_N */
- 0x0cc 0x0 /* UART2_RTS_N */
- 0x0d0 0x0 /* UART2_TXD */
- 0x0d4 0x0 /* UART2_RXD */
- >;
- 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
- >;
- };
- uart5_cfg_func: uart5_cfg_func {
- pinctrl-single,pins = <
- 0x0c8 0x0 /* UART5_RXD */
- 0x0cc 0x0 /* UART5_TXD */
- 0x0d0 0x0 /* UART5_CTS_N */
- 0x0d4 0x0 /* UART5_RTS_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_02MA DRIVE6_MASK
- >;
- };
- cam0_rst_cfg_func: cam0_rst_cfg_func {
- pinctrl-single,pins = <
- 0x0d4 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
- >;
- };
- uart0_cfg_func: uart0_cfg_func {
- pinctrl-single,pins = <
- 0x0d8 0x0 /* UART0_RXD */
- 0x0dc 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_02MA DRIVE6_MASK
- >;
- };
- uart6_cfg_func: uart6_cfg_func {
- pinctrl-single,pins = <
- 0x0d8 0x0 /* UART6_CTS_N */
- 0x0dc 0x0 /* UART6_RTS_N */
- 0x0e0 0x0 /* UART6_RXD */
- 0x0e4 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
- >;
- };
- uart3_cfg_func: uart3_cfg_func {
- pinctrl-single,pins = <
- 0x0e8 0x0 /* UART3_CTS_N */
- 0x0ec 0x0 /* UART3_RTS_N */
- 0x0f0 0x0 /* UART3_RXD */
- 0x0f4 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_02MA DRIVE6_MASK
- >;
- };
- uart4_cfg_func: uart4_cfg_func {
- pinctrl-single,pins = <
- 0x0f8 0x0 /* UART4_CTS_N */
- 0x0fc 0x0 /* UART4_RTS_N */
- 0x100 0x0 /* UART4_RXD */
- 0x104 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_02MA DRIVE6_MASK
- >;
- };
- cam1_rst_cfg_func: cam1_rst_cfg_func {
- pinctrl-single,pins = <
- 0x130 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
- >;
- };
- };
- pmx6: pinmux@ff3b6800 {
- compatible = "pinconf-single";
- reg = <0x0 0xff3b6800 0x0 0x18>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- ufs_cfg_func: ufs_cfg_func {
- pinctrl-single,pins = <
- 0x000 0x0 /* UFS_REF_CLK */
- 0x004 0x0 /* UFS_RST_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_08MA DRIVE6_MASK
- >;
- };
- spi3_cfg_func: spi3_cfg_func {
- pinctrl-single,pins = <
- 0x008 0x0 /* SPI3_CLK */
- 0x0 /* SPI3_DI */
- 0x010 0x0 /* SPI3_DO */
- 0x014 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_02MA DRIVE6_MASK
- >;
- };
- };
- pmx7: pinmux@ff3fd800 {
- compatible = "pinconf-single";
- reg = <0x0 0xff3fd800 0x0 0x18>;
- #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
- >;
- };
- };
- pmx8: pinmux@ff37e800 {
- compatible = "pinconf-single";
- reg = <0x0 0xff37e800 0x0 0x18>;
- #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
- >;
- };
- };
- pmx9: pinmux@fff11800 {
- compatible = "pinconf-single";
- reg = <0x0 0xfff11800 0x0 0xbc>;
- #pinctrl-cells = <1>;
- pinctrl-single,register-width = <0x20>;
- i2c0_cfg_func: i2c0_cfg_func {
- pinctrl-single,pins = <
- 0x01c 0x0 /* I2C0_SCL */
- 0x020 0x0 /* I2C0_SDA */
- >;
- 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
- >;
- };
- i2c1_cfg_func: i2c1_cfg_func {
- pinctrl-single,pins = <
- 0x024 0x0 /* I2C1_SCL */
- 0x028 0x0 /* I2C1_SDA */
- >;
- 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
- >;
- };
- i2c7_cfg_func: i2c7_cfg_func {
- pinctrl-single,pins = <
- 0x02c 0x0 /* I2C7_SCL */
- 0x030 0x0 /* I2C7_SDA */
- >;
- 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
- >;
- };
- slimbus_cfg_func: slimbus_cfg_func {
- pinctrl-single,pins = <
- 0x034 0x0 /* SLIMBUS_CLK */
- 0x038 0x0 /* SLIMBUS_DATA */
- >;
- 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
- >;
- };
- i2s0_cfg_func: i2s0_cfg_func {
- pinctrl-single,pins = <
- 0x040 0x0 /* I2S0_DI */
- 0x044 0x0 /* I2S0_DO */
- 0x048 0x0 /* I2S0_XCLK */
- 0x04c 0x0 /* I2S0_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
- >;
- };
- i2s2_cfg_func: i2s2_cfg_func {
- pinctrl-single,pins = <
- 0x050 0x0 /* I2S2_DI */
- 0x054 0x0 /* I2S2_DO */
- 0x058 0x0 /* I2S2_XCLK */
- 0x05c 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
- >;
- };
- pcie_cfg_func: pcie_cfg_func {
- pinctrl-single,pins = <
- 0x094 0x0 /* PCIE_CLKREQ_N */
- 0x098 0x0 /* PCIE_WAKE_N */
- >;
- 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
- >;
- };
- spi2_cfg_func: spi2_cfg_func {
- pinctrl-single,pins = <
- 0x09c 0x0 /* SPI2_CLK */
- 0x0a0 0x0 /* SPI2_DI */
- 0x0a4 0x0 /* SPI2_DO */
- 0x0a8 0x0 /* SPI2_CS0_N */
- >;
- 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_219 */
- >;
- 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
- >;
- };
- };
- };
- };
|