1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * support for the bosch am335x based shc c3 board 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright, C) 2015 Heiko Schocher <hs@denx.de> 6*724ba675SRob Herring * 7*724ba675SRob Herring */ 8*724ba675SRob Herring/dts-v1/; 9*724ba675SRob Herring 10*724ba675SRob Herring#include "am33xx.dtsi" 11*724ba675SRob Herring#include <dt-bindings/input/input.h> 12*724ba675SRob Herring 13*724ba675SRob Herring/ { 14*724ba675SRob Herring model = "Bosch SHC"; 15*724ba675SRob Herring compatible = "ti,am335x-shc", "ti,am335x-bone", "ti,am33xx"; 16*724ba675SRob Herring 17*724ba675SRob Herring aliases { 18*724ba675SRob Herring mmcblk0 = &mmc1; 19*724ba675SRob Herring mmcblk1 = &mmc2; 20*724ba675SRob Herring }; 21*724ba675SRob Herring 22*724ba675SRob Herring cpus { 23*724ba675SRob Herring cpu@0 { 24*724ba675SRob Herring /* 25*724ba675SRob Herring * To consider voltage drop between PMIC and SoC, 26*724ba675SRob Herring * tolerance value is reduced to 2% from 4% and 27*724ba675SRob Herring * voltage value is increased as a precaution. 28*724ba675SRob Herring */ 29*724ba675SRob Herring operating-points = < 30*724ba675SRob Herring /* kHz uV */ 31*724ba675SRob Herring 594000 1225000 32*724ba675SRob Herring 294000 1125000 33*724ba675SRob Herring >; 34*724ba675SRob Herring voltage-tolerance = <2>; /* 2 percentage */ 35*724ba675SRob Herring cpu0-supply = <&dcdc2_reg>; 36*724ba675SRob Herring }; 37*724ba675SRob Herring }; 38*724ba675SRob Herring 39*724ba675SRob Herring gpio-keys { 40*724ba675SRob Herring compatible = "gpio-keys"; 41*724ba675SRob Herring 42*724ba675SRob Herring back-button { 43*724ba675SRob Herring label = "Back Button"; 44*724ba675SRob Herring gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>; 45*724ba675SRob Herring linux,code = <KEY_BACK>; 46*724ba675SRob Herring debounce-interval = <1000>; 47*724ba675SRob Herring wakeup-source; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring front-button { 51*724ba675SRob Herring label = "Front Button"; 52*724ba675SRob Herring gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>; 53*724ba675SRob Herring linux,code = <KEY_FRONT>; 54*724ba675SRob Herring debounce-interval = <1000>; 55*724ba675SRob Herring wakeup-source; 56*724ba675SRob Herring }; 57*724ba675SRob Herring }; 58*724ba675SRob Herring 59*724ba675SRob Herring leds { 60*724ba675SRob Herring pinctrl-names = "default"; 61*724ba675SRob Herring pinctrl-0 = <&user_leds_s0>; 62*724ba675SRob Herring 63*724ba675SRob Herring compatible = "gpio-leds"; 64*724ba675SRob Herring 65*724ba675SRob Herring led1 { 66*724ba675SRob Herring label = "shc:power:red"; 67*724ba675SRob Herring gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; 68*724ba675SRob Herring default-state = "off"; 69*724ba675SRob Herring }; 70*724ba675SRob Herring 71*724ba675SRob Herring led2 { 72*724ba675SRob Herring label = "shc:power:bl"; 73*724ba675SRob Herring gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; 74*724ba675SRob Herring linux,default-trigger = "timer"; 75*724ba675SRob Herring default-state = "on"; 76*724ba675SRob Herring }; 77*724ba675SRob Herring 78*724ba675SRob Herring led3 { 79*724ba675SRob Herring label = "shc:lan:red"; 80*724ba675SRob Herring gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; 81*724ba675SRob Herring default-state = "off"; 82*724ba675SRob Herring }; 83*724ba675SRob Herring 84*724ba675SRob Herring led4 { 85*724ba675SRob Herring label = "shc:lan:bl"; 86*724ba675SRob Herring gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; 87*724ba675SRob Herring default-state = "off"; 88*724ba675SRob Herring }; 89*724ba675SRob Herring 90*724ba675SRob Herring led5 { 91*724ba675SRob Herring label = "shc:cloud:red"; 92*724ba675SRob Herring gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; 93*724ba675SRob Herring default-state = "off"; 94*724ba675SRob Herring }; 95*724ba675SRob Herring 96*724ba675SRob Herring led6 { 97*724ba675SRob Herring label = "shc:cloud:bl"; 98*724ba675SRob Herring gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; 99*724ba675SRob Herring default-state = "off"; 100*724ba675SRob Herring }; 101*724ba675SRob Herring }; 102*724ba675SRob Herring 103*724ba675SRob Herring memory@80000000 { 104*724ba675SRob Herring device_type = "memory"; 105*724ba675SRob Herring reg = <0x80000000 0x20000000>; /* 512 MB */ 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring vmmcsd_fixed: fixedregulator0 { 109*724ba675SRob Herring compatible = "regulator-fixed"; 110*724ba675SRob Herring regulator-name = "vmmcsd_fixed"; 111*724ba675SRob Herring regulator-min-microvolt = <3300000>; 112*724ba675SRob Herring regulator-max-microvolt = <3300000>; 113*724ba675SRob Herring }; 114*724ba675SRob Herring}; 115*724ba675SRob Herring 116*724ba675SRob Herring&aes { 117*724ba675SRob Herring status = "okay"; 118*724ba675SRob Herring}; 119*724ba675SRob Herring 120*724ba675SRob Herring&epwmss1 { 121*724ba675SRob Herring status = "okay"; 122*724ba675SRob Herring 123*724ba675SRob Herring ehrpwm1: pwm@200 { 124*724ba675SRob Herring pinctrl-names = "default"; 125*724ba675SRob Herring pinctrl-0 = <&ehrpwm1_pins>; 126*724ba675SRob Herring status = "okay"; 127*724ba675SRob Herring }; 128*724ba675SRob Herring}; 129*724ba675SRob Herring 130*724ba675SRob Herring&gpio1 { 131*724ba675SRob Herring hmtc-rst-hog { 132*724ba675SRob Herring gpio-hog; 133*724ba675SRob Herring gpios = <24 GPIO_ACTIVE_LOW>; 134*724ba675SRob Herring output-high; 135*724ba675SRob Herring line-name = "homematic_reset"; 136*724ba675SRob Herring }; 137*724ba675SRob Herring 138*724ba675SRob Herring hmtc-prog-hog { 139*724ba675SRob Herring gpio-hog; 140*724ba675SRob Herring gpios = <27 GPIO_ACTIVE_LOW>; 141*724ba675SRob Herring output-high; 142*724ba675SRob Herring line-name = "homematic_program"; 143*724ba675SRob Herring }; 144*724ba675SRob Herring}; 145*724ba675SRob Herring 146*724ba675SRob Herring&gpio3 { 147*724ba675SRob Herring zgb-rst-hog { 148*724ba675SRob Herring gpio-hog; 149*724ba675SRob Herring gpios = <18 GPIO_ACTIVE_LOW>; 150*724ba675SRob Herring output-low; 151*724ba675SRob Herring line-name = "zigbee_reset"; 152*724ba675SRob Herring }; 153*724ba675SRob Herring 154*724ba675SRob Herring zgb-boot-hog { 155*724ba675SRob Herring gpio-hog; 156*724ba675SRob Herring gpios = <19 GPIO_ACTIVE_HIGH>; 157*724ba675SRob Herring output-high; 158*724ba675SRob Herring line-name = "zigbee_boot"; 159*724ba675SRob Herring }; 160*724ba675SRob Herring}; 161*724ba675SRob Herring 162*724ba675SRob Herring&i2c0 { 163*724ba675SRob Herring pinctrl-names = "default"; 164*724ba675SRob Herring pinctrl-0 = <&i2c0_pins>; 165*724ba675SRob Herring status = "okay"; 166*724ba675SRob Herring clock-frequency = <400000>; 167*724ba675SRob Herring 168*724ba675SRob Herring tps: tps@24 { 169*724ba675SRob Herring reg = <0x24>; 170*724ba675SRob Herring }; 171*724ba675SRob Herring 172*724ba675SRob Herring at24@50 { 173*724ba675SRob Herring compatible = "atmel,24c32"; 174*724ba675SRob Herring pagesize = <32>; 175*724ba675SRob Herring reg = <0x50>; 176*724ba675SRob Herring }; 177*724ba675SRob Herring 178*724ba675SRob Herring pcf8563@51 { 179*724ba675SRob Herring compatible = "nxp,pcf8563"; 180*724ba675SRob Herring reg = <0x51>; 181*724ba675SRob Herring }; 182*724ba675SRob Herring}; 183*724ba675SRob Herring 184*724ba675SRob Herring&mac_sw { 185*724ba675SRob Herring pinctrl-names = "default", "sleep"; 186*724ba675SRob Herring pinctrl-0 = <&cpsw_default>; 187*724ba675SRob Herring pinctrl-1 = <&cpsw_sleep>; 188*724ba675SRob Herring status = "okay"; 189*724ba675SRob Herring}; 190*724ba675SRob Herring 191*724ba675SRob Herring&cpsw_port1 { 192*724ba675SRob Herring phy-mode = "mii"; 193*724ba675SRob Herring phy-handle = <ðernetphy0>; 194*724ba675SRob Herring ti,dual-emac-pvid = <1>; 195*724ba675SRob Herring}; 196*724ba675SRob Herring 197*724ba675SRob Herring&cpsw_port2 { 198*724ba675SRob Herring status = "disabled"; 199*724ba675SRob Herring}; 200*724ba675SRob Herring 201*724ba675SRob Herring&davinci_mdio_sw { 202*724ba675SRob Herring pinctrl-names = "default", "sleep"; 203*724ba675SRob Herring pinctrl-0 = <&davinci_mdio_default>; 204*724ba675SRob Herring pinctrl-1 = <&davinci_mdio_sleep>; 205*724ba675SRob Herring 206*724ba675SRob Herring ethernetphy0: ethernet-phy@0 { 207*724ba675SRob Herring reg = <0>; 208*724ba675SRob Herring smsc,disable-energy-detect; 209*724ba675SRob Herring }; 210*724ba675SRob Herring}; 211*724ba675SRob Herring 212*724ba675SRob Herring&mmc1 { 213*724ba675SRob Herring pinctrl-names = "default"; 214*724ba675SRob Herring pinctrl-0 = <&mmc1_pins>; 215*724ba675SRob Herring bus-width = <0x4>; 216*724ba675SRob Herring cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 217*724ba675SRob Herring cd-inverted; 218*724ba675SRob Herring max-frequency = <26000000>; 219*724ba675SRob Herring vmmc-supply = <&vmmcsd_fixed>; 220*724ba675SRob Herring status = "okay"; 221*724ba675SRob Herring}; 222*724ba675SRob Herring 223*724ba675SRob Herring&mmc2 { 224*724ba675SRob Herring pinctrl-names = "default"; 225*724ba675SRob Herring pinctrl-0 = <&emmc_pins>; 226*724ba675SRob Herring bus-width = <8>; 227*724ba675SRob Herring max-frequency = <26000000>; 228*724ba675SRob Herring sd-uhs-sdr25; 229*724ba675SRob Herring vmmc-supply = <&vmmcsd_fixed>; 230*724ba675SRob Herring status = "okay"; 231*724ba675SRob Herring}; 232*724ba675SRob Herring 233*724ba675SRob Herring&mmc3 { 234*724ba675SRob Herring pinctrl-names = "default"; 235*724ba675SRob Herring pinctrl-0 = <&mmc3_pins>; 236*724ba675SRob Herring bus-width = <4>; 237*724ba675SRob Herring cap-power-off-card; 238*724ba675SRob Herring max-frequency = <26000000>; 239*724ba675SRob Herring sd-uhs-sdr25; 240*724ba675SRob Herring vmmc-supply = <&vmmcsd_fixed>; 241*724ba675SRob Herring status = "okay"; 242*724ba675SRob Herring}; 243*724ba675SRob Herring 244*724ba675SRob Herring&rtc { 245*724ba675SRob Herring ti,no-init; 246*724ba675SRob Herring}; 247*724ba675SRob Herring 248*724ba675SRob Herring&sham { 249*724ba675SRob Herring status = "okay"; 250*724ba675SRob Herring}; 251*724ba675SRob Herring 252*724ba675SRob Herring&tps { 253*724ba675SRob Herring compatible = "ti,tps65217"; 254*724ba675SRob Herring ti,pmic-shutdown-controller; 255*724ba675SRob Herring 256*724ba675SRob Herring regulators { 257*724ba675SRob Herring #address-cells = <1>; 258*724ba675SRob Herring #size-cells = <0>; 259*724ba675SRob Herring 260*724ba675SRob Herring dcdc1_reg: regulator@0 { 261*724ba675SRob Herring reg = <0>; 262*724ba675SRob Herring regulator-name = "vdds_dpr"; 263*724ba675SRob Herring regulator-compatible = "dcdc1"; 264*724ba675SRob Herring regulator-min-microvolt = <1300000>; 265*724ba675SRob Herring regulator-max-microvolt = <1450000>; 266*724ba675SRob Herring regulator-boot-on; 267*724ba675SRob Herring regulator-always-on; 268*724ba675SRob Herring }; 269*724ba675SRob Herring 270*724ba675SRob Herring dcdc2_reg: regulator@1 { 271*724ba675SRob Herring reg = <1>; 272*724ba675SRob Herring /* 273*724ba675SRob Herring * VDD_MPU voltage limits 0.95V - 1.26V with 274*724ba675SRob Herring * +/-4% tolerance 275*724ba675SRob Herring */ 276*724ba675SRob Herring regulator-compatible = "dcdc2"; 277*724ba675SRob Herring regulator-name = "vdd_mpu"; 278*724ba675SRob Herring regulator-min-microvolt = <925000>; 279*724ba675SRob Herring regulator-max-microvolt = <1375000>; 280*724ba675SRob Herring regulator-boot-on; 281*724ba675SRob Herring regulator-always-on; 282*724ba675SRob Herring regulator-ramp-delay = <70000>; 283*724ba675SRob Herring }; 284*724ba675SRob Herring 285*724ba675SRob Herring dcdc3_reg: regulator@2 { 286*724ba675SRob Herring reg = <2>; 287*724ba675SRob Herring /* 288*724ba675SRob Herring * VDD_CORE voltage limits 0.95V - 1.1V with 289*724ba675SRob Herring * +/-4% tolerance 290*724ba675SRob Herring */ 291*724ba675SRob Herring regulator-name = "vdd_core"; 292*724ba675SRob Herring regulator-compatible = "dcdc3"; 293*724ba675SRob Herring regulator-min-microvolt = <925000>; 294*724ba675SRob Herring regulator-max-microvolt = <1125000>; 295*724ba675SRob Herring regulator-boot-on; 296*724ba675SRob Herring regulator-always-on; 297*724ba675SRob Herring }; 298*724ba675SRob Herring 299*724ba675SRob Herring ldo1_reg: regulator@3 { 300*724ba675SRob Herring reg = <3>; 301*724ba675SRob Herring regulator-name = "vio,vrtc,vdds"; 302*724ba675SRob Herring regulator-compatible = "ldo1"; 303*724ba675SRob Herring regulator-min-microvolt = <1000000>; 304*724ba675SRob Herring regulator-max-microvolt = <1800000>; 305*724ba675SRob Herring regulator-always-on; 306*724ba675SRob Herring }; 307*724ba675SRob Herring 308*724ba675SRob Herring ldo2_reg: regulator@4 { 309*724ba675SRob Herring reg = <4>; 310*724ba675SRob Herring regulator-name = "vdd_3v3aux"; 311*724ba675SRob Herring regulator-compatible = "ldo2"; 312*724ba675SRob Herring regulator-min-microvolt = <900000>; 313*724ba675SRob Herring regulator-max-microvolt = <3300000>; 314*724ba675SRob Herring regulator-always-on; 315*724ba675SRob Herring }; 316*724ba675SRob Herring 317*724ba675SRob Herring ldo3_reg: regulator@5 { 318*724ba675SRob Herring reg = <5>; 319*724ba675SRob Herring regulator-name = "vdd_1v8"; 320*724ba675SRob Herring regulator-compatible = "ldo3"; 321*724ba675SRob Herring regulator-min-microvolt = <900000>; 322*724ba675SRob Herring regulator-max-microvolt = <1800000>; 323*724ba675SRob Herring regulator-always-on; 324*724ba675SRob Herring }; 325*724ba675SRob Herring 326*724ba675SRob Herring ldo4_reg: regulator@6 { 327*724ba675SRob Herring reg = <6>; 328*724ba675SRob Herring regulator-name = "vdd_3v3a"; 329*724ba675SRob Herring regulator-compatible = "ldo4"; 330*724ba675SRob Herring regulator-min-microvolt = <1800000>; 331*724ba675SRob Herring regulator-max-microvolt = <3300000>; 332*724ba675SRob Herring regulator-always-on; 333*724ba675SRob Herring }; 334*724ba675SRob Herring }; 335*724ba675SRob Herring}; 336*724ba675SRob Herring 337*724ba675SRob Herring&uart0 { 338*724ba675SRob Herring pinctrl-names = "default"; 339*724ba675SRob Herring pinctrl-0 = <&uart0_pins>; 340*724ba675SRob Herring status = "okay"; 341*724ba675SRob Herring}; 342*724ba675SRob Herring 343*724ba675SRob Herring&uart1 { 344*724ba675SRob Herring pinctrl-names = "default"; 345*724ba675SRob Herring pinctrl-0 = <&uart1_pins>; 346*724ba675SRob Herring status = "okay"; 347*724ba675SRob Herring}; 348*724ba675SRob Herring 349*724ba675SRob Herring&uart2 { 350*724ba675SRob Herring pinctrl-names = "default"; 351*724ba675SRob Herring pinctrl-0 = <&uart2_pins>; 352*724ba675SRob Herring status = "okay"; 353*724ba675SRob Herring}; 354*724ba675SRob Herring 355*724ba675SRob Herring&uart4 { 356*724ba675SRob Herring pinctrl-names = "default"; 357*724ba675SRob Herring pinctrl-0 = <&uart4_pins>; 358*724ba675SRob Herring status = "okay"; 359*724ba675SRob Herring}; 360*724ba675SRob Herring 361*724ba675SRob Herring&usb1 { 362*724ba675SRob Herring dr_mode = "host"; 363*724ba675SRob Herring}; 364*724ba675SRob Herring 365*724ba675SRob Herring&am33xx_pinmux { 366*724ba675SRob Herring pinctrl-names = "default"; 367*724ba675SRob Herring pinctrl-0 = <&clkout2_pin>; 368*724ba675SRob Herring 369*724ba675SRob Herring clkout2_pin: clkout2-pins { 370*724ba675SRob Herring pinctrl-single,pins = < 371*724ba675SRob Herring /* xdma_event_intr1.clkout2 */ 372*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_INPUT, MUX_MODE6) 373*724ba675SRob Herring >; 374*724ba675SRob Herring }; 375*724ba675SRob Herring 376*724ba675SRob Herring cpsw_default: cpsw-default-pins { 377*724ba675SRob Herring pinctrl-single,pins = < 378*724ba675SRob Herring /* Slave 1 */ 379*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE0) 380*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 381*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE0) 382*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 383*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 384*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE0) 385*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE0) 386*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLUP, MUX_MODE0) 387*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE0) 388*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE0) 389*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE0) 390*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE0) 391*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE0) 392*724ba675SRob Herring >; 393*724ba675SRob Herring }; 394*724ba675SRob Herring 395*724ba675SRob Herring cpsw_sleep: cpsw-sleep-pins { 396*724ba675SRob Herring pinctrl-single,pins = < 397*724ba675SRob Herring /* Slave 1 reset value */ 398*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE7) 399*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) 400*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE7) 401*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_INPUT_PULLDOWN, MUX_MODE7) 402*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_INPUT_PULLDOWN, MUX_MODE7) 403*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) 404*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE7) 405*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) 406*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) 407*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE7) 408*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE7) 409*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) 410*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE7) 411*724ba675SRob Herring >; 412*724ba675SRob Herring }; 413*724ba675SRob Herring 414*724ba675SRob Herring davinci_mdio_default: davinci-mdio-default-pins { 415*724ba675SRob Herring pinctrl-single,pins = < 416*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0) 417*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0) 418*724ba675SRob Herring >; 419*724ba675SRob Herring }; 420*724ba675SRob Herring 421*724ba675SRob Herring davinci_mdio_sleep: davinci-mdio-sleep-pins { 422*724ba675SRob Herring pinctrl-single,pins = < 423*724ba675SRob Herring /* MDIO reset value */ 424*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7) 425*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7) 426*724ba675SRob Herring >; 427*724ba675SRob Herring }; 428*724ba675SRob Herring 429*724ba675SRob Herring ehrpwm1_pins: ehrpwm1-pins { 430*724ba675SRob Herring pinctrl-single,pins = < 431*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_OUTPUT, MUX_MODE6) /* gpmc_a3.gpio1_19 */ 432*724ba675SRob Herring >; 433*724ba675SRob Herring }; 434*724ba675SRob Herring 435*724ba675SRob Herring emmc_pins: emmc-pins { 436*724ba675SRob Herring pinctrl-single,pins = < 437*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_INPUT, MUX_MODE2) 438*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_INPUT_PULLUP, MUX_MODE2) 439*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE1) 440*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE1) 441*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE1) 442*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE1) 443*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE1) 444*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE1) 445*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE1) 446*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE1) 447*724ba675SRob Herring >; 448*724ba675SRob Herring }; 449*724ba675SRob Herring 450*724ba675SRob Herring i2c0_pins: i2c0-pins { 451*724ba675SRob Herring pinctrl-single,pins = < 452*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT, MUX_MODE0) 453*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT, MUX_MODE0) 454*724ba675SRob Herring >; 455*724ba675SRob Herring }; 456*724ba675SRob Herring 457*724ba675SRob Herring mmc1_pins: mmc1-pins { 458*724ba675SRob Herring pinctrl-single,pins = < 459*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE5) 460*724ba675SRob Herring >; 461*724ba675SRob Herring }; 462*724ba675SRob Herring 463*724ba675SRob Herring mmc3_pins: mmc3-pins { 464*724ba675SRob Herring pinctrl-single,pins = < 465*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT, MUX_MODE3) 466*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT, MUX_MODE3) 467*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT, MUX_MODE3) 468*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT, MUX_MODE3) 469*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT, MUX_MODE3) 470*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT, MUX_MODE3) 471*724ba675SRob Herring >; 472*724ba675SRob Herring }; 473*724ba675SRob Herring 474*724ba675SRob Herring uart0_pins: uart0-pins { 475*724ba675SRob Herring pinctrl-single,pins = < 476*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE0) 477*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_OUTPUT, MUX_MODE0) 478*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLDOWN, MUX_MODE0) 479*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT, MUX_MODE0) 480*724ba675SRob Herring >; 481*724ba675SRob Herring }; 482*724ba675SRob Herring 483*724ba675SRob Herring uart1_pins: uart1-pins { 484*724ba675SRob Herring pinctrl-single,pins = < 485*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE0) 486*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT, MUX_MODE0) 487*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT, MUX_MODE0) 488*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT, MUX_MODE0) 489*724ba675SRob Herring >; 490*724ba675SRob Herring }; 491*724ba675SRob Herring 492*724ba675SRob Herring uart2_pins: uart2-pins { 493*724ba675SRob Herring pinctrl-single,pins = < 494*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE1) 495*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1) 496*724ba675SRob Herring >; 497*724ba675SRob Herring }; 498*724ba675SRob Herring 499*724ba675SRob Herring uart4_pins: uart4-pins { 500*724ba675SRob Herring pinctrl-single,pins = < 501*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE6) 502*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_OUTPUT_PULLUP, MUX_MODE6) 503*724ba675SRob Herring >; 504*724ba675SRob Herring }; 505*724ba675SRob Herring 506*724ba675SRob Herring user_leds_s0: user-leds-s0-pins { 507*724ba675SRob Herring pinctrl-single,pins = < 508*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD8, PIN_OUTPUT, MUX_MODE7) 509*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_OUTPUT, MUX_MODE7) 510*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_OUTPUT, MUX_MODE7) 511*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_OUTPUT, MUX_MODE7) 512*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT, MUX_MODE7) 513*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_OUTPUT, MUX_MODE7) 514*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT, MUX_MODE7) 515*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT_PULLDOWN, MUX_MODE7) 516*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT, MUX_MODE7) 517*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT, MUX_MODE7) 518*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_OUTPUT_PULLUP, MUX_MODE7) 519*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_INPUT, MUX_MODE7) 520*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT, MUX_MODE7) 521*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT, MUX_MODE7) 522*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT, MUX_MODE7) 523*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_OUTPUT_PULLUP, MUX_MODE7) 524*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_INPUT, MUX_MODE7) 525*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE7) 526*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_INPUT, MUX_MODE7) 527*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE7) 528*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_OUTPUT, MUX_MODE7) 529*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PIN_OUTPUT, MUX_MODE7) 530*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PIN_OUTPUT, MUX_MODE7) 531*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PIN_OUTPUT, MUX_MODE7) 532*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PIN_OUTPUT, MUX_MODE7) 533*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PIN_OUTPUT, MUX_MODE7) 534*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PIN_OUTPUT, MUX_MODE7) 535*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PIN_OUTPUT, MUX_MODE7) 536*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PIN_OUTPUT, MUX_MODE7) 537*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT, MUX_MODE7) 538*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_OUTPUT, MUX_MODE7) 539*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_OUTPUT, MUX_MODE7) 540*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE7) 541*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_OUTPUT, MUX_MODE7) 542*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE7) 543*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_OUTPUT, MUX_MODE7) 544*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT, MUX_MODE7) 545*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT, MUX_MODE7) 546*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_OUTPUT, MUX_MODE7) 547*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT, MUX_MODE7) 548*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT, MUX_MODE7) 549*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) 550*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_OUTPUT, MUX_MODE7) 551*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_OUTPUT, MUX_MODE7) 552*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_OUTPUT_PULLUP, MUX_MODE7) 553*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_OUTPUT_PULLDOWN, MUX_MODE7) 554*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_FSR, PIN_OUTPUT_PULLDOWN, MUX_MODE7) 555*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR1, PIN_INPUT_PULLDOWN, MUX_MODE7) 556*724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_INPUT_PULLUP, MUX_MODE7) 557*724ba675SRob Herring >; 558*724ba675SRob Herring }; 559*724ba675SRob Herring}; 560