1*51cb23d4SPatrice Chotard/* 2*51cb23d4SPatrice Chotard * Copyright (C) 2014 STMicroelectronics Limited. 3*51cb23d4SPatrice Chotard * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> 4*51cb23d4SPatrice Chotard * 5*51cb23d4SPatrice Chotard * This program is free software; you can redistribute it and/or modify 6*51cb23d4SPatrice Chotard * it under the terms of the GNU General Public License version 2 as 7*51cb23d4SPatrice Chotard * publishhed by the Free Software Foundation. 8*51cb23d4SPatrice Chotard */ 9*51cb23d4SPatrice Chotard#include "st-pincfg.h" 10*51cb23d4SPatrice Chotard#include <dt-bindings/interrupt-controller/arm-gic.h> 11*51cb23d4SPatrice Chotard/ { 12*51cb23d4SPatrice Chotard 13*51cb23d4SPatrice Chotard aliases { 14*51cb23d4SPatrice Chotard /* 0-5: PIO_SBC */ 15*51cb23d4SPatrice Chotard gpio0 = &pio0; 16*51cb23d4SPatrice Chotard gpio1 = &pio1; 17*51cb23d4SPatrice Chotard gpio2 = &pio2; 18*51cb23d4SPatrice Chotard gpio3 = &pio3; 19*51cb23d4SPatrice Chotard gpio4 = &pio4; 20*51cb23d4SPatrice Chotard gpio5 = &pio5; 21*51cb23d4SPatrice Chotard /* 10-19: PIO_FRONT0 */ 22*51cb23d4SPatrice Chotard gpio6 = &pio10; 23*51cb23d4SPatrice Chotard gpio7 = &pio11; 24*51cb23d4SPatrice Chotard gpio8 = &pio12; 25*51cb23d4SPatrice Chotard gpio9 = &pio13; 26*51cb23d4SPatrice Chotard gpio10 = &pio14; 27*51cb23d4SPatrice Chotard gpio11 = &pio15; 28*51cb23d4SPatrice Chotard gpio12 = &pio16; 29*51cb23d4SPatrice Chotard gpio13 = &pio17; 30*51cb23d4SPatrice Chotard gpio14 = &pio18; 31*51cb23d4SPatrice Chotard gpio15 = &pio19; 32*51cb23d4SPatrice Chotard /* 20: PIO_FRONT1 */ 33*51cb23d4SPatrice Chotard gpio16 = &pio20; 34*51cb23d4SPatrice Chotard /* 30-35: PIO_REAR */ 35*51cb23d4SPatrice Chotard gpio17 = &pio30; 36*51cb23d4SPatrice Chotard gpio18 = &pio31; 37*51cb23d4SPatrice Chotard gpio19 = &pio32; 38*51cb23d4SPatrice Chotard gpio20 = &pio33; 39*51cb23d4SPatrice Chotard gpio21 = &pio34; 40*51cb23d4SPatrice Chotard gpio22 = &pio35; 41*51cb23d4SPatrice Chotard /* 40-42: PIO_FLASH */ 42*51cb23d4SPatrice Chotard gpio23 = &pio40; 43*51cb23d4SPatrice Chotard gpio24 = &pio41; 44*51cb23d4SPatrice Chotard gpio25 = &pio42; 45*51cb23d4SPatrice Chotard }; 46*51cb23d4SPatrice Chotard 47*51cb23d4SPatrice Chotard soc { 48*51cb23d4SPatrice Chotard pin-controller-sbc { 49*51cb23d4SPatrice Chotard #address-cells = <1>; 50*51cb23d4SPatrice Chotard #size-cells = <1>; 51*51cb23d4SPatrice Chotard compatible = "st,stih407-sbc-pinctrl"; 52*51cb23d4SPatrice Chotard st,syscfg = <&syscfg_sbc>; 53*51cb23d4SPatrice Chotard reg = <0x0961f080 0x4>; 54*51cb23d4SPatrice Chotard reg-names = "irqmux"; 55*51cb23d4SPatrice Chotard interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>; 56*51cb23d4SPatrice Chotard interrupt-names = "irqmux"; 57*51cb23d4SPatrice Chotard ranges = <0 0x09610000 0x6000>; 58*51cb23d4SPatrice Chotard 59*51cb23d4SPatrice Chotard pio0: gpio@09610000 { 60*51cb23d4SPatrice Chotard gpio-controller; 61*51cb23d4SPatrice Chotard #gpio-cells = <2>; 62*51cb23d4SPatrice Chotard interrupt-controller; 63*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 64*51cb23d4SPatrice Chotard reg = <0x0 0x100>; 65*51cb23d4SPatrice Chotard st,bank-name = "PIO0"; 66*51cb23d4SPatrice Chotard }; 67*51cb23d4SPatrice Chotard pio1: gpio@09611000 { 68*51cb23d4SPatrice Chotard gpio-controller; 69*51cb23d4SPatrice Chotard #gpio-cells = <2>; 70*51cb23d4SPatrice Chotard interrupt-controller; 71*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 72*51cb23d4SPatrice Chotard reg = <0x1000 0x100>; 73*51cb23d4SPatrice Chotard st,bank-name = "PIO1"; 74*51cb23d4SPatrice Chotard }; 75*51cb23d4SPatrice Chotard pio2: gpio@09612000 { 76*51cb23d4SPatrice Chotard gpio-controller; 77*51cb23d4SPatrice Chotard #gpio-cells = <2>; 78*51cb23d4SPatrice Chotard interrupt-controller; 79*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 80*51cb23d4SPatrice Chotard reg = <0x2000 0x100>; 81*51cb23d4SPatrice Chotard st,bank-name = "PIO2"; 82*51cb23d4SPatrice Chotard }; 83*51cb23d4SPatrice Chotard pio3: gpio@09613000 { 84*51cb23d4SPatrice Chotard gpio-controller; 85*51cb23d4SPatrice Chotard #gpio-cells = <2>; 86*51cb23d4SPatrice Chotard interrupt-controller; 87*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 88*51cb23d4SPatrice Chotard reg = <0x3000 0x100>; 89*51cb23d4SPatrice Chotard st,bank-name = "PIO3"; 90*51cb23d4SPatrice Chotard }; 91*51cb23d4SPatrice Chotard pio4: gpio@09614000 { 92*51cb23d4SPatrice Chotard gpio-controller; 93*51cb23d4SPatrice Chotard #gpio-cells = <2>; 94*51cb23d4SPatrice Chotard interrupt-controller; 95*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 96*51cb23d4SPatrice Chotard reg = <0x4000 0x100>; 97*51cb23d4SPatrice Chotard st,bank-name = "PIO4"; 98*51cb23d4SPatrice Chotard }; 99*51cb23d4SPatrice Chotard 100*51cb23d4SPatrice Chotard pio5: gpio@09615000 { 101*51cb23d4SPatrice Chotard gpio-controller; 102*51cb23d4SPatrice Chotard #gpio-cells = <2>; 103*51cb23d4SPatrice Chotard interrupt-controller; 104*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 105*51cb23d4SPatrice Chotard reg = <0x5000 0x100>; 106*51cb23d4SPatrice Chotard st,bank-name = "PIO5"; 107*51cb23d4SPatrice Chotard st,retime-pin-mask = <0x3f>; 108*51cb23d4SPatrice Chotard }; 109*51cb23d4SPatrice Chotard 110*51cb23d4SPatrice Chotard cec0 { 111*51cb23d4SPatrice Chotard pinctrl_cec0_default: cec0-default { 112*51cb23d4SPatrice Chotard st,pins { 113*51cb23d4SPatrice Chotard hdmi_cec = <&pio2 4 ALT1 BIDIR>; 114*51cb23d4SPatrice Chotard }; 115*51cb23d4SPatrice Chotard }; 116*51cb23d4SPatrice Chotard }; 117*51cb23d4SPatrice Chotard 118*51cb23d4SPatrice Chotard rc { 119*51cb23d4SPatrice Chotard pinctrl_ir: ir0 { 120*51cb23d4SPatrice Chotard st,pins { 121*51cb23d4SPatrice Chotard ir = <&pio4 0 ALT2 IN>; 122*51cb23d4SPatrice Chotard }; 123*51cb23d4SPatrice Chotard }; 124*51cb23d4SPatrice Chotard 125*51cb23d4SPatrice Chotard pinctrl_uhf: uhf0 { 126*51cb23d4SPatrice Chotard st,pins { 127*51cb23d4SPatrice Chotard ir = <&pio4 1 ALT2 IN>; 128*51cb23d4SPatrice Chotard }; 129*51cb23d4SPatrice Chotard }; 130*51cb23d4SPatrice Chotard 131*51cb23d4SPatrice Chotard pinctrl_tx: tx0 { 132*51cb23d4SPatrice Chotard st,pins { 133*51cb23d4SPatrice Chotard tx = <&pio4 2 ALT2 OUT>; 134*51cb23d4SPatrice Chotard }; 135*51cb23d4SPatrice Chotard }; 136*51cb23d4SPatrice Chotard 137*51cb23d4SPatrice Chotard pinctrl_tx_od: tx_od0 { 138*51cb23d4SPatrice Chotard st,pins { 139*51cb23d4SPatrice Chotard tx_od = <&pio4 3 ALT2 OUT>; 140*51cb23d4SPatrice Chotard }; 141*51cb23d4SPatrice Chotard }; 142*51cb23d4SPatrice Chotard }; 143*51cb23d4SPatrice Chotard 144*51cb23d4SPatrice Chotard /* SBC_ASC0 - UART10 */ 145*51cb23d4SPatrice Chotard sbc_serial0 { 146*51cb23d4SPatrice Chotard pinctrl_sbc_serial0: sbc_serial0-0 { 147*51cb23d4SPatrice Chotard st,pins { 148*51cb23d4SPatrice Chotard tx = <&pio3 4 ALT1 OUT>; 149*51cb23d4SPatrice Chotard rx = <&pio3 5 ALT1 IN>; 150*51cb23d4SPatrice Chotard }; 151*51cb23d4SPatrice Chotard }; 152*51cb23d4SPatrice Chotard }; 153*51cb23d4SPatrice Chotard /* SBC_ASC1 - UART11 */ 154*51cb23d4SPatrice Chotard sbc_serial1 { 155*51cb23d4SPatrice Chotard pinctrl_sbc_serial1: sbc_serial1-0 { 156*51cb23d4SPatrice Chotard st,pins { 157*51cb23d4SPatrice Chotard tx = <&pio2 6 ALT3 OUT>; 158*51cb23d4SPatrice Chotard rx = <&pio2 7 ALT3 IN>; 159*51cb23d4SPatrice Chotard }; 160*51cb23d4SPatrice Chotard }; 161*51cb23d4SPatrice Chotard }; 162*51cb23d4SPatrice Chotard 163*51cb23d4SPatrice Chotard i2c10 { 164*51cb23d4SPatrice Chotard pinctrl_i2c10_default: i2c10-default { 165*51cb23d4SPatrice Chotard st,pins { 166*51cb23d4SPatrice Chotard sda = <&pio4 6 ALT1 BIDIR>; 167*51cb23d4SPatrice Chotard scl = <&pio4 5 ALT1 BIDIR>; 168*51cb23d4SPatrice Chotard }; 169*51cb23d4SPatrice Chotard }; 170*51cb23d4SPatrice Chotard }; 171*51cb23d4SPatrice Chotard 172*51cb23d4SPatrice Chotard i2c11 { 173*51cb23d4SPatrice Chotard pinctrl_i2c11_default: i2c11-default { 174*51cb23d4SPatrice Chotard st,pins { 175*51cb23d4SPatrice Chotard sda = <&pio5 1 ALT1 BIDIR>; 176*51cb23d4SPatrice Chotard scl = <&pio5 0 ALT1 BIDIR>; 177*51cb23d4SPatrice Chotard }; 178*51cb23d4SPatrice Chotard }; 179*51cb23d4SPatrice Chotard }; 180*51cb23d4SPatrice Chotard 181*51cb23d4SPatrice Chotard keyscan { 182*51cb23d4SPatrice Chotard pinctrl_keyscan: keyscan { 183*51cb23d4SPatrice Chotard st,pins { 184*51cb23d4SPatrice Chotard keyin0 = <&pio4 0 ALT6 IN>; 185*51cb23d4SPatrice Chotard keyin1 = <&pio4 5 ALT4 IN>; 186*51cb23d4SPatrice Chotard keyin2 = <&pio0 4 ALT2 IN>; 187*51cb23d4SPatrice Chotard keyin3 = <&pio2 6 ALT2 IN>; 188*51cb23d4SPatrice Chotard 189*51cb23d4SPatrice Chotard keyout0 = <&pio4 6 ALT4 OUT>; 190*51cb23d4SPatrice Chotard keyout1 = <&pio1 7 ALT2 OUT>; 191*51cb23d4SPatrice Chotard keyout2 = <&pio0 6 ALT2 OUT>; 192*51cb23d4SPatrice Chotard keyout3 = <&pio2 7 ALT2 OUT>; 193*51cb23d4SPatrice Chotard }; 194*51cb23d4SPatrice Chotard }; 195*51cb23d4SPatrice Chotard }; 196*51cb23d4SPatrice Chotard 197*51cb23d4SPatrice Chotard gmac1 { 198*51cb23d4SPatrice Chotard /* 199*51cb23d4SPatrice Chotard * Almost all the boards based on STiH407 SoC have an embedded 200*51cb23d4SPatrice Chotard * switch where the mdio/mdc have been used for managing the SMI 201*51cb23d4SPatrice Chotard * iface via I2C. For this reason these lines can be allocated 202*51cb23d4SPatrice Chotard * by using dedicated configuration (in case of there will be a 203*51cb23d4SPatrice Chotard * standard PHY transceiver on-board). 204*51cb23d4SPatrice Chotard */ 205*51cb23d4SPatrice Chotard pinctrl_rgmii1: rgmii1-0 { 206*51cb23d4SPatrice Chotard st,pins { 207*51cb23d4SPatrice Chotard 208*51cb23d4SPatrice Chotard txd0 = <&pio0 0 ALT1 OUT DE_IO 0 CLK_A>; 209*51cb23d4SPatrice Chotard txd1 = <&pio0 1 ALT1 OUT DE_IO 0 CLK_A>; 210*51cb23d4SPatrice Chotard txd2 = <&pio0 2 ALT1 OUT DE_IO 0 CLK_A>; 211*51cb23d4SPatrice Chotard txd3 = <&pio0 3 ALT1 OUT DE_IO 0 CLK_A>; 212*51cb23d4SPatrice Chotard txen = <&pio0 5 ALT1 OUT DE_IO 0 CLK_A>; 213*51cb23d4SPatrice Chotard txclk = <&pio0 6 ALT1 IN NICLK 0 CLK_A>; 214*51cb23d4SPatrice Chotard rxd0 = <&pio1 4 ALT1 IN DE_IO 0 CLK_A>; 215*51cb23d4SPatrice Chotard rxd1 = <&pio1 5 ALT1 IN DE_IO 0 CLK_A>; 216*51cb23d4SPatrice Chotard rxd2 = <&pio1 6 ALT1 IN DE_IO 0 CLK_A>; 217*51cb23d4SPatrice Chotard rxd3 = <&pio1 7 ALT1 IN DE_IO 0 CLK_A>; 218*51cb23d4SPatrice Chotard rxdv = <&pio2 0 ALT1 IN DE_IO 0 CLK_A>; 219*51cb23d4SPatrice Chotard rxclk = <&pio2 2 ALT1 IN NICLK 0 CLK_A>; 220*51cb23d4SPatrice Chotard clk125 = <&pio3 7 ALT4 IN NICLK 0 CLK_A>; 221*51cb23d4SPatrice Chotard phyclk = <&pio2 3 ALT4 OUT NICLK 1250 CLK_B>; 222*51cb23d4SPatrice Chotard }; 223*51cb23d4SPatrice Chotard }; 224*51cb23d4SPatrice Chotard 225*51cb23d4SPatrice Chotard pinctrl_rgmii1_mdio: rgmii1-mdio { 226*51cb23d4SPatrice Chotard st,pins { 227*51cb23d4SPatrice Chotard mdio = <&pio1 0 ALT1 OUT BYPASS 0>; 228*51cb23d4SPatrice Chotard mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>; 229*51cb23d4SPatrice Chotard mdint = <&pio1 3 ALT1 IN BYPASS 0>; 230*51cb23d4SPatrice Chotard }; 231*51cb23d4SPatrice Chotard }; 232*51cb23d4SPatrice Chotard 233*51cb23d4SPatrice Chotard pinctrl_rgmii1_mdio_1: rgmii1-mdio-1 { 234*51cb23d4SPatrice Chotard st,pins { 235*51cb23d4SPatrice Chotard mdio = <&pio1 0 ALT1 OUT BYPASS 0>; 236*51cb23d4SPatrice Chotard mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>; 237*51cb23d4SPatrice Chotard }; 238*51cb23d4SPatrice Chotard }; 239*51cb23d4SPatrice Chotard 240*51cb23d4SPatrice Chotard pinctrl_mii1: mii1 { 241*51cb23d4SPatrice Chotard st,pins { 242*51cb23d4SPatrice Chotard txd0 = <&pio0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 243*51cb23d4SPatrice Chotard txd1 = <&pio0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 244*51cb23d4SPatrice Chotard txd2 = <&pio0 2 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 245*51cb23d4SPatrice Chotard txd3 = <&pio0 3 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 246*51cb23d4SPatrice Chotard txer = <&pio0 4 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 247*51cb23d4SPatrice Chotard txen = <&pio0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 248*51cb23d4SPatrice Chotard txclk = <&pio0 6 ALT1 IN NICLK 0 CLK_A>; 249*51cb23d4SPatrice Chotard col = <&pio0 7 ALT1 IN BYPASS 1000>; 250*51cb23d4SPatrice Chotard 251*51cb23d4SPatrice Chotard mdio = <&pio1 0 ALT1 OUT BYPASS 1500>; 252*51cb23d4SPatrice Chotard mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>; 253*51cb23d4SPatrice Chotard crs = <&pio1 2 ALT1 IN BYPASS 1000>; 254*51cb23d4SPatrice Chotard mdint = <&pio1 3 ALT1 IN BYPASS 0>; 255*51cb23d4SPatrice Chotard rxd0 = <&pio1 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 256*51cb23d4SPatrice Chotard rxd1 = <&pio1 5 ALT1 IN SE_NICLK_IO 0 CLK_A>; 257*51cb23d4SPatrice Chotard rxd2 = <&pio1 6 ALT1 IN SE_NICLK_IO 0 CLK_A>; 258*51cb23d4SPatrice Chotard rxd3 = <&pio1 7 ALT1 IN SE_NICLK_IO 0 CLK_A>; 259*51cb23d4SPatrice Chotard 260*51cb23d4SPatrice Chotard rxdv = <&pio2 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 261*51cb23d4SPatrice Chotard rx_er = <&pio2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 262*51cb23d4SPatrice Chotard rxclk = <&pio2 2 ALT1 IN NICLK 0 CLK_A>; 263*51cb23d4SPatrice Chotard phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>; 264*51cb23d4SPatrice Chotard }; 265*51cb23d4SPatrice Chotard }; 266*51cb23d4SPatrice Chotard 267*51cb23d4SPatrice Chotard pinctrl_rmii1: rmii1-0 { 268*51cb23d4SPatrice Chotard st,pins { 269*51cb23d4SPatrice Chotard txd0 = <&pio0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 270*51cb23d4SPatrice Chotard txd1 = <&pio0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 271*51cb23d4SPatrice Chotard txen = <&pio0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 272*51cb23d4SPatrice Chotard mdio = <&pio1 0 ALT1 OUT BYPASS 0>; 273*51cb23d4SPatrice Chotard mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>; 274*51cb23d4SPatrice Chotard mdint = <&pio1 3 ALT1 IN BYPASS 0>; 275*51cb23d4SPatrice Chotard rxd0 = <&pio1 4 ALT1 IN SE_NICLK_IO 0 CLK_B>; 276*51cb23d4SPatrice Chotard rxd1 = <&pio1 5 ALT1 IN SE_NICLK_IO 0 CLK_B>; 277*51cb23d4SPatrice Chotard rxdv = <&pio2 0 ALT1 IN SE_NICLK_IO 0 CLK_B>; 278*51cb23d4SPatrice Chotard rx_er = <&pio2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 279*51cb23d4SPatrice Chotard }; 280*51cb23d4SPatrice Chotard }; 281*51cb23d4SPatrice Chotard 282*51cb23d4SPatrice Chotard pinctrl_rmii1_phyclk: rmii1_phyclk { 283*51cb23d4SPatrice Chotard st,pins { 284*51cb23d4SPatrice Chotard phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>; 285*51cb23d4SPatrice Chotard }; 286*51cb23d4SPatrice Chotard }; 287*51cb23d4SPatrice Chotard 288*51cb23d4SPatrice Chotard pinctrl_rmii1_phyclk_ext: rmii1_phyclk_ext { 289*51cb23d4SPatrice Chotard st,pins { 290*51cb23d4SPatrice Chotard phyclk = <&pio2 3 ALT2 IN NICLK 0 CLK_A>; 291*51cb23d4SPatrice Chotard }; 292*51cb23d4SPatrice Chotard }; 293*51cb23d4SPatrice Chotard }; 294*51cb23d4SPatrice Chotard 295*51cb23d4SPatrice Chotard pwm1 { 296*51cb23d4SPatrice Chotard pinctrl_pwm1_chan0_default: pwm1-0-default { 297*51cb23d4SPatrice Chotard st,pins { 298*51cb23d4SPatrice Chotard pwm-out = <&pio3 0 ALT1 OUT>; 299*51cb23d4SPatrice Chotard pwm-capturein = <&pio3 2 ALT1 IN>; 300*51cb23d4SPatrice Chotard }; 301*51cb23d4SPatrice Chotard }; 302*51cb23d4SPatrice Chotard pinctrl_pwm1_chan1_default: pwm1-1-default { 303*51cb23d4SPatrice Chotard st,pins { 304*51cb23d4SPatrice Chotard pwm-capturein = <&pio4 3 ALT1 IN>; 305*51cb23d4SPatrice Chotard pwm-out = <&pio4 4 ALT1 OUT>; 306*51cb23d4SPatrice Chotard }; 307*51cb23d4SPatrice Chotard }; 308*51cb23d4SPatrice Chotard pinctrl_pwm1_chan2_default: pwm1-2-default { 309*51cb23d4SPatrice Chotard st,pins { 310*51cb23d4SPatrice Chotard pwm-out = <&pio4 6 ALT3 OUT>; 311*51cb23d4SPatrice Chotard }; 312*51cb23d4SPatrice Chotard }; 313*51cb23d4SPatrice Chotard pinctrl_pwm1_chan3_default: pwm1-3-default { 314*51cb23d4SPatrice Chotard st,pins { 315*51cb23d4SPatrice Chotard pwm-out = <&pio4 7 ALT3 OUT>; 316*51cb23d4SPatrice Chotard }; 317*51cb23d4SPatrice Chotard }; 318*51cb23d4SPatrice Chotard }; 319*51cb23d4SPatrice Chotard 320*51cb23d4SPatrice Chotard spi10 { 321*51cb23d4SPatrice Chotard pinctrl_spi10_default: spi10-4w-alt1-0 { 322*51cb23d4SPatrice Chotard st,pins { 323*51cb23d4SPatrice Chotard mtsr = <&pio4 6 ALT1 OUT>; 324*51cb23d4SPatrice Chotard mrst = <&pio4 7 ALT1 IN>; 325*51cb23d4SPatrice Chotard scl = <&pio4 5 ALT1 OUT>; 326*51cb23d4SPatrice Chotard }; 327*51cb23d4SPatrice Chotard }; 328*51cb23d4SPatrice Chotard 329*51cb23d4SPatrice Chotard pinctrl_spi10_3w_alt1_0: spi10-3w-alt1-0 { 330*51cb23d4SPatrice Chotard st,pins { 331*51cb23d4SPatrice Chotard mtsr = <&pio4 6 ALT1 BIDIR_PU>; 332*51cb23d4SPatrice Chotard scl = <&pio4 5 ALT1 OUT>; 333*51cb23d4SPatrice Chotard }; 334*51cb23d4SPatrice Chotard }; 335*51cb23d4SPatrice Chotard }; 336*51cb23d4SPatrice Chotard 337*51cb23d4SPatrice Chotard spi11 { 338*51cb23d4SPatrice Chotard pinctrl_spi11_default: spi11-4w-alt2-0 { 339*51cb23d4SPatrice Chotard st,pins { 340*51cb23d4SPatrice Chotard mtsr = <&pio3 1 ALT2 OUT>; 341*51cb23d4SPatrice Chotard mrst = <&pio3 0 ALT2 IN>; 342*51cb23d4SPatrice Chotard scl = <&pio3 2 ALT2 OUT>; 343*51cb23d4SPatrice Chotard }; 344*51cb23d4SPatrice Chotard }; 345*51cb23d4SPatrice Chotard 346*51cb23d4SPatrice Chotard pinctrl_spi11_3w_alt2_0: spi11-3w-alt2-0 { 347*51cb23d4SPatrice Chotard st,pins { 348*51cb23d4SPatrice Chotard mtsr = <&pio3 1 ALT2 BIDIR_PU>; 349*51cb23d4SPatrice Chotard scl = <&pio3 2 ALT2 OUT>; 350*51cb23d4SPatrice Chotard }; 351*51cb23d4SPatrice Chotard }; 352*51cb23d4SPatrice Chotard }; 353*51cb23d4SPatrice Chotard 354*51cb23d4SPatrice Chotard spi12 { 355*51cb23d4SPatrice Chotard pinctrl_spi12_default: spi12-4w-alt2-0 { 356*51cb23d4SPatrice Chotard st,pins { 357*51cb23d4SPatrice Chotard mtsr = <&pio3 6 ALT2 OUT>; 358*51cb23d4SPatrice Chotard mrst = <&pio3 4 ALT2 IN>; 359*51cb23d4SPatrice Chotard scl = <&pio3 7 ALT2 OUT>; 360*51cb23d4SPatrice Chotard }; 361*51cb23d4SPatrice Chotard }; 362*51cb23d4SPatrice Chotard 363*51cb23d4SPatrice Chotard pinctrl_spi12_3w_alt2_0: spi12-3w-alt2-0 { 364*51cb23d4SPatrice Chotard st,pins { 365*51cb23d4SPatrice Chotard mtsr = <&pio3 6 ALT2 BIDIR_PU>; 366*51cb23d4SPatrice Chotard scl = <&pio3 7 ALT2 OUT>; 367*51cb23d4SPatrice Chotard }; 368*51cb23d4SPatrice Chotard }; 369*51cb23d4SPatrice Chotard }; 370*51cb23d4SPatrice Chotard }; 371*51cb23d4SPatrice Chotard 372*51cb23d4SPatrice Chotard pin-controller-front0 { 373*51cb23d4SPatrice Chotard #address-cells = <1>; 374*51cb23d4SPatrice Chotard #size-cells = <1>; 375*51cb23d4SPatrice Chotard compatible = "st,stih407-front-pinctrl"; 376*51cb23d4SPatrice Chotard st,syscfg = <&syscfg_front>; 377*51cb23d4SPatrice Chotard reg = <0x0920f080 0x4>; 378*51cb23d4SPatrice Chotard reg-names = "irqmux"; 379*51cb23d4SPatrice Chotard interrupts = <GIC_SPI 189 IRQ_TYPE_NONE>; 380*51cb23d4SPatrice Chotard interrupt-names = "irqmux"; 381*51cb23d4SPatrice Chotard ranges = <0 0x09200000 0x10000>; 382*51cb23d4SPatrice Chotard 383*51cb23d4SPatrice Chotard pio10: pio@09200000 { 384*51cb23d4SPatrice Chotard gpio-controller; 385*51cb23d4SPatrice Chotard #gpio-cells = <2>; 386*51cb23d4SPatrice Chotard interrupt-controller; 387*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 388*51cb23d4SPatrice Chotard reg = <0x0 0x100>; 389*51cb23d4SPatrice Chotard st,bank-name = "PIO10"; 390*51cb23d4SPatrice Chotard }; 391*51cb23d4SPatrice Chotard pio11: pio@09201000 { 392*51cb23d4SPatrice Chotard gpio-controller; 393*51cb23d4SPatrice Chotard #gpio-cells = <2>; 394*51cb23d4SPatrice Chotard interrupt-controller; 395*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 396*51cb23d4SPatrice Chotard reg = <0x1000 0x100>; 397*51cb23d4SPatrice Chotard st,bank-name = "PIO11"; 398*51cb23d4SPatrice Chotard }; 399*51cb23d4SPatrice Chotard pio12: pio@09202000 { 400*51cb23d4SPatrice Chotard gpio-controller; 401*51cb23d4SPatrice Chotard #gpio-cells = <2>; 402*51cb23d4SPatrice Chotard interrupt-controller; 403*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 404*51cb23d4SPatrice Chotard reg = <0x2000 0x100>; 405*51cb23d4SPatrice Chotard st,bank-name = "PIO12"; 406*51cb23d4SPatrice Chotard }; 407*51cb23d4SPatrice Chotard pio13: pio@09203000 { 408*51cb23d4SPatrice Chotard gpio-controller; 409*51cb23d4SPatrice Chotard #gpio-cells = <2>; 410*51cb23d4SPatrice Chotard interrupt-controller; 411*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 412*51cb23d4SPatrice Chotard reg = <0x3000 0x100>; 413*51cb23d4SPatrice Chotard st,bank-name = "PIO13"; 414*51cb23d4SPatrice Chotard }; 415*51cb23d4SPatrice Chotard pio14: pio@09204000 { 416*51cb23d4SPatrice Chotard gpio-controller; 417*51cb23d4SPatrice Chotard #gpio-cells = <2>; 418*51cb23d4SPatrice Chotard interrupt-controller; 419*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 420*51cb23d4SPatrice Chotard reg = <0x4000 0x100>; 421*51cb23d4SPatrice Chotard st,bank-name = "PIO14"; 422*51cb23d4SPatrice Chotard }; 423*51cb23d4SPatrice Chotard pio15: pio@09205000 { 424*51cb23d4SPatrice Chotard gpio-controller; 425*51cb23d4SPatrice Chotard #gpio-cells = <2>; 426*51cb23d4SPatrice Chotard interrupt-controller; 427*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 428*51cb23d4SPatrice Chotard reg = <0x5000 0x100>; 429*51cb23d4SPatrice Chotard st,bank-name = "PIO15"; 430*51cb23d4SPatrice Chotard }; 431*51cb23d4SPatrice Chotard pio16: pio@09206000 { 432*51cb23d4SPatrice Chotard gpio-controller; 433*51cb23d4SPatrice Chotard #gpio-cells = <2>; 434*51cb23d4SPatrice Chotard interrupt-controller; 435*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 436*51cb23d4SPatrice Chotard reg = <0x6000 0x100>; 437*51cb23d4SPatrice Chotard st,bank-name = "PIO16"; 438*51cb23d4SPatrice Chotard }; 439*51cb23d4SPatrice Chotard pio17: pio@09207000 { 440*51cb23d4SPatrice Chotard gpio-controller; 441*51cb23d4SPatrice Chotard #gpio-cells = <2>; 442*51cb23d4SPatrice Chotard interrupt-controller; 443*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 444*51cb23d4SPatrice Chotard reg = <0x7000 0x100>; 445*51cb23d4SPatrice Chotard st,bank-name = "PIO17"; 446*51cb23d4SPatrice Chotard }; 447*51cb23d4SPatrice Chotard pio18: pio@09208000 { 448*51cb23d4SPatrice Chotard gpio-controller; 449*51cb23d4SPatrice Chotard #gpio-cells = <2>; 450*51cb23d4SPatrice Chotard interrupt-controller; 451*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 452*51cb23d4SPatrice Chotard reg = <0x8000 0x100>; 453*51cb23d4SPatrice Chotard st,bank-name = "PIO18"; 454*51cb23d4SPatrice Chotard }; 455*51cb23d4SPatrice Chotard pio19: pio@09209000 { 456*51cb23d4SPatrice Chotard gpio-controller; 457*51cb23d4SPatrice Chotard #gpio-cells = <2>; 458*51cb23d4SPatrice Chotard interrupt-controller; 459*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 460*51cb23d4SPatrice Chotard reg = <0x9000 0x100>; 461*51cb23d4SPatrice Chotard st,bank-name = "PIO19"; 462*51cb23d4SPatrice Chotard }; 463*51cb23d4SPatrice Chotard 464*51cb23d4SPatrice Chotard /* Comms */ 465*51cb23d4SPatrice Chotard serial0 { 466*51cb23d4SPatrice Chotard pinctrl_serial0: serial0-0 { 467*51cb23d4SPatrice Chotard st,pins { 468*51cb23d4SPatrice Chotard tx = <&pio17 0 ALT1 OUT>; 469*51cb23d4SPatrice Chotard rx = <&pio17 1 ALT1 IN>; 470*51cb23d4SPatrice Chotard }; 471*51cb23d4SPatrice Chotard }; 472*51cb23d4SPatrice Chotard pinctrl_serial0_rts: serial0_rts { 473*51cb23d4SPatrice Chotard st,pins { 474*51cb23d4SPatrice Chotard rts = <&pio17 3 ALT1 OUT>; 475*51cb23d4SPatrice Chotard }; 476*51cb23d4SPatrice Chotard }; 477*51cb23d4SPatrice Chotard 478*51cb23d4SPatrice Chotard pinctrl_serial0_cts: serial0_cts { 479*51cb23d4SPatrice Chotard st,pins { 480*51cb23d4SPatrice Chotard cts = <&pio17 2 ALT1 IN>; 481*51cb23d4SPatrice Chotard }; 482*51cb23d4SPatrice Chotard }; 483*51cb23d4SPatrice Chotard }; 484*51cb23d4SPatrice Chotard 485*51cb23d4SPatrice Chotard serial1 { 486*51cb23d4SPatrice Chotard pinctrl_serial1: serial1-0 { 487*51cb23d4SPatrice Chotard st,pins { 488*51cb23d4SPatrice Chotard tx = <&pio16 0 ALT1 OUT>; 489*51cb23d4SPatrice Chotard rx = <&pio16 1 ALT1 IN>; 490*51cb23d4SPatrice Chotard }; 491*51cb23d4SPatrice Chotard }; 492*51cb23d4SPatrice Chotard }; 493*51cb23d4SPatrice Chotard 494*51cb23d4SPatrice Chotard serial2 { 495*51cb23d4SPatrice Chotard pinctrl_serial2: serial2-0 { 496*51cb23d4SPatrice Chotard st,pins { 497*51cb23d4SPatrice Chotard tx = <&pio15 0 ALT1 OUT>; 498*51cb23d4SPatrice Chotard rx = <&pio15 1 ALT1 IN>; 499*51cb23d4SPatrice Chotard }; 500*51cb23d4SPatrice Chotard }; 501*51cb23d4SPatrice Chotard }; 502*51cb23d4SPatrice Chotard 503*51cb23d4SPatrice Chotard mmc1 { 504*51cb23d4SPatrice Chotard pinctrl_sd1: sd1-0 { 505*51cb23d4SPatrice Chotard st,pins { 506*51cb23d4SPatrice Chotard sd_clk = <&pio19 3 ALT5 BIDIR NICLK 0 CLK_B>; 507*51cb23d4SPatrice Chotard sd_cmd = <&pio19 2 ALT5 BIDIR_PU BYPASS 0>; 508*51cb23d4SPatrice Chotard sd_dat0 = <&pio19 4 ALT5 BIDIR_PU BYPASS 0>; 509*51cb23d4SPatrice Chotard sd_dat1 = <&pio19 5 ALT5 BIDIR_PU BYPASS 0>; 510*51cb23d4SPatrice Chotard sd_dat2 = <&pio19 6 ALT5 BIDIR_PU BYPASS 0>; 511*51cb23d4SPatrice Chotard sd_dat3 = <&pio19 7 ALT5 BIDIR_PU BYPASS 0>; 512*51cb23d4SPatrice Chotard sd_led = <&pio16 6 ALT6 OUT>; 513*51cb23d4SPatrice Chotard sd_pwren = <&pio16 7 ALT6 OUT>; 514*51cb23d4SPatrice Chotard sd_cd = <&pio19 0 ALT6 IN>; 515*51cb23d4SPatrice Chotard sd_wp = <&pio19 1 ALT6 IN>; 516*51cb23d4SPatrice Chotard }; 517*51cb23d4SPatrice Chotard }; 518*51cb23d4SPatrice Chotard }; 519*51cb23d4SPatrice Chotard 520*51cb23d4SPatrice Chotard 521*51cb23d4SPatrice Chotard i2c0 { 522*51cb23d4SPatrice Chotard pinctrl_i2c0_default: i2c0-default { 523*51cb23d4SPatrice Chotard st,pins { 524*51cb23d4SPatrice Chotard sda = <&pio10 6 ALT2 BIDIR>; 525*51cb23d4SPatrice Chotard scl = <&pio10 5 ALT2 BIDIR>; 526*51cb23d4SPatrice Chotard }; 527*51cb23d4SPatrice Chotard }; 528*51cb23d4SPatrice Chotard }; 529*51cb23d4SPatrice Chotard 530*51cb23d4SPatrice Chotard i2c1 { 531*51cb23d4SPatrice Chotard pinctrl_i2c1_default: i2c1-default { 532*51cb23d4SPatrice Chotard st,pins { 533*51cb23d4SPatrice Chotard sda = <&pio11 1 ALT2 BIDIR>; 534*51cb23d4SPatrice Chotard scl = <&pio11 0 ALT2 BIDIR>; 535*51cb23d4SPatrice Chotard }; 536*51cb23d4SPatrice Chotard }; 537*51cb23d4SPatrice Chotard }; 538*51cb23d4SPatrice Chotard 539*51cb23d4SPatrice Chotard i2c2 { 540*51cb23d4SPatrice Chotard pinctrl_i2c2_default: i2c2-default { 541*51cb23d4SPatrice Chotard st,pins { 542*51cb23d4SPatrice Chotard sda = <&pio15 6 ALT2 BIDIR>; 543*51cb23d4SPatrice Chotard scl = <&pio15 5 ALT2 BIDIR>; 544*51cb23d4SPatrice Chotard }; 545*51cb23d4SPatrice Chotard }; 546*51cb23d4SPatrice Chotard 547*51cb23d4SPatrice Chotard pinctrl_i2c2_alt2_1: i2c2-alt2-1 { 548*51cb23d4SPatrice Chotard st,pins { 549*51cb23d4SPatrice Chotard sda = <&pio12 6 ALT2 BIDIR>; 550*51cb23d4SPatrice Chotard scl = <&pio12 5 ALT2 BIDIR>; 551*51cb23d4SPatrice Chotard }; 552*51cb23d4SPatrice Chotard }; 553*51cb23d4SPatrice Chotard }; 554*51cb23d4SPatrice Chotard 555*51cb23d4SPatrice Chotard i2c3 { 556*51cb23d4SPatrice Chotard pinctrl_i2c3_default: i2c3-alt1-0 { 557*51cb23d4SPatrice Chotard st,pins { 558*51cb23d4SPatrice Chotard sda = <&pio18 6 ALT1 BIDIR>; 559*51cb23d4SPatrice Chotard scl = <&pio18 5 ALT1 BIDIR>; 560*51cb23d4SPatrice Chotard }; 561*51cb23d4SPatrice Chotard }; 562*51cb23d4SPatrice Chotard pinctrl_i2c3_alt1_1: i2c3-alt1-1 { 563*51cb23d4SPatrice Chotard st,pins { 564*51cb23d4SPatrice Chotard sda = <&pio17 7 ALT1 BIDIR>; 565*51cb23d4SPatrice Chotard scl = <&pio17 6 ALT1 BIDIR>; 566*51cb23d4SPatrice Chotard }; 567*51cb23d4SPatrice Chotard }; 568*51cb23d4SPatrice Chotard pinctrl_i2c3_alt3_0: i2c3-alt3-0 { 569*51cb23d4SPatrice Chotard st,pins { 570*51cb23d4SPatrice Chotard sda = <&pio13 6 ALT3 BIDIR>; 571*51cb23d4SPatrice Chotard scl = <&pio13 5 ALT3 BIDIR>; 572*51cb23d4SPatrice Chotard }; 573*51cb23d4SPatrice Chotard }; 574*51cb23d4SPatrice Chotard }; 575*51cb23d4SPatrice Chotard 576*51cb23d4SPatrice Chotard spi0 { 577*51cb23d4SPatrice Chotard pinctrl_spi0_default: spi0-4w-alt2-0 { 578*51cb23d4SPatrice Chotard st,pins { 579*51cb23d4SPatrice Chotard mtsr = <&pio10 6 ALT2 OUT>; 580*51cb23d4SPatrice Chotard mrst = <&pio10 7 ALT2 IN>; 581*51cb23d4SPatrice Chotard scl = <&pio10 5 ALT2 OUT>; 582*51cb23d4SPatrice Chotard }; 583*51cb23d4SPatrice Chotard }; 584*51cb23d4SPatrice Chotard 585*51cb23d4SPatrice Chotard pinctrl_spi0_3w_alt2_0: spi0-3w-alt2-0 { 586*51cb23d4SPatrice Chotard st,pins { 587*51cb23d4SPatrice Chotard mtsr = <&pio10 6 ALT2 BIDIR_PU>; 588*51cb23d4SPatrice Chotard scl = <&pio10 5 ALT2 OUT>; 589*51cb23d4SPatrice Chotard }; 590*51cb23d4SPatrice Chotard }; 591*51cb23d4SPatrice Chotard 592*51cb23d4SPatrice Chotard pinctrl_spi0_4w_alt1_0: spi0-4w-alt1-0 { 593*51cb23d4SPatrice Chotard st,pins { 594*51cb23d4SPatrice Chotard mtsr = <&pio19 7 ALT1 OUT>; 595*51cb23d4SPatrice Chotard mrst = <&pio19 5 ALT1 IN>; 596*51cb23d4SPatrice Chotard scl = <&pio19 6 ALT1 OUT>; 597*51cb23d4SPatrice Chotard }; 598*51cb23d4SPatrice Chotard }; 599*51cb23d4SPatrice Chotard 600*51cb23d4SPatrice Chotard pinctrl_spi0_3w_alt1_0: spi0-3w-alt1-0 { 601*51cb23d4SPatrice Chotard st,pins { 602*51cb23d4SPatrice Chotard mtsr = <&pio19 7 ALT1 BIDIR_PU>; 603*51cb23d4SPatrice Chotard scl = <&pio19 6 ALT1 OUT>; 604*51cb23d4SPatrice Chotard }; 605*51cb23d4SPatrice Chotard }; 606*51cb23d4SPatrice Chotard }; 607*51cb23d4SPatrice Chotard 608*51cb23d4SPatrice Chotard spi1 { 609*51cb23d4SPatrice Chotard pinctrl_spi1_default: spi1-4w-alt2-0 { 610*51cb23d4SPatrice Chotard st,pins { 611*51cb23d4SPatrice Chotard mtsr = <&pio11 1 ALT2 OUT>; 612*51cb23d4SPatrice Chotard mrst = <&pio11 2 ALT2 IN>; 613*51cb23d4SPatrice Chotard scl = <&pio11 0 ALT2 OUT>; 614*51cb23d4SPatrice Chotard }; 615*51cb23d4SPatrice Chotard }; 616*51cb23d4SPatrice Chotard 617*51cb23d4SPatrice Chotard pinctrl_spi1_3w_alt2_0: spi1-3w-alt2-0 { 618*51cb23d4SPatrice Chotard st,pins { 619*51cb23d4SPatrice Chotard mtsr = <&pio11 1 ALT2 BIDIR_PU>; 620*51cb23d4SPatrice Chotard scl = <&pio11 0 ALT2 OUT>; 621*51cb23d4SPatrice Chotard }; 622*51cb23d4SPatrice Chotard }; 623*51cb23d4SPatrice Chotard 624*51cb23d4SPatrice Chotard pinctrl_spi1_4w_alt1_0: spi1-4w-alt1-0 { 625*51cb23d4SPatrice Chotard st,pins { 626*51cb23d4SPatrice Chotard mtsr = <&pio14 3 ALT1 OUT>; 627*51cb23d4SPatrice Chotard mrst = <&pio14 4 ALT1 IN>; 628*51cb23d4SPatrice Chotard scl = <&pio14 2 ALT1 OUT>; 629*51cb23d4SPatrice Chotard }; 630*51cb23d4SPatrice Chotard }; 631*51cb23d4SPatrice Chotard 632*51cb23d4SPatrice Chotard pinctrl_spi1_3w_alt1_0: spi1-3w-alt1-0 { 633*51cb23d4SPatrice Chotard st,pins { 634*51cb23d4SPatrice Chotard mtsr = <&pio14 3 ALT1 BIDIR_PU>; 635*51cb23d4SPatrice Chotard scl = <&pio14 2 ALT1 OUT>; 636*51cb23d4SPatrice Chotard }; 637*51cb23d4SPatrice Chotard }; 638*51cb23d4SPatrice Chotard }; 639*51cb23d4SPatrice Chotard 640*51cb23d4SPatrice Chotard spi2 { 641*51cb23d4SPatrice Chotard pinctrl_spi2_default: spi2-4w-alt2-0 { 642*51cb23d4SPatrice Chotard st,pins { 643*51cb23d4SPatrice Chotard mtsr = <&pio12 6 ALT2 OUT>; 644*51cb23d4SPatrice Chotard mrst = <&pio12 7 ALT2 IN>; 645*51cb23d4SPatrice Chotard scl = <&pio12 5 ALT2 OUT>; 646*51cb23d4SPatrice Chotard }; 647*51cb23d4SPatrice Chotard }; 648*51cb23d4SPatrice Chotard 649*51cb23d4SPatrice Chotard pinctrl_spi2_3w_alt2_0: spi2-3w-alt2-0 { 650*51cb23d4SPatrice Chotard st,pins { 651*51cb23d4SPatrice Chotard mtsr = <&pio12 6 ALT2 BIDIR_PU>; 652*51cb23d4SPatrice Chotard scl = <&pio12 5 ALT2 OUT>; 653*51cb23d4SPatrice Chotard }; 654*51cb23d4SPatrice Chotard }; 655*51cb23d4SPatrice Chotard 656*51cb23d4SPatrice Chotard pinctrl_spi2_4w_alt1_0: spi2-4w-alt1-0 { 657*51cb23d4SPatrice Chotard st,pins { 658*51cb23d4SPatrice Chotard mtsr = <&pio14 6 ALT1 OUT>; 659*51cb23d4SPatrice Chotard mrst = <&pio14 7 ALT1 IN>; 660*51cb23d4SPatrice Chotard scl = <&pio14 5 ALT1 OUT>; 661*51cb23d4SPatrice Chotard }; 662*51cb23d4SPatrice Chotard }; 663*51cb23d4SPatrice Chotard 664*51cb23d4SPatrice Chotard pinctrl_spi2_3w_alt1_0: spi2-3w-alt1-0 { 665*51cb23d4SPatrice Chotard st,pins { 666*51cb23d4SPatrice Chotard mtsr = <&pio14 6 ALT1 BIDIR_PU>; 667*51cb23d4SPatrice Chotard scl = <&pio14 5 ALT1 OUT>; 668*51cb23d4SPatrice Chotard }; 669*51cb23d4SPatrice Chotard }; 670*51cb23d4SPatrice Chotard 671*51cb23d4SPatrice Chotard pinctrl_spi2_4w_alt2_1: spi2-4w-alt2-1 { 672*51cb23d4SPatrice Chotard st,pins { 673*51cb23d4SPatrice Chotard mtsr = <&pio15 6 ALT2 OUT>; 674*51cb23d4SPatrice Chotard mrst = <&pio15 7 ALT2 IN>; 675*51cb23d4SPatrice Chotard scl = <&pio15 5 ALT2 OUT>; 676*51cb23d4SPatrice Chotard }; 677*51cb23d4SPatrice Chotard }; 678*51cb23d4SPatrice Chotard 679*51cb23d4SPatrice Chotard pinctrl_spi2_3w_alt2_1: spi2-3w-alt2-1 { 680*51cb23d4SPatrice Chotard st,pins { 681*51cb23d4SPatrice Chotard mtsr = <&pio15 6 ALT2 BIDIR_PU>; 682*51cb23d4SPatrice Chotard scl = <&pio15 5 ALT2 OUT>; 683*51cb23d4SPatrice Chotard }; 684*51cb23d4SPatrice Chotard }; 685*51cb23d4SPatrice Chotard }; 686*51cb23d4SPatrice Chotard 687*51cb23d4SPatrice Chotard spi3 { 688*51cb23d4SPatrice Chotard pinctrl_spi3_default: spi3-4w-alt3-0 { 689*51cb23d4SPatrice Chotard st,pins { 690*51cb23d4SPatrice Chotard mtsr = <&pio13 6 ALT3 OUT>; 691*51cb23d4SPatrice Chotard mrst = <&pio13 7 ALT3 IN>; 692*51cb23d4SPatrice Chotard scl = <&pio13 5 ALT3 OUT>; 693*51cb23d4SPatrice Chotard }; 694*51cb23d4SPatrice Chotard }; 695*51cb23d4SPatrice Chotard 696*51cb23d4SPatrice Chotard pinctrl_spi3_3w_alt3_0: spi3-3w-alt3-0 { 697*51cb23d4SPatrice Chotard st,pins { 698*51cb23d4SPatrice Chotard mtsr = <&pio13 6 ALT3 BIDIR_PU>; 699*51cb23d4SPatrice Chotard scl = <&pio13 5 ALT3 OUT>; 700*51cb23d4SPatrice Chotard }; 701*51cb23d4SPatrice Chotard }; 702*51cb23d4SPatrice Chotard 703*51cb23d4SPatrice Chotard pinctrl_spi3_4w_alt1_0: spi3-4w-alt1-0 { 704*51cb23d4SPatrice Chotard st,pins { 705*51cb23d4SPatrice Chotard mtsr = <&pio17 7 ALT1 OUT>; 706*51cb23d4SPatrice Chotard mrst = <&pio17 5 ALT1 IN>; 707*51cb23d4SPatrice Chotard scl = <&pio17 6 ALT1 OUT>; 708*51cb23d4SPatrice Chotard }; 709*51cb23d4SPatrice Chotard }; 710*51cb23d4SPatrice Chotard 711*51cb23d4SPatrice Chotard pinctrl_spi3_3w_alt1_0: spi3-3w-alt1-0 { 712*51cb23d4SPatrice Chotard st,pins { 713*51cb23d4SPatrice Chotard mtsr = <&pio17 7 ALT1 BIDIR_PU>; 714*51cb23d4SPatrice Chotard scl = <&pio17 6 ALT1 OUT>; 715*51cb23d4SPatrice Chotard }; 716*51cb23d4SPatrice Chotard }; 717*51cb23d4SPatrice Chotard 718*51cb23d4SPatrice Chotard pinctrl_spi3_4w_alt1_1: spi3-4w-alt1-1 { 719*51cb23d4SPatrice Chotard st,pins { 720*51cb23d4SPatrice Chotard mtsr = <&pio18 6 ALT1 OUT>; 721*51cb23d4SPatrice Chotard mrst = <&pio18 7 ALT1 IN>; 722*51cb23d4SPatrice Chotard scl = <&pio18 5 ALT1 OUT>; 723*51cb23d4SPatrice Chotard }; 724*51cb23d4SPatrice Chotard }; 725*51cb23d4SPatrice Chotard 726*51cb23d4SPatrice Chotard pinctrl_spi3_3w_alt1_1: spi3-3w-alt1-1 { 727*51cb23d4SPatrice Chotard st,pins { 728*51cb23d4SPatrice Chotard mtsr = <&pio18 6 ALT1 BIDIR_PU>; 729*51cb23d4SPatrice Chotard scl = <&pio18 5 ALT1 OUT>; 730*51cb23d4SPatrice Chotard }; 731*51cb23d4SPatrice Chotard }; 732*51cb23d4SPatrice Chotard }; 733*51cb23d4SPatrice Chotard 734*51cb23d4SPatrice Chotard tsin0 { 735*51cb23d4SPatrice Chotard pinctrl_tsin0_parallel: tsin0_parallel { 736*51cb23d4SPatrice Chotard st,pins { 737*51cb23d4SPatrice Chotard DATA7 = <&pio10 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 738*51cb23d4SPatrice Chotard DATA6 = <&pio10 5 ALT1 IN SE_NICLK_IO 0 CLK_A>; 739*51cb23d4SPatrice Chotard DATA5 = <&pio10 6 ALT1 IN SE_NICLK_IO 0 CLK_A>; 740*51cb23d4SPatrice Chotard DATA4 = <&pio10 7 ALT1 IN SE_NICLK_IO 0 CLK_A>; 741*51cb23d4SPatrice Chotard DATA3 = <&pio11 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 742*51cb23d4SPatrice Chotard DATA2 = <&pio11 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 743*51cb23d4SPatrice Chotard DATA1 = <&pio11 2 ALT1 IN SE_NICLK_IO 0 CLK_A>; 744*51cb23d4SPatrice Chotard DATA0 = <&pio11 3 ALT1 IN SE_NICLK_IO 0 CLK_A>; 745*51cb23d4SPatrice Chotard CLKIN = <&pio10 3 ALT1 IN CLKNOTDATA 0 CLK_A>; 746*51cb23d4SPatrice Chotard VALID = <&pio10 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 747*51cb23d4SPatrice Chotard ERROR = <&pio10 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 748*51cb23d4SPatrice Chotard PKCLK = <&pio10 2 ALT1 IN SE_NICLK_IO 0 CLK_A>; 749*51cb23d4SPatrice Chotard }; 750*51cb23d4SPatrice Chotard }; 751*51cb23d4SPatrice Chotard pinctrl_tsin0_serial: tsin0_serial { 752*51cb23d4SPatrice Chotard st,pins { 753*51cb23d4SPatrice Chotard DATA7 = <&pio10 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 754*51cb23d4SPatrice Chotard CLKIN = <&pio10 3 ALT1 IN CLKNOTDATA 0 CLK_A>; 755*51cb23d4SPatrice Chotard VALID = <&pio10 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 756*51cb23d4SPatrice Chotard ERROR = <&pio10 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 757*51cb23d4SPatrice Chotard PKCLK = <&pio10 2 ALT1 IN SE_NICLK_IO 0 CLK_A>; 758*51cb23d4SPatrice Chotard }; 759*51cb23d4SPatrice Chotard }; 760*51cb23d4SPatrice Chotard }; 761*51cb23d4SPatrice Chotard 762*51cb23d4SPatrice Chotard tsin1 { 763*51cb23d4SPatrice Chotard pinctrl_tsin1_parallel: tsin1_parallel { 764*51cb23d4SPatrice Chotard st,pins { 765*51cb23d4SPatrice Chotard DATA7 = <&pio12 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 766*51cb23d4SPatrice Chotard DATA6 = <&pio12 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 767*51cb23d4SPatrice Chotard DATA5 = <&pio12 2 ALT1 IN SE_NICLK_IO 0 CLK_A>; 768*51cb23d4SPatrice Chotard DATA4 = <&pio12 3 ALT1 IN SE_NICLK_IO 0 CLK_A>; 769*51cb23d4SPatrice Chotard DATA3 = <&pio12 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 770*51cb23d4SPatrice Chotard DATA2 = <&pio12 5 ALT1 IN SE_NICLK_IO 0 CLK_A>; 771*51cb23d4SPatrice Chotard DATA1 = <&pio12 6 ALT1 IN SE_NICLK_IO 0 CLK_A>; 772*51cb23d4SPatrice Chotard DATA0 = <&pio12 7 ALT1 IN SE_NICLK_IO 0 CLK_A>; 773*51cb23d4SPatrice Chotard CLKIN = <&pio11 7 ALT1 IN CLKNOTDATA 0 CLK_A>; 774*51cb23d4SPatrice Chotard VALID = <&pio11 5 ALT1 IN SE_NICLK_IO 0 CLK_A>; 775*51cb23d4SPatrice Chotard ERROR = <&pio11 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 776*51cb23d4SPatrice Chotard PKCLK = <&pio11 6 ALT1 IN SE_NICLK_IO 0 CLK_A>; 777*51cb23d4SPatrice Chotard }; 778*51cb23d4SPatrice Chotard }; 779*51cb23d4SPatrice Chotard pinctrl_tsin1_serial: tsin1_serial { 780*51cb23d4SPatrice Chotard st,pins { 781*51cb23d4SPatrice Chotard DATA7 = <&pio12 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 782*51cb23d4SPatrice Chotard CLKIN = <&pio11 7 ALT1 IN CLKNOTDATA 0 CLK_A>; 783*51cb23d4SPatrice Chotard VALID = <&pio11 5 ALT1 IN SE_NICLK_IO 0 CLK_A>; 784*51cb23d4SPatrice Chotard ERROR = <&pio11 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 785*51cb23d4SPatrice Chotard PKCLK = <&pio11 6 ALT1 IN SE_NICLK_IO 0 CLK_A>; 786*51cb23d4SPatrice Chotard }; 787*51cb23d4SPatrice Chotard }; 788*51cb23d4SPatrice Chotard }; 789*51cb23d4SPatrice Chotard 790*51cb23d4SPatrice Chotard tsin2 { 791*51cb23d4SPatrice Chotard pinctrl_tsin2_parallel: tsin2_parallel { 792*51cb23d4SPatrice Chotard st,pins { 793*51cb23d4SPatrice Chotard DATA7 = <&pio13 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 794*51cb23d4SPatrice Chotard DATA6 = <&pio13 5 ALT2 IN SE_NICLK_IO 0 CLK_B>; 795*51cb23d4SPatrice Chotard DATA5 = <&pio13 6 ALT2 IN SE_NICLK_IO 0 CLK_B>; 796*51cb23d4SPatrice Chotard DATA4 = <&pio13 7 ALT2 IN SE_NICLK_IO 0 CLK_B>; 797*51cb23d4SPatrice Chotard DATA3 = <&pio14 0 ALT2 IN SE_NICLK_IO 0 CLK_A>; 798*51cb23d4SPatrice Chotard DATA2 = <&pio14 1 ALT2 IN SE_NICLK_IO 0 CLK_B>; 799*51cb23d4SPatrice Chotard DATA1 = <&pio14 2 ALT2 IN SE_NICLK_IO 0 CLK_A>; 800*51cb23d4SPatrice Chotard DATA0 = <&pio14 3 ALT2 IN SE_NICLK_IO 0 CLK_A>; 801*51cb23d4SPatrice Chotard CLKIN = <&pio13 3 ALT1 IN CLKNOTDATA 0 CLK_A>; 802*51cb23d4SPatrice Chotard VALID = <&pio13 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 803*51cb23d4SPatrice Chotard ERROR = <&pio13 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 804*51cb23d4SPatrice Chotard PKCLK = <&pio13 2 ALT1 IN SE_NICLK_IO 0 CLK_A>; 805*51cb23d4SPatrice Chotard }; 806*51cb23d4SPatrice Chotard }; 807*51cb23d4SPatrice Chotard pinctrl_tsin2_serial: tsin2_serial { 808*51cb23d4SPatrice Chotard st,pins { 809*51cb23d4SPatrice Chotard DATA7 = <&pio13 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 810*51cb23d4SPatrice Chotard CLKIN = <&pio13 3 ALT1 IN CLKNOTDATA 0 CLK_A>; 811*51cb23d4SPatrice Chotard VALID = <&pio13 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 812*51cb23d4SPatrice Chotard ERROR = <&pio13 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 813*51cb23d4SPatrice Chotard PKCLK = <&pio13 2 ALT1 IN SE_NICLK_IO 0 CLK_A>; 814*51cb23d4SPatrice Chotard }; 815*51cb23d4SPatrice Chotard }; 816*51cb23d4SPatrice Chotard }; 817*51cb23d4SPatrice Chotard 818*51cb23d4SPatrice Chotard tsin3 { 819*51cb23d4SPatrice Chotard pinctrl_tsin3_serial: tsin3_serial { 820*51cb23d4SPatrice Chotard st,pins { 821*51cb23d4SPatrice Chotard DATA7 = <&pio14 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 822*51cb23d4SPatrice Chotard CLKIN = <&pio14 0 ALT1 IN CLKNOTDATA 0 CLK_A>; 823*51cb23d4SPatrice Chotard VALID = <&pio13 6 ALT1 IN SE_NICLK_IO 0 CLK_A>; 824*51cb23d4SPatrice Chotard ERROR = <&pio13 5 ALT1 IN SE_NICLK_IO 0 CLK_A>; 825*51cb23d4SPatrice Chotard PKCLK = <&pio13 7 ALT1 IN SE_NICLK_IO 0 CLK_A>; 826*51cb23d4SPatrice Chotard }; 827*51cb23d4SPatrice Chotard }; 828*51cb23d4SPatrice Chotard }; 829*51cb23d4SPatrice Chotard 830*51cb23d4SPatrice Chotard tsin4 { 831*51cb23d4SPatrice Chotard pinctrl_tsin4_serial_alt3: tsin4_serial_alt3 { 832*51cb23d4SPatrice Chotard st,pins { 833*51cb23d4SPatrice Chotard DATA7 = <&pio14 6 ALT3 IN SE_NICLK_IO 0 CLK_A>; 834*51cb23d4SPatrice Chotard CLKIN = <&pio14 5 ALT3 IN CLKNOTDATA 0 CLK_A>; 835*51cb23d4SPatrice Chotard VALID = <&pio14 3 ALT3 IN SE_NICLK_IO 0 CLK_B>; 836*51cb23d4SPatrice Chotard ERROR = <&pio14 2 ALT3 IN SE_NICLK_IO 0 CLK_B>; 837*51cb23d4SPatrice Chotard PKCLK = <&pio14 4 ALT3 IN SE_NICLK_IO 0 CLK_A>; 838*51cb23d4SPatrice Chotard }; 839*51cb23d4SPatrice Chotard }; 840*51cb23d4SPatrice Chotard }; 841*51cb23d4SPatrice Chotard 842*51cb23d4SPatrice Chotard tsin5 { 843*51cb23d4SPatrice Chotard pinctrl_tsin5_serial_alt1: tsin5_serial_alt1 { 844*51cb23d4SPatrice Chotard st,pins { 845*51cb23d4SPatrice Chotard DATA7 = <&pio18 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 846*51cb23d4SPatrice Chotard CLKIN = <&pio18 3 ALT1 IN CLKNOTDATA 0 CLK_A>; 847*51cb23d4SPatrice Chotard VALID = <&pio18 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 848*51cb23d4SPatrice Chotard ERROR = <&pio18 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 849*51cb23d4SPatrice Chotard PKCLK = <&pio18 2 ALT1 IN SE_NICLK_IO 0 CLK_A>; 850*51cb23d4SPatrice Chotard }; 851*51cb23d4SPatrice Chotard }; 852*51cb23d4SPatrice Chotard pinctrl_tsin5_serial_alt2: tsin5_serial_alt2 { 853*51cb23d4SPatrice Chotard st,pins { 854*51cb23d4SPatrice Chotard DATA7 = <&pio19 4 ALT2 IN SE_NICLK_IO 0 CLK_A>; 855*51cb23d4SPatrice Chotard CLKIN = <&pio19 3 ALT2 IN CLKNOTDATA 0 CLK_A>; 856*51cb23d4SPatrice Chotard VALID = <&pio19 1 ALT2 IN SE_NICLK_IO 0 CLK_A>; 857*51cb23d4SPatrice Chotard ERROR = <&pio19 0 ALT2 IN SE_NICLK_IO 0 CLK_A>; 858*51cb23d4SPatrice Chotard PKCLK = <&pio19 2 ALT2 IN SE_NICLK_IO 0 CLK_A>; 859*51cb23d4SPatrice Chotard }; 860*51cb23d4SPatrice Chotard }; 861*51cb23d4SPatrice Chotard }; 862*51cb23d4SPatrice Chotard 863*51cb23d4SPatrice Chotard tsout0 { 864*51cb23d4SPatrice Chotard pinctrl_tsout0_parallel: tsout0_parallel { 865*51cb23d4SPatrice Chotard st,pins { 866*51cb23d4SPatrice Chotard DATA7 = <&pio12 0 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 867*51cb23d4SPatrice Chotard DATA6 = <&pio12 1 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 868*51cb23d4SPatrice Chotard DATA5 = <&pio12 2 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 869*51cb23d4SPatrice Chotard DATA4 = <&pio12 3 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 870*51cb23d4SPatrice Chotard DATA3 = <&pio12 4 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 871*51cb23d4SPatrice Chotard DATA2 = <&pio12 5 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 872*51cb23d4SPatrice Chotard DATA1 = <&pio12 6 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 873*51cb23d4SPatrice Chotard DATA0 = <&pio12 7 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 874*51cb23d4SPatrice Chotard CLKIN = <&pio11 7 ALT3 OUT NICLK 0 CLK_A>; 875*51cb23d4SPatrice Chotard VALID = <&pio11 5 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 876*51cb23d4SPatrice Chotard ERROR = <&pio11 4 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 877*51cb23d4SPatrice Chotard PKCLK = <&pio11 6 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 878*51cb23d4SPatrice Chotard }; 879*51cb23d4SPatrice Chotard }; 880*51cb23d4SPatrice Chotard pinctrl_tsout0_serial: tsout0_serial { 881*51cb23d4SPatrice Chotard st,pins { 882*51cb23d4SPatrice Chotard DATA7 = <&pio12 0 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 883*51cb23d4SPatrice Chotard CLKIN = <&pio11 7 ALT3 OUT NICLK 0 CLK_A>; 884*51cb23d4SPatrice Chotard VALID = <&pio11 5 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 885*51cb23d4SPatrice Chotard ERROR = <&pio11 4 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 886*51cb23d4SPatrice Chotard PKCLK = <&pio11 6 ALT3 OUT SE_NICLK_IO 0 CLK_A>; 887*51cb23d4SPatrice Chotard }; 888*51cb23d4SPatrice Chotard }; 889*51cb23d4SPatrice Chotard }; 890*51cb23d4SPatrice Chotard 891*51cb23d4SPatrice Chotard tsout1 { 892*51cb23d4SPatrice Chotard pinctrl_tsout1_serial: tsout1_serial { 893*51cb23d4SPatrice Chotard st,pins { 894*51cb23d4SPatrice Chotard DATA7 = <&pio19 4 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 895*51cb23d4SPatrice Chotard CLKIN = <&pio19 3 ALT1 OUT NICLK 0 CLK_A>; 896*51cb23d4SPatrice Chotard VALID = <&pio19 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 897*51cb23d4SPatrice Chotard ERROR = <&pio19 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 898*51cb23d4SPatrice Chotard PKCLK = <&pio19 2 ALT1 OUT SE_NICLK_IO 0 CLK_A>; 899*51cb23d4SPatrice Chotard }; 900*51cb23d4SPatrice Chotard }; 901*51cb23d4SPatrice Chotard }; 902*51cb23d4SPatrice Chotard 903*51cb23d4SPatrice Chotard mtsin0 { 904*51cb23d4SPatrice Chotard pinctrl_mtsin0_parallel: mtsin0_parallel { 905*51cb23d4SPatrice Chotard st,pins { 906*51cb23d4SPatrice Chotard DATA7 = <&pio10 4 ALT3 IN SE_NICLK_IO 0 CLK_A>; 907*51cb23d4SPatrice Chotard DATA6 = <&pio10 5 ALT3 IN SE_NICLK_IO 0 CLK_A>; 908*51cb23d4SPatrice Chotard DATA5 = <&pio10 6 ALT3 IN SE_NICLK_IO 0 CLK_A>; 909*51cb23d4SPatrice Chotard DATA4 = <&pio10 7 ALT3 IN SE_NICLK_IO 0 CLK_A>; 910*51cb23d4SPatrice Chotard DATA3 = <&pio11 0 ALT3 IN SE_NICLK_IO 0 CLK_A>; 911*51cb23d4SPatrice Chotard DATA2 = <&pio11 1 ALT3 IN SE_NICLK_IO 0 CLK_A>; 912*51cb23d4SPatrice Chotard DATA1 = <&pio11 2 ALT3 IN SE_NICLK_IO 0 CLK_A>; 913*51cb23d4SPatrice Chotard DATA0 = <&pio11 3 ALT3 IN SE_NICLK_IO 0 CLK_A>; 914*51cb23d4SPatrice Chotard CLKIN = <&pio10 3 ALT3 IN CLKNOTDATA 0 CLK_A>; 915*51cb23d4SPatrice Chotard VALID = <&pio10 1 ALT3 IN SE_NICLK_IO 0 CLK_A>; 916*51cb23d4SPatrice Chotard ERROR = <&pio10 0 ALT3 IN SE_NICLK_IO 0 CLK_A>; 917*51cb23d4SPatrice Chotard PKCLK = <&pio10 2 ALT3 IN SE_NICLK_IO 0 CLK_A>; 918*51cb23d4SPatrice Chotard }; 919*51cb23d4SPatrice Chotard }; 920*51cb23d4SPatrice Chotard }; 921*51cb23d4SPatrice Chotard 922*51cb23d4SPatrice Chotard systrace { 923*51cb23d4SPatrice Chotard pinctrl_systrace_default: systrace-default { 924*51cb23d4SPatrice Chotard st,pins { 925*51cb23d4SPatrice Chotard trc_data0 = <&pio11 3 ALT5 OUT>; 926*51cb23d4SPatrice Chotard trc_data1 = <&pio11 4 ALT5 OUT>; 927*51cb23d4SPatrice Chotard trc_data2 = <&pio11 5 ALT5 OUT>; 928*51cb23d4SPatrice Chotard trc_data3 = <&pio11 6 ALT5 OUT>; 929*51cb23d4SPatrice Chotard trc_clk = <&pio11 7 ALT5 OUT>; 930*51cb23d4SPatrice Chotard }; 931*51cb23d4SPatrice Chotard }; 932*51cb23d4SPatrice Chotard }; 933*51cb23d4SPatrice Chotard }; 934*51cb23d4SPatrice Chotard 935*51cb23d4SPatrice Chotard pin-controller-front1 { 936*51cb23d4SPatrice Chotard #address-cells = <1>; 937*51cb23d4SPatrice Chotard #size-cells = <1>; 938*51cb23d4SPatrice Chotard compatible = "st,stih407-front-pinctrl"; 939*51cb23d4SPatrice Chotard st,syscfg = <&syscfg_front>; 940*51cb23d4SPatrice Chotard reg = <0x0921f080 0x4>; 941*51cb23d4SPatrice Chotard reg-names = "irqmux"; 942*51cb23d4SPatrice Chotard interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>; 943*51cb23d4SPatrice Chotard interrupt-names = "irqmux"; 944*51cb23d4SPatrice Chotard ranges = <0 0x09210000 0x10000>; 945*51cb23d4SPatrice Chotard 946*51cb23d4SPatrice Chotard pio20: pio@09210000 { 947*51cb23d4SPatrice Chotard gpio-controller; 948*51cb23d4SPatrice Chotard #gpio-cells = <2>; 949*51cb23d4SPatrice Chotard interrupt-controller; 950*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 951*51cb23d4SPatrice Chotard reg = <0x0 0x100>; 952*51cb23d4SPatrice Chotard st,bank-name = "PIO20"; 953*51cb23d4SPatrice Chotard }; 954*51cb23d4SPatrice Chotard 955*51cb23d4SPatrice Chotard tsin4 { 956*51cb23d4SPatrice Chotard pinctrl_tsin4_serial_alt1: tsin4_serial_alt1 { 957*51cb23d4SPatrice Chotard st,pins { 958*51cb23d4SPatrice Chotard DATA7 = <&pio20 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; 959*51cb23d4SPatrice Chotard CLKIN = <&pio20 3 ALT1 IN CLKNOTDATA 0 CLK_A>; 960*51cb23d4SPatrice Chotard VALID = <&pio20 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; 961*51cb23d4SPatrice Chotard ERROR = <&pio20 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; 962*51cb23d4SPatrice Chotard PKCLK = <&pio20 2 ALT1 IN SE_NICLK_IO 0 CLK_A>; 963*51cb23d4SPatrice Chotard }; 964*51cb23d4SPatrice Chotard }; 965*51cb23d4SPatrice Chotard }; 966*51cb23d4SPatrice Chotard }; 967*51cb23d4SPatrice Chotard 968*51cb23d4SPatrice Chotard pin-controller-rear { 969*51cb23d4SPatrice Chotard #address-cells = <1>; 970*51cb23d4SPatrice Chotard #size-cells = <1>; 971*51cb23d4SPatrice Chotard compatible = "st,stih407-rear-pinctrl"; 972*51cb23d4SPatrice Chotard st,syscfg = <&syscfg_rear>; 973*51cb23d4SPatrice Chotard reg = <0x0922f080 0x4>; 974*51cb23d4SPatrice Chotard reg-names = "irqmux"; 975*51cb23d4SPatrice Chotard interrupts = <GIC_SPI 191 IRQ_TYPE_NONE>; 976*51cb23d4SPatrice Chotard interrupt-names = "irqmux"; 977*51cb23d4SPatrice Chotard ranges = <0 0x09220000 0x6000>; 978*51cb23d4SPatrice Chotard 979*51cb23d4SPatrice Chotard pio30: gpio@09220000 { 980*51cb23d4SPatrice Chotard gpio-controller; 981*51cb23d4SPatrice Chotard #gpio-cells = <2>; 982*51cb23d4SPatrice Chotard interrupt-controller; 983*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 984*51cb23d4SPatrice Chotard reg = <0x0 0x100>; 985*51cb23d4SPatrice Chotard st,bank-name = "PIO30"; 986*51cb23d4SPatrice Chotard }; 987*51cb23d4SPatrice Chotard pio31: gpio@09221000 { 988*51cb23d4SPatrice Chotard gpio-controller; 989*51cb23d4SPatrice Chotard #gpio-cells = <2>; 990*51cb23d4SPatrice Chotard interrupt-controller; 991*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 992*51cb23d4SPatrice Chotard reg = <0x1000 0x100>; 993*51cb23d4SPatrice Chotard st,bank-name = "PIO31"; 994*51cb23d4SPatrice Chotard }; 995*51cb23d4SPatrice Chotard pio32: gpio@09222000 { 996*51cb23d4SPatrice Chotard gpio-controller; 997*51cb23d4SPatrice Chotard #gpio-cells = <2>; 998*51cb23d4SPatrice Chotard interrupt-controller; 999*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 1000*51cb23d4SPatrice Chotard reg = <0x2000 0x100>; 1001*51cb23d4SPatrice Chotard st,bank-name = "PIO32"; 1002*51cb23d4SPatrice Chotard }; 1003*51cb23d4SPatrice Chotard pio33: gpio@09223000 { 1004*51cb23d4SPatrice Chotard gpio-controller; 1005*51cb23d4SPatrice Chotard #gpio-cells = <2>; 1006*51cb23d4SPatrice Chotard interrupt-controller; 1007*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 1008*51cb23d4SPatrice Chotard reg = <0x3000 0x100>; 1009*51cb23d4SPatrice Chotard st,bank-name = "PIO33"; 1010*51cb23d4SPatrice Chotard }; 1011*51cb23d4SPatrice Chotard pio34: gpio@09224000 { 1012*51cb23d4SPatrice Chotard gpio-controller; 1013*51cb23d4SPatrice Chotard #gpio-cells = <2>; 1014*51cb23d4SPatrice Chotard interrupt-controller; 1015*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 1016*51cb23d4SPatrice Chotard reg = <0x4000 0x100>; 1017*51cb23d4SPatrice Chotard st,bank-name = "PIO34"; 1018*51cb23d4SPatrice Chotard }; 1019*51cb23d4SPatrice Chotard pio35: gpio@09225000 { 1020*51cb23d4SPatrice Chotard gpio-controller; 1021*51cb23d4SPatrice Chotard #gpio-cells = <2>; 1022*51cb23d4SPatrice Chotard interrupt-controller; 1023*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 1024*51cb23d4SPatrice Chotard reg = <0x5000 0x100>; 1025*51cb23d4SPatrice Chotard st,bank-name = "PIO35"; 1026*51cb23d4SPatrice Chotard st,retime-pin-mask = <0x7f>; 1027*51cb23d4SPatrice Chotard }; 1028*51cb23d4SPatrice Chotard 1029*51cb23d4SPatrice Chotard dvo { 1030*51cb23d4SPatrice Chotard pinctrl_dvo: dvo { 1031*51cb23d4SPatrice Chotard st,pins { 1032*51cb23d4SPatrice Chotard hs = <&pio30 0 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1033*51cb23d4SPatrice Chotard vs = <&pio30 1 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1034*51cb23d4SPatrice Chotard de = <&pio30 2 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1035*51cb23d4SPatrice Chotard ck = <&pio30 3 ALT2 (OE | CLKNOTDATA) 0>; 1036*51cb23d4SPatrice Chotard d0 = <&pio30 4 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1037*51cb23d4SPatrice Chotard d1 = <&pio30 5 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1038*51cb23d4SPatrice Chotard d2 = <&pio30 6 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1039*51cb23d4SPatrice Chotard d3 = <&pio30 7 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1040*51cb23d4SPatrice Chotard d4 = <&pio31 0 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1041*51cb23d4SPatrice Chotard d5 = <&pio31 1 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1042*51cb23d4SPatrice Chotard d6 = <&pio31 2 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1043*51cb23d4SPatrice Chotard d7 = <&pio31 3 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1044*51cb23d4SPatrice Chotard d8 = <&pio31 4 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1045*51cb23d4SPatrice Chotard d9 = <&pio31 5 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1046*51cb23d4SPatrice Chotard d10 = <&pio31 6 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1047*51cb23d4SPatrice Chotard d11 = <&pio31 7 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1048*51cb23d4SPatrice Chotard d12 = <&pio32 0 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1049*51cb23d4SPatrice Chotard d13 = <&pio32 1 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1050*51cb23d4SPatrice Chotard d14 = <&pio32 2 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1051*51cb23d4SPatrice Chotard d15 = <&pio32 3 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1052*51cb23d4SPatrice Chotard d16 = <&pio32 4 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1053*51cb23d4SPatrice Chotard d17 = <&pio32 5 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1054*51cb23d4SPatrice Chotard d18 = <&pio32 6 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1055*51cb23d4SPatrice Chotard d19 = <&pio32 7 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1056*51cb23d4SPatrice Chotard d20 = <&pio33 0 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1057*51cb23d4SPatrice Chotard d21 = <&pio33 1 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1058*51cb23d4SPatrice Chotard d22 = <&pio33 2 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1059*51cb23d4SPatrice Chotard d23 = <&pio33 3 ALT2 OUT SE_NICLK_IO 0 CLK_A>; 1060*51cb23d4SPatrice Chotard }; 1061*51cb23d4SPatrice Chotard }; 1062*51cb23d4SPatrice Chotard }; 1063*51cb23d4SPatrice Chotard 1064*51cb23d4SPatrice Chotard i2c4 { 1065*51cb23d4SPatrice Chotard pinctrl_i2c4_default: i2c4-default { 1066*51cb23d4SPatrice Chotard st,pins { 1067*51cb23d4SPatrice Chotard sda = <&pio30 1 ALT1 BIDIR>; 1068*51cb23d4SPatrice Chotard scl = <&pio30 0 ALT1 BIDIR>; 1069*51cb23d4SPatrice Chotard }; 1070*51cb23d4SPatrice Chotard }; 1071*51cb23d4SPatrice Chotard }; 1072*51cb23d4SPatrice Chotard 1073*51cb23d4SPatrice Chotard i2c5 { 1074*51cb23d4SPatrice Chotard pinctrl_i2c5_default: i2c5-default { 1075*51cb23d4SPatrice Chotard st,pins { 1076*51cb23d4SPatrice Chotard sda = <&pio34 4 ALT1 BIDIR>; 1077*51cb23d4SPatrice Chotard scl = <&pio34 3 ALT1 BIDIR>; 1078*51cb23d4SPatrice Chotard }; 1079*51cb23d4SPatrice Chotard }; 1080*51cb23d4SPatrice Chotard }; 1081*51cb23d4SPatrice Chotard 1082*51cb23d4SPatrice Chotard usb3 { 1083*51cb23d4SPatrice Chotard pinctrl_usb3: usb3-2 { 1084*51cb23d4SPatrice Chotard st,pins { 1085*51cb23d4SPatrice Chotard usb-oc-detect = <&pio35 4 ALT1 IN>; 1086*51cb23d4SPatrice Chotard usb-pwr-enable = <&pio35 5 ALT1 OUT>; 1087*51cb23d4SPatrice Chotard usb-vbus-valid = <&pio35 6 ALT1 IN>; 1088*51cb23d4SPatrice Chotard }; 1089*51cb23d4SPatrice Chotard }; 1090*51cb23d4SPatrice Chotard }; 1091*51cb23d4SPatrice Chotard 1092*51cb23d4SPatrice Chotard pwm0 { 1093*51cb23d4SPatrice Chotard pinctrl_pwm0_chan0_default: pwm0-0-default { 1094*51cb23d4SPatrice Chotard st,pins { 1095*51cb23d4SPatrice Chotard pwm-capturein = <&pio31 0 ALT1 IN>; 1096*51cb23d4SPatrice Chotard pwm-out = <&pio31 1 ALT1 OUT>; 1097*51cb23d4SPatrice Chotard }; 1098*51cb23d4SPatrice Chotard }; 1099*51cb23d4SPatrice Chotard }; 1100*51cb23d4SPatrice Chotard 1101*51cb23d4SPatrice Chotard spi4 { 1102*51cb23d4SPatrice Chotard pinctrl_spi4_default: spi4-4w-alt1-0 { 1103*51cb23d4SPatrice Chotard st,pins { 1104*51cb23d4SPatrice Chotard mtsr = <&pio30 1 ALT1 OUT>; 1105*51cb23d4SPatrice Chotard mrst = <&pio30 2 ALT1 IN>; 1106*51cb23d4SPatrice Chotard scl = <&pio30 0 ALT1 OUT>; 1107*51cb23d4SPatrice Chotard }; 1108*51cb23d4SPatrice Chotard }; 1109*51cb23d4SPatrice Chotard 1110*51cb23d4SPatrice Chotard pinctrl_spi4_3w_alt1_0: spi4-3w-alt1-0 { 1111*51cb23d4SPatrice Chotard st,pins { 1112*51cb23d4SPatrice Chotard mtsr = <&pio30 1 ALT1 BIDIR_PU>; 1113*51cb23d4SPatrice Chotard scl = <&pio30 0 ALT1 OUT>; 1114*51cb23d4SPatrice Chotard }; 1115*51cb23d4SPatrice Chotard }; 1116*51cb23d4SPatrice Chotard 1117*51cb23d4SPatrice Chotard pinctrl_spi4_4w_alt3_0: spi4-4w-alt3-0 { 1118*51cb23d4SPatrice Chotard st,pins { 1119*51cb23d4SPatrice Chotard mtsr = <&pio34 1 ALT3 OUT>; 1120*51cb23d4SPatrice Chotard mrst = <&pio34 2 ALT3 IN>; 1121*51cb23d4SPatrice Chotard scl = <&pio34 0 ALT3 OUT>; 1122*51cb23d4SPatrice Chotard }; 1123*51cb23d4SPatrice Chotard }; 1124*51cb23d4SPatrice Chotard 1125*51cb23d4SPatrice Chotard pinctrl_spi4_3w_alt3_0: spi4-3w-alt3-0 { 1126*51cb23d4SPatrice Chotard st,pins { 1127*51cb23d4SPatrice Chotard mtsr = <&pio34 1 ALT3 BIDIR_PU>; 1128*51cb23d4SPatrice Chotard scl = <&pio34 0 ALT3 OUT>; 1129*51cb23d4SPatrice Chotard }; 1130*51cb23d4SPatrice Chotard }; 1131*51cb23d4SPatrice Chotard }; 1132*51cb23d4SPatrice Chotard 1133*51cb23d4SPatrice Chotard i2s_out { 1134*51cb23d4SPatrice Chotard pinctrl_i2s_8ch_out: i2s_8ch_out{ 1135*51cb23d4SPatrice Chotard st,pins { 1136*51cb23d4SPatrice Chotard mclk = <&pio33 5 ALT1 OUT>; 1137*51cb23d4SPatrice Chotard lrclk = <&pio33 7 ALT1 OUT>; 1138*51cb23d4SPatrice Chotard sclk = <&pio33 6 ALT1 OUT>; 1139*51cb23d4SPatrice Chotard data0 = <&pio33 4 ALT1 OUT>; 1140*51cb23d4SPatrice Chotard data1 = <&pio34 0 ALT1 OUT>; 1141*51cb23d4SPatrice Chotard data2 = <&pio34 1 ALT1 OUT>; 1142*51cb23d4SPatrice Chotard data3 = <&pio34 2 ALT1 OUT>; 1143*51cb23d4SPatrice Chotard }; 1144*51cb23d4SPatrice Chotard }; 1145*51cb23d4SPatrice Chotard 1146*51cb23d4SPatrice Chotard pinctrl_i2s_2ch_out: i2s_2ch_out{ 1147*51cb23d4SPatrice Chotard st,pins { 1148*51cb23d4SPatrice Chotard mclk = <&pio33 5 ALT1 OUT>; 1149*51cb23d4SPatrice Chotard lrclk = <&pio33 7 ALT1 OUT>; 1150*51cb23d4SPatrice Chotard sclk = <&pio33 6 ALT1 OUT>; 1151*51cb23d4SPatrice Chotard data0 = <&pio33 4 ALT1 OUT>; 1152*51cb23d4SPatrice Chotard }; 1153*51cb23d4SPatrice Chotard }; 1154*51cb23d4SPatrice Chotard }; 1155*51cb23d4SPatrice Chotard 1156*51cb23d4SPatrice Chotard i2s_in { 1157*51cb23d4SPatrice Chotard pinctrl_i2s_8ch_in: i2s_8ch_in{ 1158*51cb23d4SPatrice Chotard st,pins { 1159*51cb23d4SPatrice Chotard mclk = <&pio32 5 ALT1 IN>; 1160*51cb23d4SPatrice Chotard lrclk = <&pio32 7 ALT1 IN>; 1161*51cb23d4SPatrice Chotard sclk = <&pio32 6 ALT1 IN>; 1162*51cb23d4SPatrice Chotard data0 = <&pio32 4 ALT1 IN>; 1163*51cb23d4SPatrice Chotard data1 = <&pio33 0 ALT1 IN>; 1164*51cb23d4SPatrice Chotard data2 = <&pio33 1 ALT1 IN>; 1165*51cb23d4SPatrice Chotard data3 = <&pio33 2 ALT1 IN>; 1166*51cb23d4SPatrice Chotard data4 = <&pio33 3 ALT1 IN>; 1167*51cb23d4SPatrice Chotard }; 1168*51cb23d4SPatrice Chotard }; 1169*51cb23d4SPatrice Chotard 1170*51cb23d4SPatrice Chotard pinctrl_i2s_2ch_in: i2s_2ch_in{ 1171*51cb23d4SPatrice Chotard st,pins { 1172*51cb23d4SPatrice Chotard mclk = <&pio32 5 ALT1 IN>; 1173*51cb23d4SPatrice Chotard lrclk = <&pio32 7 ALT1 IN>; 1174*51cb23d4SPatrice Chotard sclk = <&pio32 6 ALT1 IN>; 1175*51cb23d4SPatrice Chotard data0 = <&pio32 4 ALT1 IN>; 1176*51cb23d4SPatrice Chotard }; 1177*51cb23d4SPatrice Chotard }; 1178*51cb23d4SPatrice Chotard }; 1179*51cb23d4SPatrice Chotard 1180*51cb23d4SPatrice Chotard spdif_out { 1181*51cb23d4SPatrice Chotard pinctrl_spdif_out: spdif_out{ 1182*51cb23d4SPatrice Chotard st,pins { 1183*51cb23d4SPatrice Chotard spdif_out = <&pio34 7 ALT1 OUT>; 1184*51cb23d4SPatrice Chotard }; 1185*51cb23d4SPatrice Chotard }; 1186*51cb23d4SPatrice Chotard }; 1187*51cb23d4SPatrice Chotard 1188*51cb23d4SPatrice Chotard serial3 { 1189*51cb23d4SPatrice Chotard pinctrl_serial3: serial3-0 { 1190*51cb23d4SPatrice Chotard st,pins { 1191*51cb23d4SPatrice Chotard tx = <&pio31 3 ALT1 OUT>; 1192*51cb23d4SPatrice Chotard rx = <&pio31 4 ALT1 IN>; 1193*51cb23d4SPatrice Chotard }; 1194*51cb23d4SPatrice Chotard }; 1195*51cb23d4SPatrice Chotard }; 1196*51cb23d4SPatrice Chotard }; 1197*51cb23d4SPatrice Chotard 1198*51cb23d4SPatrice Chotard pin-controller-flash { 1199*51cb23d4SPatrice Chotard #address-cells = <1>; 1200*51cb23d4SPatrice Chotard #size-cells = <1>; 1201*51cb23d4SPatrice Chotard compatible = "st,stih407-flash-pinctrl"; 1202*51cb23d4SPatrice Chotard st,syscfg = <&syscfg_flash>; 1203*51cb23d4SPatrice Chotard reg = <0x0923f080 0x4>; 1204*51cb23d4SPatrice Chotard reg-names = "irqmux"; 1205*51cb23d4SPatrice Chotard interrupts = <GIC_SPI 192 IRQ_TYPE_NONE>; 1206*51cb23d4SPatrice Chotard interrupts-names = "irqmux"; 1207*51cb23d4SPatrice Chotard ranges = <0 0x09230000 0x3000>; 1208*51cb23d4SPatrice Chotard 1209*51cb23d4SPatrice Chotard pio40: gpio@09230000 { 1210*51cb23d4SPatrice Chotard gpio-controller; 1211*51cb23d4SPatrice Chotard #gpio-cells = <2>; 1212*51cb23d4SPatrice Chotard interrupt-controller; 1213*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 1214*51cb23d4SPatrice Chotard reg = <0 0x100>; 1215*51cb23d4SPatrice Chotard st,bank-name = "PIO40"; 1216*51cb23d4SPatrice Chotard }; 1217*51cb23d4SPatrice Chotard pio41: gpio@09231000 { 1218*51cb23d4SPatrice Chotard gpio-controller; 1219*51cb23d4SPatrice Chotard #gpio-cells = <2>; 1220*51cb23d4SPatrice Chotard interrupt-controller; 1221*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 1222*51cb23d4SPatrice Chotard reg = <0x1000 0x100>; 1223*51cb23d4SPatrice Chotard st,bank-name = "PIO41"; 1224*51cb23d4SPatrice Chotard }; 1225*51cb23d4SPatrice Chotard pio42: gpio@09232000 { 1226*51cb23d4SPatrice Chotard gpio-controller; 1227*51cb23d4SPatrice Chotard #gpio-cells = <2>; 1228*51cb23d4SPatrice Chotard interrupt-controller; 1229*51cb23d4SPatrice Chotard #interrupt-cells = <2>; 1230*51cb23d4SPatrice Chotard reg = <0x2000 0x100>; 1231*51cb23d4SPatrice Chotard st,bank-name = "PIO42"; 1232*51cb23d4SPatrice Chotard }; 1233*51cb23d4SPatrice Chotard 1234*51cb23d4SPatrice Chotard mmc0 { 1235*51cb23d4SPatrice Chotard pinctrl_mmc0: mmc0-0 { 1236*51cb23d4SPatrice Chotard st,pins { 1237*51cb23d4SPatrice Chotard emmc_clk = <&pio40 6 ALT1 BIDIR>; 1238*51cb23d4SPatrice Chotard emmc_cmd = <&pio40 7 ALT1 BIDIR_PU>; 1239*51cb23d4SPatrice Chotard emmc_d0 = <&pio41 0 ALT1 BIDIR_PU>; 1240*51cb23d4SPatrice Chotard emmc_d1 = <&pio41 1 ALT1 BIDIR_PU>; 1241*51cb23d4SPatrice Chotard emmc_d2 = <&pio41 2 ALT1 BIDIR_PU>; 1242*51cb23d4SPatrice Chotard emmc_d3 = <&pio41 3 ALT1 BIDIR_PU>; 1243*51cb23d4SPatrice Chotard emmc_d4 = <&pio41 4 ALT1 BIDIR_PU>; 1244*51cb23d4SPatrice Chotard emmc_d5 = <&pio41 5 ALT1 BIDIR_PU>; 1245*51cb23d4SPatrice Chotard emmc_d6 = <&pio41 6 ALT1 BIDIR_PU>; 1246*51cb23d4SPatrice Chotard emmc_d7 = <&pio41 7 ALT1 BIDIR_PU>; 1247*51cb23d4SPatrice Chotard }; 1248*51cb23d4SPatrice Chotard }; 1249*51cb23d4SPatrice Chotard pinctrl_sd0: sd0-0 { 1250*51cb23d4SPatrice Chotard st,pins { 1251*51cb23d4SPatrice Chotard sd_clk = <&pio40 6 ALT1 BIDIR>; 1252*51cb23d4SPatrice Chotard sd_cmd = <&pio40 7 ALT1 BIDIR_PU>; 1253*51cb23d4SPatrice Chotard sd_dat0 = <&pio41 0 ALT1 BIDIR_PU>; 1254*51cb23d4SPatrice Chotard sd_dat1 = <&pio41 1 ALT1 BIDIR_PU>; 1255*51cb23d4SPatrice Chotard sd_dat2 = <&pio41 2 ALT1 BIDIR_PU>; 1256*51cb23d4SPatrice Chotard sd_dat3 = <&pio41 3 ALT1 BIDIR_PU>; 1257*51cb23d4SPatrice Chotard sd_led = <&pio42 0 ALT2 OUT>; 1258*51cb23d4SPatrice Chotard sd_pwren = <&pio42 2 ALT2 OUT>; 1259*51cb23d4SPatrice Chotard sd_vsel = <&pio42 3 ALT2 OUT>; 1260*51cb23d4SPatrice Chotard sd_cd = <&pio42 4 ALT2 IN>; 1261*51cb23d4SPatrice Chotard sd_wp = <&pio42 5 ALT2 IN>; 1262*51cb23d4SPatrice Chotard }; 1263*51cb23d4SPatrice Chotard }; 1264*51cb23d4SPatrice Chotard }; 1265*51cb23d4SPatrice Chotard 1266*51cb23d4SPatrice Chotard fsm { 1267*51cb23d4SPatrice Chotard pinctrl_fsm: fsm { 1268*51cb23d4SPatrice Chotard st,pins { 1269*51cb23d4SPatrice Chotard spi-fsm-clk = <&pio40 1 ALT1 OUT>; 1270*51cb23d4SPatrice Chotard spi-fsm-cs = <&pio40 0 ALT1 OUT>; 1271*51cb23d4SPatrice Chotard spi-fsm-mosi = <&pio40 2 ALT1 OUT>; 1272*51cb23d4SPatrice Chotard spi-fsm-miso = <&pio40 3 ALT1 IN>; 1273*51cb23d4SPatrice Chotard spi-fsm-hol = <&pio40 5 ALT1 OUT>; 1274*51cb23d4SPatrice Chotard spi-fsm-wp = <&pio40 4 ALT1 OUT>; 1275*51cb23d4SPatrice Chotard }; 1276*51cb23d4SPatrice Chotard }; 1277*51cb23d4SPatrice Chotard }; 1278*51cb23d4SPatrice Chotard 1279*51cb23d4SPatrice Chotard nand { 1280*51cb23d4SPatrice Chotard pinctrl_nand: nand { 1281*51cb23d4SPatrice Chotard st,pins { 1282*51cb23d4SPatrice Chotard nand_cs1 = <&pio40 6 ALT3 OUT>; 1283*51cb23d4SPatrice Chotard nand_cs0 = <&pio40 7 ALT3 OUT>; 1284*51cb23d4SPatrice Chotard nand_d0 = <&pio41 0 ALT3 BIDIR>; 1285*51cb23d4SPatrice Chotard nand_d1 = <&pio41 1 ALT3 BIDIR>; 1286*51cb23d4SPatrice Chotard nand_d2 = <&pio41 2 ALT3 BIDIR>; 1287*51cb23d4SPatrice Chotard nand_d3 = <&pio41 3 ALT3 BIDIR>; 1288*51cb23d4SPatrice Chotard nand_d4 = <&pio41 4 ALT3 BIDIR>; 1289*51cb23d4SPatrice Chotard nand_d5 = <&pio41 5 ALT3 BIDIR>; 1290*51cb23d4SPatrice Chotard nand_d6 = <&pio41 6 ALT3 BIDIR>; 1291*51cb23d4SPatrice Chotard nand_d7 = <&pio41 7 ALT3 BIDIR>; 1292*51cb23d4SPatrice Chotard nand_we = <&pio42 0 ALT3 OUT>; 1293*51cb23d4SPatrice Chotard nand_dqs = <&pio42 1 ALT3 OUT>; 1294*51cb23d4SPatrice Chotard nand_ale = <&pio42 2 ALT3 OUT>; 1295*51cb23d4SPatrice Chotard nand_cle = <&pio42 3 ALT3 OUT>; 1296*51cb23d4SPatrice Chotard nand_rnb = <&pio42 4 ALT3 IN>; 1297*51cb23d4SPatrice Chotard nand_oe = <&pio42 5 ALT3 OUT>; 1298*51cb23d4SPatrice Chotard }; 1299*51cb23d4SPatrice Chotard }; 1300*51cb23d4SPatrice Chotard }; 1301*51cb23d4SPatrice Chotard }; 1302*51cb23d4SPatrice Chotard }; 1303*51cb23d4SPatrice Chotard}; 1304