1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h> 7724ba675SRob Herring#include <arm64/rockchip/rockchip-pinconf.dtsi> 8724ba675SRob Herring 9724ba675SRob Herring/* 10724ba675SRob Herring * This file is auto generated by pin2dts tool, please keep these code 11724ba675SRob Herring * by adding changes at end of this file. 12724ba675SRob Herring */ 13724ba675SRob Herring&pinctrl { 14724ba675SRob Herring clk_out_ethernet { 15724ba675SRob Herring /omit-if-no-ref/ 16724ba675SRob Herring clk_out_ethernetm1_pins: clk-out-ethernetm1-pins { 17724ba675SRob Herring rockchip,pins = 18724ba675SRob Herring /* clk_out_ethernet_m1 */ 19724ba675SRob Herring <2 RK_PC5 2 &pcfg_pull_none>; 20724ba675SRob Herring }; 21724ba675SRob Herring }; 22724ba675SRob Herring emmc { 23724ba675SRob Herring /omit-if-no-ref/ 24724ba675SRob Herring emmc_rstnout: emmc-rstnout { 25724ba675SRob Herring rockchip,pins = 26724ba675SRob Herring /* emmc_rstn */ 27724ba675SRob Herring <1 RK_PA3 2 &pcfg_pull_none>; 28724ba675SRob Herring }; 29724ba675SRob Herring /omit-if-no-ref/ 30724ba675SRob Herring emmc_bus8: emmc-bus8 { 31724ba675SRob Herring rockchip,pins = 32724ba675SRob Herring /* emmc_d0 */ 33724ba675SRob Herring <0 RK_PC4 2 &pcfg_pull_up_drv_level_2>, 34724ba675SRob Herring /* emmc_d1 */ 35724ba675SRob Herring <0 RK_PC5 2 &pcfg_pull_up_drv_level_2>, 36724ba675SRob Herring /* emmc_d2 */ 37724ba675SRob Herring <0 RK_PC6 2 &pcfg_pull_up_drv_level_2>, 38724ba675SRob Herring /* emmc_d3 */ 39724ba675SRob Herring <0 RK_PC7 2 &pcfg_pull_up_drv_level_2>, 40724ba675SRob Herring /* emmc_d4 */ 41724ba675SRob Herring <0 RK_PD0 2 &pcfg_pull_up_drv_level_2>, 42724ba675SRob Herring /* emmc_d5 */ 43724ba675SRob Herring <0 RK_PD1 2 &pcfg_pull_up_drv_level_2>, 44724ba675SRob Herring /* emmc_d6 */ 45724ba675SRob Herring <0 RK_PD2 2 &pcfg_pull_up_drv_level_2>, 46724ba675SRob Herring /* emmc_d7 */ 47724ba675SRob Herring <0 RK_PD3 2 &pcfg_pull_up_drv_level_2>; 48724ba675SRob Herring }; 49724ba675SRob Herring /omit-if-no-ref/ 50724ba675SRob Herring emmc_clk: emmc-clk { 51724ba675SRob Herring rockchip,pins = 52724ba675SRob Herring /* emmc_clko */ 53724ba675SRob Herring <0 RK_PD7 2 &pcfg_pull_up_drv_level_2>; 54724ba675SRob Herring }; 55724ba675SRob Herring /omit-if-no-ref/ 56724ba675SRob Herring emmc_cmd: emmc-cmd { 57724ba675SRob Herring rockchip,pins = 58724ba675SRob Herring /* emmc_cmd */ 59724ba675SRob Herring <0 RK_PD5 2 &pcfg_pull_up_drv_level_2>; 60724ba675SRob Herring }; 61724ba675SRob Herring }; 62d91d25b1SJagan Teki fspi { 63d91d25b1SJagan Teki /omit-if-no-ref/ 64d91d25b1SJagan Teki fspi_pins: fspi-pins { 65d91d25b1SJagan Teki rockchip,pins = 66d91d25b1SJagan Teki /* fspi_clk */ 67d91d25b1SJagan Teki <1 RK_PA3 3 &pcfg_pull_down>, 68d91d25b1SJagan Teki /* fspi_cs0n */ 69d91d25b1SJagan Teki <0 RK_PD4 3 &pcfg_pull_up>, 70d91d25b1SJagan Teki /* fspi_d0 */ 71d91d25b1SJagan Teki <1 RK_PA0 3 &pcfg_pull_up>, 72d91d25b1SJagan Teki /* fspi_d1 */ 73d91d25b1SJagan Teki <1 RK_PA1 3 &pcfg_pull_up>, 74d91d25b1SJagan Teki /* fspi_d2 */ 75d91d25b1SJagan Teki <0 RK_PD6 3 &pcfg_pull_up>, 76d91d25b1SJagan Teki /* fspi_d3 */ 77d91d25b1SJagan Teki <1 RK_PA2 3 &pcfg_pull_up>; 78d91d25b1SJagan Teki }; 79d91d25b1SJagan Teki }; 80724ba675SRob Herring i2c0 { 81724ba675SRob Herring /omit-if-no-ref/ 82724ba675SRob Herring i2c0_xfer: i2c0-xfer { 83724ba675SRob Herring rockchip,pins = 84724ba675SRob Herring /* i2c0_scl */ 85724ba675SRob Herring <0 RK_PB4 1 &pcfg_pull_none_drv_level_0_smt>, 86724ba675SRob Herring /* i2c0_sda */ 87724ba675SRob Herring <0 RK_PB5 1 &pcfg_pull_none_drv_level_0_smt>; 88724ba675SRob Herring }; 89724ba675SRob Herring }; 905162bba5SJagan Teki pwm2 { 915162bba5SJagan Teki /omit-if-no-ref/ 925162bba5SJagan Teki pwm2m0_pins: pwm2m0-pins { 935162bba5SJagan Teki rockchip,pins = 945162bba5SJagan Teki /* pwm2_pin_m0 */ 955162bba5SJagan Teki <0 RK_PC0 3 &pcfg_pull_none>; 965162bba5SJagan Teki }; 975162bba5SJagan Teki }; 9861e510dbSJagan Teki pwm11 { 9961e510dbSJagan Teki /omit-if-no-ref/ 10061e510dbSJagan Teki pwm11m0_pins: pwm11m0-pins { 10161e510dbSJagan Teki rockchip,pins = 10261e510dbSJagan Teki /* pwm11_pin_m0 */ 10361e510dbSJagan Teki <3 RK_PA7 6 &pcfg_pull_none>; 10461e510dbSJagan Teki }; 10561e510dbSJagan Teki }; 106724ba675SRob Herring rgmii { 107724ba675SRob Herring /omit-if-no-ref/ 108724ba675SRob Herring rgmiim1_pins: rgmiim1-pins { 109724ba675SRob Herring rockchip,pins = 110724ba675SRob Herring /* rgmii_mdc_m1 */ 111724ba675SRob Herring <2 RK_PC2 2 &pcfg_pull_none>, 112724ba675SRob Herring /* rgmii_mdio_m1 */ 113724ba675SRob Herring <2 RK_PC1 2 &pcfg_pull_none>, 114724ba675SRob Herring /* rgmii_rxclk_m1 */ 115724ba675SRob Herring <2 RK_PD3 2 &pcfg_pull_none>, 116724ba675SRob Herring /* rgmii_rxd0_m1 */ 117724ba675SRob Herring <2 RK_PB5 2 &pcfg_pull_none>, 118724ba675SRob Herring /* rgmii_rxd1_m1 */ 119724ba675SRob Herring <2 RK_PB6 2 &pcfg_pull_none>, 120724ba675SRob Herring /* rgmii_rxd2_m1 */ 121724ba675SRob Herring <2 RK_PC7 2 &pcfg_pull_none>, 122724ba675SRob Herring /* rgmii_rxd3_m1 */ 123724ba675SRob Herring <2 RK_PD0 2 &pcfg_pull_none>, 124724ba675SRob Herring /* rgmii_rxdv_m1 */ 125724ba675SRob Herring <2 RK_PB4 2 &pcfg_pull_none>, 126724ba675SRob Herring /* rgmii_txclk_m1 */ 127724ba675SRob Herring <2 RK_PD2 2 &pcfg_pull_none_drv_level_3>, 128724ba675SRob Herring /* rgmii_txd0_m1 */ 129724ba675SRob Herring <2 RK_PC3 2 &pcfg_pull_none_drv_level_3>, 130724ba675SRob Herring /* rgmii_txd1_m1 */ 131724ba675SRob Herring <2 RK_PC4 2 &pcfg_pull_none_drv_level_3>, 132724ba675SRob Herring /* rgmii_txd2_m1 */ 133724ba675SRob Herring <2 RK_PD1 2 &pcfg_pull_none_drv_level_3>, 134724ba675SRob Herring /* rgmii_txd3_m1 */ 135724ba675SRob Herring <2 RK_PA4 2 &pcfg_pull_none_drv_level_3>, 136724ba675SRob Herring /* rgmii_txen_m1 */ 137724ba675SRob Herring <2 RK_PC6 2 &pcfg_pull_none_drv_level_3>; 138724ba675SRob Herring }; 139724ba675SRob Herring }; 140724ba675SRob Herring sdmmc0 { 141724ba675SRob Herring /omit-if-no-ref/ 142724ba675SRob Herring sdmmc0_bus4: sdmmc0-bus4 { 143724ba675SRob Herring rockchip,pins = 144724ba675SRob Herring /* sdmmc0_d0 */ 145724ba675SRob Herring <1 RK_PA4 1 &pcfg_pull_up_drv_level_2>, 146724ba675SRob Herring /* sdmmc0_d1 */ 147724ba675SRob Herring <1 RK_PA5 1 &pcfg_pull_up_drv_level_2>, 148724ba675SRob Herring /* sdmmc0_d2 */ 149724ba675SRob Herring <1 RK_PA6 1 &pcfg_pull_up_drv_level_2>, 150724ba675SRob Herring /* sdmmc0_d3 */ 151724ba675SRob Herring <1 RK_PA7 1 &pcfg_pull_up_drv_level_2>; 152724ba675SRob Herring }; 153724ba675SRob Herring /omit-if-no-ref/ 154724ba675SRob Herring sdmmc0_clk: sdmmc0-clk { 155724ba675SRob Herring rockchip,pins = 156724ba675SRob Herring /* sdmmc0_clk */ 157724ba675SRob Herring <1 RK_PB0 1 &pcfg_pull_up_drv_level_2>; 158724ba675SRob Herring }; 159724ba675SRob Herring /omit-if-no-ref/ 160724ba675SRob Herring sdmmc0_cmd: sdmmc0-cmd { 161724ba675SRob Herring rockchip,pins = 162724ba675SRob Herring /* sdmmc0_cmd */ 163724ba675SRob Herring <1 RK_PB1 1 &pcfg_pull_up_drv_level_2>; 164724ba675SRob Herring }; 165724ba675SRob Herring /omit-if-no-ref/ 166724ba675SRob Herring sdmmc0_det: sdmmc0-det { 167724ba675SRob Herring rockchip,pins = 168724ba675SRob Herring <0 RK_PA3 1 &pcfg_pull_none>; 169724ba675SRob Herring }; 170724ba675SRob Herring /omit-if-no-ref/ 171724ba675SRob Herring sdmmc0_pwr: sdmmc0-pwr { 172724ba675SRob Herring rockchip,pins = 173724ba675SRob Herring <0 RK_PC0 1 &pcfg_pull_none>; 174724ba675SRob Herring }; 175724ba675SRob Herring }; 176724ba675SRob Herring sdmmc1 { 177724ba675SRob Herring /omit-if-no-ref/ 178724ba675SRob Herring sdmmc1_bus4: sdmmc1-bus4 { 179724ba675SRob Herring rockchip,pins = 180724ba675SRob Herring /* sdmmc1_d0 */ 181724ba675SRob Herring <1 RK_PB4 1 &pcfg_pull_up_drv_level_2>, 182724ba675SRob Herring /* sdmmc1_d1 */ 183724ba675SRob Herring <1 RK_PB5 1 &pcfg_pull_up_drv_level_2>, 184724ba675SRob Herring /* sdmmc1_d2 */ 185724ba675SRob Herring <1 RK_PB6 1 &pcfg_pull_up_drv_level_2>, 186724ba675SRob Herring /* sdmmc1_d3 */ 187724ba675SRob Herring <1 RK_PB7 1 &pcfg_pull_up_drv_level_2>; 188724ba675SRob Herring }; 189724ba675SRob Herring /omit-if-no-ref/ 190724ba675SRob Herring sdmmc1_clk: sdmmc1-clk { 191724ba675SRob Herring rockchip,pins = 192724ba675SRob Herring /* sdmmc1_clk */ 193724ba675SRob Herring <1 RK_PB2 1 &pcfg_pull_up_drv_level_2>; 194724ba675SRob Herring }; 195724ba675SRob Herring /omit-if-no-ref/ 196724ba675SRob Herring sdmmc1_cmd: sdmmc1-cmd { 197724ba675SRob Herring rockchip,pins = 198724ba675SRob Herring /* sdmmc1_cmd */ 199724ba675SRob Herring <1 RK_PB3 1 &pcfg_pull_up_drv_level_2>; 200724ba675SRob Herring }; 201724ba675SRob Herring /omit-if-no-ref/ 202724ba675SRob Herring sdmmc1_det: sdmmc1-det { 203724ba675SRob Herring rockchip,pins = 204724ba675SRob Herring <1 RK_PD0 2 &pcfg_pull_none>; 205724ba675SRob Herring }; 206724ba675SRob Herring /omit-if-no-ref/ 207724ba675SRob Herring sdmmc1_pwr: sdmmc1-pwr { 208724ba675SRob Herring rockchip,pins = 209724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_none>; 210724ba675SRob Herring }; 211724ba675SRob Herring }; 212724ba675SRob Herring uart0 { 213724ba675SRob Herring /omit-if-no-ref/ 214724ba675SRob Herring uart0_xfer: uart0-xfer { 215724ba675SRob Herring rockchip,pins = 216724ba675SRob Herring /* uart0_rx */ 217724ba675SRob Herring <1 RK_PC2 1 &pcfg_pull_up>, 218724ba675SRob Herring /* uart0_tx */ 219724ba675SRob Herring <1 RK_PC3 1 &pcfg_pull_up>; 220724ba675SRob Herring }; 221724ba675SRob Herring /omit-if-no-ref/ 222724ba675SRob Herring uart0_ctsn: uart0-ctsn { 223724ba675SRob Herring rockchip,pins = 224724ba675SRob Herring <1 RK_PC1 1 &pcfg_pull_none>; 225724ba675SRob Herring }; 226724ba675SRob Herring /omit-if-no-ref/ 227724ba675SRob Herring uart0_rtsn: uart0-rtsn { 228724ba675SRob Herring rockchip,pins = 229724ba675SRob Herring <1 RK_PC0 1 &pcfg_pull_none>; 230724ba675SRob Herring }; 231724ba675SRob Herring /omit-if-no-ref/ 232724ba675SRob Herring uart0_rtsn_gpio: uart0-rts-pin { 233724ba675SRob Herring rockchip,pins = 234724ba675SRob Herring <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; 235724ba675SRob Herring }; 236724ba675SRob Herring }; 237724ba675SRob Herring uart1 { 238724ba675SRob Herring /omit-if-no-ref/ 239724ba675SRob Herring uart1m0_xfer: uart1m0-xfer { 240724ba675SRob Herring rockchip,pins = 241724ba675SRob Herring /* uart1_rx_m0 */ 242724ba675SRob Herring <0 RK_PB7 2 &pcfg_pull_up>, 243724ba675SRob Herring /* uart1_tx_m0 */ 244724ba675SRob Herring <0 RK_PB6 2 &pcfg_pull_up>; 245724ba675SRob Herring }; 246724ba675SRob Herring }; 247724ba675SRob Herring uart2 { 248724ba675SRob Herring /omit-if-no-ref/ 249724ba675SRob Herring uart2m1_xfer: uart2m1-xfer { 250724ba675SRob Herring rockchip,pins = 251724ba675SRob Herring /* uart2_rx_m1 */ 252724ba675SRob Herring <3 RK_PA3 1 &pcfg_pull_up>, 253724ba675SRob Herring /* uart2_tx_m1 */ 254724ba675SRob Herring <3 RK_PA2 1 &pcfg_pull_up>; 255724ba675SRob Herring }; 256724ba675SRob Herring }; 257724ba675SRob Herring uart3 { 258724ba675SRob Herring /omit-if-no-ref/ 259724ba675SRob Herring uart3m0_xfer: uart3m0-xfer { 260724ba675SRob Herring rockchip,pins = 261724ba675SRob Herring /* uart3_rx_m0 */ 262724ba675SRob Herring <3 RK_PC7 4 &pcfg_pull_up>, 263724ba675SRob Herring /* uart3_tx_m0 */ 264724ba675SRob Herring <3 RK_PC6 4 &pcfg_pull_up>; 265724ba675SRob Herring }; 266*2d93f9dcSTim Lunn /omit-if-no-ref/ 267*2d93f9dcSTim Lunn uart3m2_xfer: uart3m2-xfer { 268*2d93f9dcSTim Lunn rockchip,pins = 269*2d93f9dcSTim Lunn /* uart3_rx_m2 */ 270*2d93f9dcSTim Lunn <3 RK_PA1 4 &pcfg_pull_up>, 271*2d93f9dcSTim Lunn /* uart3_tx_m2 */ 272*2d93f9dcSTim Lunn <3 RK_PA0 4 &pcfg_pull_up>; 273*2d93f9dcSTim Lunn }; 274724ba675SRob Herring }; 275724ba675SRob Herring uart4 { 276724ba675SRob Herring /omit-if-no-ref/ 277724ba675SRob Herring uart4m0_xfer: uart4m0-xfer { 278724ba675SRob Herring rockchip,pins = 279724ba675SRob Herring /* uart4_rx_m0 */ 280724ba675SRob Herring <3 RK_PA5 4 &pcfg_pull_up>, 281724ba675SRob Herring /* uart4_tx_m0 */ 282724ba675SRob Herring <3 RK_PA4 4 &pcfg_pull_up>; 283724ba675SRob Herring }; 284*2d93f9dcSTim Lunn /omit-if-no-ref/ 285*2d93f9dcSTim Lunn uart4m2_xfer: uart4m2-xfer { 286*2d93f9dcSTim Lunn rockchip,pins = 287*2d93f9dcSTim Lunn /* uart4_rx_m2 */ 288*2d93f9dcSTim Lunn <1 RK_PD4 3 &pcfg_pull_up>, 289*2d93f9dcSTim Lunn /* uart4_tx_m2 */ 290*2d93f9dcSTim Lunn <1 RK_PD5 3 &pcfg_pull_up>; 291*2d93f9dcSTim Lunn }; 292724ba675SRob Herring }; 293724ba675SRob Herring uart5 { 294724ba675SRob Herring /omit-if-no-ref/ 295724ba675SRob Herring uart5m0_xfer: uart5m0-xfer { 296724ba675SRob Herring rockchip,pins = 297724ba675SRob Herring /* uart5_rx_m0 */ 298724ba675SRob Herring <3 RK_PA7 4 &pcfg_pull_up>, 299724ba675SRob Herring /* uart5_tx_m0 */ 300724ba675SRob Herring <3 RK_PA6 4 &pcfg_pull_up>; 301724ba675SRob Herring }; 302753c8a7dSJagan Teki /omit-if-no-ref/ 303753c8a7dSJagan Teki uart5m2_xfer: uart5m2-xfer { 304753c8a7dSJagan Teki rockchip,pins = 305753c8a7dSJagan Teki /* uart5_rx_m2 */ 306753c8a7dSJagan Teki <2 RK_PA1 3 &pcfg_pull_up>, 307753c8a7dSJagan Teki /* uart5_tx_m2 */ 308753c8a7dSJagan Teki <2 RK_PA0 3 &pcfg_pull_up>; 309753c8a7dSJagan Teki }; 310724ba675SRob Herring }; 311724ba675SRob Herring}; 312