1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later 2724ba675SRob Herring/* SPDX-FileCopyrightText: Alexander Shiyan, <shc_work@mail.ru> */ 3724ba675SRob Herring/* Based on code by myd_c335x.dts, MYiRtech.com */ 4*9f2967e4SNishanth Menon/* Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ */ 5724ba675SRob Herring 6724ba675SRob Herring/dts-v1/; 7724ba675SRob Herring 8724ba675SRob Herring#include "am335x-myirtech-myc.dtsi" 9724ba675SRob Herring 10724ba675SRob Herring#include <dt-bindings/display/tda998x.h> 11724ba675SRob Herring#include <dt-bindings/input/input.h> 12724ba675SRob Herring 13724ba675SRob Herring/ { 14724ba675SRob Herring model = "MYIR MYD-AM335X"; 15724ba675SRob Herring compatible = "myir,myd-am335x", "myir,myc-am335x", "ti,am33xx"; 16724ba675SRob Herring 17724ba675SRob Herring chosen { 18724ba675SRob Herring stdout-path = &uart0; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring clk12m: clk12m { 22724ba675SRob Herring compatible = "fixed-clock"; 23724ba675SRob Herring clock-frequency = <12000000>; 24724ba675SRob Herring 25724ba675SRob Herring #clock-cells = <0>; 26724ba675SRob Herring }; 27724ba675SRob Herring 28724ba675SRob Herring gpio_buttons: gpio_buttons { 29724ba675SRob Herring compatible = "gpio-keys"; 30724ba675SRob Herring pinctrl-names = "default"; 31724ba675SRob Herring pinctrl-0 = <&gpio_buttons_pins>; 32724ba675SRob Herring #address-cells = <1>; 33724ba675SRob Herring #size-cells = <0>; 34724ba675SRob Herring 35724ba675SRob Herring button1: button@0 { 36724ba675SRob Herring reg = <0>; 37724ba675SRob Herring label = "button1"; 38724ba675SRob Herring linux,code = <BTN_1>; 39724ba675SRob Herring gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 40724ba675SRob Herring }; 41724ba675SRob Herring 42724ba675SRob Herring button2: button@1 { 43724ba675SRob Herring reg = <1>; 44724ba675SRob Herring label = "button2"; 45724ba675SRob Herring linux,code = <BTN_2>; 46724ba675SRob Herring gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; 47724ba675SRob Herring }; 48724ba675SRob Herring }; 49724ba675SRob Herring 50724ba675SRob Herring sound: sound { 51724ba675SRob Herring compatible = "simple-audio-card"; 52724ba675SRob Herring simple-audio-card,format = "i2s"; 53724ba675SRob Herring simple-audio-card,bitclock-master = <&master_codec>; 54724ba675SRob Herring simple-audio-card,frame-master = <&master_codec>; 55724ba675SRob Herring 56724ba675SRob Herring simple-audio-card,cpu { 57724ba675SRob Herring sound-dai = <&mcasp0>; 58724ba675SRob Herring }; 59724ba675SRob Herring 60724ba675SRob Herring master_codec: simple-audio-card,codec@1 { 61724ba675SRob Herring sound-dai = <&sgtl5000>; 62724ba675SRob Herring }; 63724ba675SRob Herring 64724ba675SRob Herring simple-audio-card,codec@2 { 65724ba675SRob Herring sound-dai = <&tda9988>; 66724ba675SRob Herring }; 67724ba675SRob Herring }; 68724ba675SRob Herring 69724ba675SRob Herring vdd_5v0: vdd_5v0_reg { 70724ba675SRob Herring compatible = "regulator-fixed"; 71724ba675SRob Herring regulator-name = "vdd_5v0"; 72724ba675SRob Herring regulator-min-microvolt = <5000000>; 73724ba675SRob Herring regulator-max-microvolt = <5000000>; 74724ba675SRob Herring regulator-always-on; 75724ba675SRob Herring regulator-boot-on; 76724ba675SRob Herring }; 77724ba675SRob Herring 78724ba675SRob Herring vdd_3v3: vdd_3v3_reg { 79724ba675SRob Herring compatible = "regulator-fixed"; 80724ba675SRob Herring regulator-name = "vdd-3v3"; 81724ba675SRob Herring regulator-min-microvolt = <3300000>; 82724ba675SRob Herring regulator-max-microvolt = <3300000>; 83724ba675SRob Herring regulator-always-on; 84724ba675SRob Herring regulator-boot-on; 85724ba675SRob Herring vin-supply = <&vdd_5v0>; 86724ba675SRob Herring }; 87724ba675SRob Herring}; 88724ba675SRob Herring 89724ba675SRob Herring&cpsw_port2 { 90724ba675SRob Herring status = "okay"; 91724ba675SRob Herring phy-handle = <&phy1>; 92724ba675SRob Herring phy-mode = "rgmii-id"; 93724ba675SRob Herring ti,dual-emac-pvid = <2>; 94724ba675SRob Herring}; 95724ba675SRob Herring 96724ba675SRob Herring&davinci_mdio_sw { 97724ba675SRob Herring phy1: ethernet-phy@6 { 98724ba675SRob Herring reg = <6>; 99724ba675SRob Herring eee-broken-1000t; 100724ba675SRob Herring }; 101724ba675SRob Herring}; 102724ba675SRob Herring 103724ba675SRob Herring&mac_sw { 104724ba675SRob Herring pinctrl-0 = <ð_slave1_pins_default>, <ð_slave2_pins_default>; 105724ba675SRob Herring pinctrl-1 = <ð_slave1_pins_sleep>, <ð_slave2_pins_sleep>; 106724ba675SRob Herring slaves = <2>; 107724ba675SRob Herring}; 108724ba675SRob Herring 109724ba675SRob Herring&dcan0 { 110724ba675SRob Herring pinctrl-names = "default", "sleep"; 111724ba675SRob Herring pinctrl-0 = <&dcan0_pins_default>; 112724ba675SRob Herring pinctrl-1 = <&dcan0_pins_sleep>; 113724ba675SRob Herring status = "okay"; 114724ba675SRob Herring}; 115724ba675SRob Herring 116724ba675SRob Herring&dcan1 { 117724ba675SRob Herring pinctrl-names = "default", "sleep"; 118724ba675SRob Herring pinctrl-0 = <&dcan1_pins_default>; 119724ba675SRob Herring pinctrl-1 = <&dcan1_pins_sleep>; 120724ba675SRob Herring status = "okay"; 121724ba675SRob Herring}; 122724ba675SRob Herring 123724ba675SRob Herring&ehrpwm0 { 124724ba675SRob Herring pinctrl-names = "default", "sleep"; 125724ba675SRob Herring pinctrl-0 = <&ehrpwm0_pins_default>; 126724ba675SRob Herring pinctrl-1 = <&ehrpwm0_pins_sleep>; 127724ba675SRob Herring status = "okay"; 128724ba675SRob Herring}; 129724ba675SRob Herring 130724ba675SRob Herring&epwmss0 { 131724ba675SRob Herring status = "okay"; 132724ba675SRob Herring}; 133724ba675SRob Herring 134724ba675SRob Herring&i2c1 { 135724ba675SRob Herring pinctrl-names = "default", "gpio", "sleep"; 136724ba675SRob Herring pinctrl-0 = <&i2c1_pins_default>; 137724ba675SRob Herring pinctrl-1 = <&i2c1_pins_gpio>; 138724ba675SRob Herring pinctrl-2 = <&i2c1_pins_sleep>; 139724ba675SRob Herring clock-frequency = <400000>; 140724ba675SRob Herring scl-gpios = <&gpio0 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 141724ba675SRob Herring sda-gpios = <&gpio0 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 142724ba675SRob Herring status = "okay"; 143724ba675SRob Herring 144724ba675SRob Herring sgtl5000: sgtl5000@a { 145724ba675SRob Herring compatible = "fsl,sgtl5000"; 146724ba675SRob Herring reg =<0xa>; 147724ba675SRob Herring clocks = <&clk12m>; 148724ba675SRob Herring micbias-resistor-k-ohms = <4>; 149724ba675SRob Herring micbias-voltage-m-volts = <2250>; 150724ba675SRob Herring VDDA-supply = <&vdd_3v3>; 151724ba675SRob Herring VDDIO-supply = <&vdd_3v3>; 152724ba675SRob Herring 153724ba675SRob Herring #sound-dai-cells = <0>; 154724ba675SRob Herring }; 155724ba675SRob Herring 156724ba675SRob Herring tda9988: tda9988@70 { 157724ba675SRob Herring compatible = "nxp,tda998x"; 158724ba675SRob Herring reg =<0x70>; 159724ba675SRob Herring audio-ports = <TDA998x_I2S 1>; 160724ba675SRob Herring 161724ba675SRob Herring #sound-dai-cells = <0>; 162724ba675SRob Herring 163724ba675SRob Herring ports { 164724ba675SRob Herring #address-cells = <1>; 165724ba675SRob Herring #size-cells = <0>; 166724ba675SRob Herring 167724ba675SRob Herring port@0 { 168724ba675SRob Herring reg = <0>; 169724ba675SRob Herring 170724ba675SRob Herring hdmi_0: endpoint { 171724ba675SRob Herring remote-endpoint = <&lcdc_0>; 172724ba675SRob Herring }; 173724ba675SRob Herring }; 174724ba675SRob Herring }; 175724ba675SRob Herring }; 176724ba675SRob Herring}; 177724ba675SRob Herring 178724ba675SRob Herring&lcdc { 179724ba675SRob Herring pinctrl-names = "default", "sleep"; 180724ba675SRob Herring pinctrl-0 = <&lcdc_pins_default>; 181724ba675SRob Herring pinctrl-1 = <&lcdc_pins_sleep>; 182724ba675SRob Herring blue-and-red-wiring = "straight"; 183724ba675SRob Herring status = "okay"; 184724ba675SRob Herring 185724ba675SRob Herring port { 186724ba675SRob Herring lcdc_0: endpoint@0 { 187724ba675SRob Herring remote-endpoint = <&hdmi_0>; 188724ba675SRob Herring }; 189724ba675SRob Herring }; 190724ba675SRob Herring}; 191724ba675SRob Herring 192724ba675SRob Herring&leds { 193724ba675SRob Herring pinctrl-0 = <&led_mod_pins &leds_pins>; 194724ba675SRob Herring 195724ba675SRob Herring led1: led1 { 196724ba675SRob Herring label = "base:user1"; 197724ba675SRob Herring gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; 198724ba675SRob Herring color = <LED_COLOR_ID_GREEN>; 199724ba675SRob Herring default-state = "off"; 200724ba675SRob Herring }; 201724ba675SRob Herring 202724ba675SRob Herring led2: led2 { 203724ba675SRob Herring label = "base:user2"; 204724ba675SRob Herring gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; 205724ba675SRob Herring color = <LED_COLOR_ID_GREEN>; 206724ba675SRob Herring default-state = "off"; 207724ba675SRob Herring }; 208724ba675SRob Herring}; 209724ba675SRob Herring 210724ba675SRob Herring&mcasp0 { 211724ba675SRob Herring pinctrl-names = "default", "sleep"; 212724ba675SRob Herring pinctrl-0 = <&mcasp0_pins_default>; 213724ba675SRob Herring pinctrl-1 = <&mcasp0_pins_sleep>; 214724ba675SRob Herring op-mode = <0>; 215724ba675SRob Herring tdm-slots = <2>; 216724ba675SRob Herring serial-dir = <0 1 2 0>; 217724ba675SRob Herring tx-num-evt = <32>; 218724ba675SRob Herring rx-num-evt = <32>; 219724ba675SRob Herring status = "okay"; 220724ba675SRob Herring 221724ba675SRob Herring #sound-dai-cells = <0>; 222724ba675SRob Herring}; 223724ba675SRob Herring 224724ba675SRob Herring&mmc1 { 225724ba675SRob Herring pinctrl-names = "default", "sleep"; 226724ba675SRob Herring pinctrl-0 = <&mmc1_pins_default>; 227724ba675SRob Herring pinctrl-1 = <&mmc1_pins_sleep>; 228724ba675SRob Herring cd-gpios = <&gpio3 21 GPIO_ACTIVE_LOW>; 229724ba675SRob Herring bus-width = <4>; 230724ba675SRob Herring vmmc-supply = <&vdd_3v3>; 231724ba675SRob Herring status = "okay"; 232724ba675SRob Herring}; 233724ba675SRob Herring 234724ba675SRob Herring&nand0 { 235724ba675SRob Herring nand_parts: partitions { 236724ba675SRob Herring compatible = "fixed-partitions"; 237724ba675SRob Herring #address-cells = <1>; 238724ba675SRob Herring #size-cells = <1>; 239724ba675SRob Herring 240724ba675SRob Herring partition@0 { 241724ba675SRob Herring label = "MLO"; 242724ba675SRob Herring reg = <0x00000 0x20000>; 243724ba675SRob Herring }; 244724ba675SRob Herring 245724ba675SRob Herring partition@80000 { 246724ba675SRob Herring label = "boot"; 247724ba675SRob Herring reg = <0x80000 0x100000>; 248724ba675SRob Herring }; 249724ba675SRob Herring }; 250724ba675SRob Herring}; 251724ba675SRob Herring 252724ba675SRob Herring&tscadc { 253724ba675SRob Herring status = "okay"; 254724ba675SRob Herring 255724ba675SRob Herring adc: adc { 256724ba675SRob Herring ti,adc-channels = <0 1 2 3 4 5 6>; 257724ba675SRob Herring }; 258724ba675SRob Herring}; 259724ba675SRob Herring 260724ba675SRob Herring&uart0 { 261724ba675SRob Herring pinctrl-names = "default"; 262724ba675SRob Herring pinctrl-0 = <&uart0_pins>; 263724ba675SRob Herring status = "okay"; 264724ba675SRob Herring}; 265724ba675SRob Herring 266724ba675SRob Herring&uart1 { 267724ba675SRob Herring pinctrl-names = "default", "sleep"; 268724ba675SRob Herring pinctrl-0 = <&uart1_pins_default>; 269724ba675SRob Herring pinctrl-1 = <&uart1_pins_sleep>; 270724ba675SRob Herring linux,rs485-enabled-at-boot-time; 271724ba675SRob Herring status = "okay"; 272724ba675SRob Herring}; 273724ba675SRob Herring 274724ba675SRob Herring&uart2 { 275724ba675SRob Herring pinctrl-names = "default", "sleep"; 276724ba675SRob Herring pinctrl-0 = <&uart2_pins_default>; 277724ba675SRob Herring pinctrl-1 = <&uart2_pins_sleep>; 278724ba675SRob Herring status = "okay"; 279724ba675SRob Herring}; 280724ba675SRob Herring 281724ba675SRob Herring&usb { 282724ba675SRob Herring pinctrl-names = "default"; 283724ba675SRob Herring pinctrl-0 = <&usb_pins>; 284724ba675SRob Herring}; 285724ba675SRob Herring 286724ba675SRob Herring&usb0 { 287724ba675SRob Herring dr_mode = "otg"; 288724ba675SRob Herring}; 289724ba675SRob Herring 290724ba675SRob Herring&usb0_phy { 291724ba675SRob Herring vcc-supply = <&vdd_5v0>; 292724ba675SRob Herring}; 293724ba675SRob Herring 294724ba675SRob Herring&usb1 { 295724ba675SRob Herring dr_mode = "host"; 296724ba675SRob Herring}; 297724ba675SRob Herring 298724ba675SRob Herring&usb1_phy { 299724ba675SRob Herring vcc-supply = <&vdd_5v0>; 300724ba675SRob Herring}; 301724ba675SRob Herring 302724ba675SRob Herring&vdd_mod { 303724ba675SRob Herring vin-supply = <&vdd_3v3>; 304724ba675SRob Herring}; 305724ba675SRob Herring 306724ba675SRob Herring&am33xx_pinmux { 307724ba675SRob Herring dcan0_pins_default: dcan0-default-pins { 308724ba675SRob Herring pinctrl-single,pins = < 309724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_OUTPUT, MUX_MODE2) /* dcan0_tx_mux2 */ 310724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT, MUX_MODE2) /* dcan0_rx_mux2 */ 311724ba675SRob Herring >; 312724ba675SRob Herring }; 313724ba675SRob Herring 314724ba675SRob Herring dcan0_pins_sleep: dcan0-sleep-pins { 315724ba675SRob Herring pinctrl-single,pins = < 316724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE7) 317724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT_PULLDOWN, MUX_MODE7) 318724ba675SRob Herring >; 319724ba675SRob Herring }; 320724ba675SRob Herring 321724ba675SRob Herring dcan1_pins_default: dcan1-default-pins { 322724ba675SRob Herring pinctrl-single,pins = < 323724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT, MUX_MODE2) /* dcan1_tx_mux0 */ 324724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT, MUX_MODE2) /* dcan1_rx_mux0 */ 325724ba675SRob Herring >; 326724ba675SRob Herring }; 327724ba675SRob Herring 328724ba675SRob Herring dcan1_pins_sleep: dcan1-sleep-pins { 329724ba675SRob Herring pinctrl-single,pins = < 330724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE7) 331724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLDOWN, MUX_MODE7) 332724ba675SRob Herring >; 333724ba675SRob Herring }; 334724ba675SRob Herring 335724ba675SRob Herring ehrpwm0_pins_default: ehrpwm0-default-pins { 336724ba675SRob Herring pinctrl-single,pins = < 337724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_OUTPUT, MUX_MODE3) /* ehrpwm0A_mux1 */ 338724ba675SRob Herring >; 339724ba675SRob Herring }; 340724ba675SRob Herring 341724ba675SRob Herring ehrpwm0_pins_sleep: ehrpwm0-sleep-pins { 342724ba675SRob Herring pinctrl-single,pins = < 343724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) 344724ba675SRob Herring >; 345724ba675SRob Herring }; 346724ba675SRob Herring 347724ba675SRob Herring eth_slave2_pins_default: eth-slave2-default-pins { 348724ba675SRob Herring pinctrl-single,pins = < 349724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* rgmii2_tctl */ 350724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLDOWN, MUX_MODE2) /* rgmii2_rctl */ 351724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* rgmii2_td3 */ 352724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* rgmii2_td2 */ 353724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* rgmii2_td1 */ 354724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* rgmii2_td0 */ 355724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* rgmii2_tclk */ 356724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_INPUT_PULLDOWN, MUX_MODE2) /* rgmii2_rclk */ 357724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_INPUT_PULLDOWN, MUX_MODE2) /* rgmii2_rd3 */ 358724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE2) /* rgmii2_rd2 */ 359724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE2 /* rgmii2_rd1 */) 360724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE2 /* rgmii2_rd0 */) 361724ba675SRob Herring >; 362724ba675SRob Herring }; 363724ba675SRob Herring 364724ba675SRob Herring eth_slave2_pins_sleep: eth-slave2-sleep-pins { 365724ba675SRob Herring pinctrl-single,pins = < 366724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_INPUT_PULLDOWN, MUX_MODE7) 367724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLDOWN, MUX_MODE7) 368724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_INPUT_PULLDOWN, MUX_MODE7) 369724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_INPUT_PULLDOWN, MUX_MODE7) 370724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_INPUT_PULLDOWN, MUX_MODE7) 371724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_INPUT_PULLDOWN, MUX_MODE7) 372724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_INPUT_PULLDOWN, MUX_MODE7) 373724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_INPUT_PULLDOWN, MUX_MODE7) 374724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_INPUT_PULLDOWN, MUX_MODE7) 375724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE7) 376724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE7) 377724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE7) 378724ba675SRob Herring >; 379724ba675SRob Herring }; 380724ba675SRob Herring 381724ba675SRob Herring gpio_buttons_pins: gpio-buttons-pins { 382724ba675SRob Herring pinctrl-single,pins = < 383724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpio3[0] */ 384724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT, MUX_MODE7) /* gpio0[29] */ 385724ba675SRob Herring >; 386724ba675SRob Herring }; 387724ba675SRob Herring 388724ba675SRob Herring i2c1_pins_default: i2c1-default-pins { 389724ba675SRob Herring pinctrl-single,pins = < 390724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT | SLEWCTRL_FAST, MUX_MODE2) /* I2C1_SDA_mux3 */ 391724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT | SLEWCTRL_FAST, MUX_MODE2) /* I2C1_SCL_mux3 */ 392724ba675SRob Herring >; 393724ba675SRob Herring }; 394724ba675SRob Herring 395724ba675SRob Herring i2c1_pins_gpio: i2c1-gpio-pins { 396724ba675SRob Herring pinctrl-single,pins = < 397724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT, MUX_MODE7) /* gpio0[4] */ 398724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT, MUX_MODE7) /* gpio0[5] */ 399724ba675SRob Herring >; 400724ba675SRob Herring }; 401724ba675SRob Herring 402724ba675SRob Herring i2c1_pins_sleep: i2c1-sleep-pins { 403724ba675SRob Herring pinctrl-single,pins = < 404724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLDOWN, MUX_MODE7) 405724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLDOWN, MUX_MODE7) 406724ba675SRob Herring >; 407724ba675SRob Herring }; 408724ba675SRob Herring 409724ba675SRob Herring lcdc_pins_default: lcdc-default-pins { 410724ba675SRob Herring pinctrl-single,pins = < 411724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PIN_OUTPUT, MUX_MODE0) /* lcd_data0 */ 412724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PIN_OUTPUT, MUX_MODE0) /* lcd_data1 */ 413724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PIN_OUTPUT, MUX_MODE0) /* lcd_data2 */ 414724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PIN_OUTPUT, MUX_MODE0) /* lcd_data3 */ 415724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PIN_OUTPUT, MUX_MODE0) /* lcd_data4 */ 416724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PIN_OUTPUT, MUX_MODE0) /* lcd_data5 */ 417724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PIN_OUTPUT, MUX_MODE0) /* lcd_data6 */ 418724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PIN_OUTPUT, MUX_MODE0) /* lcd_data7 */ 419724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT, MUX_MODE0) /* lcd_data8 */ 420724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_OUTPUT, MUX_MODE0) /* lcd_data9 */ 421724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_OUTPUT, MUX_MODE0) /* lcd_data10 */ 422724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE0) /* lcd_data11 */ 423724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_OUTPUT, MUX_MODE0) /* lcd_data12 */ 424724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE0) /* lcd_data13 */ 425724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_OUTPUT, MUX_MODE0) /* lcd_data14 */ 426724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT, MUX_MODE0) /* lcd_data15 */ 427724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT, MUX_MODE0) /* lcd_vsync */ 428724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_OUTPUT, MUX_MODE0) /* lcd_hsync */ 429724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT, MUX_MODE0) /* lcd_pclk */ 430724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT, MUX_MODE0) /* lcd_ac_bias_en */ 431724ba675SRob Herring >; 432724ba675SRob Herring }; 433724ba675SRob Herring 434724ba675SRob Herring lcdc_pins_sleep: lcdc-sleep-pins { 435724ba675SRob Herring pinctrl-single,pins = < 436724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PULL_DISABLE, MUX_MODE7) 437724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PULL_DISABLE, MUX_MODE7) 438724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PULL_DISABLE, MUX_MODE7) 439724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PULL_DISABLE, MUX_MODE7) 440724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PULL_DISABLE, MUX_MODE7) 441724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PULL_DISABLE, MUX_MODE7) 442724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PULL_DISABLE, MUX_MODE7) 443724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PULL_DISABLE, MUX_MODE7) 444724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PULL_DISABLE, MUX_MODE7) 445724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PULL_DISABLE, MUX_MODE7) 446724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PULL_DISABLE, MUX_MODE7) 447724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PULL_DISABLE, MUX_MODE7) 448724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PULL_DISABLE, MUX_MODE7) 449724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PULL_DISABLE, MUX_MODE7) 450724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PULL_DISABLE, MUX_MODE7) 451724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PULL_DISABLE, MUX_MODE7) 452724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7) 453724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7) 454724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) 455724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) 456724ba675SRob Herring >; 457724ba675SRob Herring }; 458724ba675SRob Herring 459724ba675SRob Herring leds_pins: leds-pins { 460724ba675SRob Herring pinctrl-single,pins = < 461724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_OUTPUT, MUX_MODE7) /* gpio0[27] */ 462724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE7) /* gpio0[3] */ 463724ba675SRob Herring >; 464724ba675SRob Herring }; 465724ba675SRob Herring 466724ba675SRob Herring mcasp0_pins_default: mcasp0-default-pins { 467724ba675SRob Herring pinctrl-single,pins = < 468724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_INPUT_PULLDOWN, MUX_MODE0) /* mcasp0_aclkx_mux0 */ 469724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_FSX, PIN_INPUT_PULLDOWN, MUX_MODE0) /* mcasp0_fsx_mux0 */ 470724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, PIN_INPUT_PULLDOWN, MUX_MODE2) /* mcasp0_axr2_mux0 */ 471724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR1, PIN_INPUT_PULLDOWN, MUX_MODE0) /* mcasp0_axr1_mux0 */ 472724ba675SRob Herring >; 473724ba675SRob Herring }; 474724ba675SRob Herring 475724ba675SRob Herring mcasp0_pins_sleep: mcasp0-sleep-pins { 476724ba675SRob Herring pinctrl-single,pins = < 477724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_INPUT_PULLDOWN, MUX_MODE7) 478724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_FSX, PIN_INPUT_PULLDOWN, MUX_MODE7) 479724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, PIN_INPUT_PULLDOWN, MUX_MODE7) 480724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR1, PIN_INPUT_PULLDOWN, MUX_MODE7) 481724ba675SRob Herring >; 482724ba675SRob Herring }; 483724ba675SRob Herring 484724ba675SRob Herring mmc1_pins_default: mmc1-default-pins { 485724ba675SRob Herring pinctrl-single,pins = < 486724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0) /* mmc0_dat3 */ 487724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0) /* mmc0_dat2 */ 488724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0) /* mmc0_dat1 */ 489724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0) /* mmc0_dat0 */ 490724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0) /* mmc0_clk */ 491724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0) /* mmc0_cmd */ 492724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_INPUT_PULLUP, MUX_MODE7) /* gpio3[21] */ 493724ba675SRob Herring >; 494724ba675SRob Herring }; 495724ba675SRob Herring 496724ba675SRob Herring mmc1_pins_sleep: mmc1-sleep-pins { 497724ba675SRob Herring pinctrl-single,pins = < 498724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLDOWN, MUX_MODE0) 499724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLDOWN, MUX_MODE0) 500724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLDOWN, MUX_MODE0) 501724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLDOWN, MUX_MODE0) 502724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLDOWN, MUX_MODE0) 503724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLDOWN, MUX_MODE0) 504724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_INPUT_PULLDOWN, MUX_MODE7) 505724ba675SRob Herring >; 506724ba675SRob Herring }; 507724ba675SRob Herring 508724ba675SRob Herring uart0_pins: uart0-pins { 509724ba675SRob Herring pinctrl-single,pins = < 510724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) /* uart0_rxd */ 511724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) /* uart0_txd */ 512724ba675SRob Herring >; 513724ba675SRob Herring }; 514724ba675SRob Herring 515724ba675SRob Herring uart1_pins_default: uart1-default-pins { 516724ba675SRob Herring pinctrl-single,pins = < 517724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0) /* uart1_rxd */ 518724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) /* uart1_txd */ 519724ba675SRob Herring >; 520724ba675SRob Herring }; 521724ba675SRob Herring 522724ba675SRob Herring uart1_pins_sleep: uart1-sleep-pins { 523724ba675SRob Herring pinctrl-single,pins = < 524724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLDOWN, MUX_MODE7) 525724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT_PULLDOWN, MUX_MODE7) 526724ba675SRob Herring >; 527724ba675SRob Herring }; 528724ba675SRob Herring 529724ba675SRob Herring uart2_pins_default: uart2-default-pins { 530724ba675SRob Herring pinctrl-single,pins = < 531724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT, MUX_MODE6) /* uart2_rxd_mux1 */ 532724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_OUTPUT, MUX_MODE6) /* uart2_txd_mux1 */ 533724ba675SRob Herring >; 534724ba675SRob Herring }; 535724ba675SRob Herring 536724ba675SRob Herring uart2_pins_sleep: uart2-sleep-pins { 537724ba675SRob Herring pinctrl-single,pins = < 538724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE7) 539724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE7) 540724ba675SRob Herring >; 541724ba675SRob Herring }; 542724ba675SRob Herring 543724ba675SRob Herring usb_pins: usb-pins { 544724ba675SRob Herring pinctrl-single,pins = < 545724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_USB0_DRVVBUS, PIN_OUTPUT_PULLDOWN, MUX_MODE0) /* USB0_DRVVBUS */ 546724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_USB1_DRVVBUS, PIN_OUTPUT_PULLDOWN, MUX_MODE0) /* USB1_DRVVBUS */ 547724ba675SRob Herring >; 548724ba675SRob Herring }; 549724ba675SRob Herring}; 550