1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4*f126890aSEmmanuel Vadot * Copyright (C) 2018 Robert Bosch Power Tools GmbH 5*f126890aSEmmanuel Vadot */ 6*f126890aSEmmanuel Vadot/dts-v1/; 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot#include "am33xx.dtsi" 9*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 10*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadot/ { 13*f126890aSEmmanuel Vadot model = "Bosch AM335x Guardian"; 14*f126890aSEmmanuel Vadot compatible = "bosch,am335x-guardian", "ti,am33xx"; 15*f126890aSEmmanuel Vadot 16*f126890aSEmmanuel Vadot chosen { 17*f126890aSEmmanuel Vadot stdout-path = &uart0; 18*f126890aSEmmanuel Vadot tick-timer = &timer2; 19*f126890aSEmmanuel Vadot }; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot cpus { 22*f126890aSEmmanuel Vadot cpu@0 { 23*f126890aSEmmanuel Vadot cpu0-supply = <&dcdc2_reg>; 24*f126890aSEmmanuel Vadot }; 25*f126890aSEmmanuel Vadot }; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot memory@80000000 { 28*f126890aSEmmanuel Vadot device_type = "memory"; 29*f126890aSEmmanuel Vadot reg = <0x80000000 0x10000000>; /* 256 MB */ 30*f126890aSEmmanuel Vadot }; 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel Vadot guardian_buttons: gpio-keys { 33*f126890aSEmmanuel Vadot pinctrl-names = "default"; 34*f126890aSEmmanuel Vadot pinctrl-0 = <&guardian_button_pins>; 35*f126890aSEmmanuel Vadot compatible = "gpio-keys"; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot select-button { 38*f126890aSEmmanuel Vadot label = "guardian-select-button"; 39*f126890aSEmmanuel Vadot linux,code = <KEY_5>; 40*f126890aSEmmanuel Vadot gpios = <&gpio1 31 GPIO_ACTIVE_LOW>; 41*f126890aSEmmanuel Vadot wakeup-source; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot power-button { 45*f126890aSEmmanuel Vadot label = "guardian-power-button"; 46*f126890aSEmmanuel Vadot linux,code = <KEY_POWER>; 47*f126890aSEmmanuel Vadot gpios = <&gpio2 21 GPIO_ACTIVE_LOW>; 48*f126890aSEmmanuel Vadot wakeup-source; 49*f126890aSEmmanuel Vadot }; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot 52*f126890aSEmmanuel Vadot guardian_leds: gpio-leds { 53*f126890aSEmmanuel Vadot pinctrl-names = "default"; 54*f126890aSEmmanuel Vadot pinctrl-0 = <&guardian_led_pins>; 55*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot life-led { 58*f126890aSEmmanuel Vadot label = "guardian:life-led"; 59*f126890aSEmmanuel Vadot gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; 60*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 61*f126890aSEmmanuel Vadot default-state = "off"; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot gpio-poweroff { 66*f126890aSEmmanuel Vadot compatible = "gpio-poweroff"; 67*f126890aSEmmanuel Vadot gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot 70*f126890aSEmmanuel Vadot panel { 71*f126890aSEmmanuel Vadot compatible = "ti,tilcdc,panel"; 72*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 73*f126890aSEmmanuel Vadot pinctrl-0 = <&lcd_pins_default &lcd_disen_pins>; 74*f126890aSEmmanuel Vadot pinctrl-1 = <&lcd_pins_sleep>; 75*f126890aSEmmanuel Vadot 76*f126890aSEmmanuel Vadot display-timings { 77*f126890aSEmmanuel Vadot 320x240 { 78*f126890aSEmmanuel Vadot hactive = <320>; 79*f126890aSEmmanuel Vadot vactive = <240>; 80*f126890aSEmmanuel Vadot hback-porch = <68>; 81*f126890aSEmmanuel Vadot hfront-porch = <20>; 82*f126890aSEmmanuel Vadot hsync-len = <1>; 83*f126890aSEmmanuel Vadot vback-porch = <18>; 84*f126890aSEmmanuel Vadot vfront-porch = <4>; 85*f126890aSEmmanuel Vadot vsync-len = <1>; 86*f126890aSEmmanuel Vadot clock-frequency = <9000000>; 87*f126890aSEmmanuel Vadot hsync-active = <0>; 88*f126890aSEmmanuel Vadot vsync-active = <0>; 89*f126890aSEmmanuel Vadot }; 90*f126890aSEmmanuel Vadot }; 91*f126890aSEmmanuel Vadot panel-info { 92*f126890aSEmmanuel Vadot ac-bias = <255>; 93*f126890aSEmmanuel Vadot ac-bias-intrpt = <0>; 94*f126890aSEmmanuel Vadot dma-burst-sz = <16>; 95*f126890aSEmmanuel Vadot bpp = <24>; 96*f126890aSEmmanuel Vadot bus-width = <16>; 97*f126890aSEmmanuel Vadot fdd = <0x80>; 98*f126890aSEmmanuel Vadot sync-edge = <0>; 99*f126890aSEmmanuel Vadot sync-ctrl = <1>; 100*f126890aSEmmanuel Vadot raster-order = <0>; 101*f126890aSEmmanuel Vadot fifo-th = <0>; 102*f126890aSEmmanuel Vadot }; 103*f126890aSEmmanuel Vadot 104*f126890aSEmmanuel Vadot }; 105*f126890aSEmmanuel Vadot 106*f126890aSEmmanuel Vadot guardian_beeper: pwm-7 { 107*f126890aSEmmanuel Vadot compatible = "ti,omap-dmtimer-pwm"; 108*f126890aSEmmanuel Vadot #pwm-cells = <3>; 109*f126890aSEmmanuel Vadot ti,timers = <&timer7>; 110*f126890aSEmmanuel Vadot pinctrl-names = "default"; 111*f126890aSEmmanuel Vadot pinctrl-0 = <&guardian_beeper_pins>; 112*f126890aSEmmanuel Vadot ti,clock-source = <0x01>; 113*f126890aSEmmanuel Vadot }; 114*f126890aSEmmanuel Vadot 115*f126890aSEmmanuel Vadot vmmcsd_fixed: fixedregulator0 { 116*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 117*f126890aSEmmanuel Vadot regulator-name = "vmmcsd_fixed"; 118*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 119*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 120*f126890aSEmmanuel Vadot }; 121*f126890aSEmmanuel Vadot 122*f126890aSEmmanuel Vadot mt_keypad: mt_keypad@0 { 123*f126890aSEmmanuel Vadot compatible = "gpio-mt-keypad"; 124*f126890aSEmmanuel Vadot debounce-delay-ms = <10>; 125*f126890aSEmmanuel Vadot col-scan-delay-us = <2>; 126*f126890aSEmmanuel Vadot keypad,num-lines = <5>; 127*f126890aSEmmanuel Vadot linux,no-autorepeat; 128*f126890aSEmmanuel Vadot gpio-activelow; 129*f126890aSEmmanuel Vadot line-gpios = < 130*f126890aSEmmanuel Vadot &gpio1 24 GPIO_ACTIVE_LOW /*gpio_56*/ 131*f126890aSEmmanuel Vadot &gpio1 23 GPIO_ACTIVE_LOW /*gpio_55*/ 132*f126890aSEmmanuel Vadot &gpio1 22 GPIO_ACTIVE_LOW /*gpio_54*/ 133*f126890aSEmmanuel Vadot &gpio1 20 GPIO_ACTIVE_LOW /*gpio_52*/ 134*f126890aSEmmanuel Vadot &gpio1 16 GPIO_ACTIVE_LOW /*gpio_48*/ 135*f126890aSEmmanuel Vadot >; 136*f126890aSEmmanuel Vadot }; 137*f126890aSEmmanuel Vadot}; 138*f126890aSEmmanuel Vadot 139*f126890aSEmmanuel Vadot&elm { 140*f126890aSEmmanuel Vadot status = "okay"; 141*f126890aSEmmanuel Vadot}; 142*f126890aSEmmanuel Vadot 143*f126890aSEmmanuel Vadot&gpmc { 144*f126890aSEmmanuel Vadot pinctrl-names = "default"; 145*f126890aSEmmanuel Vadot pinctrl-0 = <&nandflash_pins>; 146*f126890aSEmmanuel Vadot ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ 147*f126890aSEmmanuel Vadot status = "okay"; 148*f126890aSEmmanuel Vadot 149*f126890aSEmmanuel Vadot nand@0,0 { 150*f126890aSEmmanuel Vadot compatible = "ti,omap2-nand"; 151*f126890aSEmmanuel Vadot reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 152*f126890aSEmmanuel Vadot interrupt-parent = <&gpmc>; 153*f126890aSEmmanuel Vadot interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 154*f126890aSEmmanuel Vadot <1 IRQ_TYPE_NONE>; /* termcount */ 155*f126890aSEmmanuel Vadot rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ 156*f126890aSEmmanuel Vadot ti,nand-xfer-type = "prefetch-dma"; 157*f126890aSEmmanuel Vadot ti,nand-ecc-opt = "bch16"; 158*f126890aSEmmanuel Vadot ti,elm-id = <&elm>; 159*f126890aSEmmanuel Vadot nand-bus-width = <8>; 160*f126890aSEmmanuel Vadot gpmc,device-width = <1>; 161*f126890aSEmmanuel Vadot gpmc,sync-clk-ps = <0>; 162*f126890aSEmmanuel Vadot gpmc,cs-on-ns = <0>; 163*f126890aSEmmanuel Vadot gpmc,cs-rd-off-ns = <30>; 164*f126890aSEmmanuel Vadot gpmc,cs-wr-off-ns = <30>; 165*f126890aSEmmanuel Vadot gpmc,adv-on-ns = <0>; 166*f126890aSEmmanuel Vadot gpmc,adv-rd-off-ns = <30>; 167*f126890aSEmmanuel Vadot gpmc,adv-wr-off-ns = <30>; 168*f126890aSEmmanuel Vadot gpmc,we-on-ns = <0>; 169*f126890aSEmmanuel Vadot gpmc,we-off-ns = <15>; 170*f126890aSEmmanuel Vadot gpmc,oe-on-ns = <1>; 171*f126890aSEmmanuel Vadot gpmc,oe-off-ns = <15>; 172*f126890aSEmmanuel Vadot gpmc,access-ns = <30>; 173*f126890aSEmmanuel Vadot gpmc,rd-cycle-ns = <30>; 174*f126890aSEmmanuel Vadot gpmc,wr-cycle-ns = <30>; 175*f126890aSEmmanuel Vadot gpmc,bus-turnaround-ns = <0>; 176*f126890aSEmmanuel Vadot gpmc,cycle2cycle-delay-ns = <0>; 177*f126890aSEmmanuel Vadot gpmc,clk-activation-ns = <0>; 178*f126890aSEmmanuel Vadot gpmc,wr-access-ns = <0>; 179*f126890aSEmmanuel Vadot gpmc,wr-data-mux-bus-ns = <0>; 180*f126890aSEmmanuel Vadot 181*f126890aSEmmanuel Vadot /* 182*f126890aSEmmanuel Vadot * MTD partition table 183*f126890aSEmmanuel Vadot * 184*f126890aSEmmanuel Vadot * All SPL-* partitions are sized to minimal length which can 185*f126890aSEmmanuel Vadot * be independently programmable. For NAND flash this is equal 186*f126890aSEmmanuel Vadot * to size of erase-block. 187*f126890aSEmmanuel Vadot */ 188*f126890aSEmmanuel Vadot #address-cells = <1>; 189*f126890aSEmmanuel Vadot #size-cells = <1>; 190*f126890aSEmmanuel Vadot 191*f126890aSEmmanuel Vadot partition@0 { 192*f126890aSEmmanuel Vadot label = "SPL"; 193*f126890aSEmmanuel Vadot reg = <0x0 0x40000>; 194*f126890aSEmmanuel Vadot }; 195*f126890aSEmmanuel Vadot 196*f126890aSEmmanuel Vadot partition@1 { 197*f126890aSEmmanuel Vadot label = "SPL.backup1"; 198*f126890aSEmmanuel Vadot reg = <0x40000 0x40000>; 199*f126890aSEmmanuel Vadot }; 200*f126890aSEmmanuel Vadot 201*f126890aSEmmanuel Vadot partition@2 { 202*f126890aSEmmanuel Vadot label = "SPL.backup2"; 203*f126890aSEmmanuel Vadot reg = <0x80000 0x40000>; 204*f126890aSEmmanuel Vadot }; 205*f126890aSEmmanuel Vadot 206*f126890aSEmmanuel Vadot partition@3 { 207*f126890aSEmmanuel Vadot label = "SPL.backup3"; 208*f126890aSEmmanuel Vadot reg = <0xc0000 0x40000>; 209*f126890aSEmmanuel Vadot }; 210*f126890aSEmmanuel Vadot 211*f126890aSEmmanuel Vadot partition@4 { 212*f126890aSEmmanuel Vadot label = "u-boot"; 213*f126890aSEmmanuel Vadot reg = <0x100000 0x100000>; 214*f126890aSEmmanuel Vadot }; 215*f126890aSEmmanuel Vadot 216*f126890aSEmmanuel Vadot partition@5 { 217*f126890aSEmmanuel Vadot label = "u-boot.backup1"; 218*f126890aSEmmanuel Vadot reg = <0x200000 0x100000>; 219*f126890aSEmmanuel Vadot }; 220*f126890aSEmmanuel Vadot 221*f126890aSEmmanuel Vadot partition@6 { 222*f126890aSEmmanuel Vadot label = "u-boot-2"; 223*f126890aSEmmanuel Vadot reg = <0x300000 0x100000>; 224*f126890aSEmmanuel Vadot }; 225*f126890aSEmmanuel Vadot 226*f126890aSEmmanuel Vadot partition@7 { 227*f126890aSEmmanuel Vadot label = "u-boot-2.backup1"; 228*f126890aSEmmanuel Vadot reg = <0x400000 0x100000>; 229*f126890aSEmmanuel Vadot }; 230*f126890aSEmmanuel Vadot 231*f126890aSEmmanuel Vadot partition@8 { 232*f126890aSEmmanuel Vadot label = "u-boot-env"; 233*f126890aSEmmanuel Vadot reg = <0x500000 0x40000>; 234*f126890aSEmmanuel Vadot }; 235*f126890aSEmmanuel Vadot 236*f126890aSEmmanuel Vadot partition@9 { 237*f126890aSEmmanuel Vadot label = "u-boot-env.backup1"; 238*f126890aSEmmanuel Vadot reg = <0x540000 0x40000>; 239*f126890aSEmmanuel Vadot }; 240*f126890aSEmmanuel Vadot 241*f126890aSEmmanuel Vadot partition@10 { 242*f126890aSEmmanuel Vadot label = "splash-screen"; 243*f126890aSEmmanuel Vadot reg = <0x580000 0x40000>; 244*f126890aSEmmanuel Vadot }; 245*f126890aSEmmanuel Vadot 246*f126890aSEmmanuel Vadot partition@11 { 247*f126890aSEmmanuel Vadot label = "UBI"; 248*f126890aSEmmanuel Vadot reg = <0x5c0000 0x1fa40000>; 249*f126890aSEmmanuel Vadot }; 250*f126890aSEmmanuel Vadot }; 251*f126890aSEmmanuel Vadot}; 252*f126890aSEmmanuel Vadot 253*f126890aSEmmanuel Vadot&i2c0 { 254*f126890aSEmmanuel Vadot pinctrl-names = "default"; 255*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 256*f126890aSEmmanuel Vadot clock-frequency = <400000>; 257*f126890aSEmmanuel Vadot status = "okay"; 258*f126890aSEmmanuel Vadot 259*f126890aSEmmanuel Vadot tps: tps@24 { 260*f126890aSEmmanuel Vadot reg = <0x24>; 261*f126890aSEmmanuel Vadot }; 262*f126890aSEmmanuel Vadot}; 263*f126890aSEmmanuel Vadot 264*f126890aSEmmanuel Vadot&lcdc { 265*f126890aSEmmanuel Vadot blue-and-red-wiring = "crossed"; 266*f126890aSEmmanuel Vadot status = "okay"; 267*f126890aSEmmanuel Vadot port { 268*f126890aSEmmanuel Vadot lcdc_0: endpoint@0 { 269*f126890aSEmmanuel Vadot remote-endpoint = <0>; 270*f126890aSEmmanuel Vadot }; 271*f126890aSEmmanuel Vadot }; 272*f126890aSEmmanuel Vadot}; 273*f126890aSEmmanuel Vadot 274*f126890aSEmmanuel Vadot&mmc1 { 275*f126890aSEmmanuel Vadot bus-width = <0x4>; 276*f126890aSEmmanuel Vadot pinctrl-names = "default"; 277*f126890aSEmmanuel Vadot pinctrl-0 = <&mmc1_pins>; 278*f126890aSEmmanuel Vadot cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 279*f126890aSEmmanuel Vadot vmmc-supply = <&vmmcsd_fixed>; 280*f126890aSEmmanuel Vadot status = "okay"; 281*f126890aSEmmanuel Vadot}; 282*f126890aSEmmanuel Vadot 283*f126890aSEmmanuel Vadot&rtc { 284*f126890aSEmmanuel Vadot clocks = <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>; 285*f126890aSEmmanuel Vadot clock-names = "ext-clk", "int-clk"; 286*f126890aSEmmanuel Vadot}; 287*f126890aSEmmanuel Vadot 288*f126890aSEmmanuel Vadot&spi0 { 289*f126890aSEmmanuel Vadot ti,pindir-d0-out-d1-in; 290*f126890aSEmmanuel Vadot pinctrl-names = "default"; 291*f126890aSEmmanuel Vadot pinctrl-0 = <&spi0_pins>; 292*f126890aSEmmanuel Vadot status = "okay"; 293*f126890aSEmmanuel Vadot}; 294*f126890aSEmmanuel Vadot 295*f126890aSEmmanuel Vadot#include "../../tps65217.dtsi" 296*f126890aSEmmanuel Vadot 297*f126890aSEmmanuel Vadot&tps { 298*f126890aSEmmanuel Vadot /* 299*f126890aSEmmanuel Vadot * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only 300*f126890aSEmmanuel Vadot * mode") at poweroff. Most BeagleBone versions do not support RTC-only 301*f126890aSEmmanuel Vadot * mode and risk hardware damage if this mode is entered. 302*f126890aSEmmanuel Vadot * 303*f126890aSEmmanuel Vadot * For details, see linux-omap mailing list May 2015 thread 304*f126890aSEmmanuel Vadot * [PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller 305*f126890aSEmmanuel Vadot * In particular, messages: 306*f126890aSEmmanuel Vadot * http://www.spinics.net/lists/linux-omap/msg118585.html 307*f126890aSEmmanuel Vadot * http://www.spinics.net/lists/linux-omap/msg118615.html 308*f126890aSEmmanuel Vadot * 309*f126890aSEmmanuel Vadot * You can override this later with 310*f126890aSEmmanuel Vadot * &tps { /delete-property/ ti,pmic-shutdown-controller; } 311*f126890aSEmmanuel Vadot * if you want to use RTC-only mode and made sure you are not affected 312*f126890aSEmmanuel Vadot * by the hardware problems. (Tip: double-check by performing a current 313*f126890aSEmmanuel Vadot * measurement after shutdown: it should be less than 1 mA.) 314*f126890aSEmmanuel Vadot */ 315*f126890aSEmmanuel Vadot ti,pmic-shutdown-controller; 316*f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 317*f126890aSEmmanuel Vadot interrupts = <7>; /* NMI */ 318*f126890aSEmmanuel Vadot 319*f126890aSEmmanuel Vadot backlight { 320*f126890aSEmmanuel Vadot isel = <1>; /* 1 - ISET1, 2 ISET2 */ 321*f126890aSEmmanuel Vadot fdim = <500>; /* TPS65217_BL_FDIM_500HZ */ 322*f126890aSEmmanuel Vadot default-brightness = <50>; 323*f126890aSEmmanuel Vadot /* 1(on) - enable current sink, while initialization */ 324*f126890aSEmmanuel Vadot /* 0(off) - disable current sink, while initialization */ 325*f126890aSEmmanuel Vadot isink-en = <1>; 326*f126890aSEmmanuel Vadot }; 327*f126890aSEmmanuel Vadot 328*f126890aSEmmanuel Vadot regulators { 329*f126890aSEmmanuel Vadot dcdc1_reg: regulator@0 { 330*f126890aSEmmanuel Vadot regulator-name = "vdds_dpr"; 331*f126890aSEmmanuel Vadot regulator-always-on; 332*f126890aSEmmanuel Vadot }; 333*f126890aSEmmanuel Vadot 334*f126890aSEmmanuel Vadot dcdc2_reg: regulator@1 { 335*f126890aSEmmanuel Vadot /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ 336*f126890aSEmmanuel Vadot regulator-name = "vdd_mpu"; 337*f126890aSEmmanuel Vadot regulator-min-microvolt = <925000>; 338*f126890aSEmmanuel Vadot regulator-max-microvolt = <1351500>; 339*f126890aSEmmanuel Vadot regulator-boot-on; 340*f126890aSEmmanuel Vadot regulator-always-on; 341*f126890aSEmmanuel Vadot }; 342*f126890aSEmmanuel Vadot 343*f126890aSEmmanuel Vadot dcdc3_reg: regulator@2 { 344*f126890aSEmmanuel Vadot /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ 345*f126890aSEmmanuel Vadot regulator-name = "vdd_core"; 346*f126890aSEmmanuel Vadot regulator-min-microvolt = <925000>; 347*f126890aSEmmanuel Vadot regulator-max-microvolt = <1150000>; 348*f126890aSEmmanuel Vadot regulator-boot-on; 349*f126890aSEmmanuel Vadot regulator-always-on; 350*f126890aSEmmanuel Vadot }; 351*f126890aSEmmanuel Vadot 352*f126890aSEmmanuel Vadot ldo1_reg: regulator@3 { 353*f126890aSEmmanuel Vadot regulator-name = "vio,vrtc,vdds"; 354*f126890aSEmmanuel Vadot regulator-always-on; 355*f126890aSEmmanuel Vadot }; 356*f126890aSEmmanuel Vadot 357*f126890aSEmmanuel Vadot ldo2_reg: regulator@4 { 358*f126890aSEmmanuel Vadot regulator-name = "vdd_3v3aux"; 359*f126890aSEmmanuel Vadot regulator-always-on; 360*f126890aSEmmanuel Vadot }; 361*f126890aSEmmanuel Vadot 362*f126890aSEmmanuel Vadot ldo3_reg: regulator@5 { 363*f126890aSEmmanuel Vadot regulator-name = "vdd_1v8"; 364*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 365*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 366*f126890aSEmmanuel Vadot regulator-always-on; 367*f126890aSEmmanuel Vadot }; 368*f126890aSEmmanuel Vadot 369*f126890aSEmmanuel Vadot ldo4_reg: regulator@6 { 370*f126890aSEmmanuel Vadot regulator-name = "vdd_3v3a"; 371*f126890aSEmmanuel Vadot regulator-always-on; 372*f126890aSEmmanuel Vadot }; 373*f126890aSEmmanuel Vadot }; 374*f126890aSEmmanuel Vadot}; 375*f126890aSEmmanuel Vadot 376*f126890aSEmmanuel Vadot&tscadc { 377*f126890aSEmmanuel Vadot status = "okay"; 378*f126890aSEmmanuel Vadot 379*f126890aSEmmanuel Vadot adc { 380*f126890aSEmmanuel Vadot ti,adc-channels = <0 1 2 3 4 5 6>; 381*f126890aSEmmanuel Vadot }; 382*f126890aSEmmanuel Vadot}; 383*f126890aSEmmanuel Vadot 384*f126890aSEmmanuel Vadot&gpio0 { 385*f126890aSEmmanuel Vadot gpio-line-names = 386*f126890aSEmmanuel Vadot "", 387*f126890aSEmmanuel Vadot "", 388*f126890aSEmmanuel Vadot "", 389*f126890aSEmmanuel Vadot "", 390*f126890aSEmmanuel Vadot "", 391*f126890aSEmmanuel Vadot "", 392*f126890aSEmmanuel Vadot "", 393*f126890aSEmmanuel Vadot "", 394*f126890aSEmmanuel Vadot "", 395*f126890aSEmmanuel Vadot "", 396*f126890aSEmmanuel Vadot "", 397*f126890aSEmmanuel Vadot "", 398*f126890aSEmmanuel Vadot "", 399*f126890aSEmmanuel Vadot "", 400*f126890aSEmmanuel Vadot "", 401*f126890aSEmmanuel Vadot "", 402*f126890aSEmmanuel Vadot "", 403*f126890aSEmmanuel Vadot "", 404*f126890aSEmmanuel Vadot "", 405*f126890aSEmmanuel Vadot "", 406*f126890aSEmmanuel Vadot "", 407*f126890aSEmmanuel Vadot "", 408*f126890aSEmmanuel Vadot "", 409*f126890aSEmmanuel Vadot "", 410*f126890aSEmmanuel Vadot "", 411*f126890aSEmmanuel Vadot "", 412*f126890aSEmmanuel Vadot "", 413*f126890aSEmmanuel Vadot "", 414*f126890aSEmmanuel Vadot "", 415*f126890aSEmmanuel Vadot "MirxWakeup", 416*f126890aSEmmanuel Vadot "", 417*f126890aSEmmanuel Vadot ""; 418*f126890aSEmmanuel Vadot}; 419*f126890aSEmmanuel Vadot 420*f126890aSEmmanuel Vadot&gpio3 { 421*f126890aSEmmanuel Vadot ti,gpio-always-on; 422*f126890aSEmmanuel Vadot ti,no-reset-on-init; 423*f126890aSEmmanuel Vadot gpio-line-names = 424*f126890aSEmmanuel Vadot "", 425*f126890aSEmmanuel Vadot "MirxBtReset", 426*f126890aSEmmanuel Vadot "", 427*f126890aSEmmanuel Vadot "CcVolAdcEn", 428*f126890aSEmmanuel Vadot "MirxBlePause", 429*f126890aSEmmanuel Vadot "", 430*f126890aSEmmanuel Vadot "", 431*f126890aSEmmanuel Vadot "", 432*f126890aSEmmanuel Vadot "", 433*f126890aSEmmanuel Vadot "", 434*f126890aSEmmanuel Vadot "", 435*f126890aSEmmanuel Vadot "", 436*f126890aSEmmanuel Vadot "", 437*f126890aSEmmanuel Vadot "", 438*f126890aSEmmanuel Vadot "AspEn", 439*f126890aSEmmanuel Vadot "", 440*f126890aSEmmanuel Vadot "", 441*f126890aSEmmanuel Vadot "", 442*f126890aSEmmanuel Vadot "", 443*f126890aSEmmanuel Vadot "", 444*f126890aSEmmanuel Vadot "", 445*f126890aSEmmanuel Vadot "BatVolAdcEn", 446*f126890aSEmmanuel Vadot "", 447*f126890aSEmmanuel Vadot "", 448*f126890aSEmmanuel Vadot "", 449*f126890aSEmmanuel Vadot "", 450*f126890aSEmmanuel Vadot "", 451*f126890aSEmmanuel Vadot "", 452*f126890aSEmmanuel Vadot "", 453*f126890aSEmmanuel Vadot "", 454*f126890aSEmmanuel Vadot "", 455*f126890aSEmmanuel Vadot ""; 456*f126890aSEmmanuel Vadot}; 457*f126890aSEmmanuel Vadot 458*f126890aSEmmanuel Vadot&uart0 { 459*f126890aSEmmanuel Vadot pinctrl-names = "default"; 460*f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_pins>; 461*f126890aSEmmanuel Vadot status = "okay"; 462*f126890aSEmmanuel Vadot}; 463*f126890aSEmmanuel Vadot 464*f126890aSEmmanuel Vadot&uart2 { 465*f126890aSEmmanuel Vadot pinctrl-names = "default"; 466*f126890aSEmmanuel Vadot pinctrl-0 = <&uart2_pins>; 467*f126890aSEmmanuel Vadot status = "okay"; 468*f126890aSEmmanuel Vadot}; 469*f126890aSEmmanuel Vadot 470*f126890aSEmmanuel Vadot&usb0 { 471*f126890aSEmmanuel Vadot dr_mode = "peripheral"; 472*f126890aSEmmanuel Vadot}; 473*f126890aSEmmanuel Vadot 474*f126890aSEmmanuel Vadot&usb1 { 475*f126890aSEmmanuel Vadot dr_mode = "host"; 476*f126890aSEmmanuel Vadot /delete-property/dmas; 477*f126890aSEmmanuel Vadot /delete-property/dma-names; 478*f126890aSEmmanuel Vadot}; 479*f126890aSEmmanuel Vadot 480*f126890aSEmmanuel Vadot&am33xx_pinmux { 481*f126890aSEmmanuel Vadot pinctrl-names = "default"; 482*f126890aSEmmanuel Vadot pinctrl-0 = <&clkout2_pin &guardian_interface_pins>; 483*f126890aSEmmanuel Vadot 484*f126890aSEmmanuel Vadot clkout2_pin: clkout2-pins { 485*f126890aSEmmanuel Vadot pinctrl-single,pins = < 486*f126890aSEmmanuel Vadot /* xdma_event_intr1.clkout2 */ 487*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x9b4, PIN_OUTPUT_PULLDOWN | MUX_MODE3) 488*f126890aSEmmanuel Vadot >; 489*f126890aSEmmanuel Vadot }; 490*f126890aSEmmanuel Vadot 491*f126890aSEmmanuel Vadot guardian_interface_pins: interface-pins { 492*f126890aSEmmanuel Vadot pinctrl-single,pins = < 493*f126890aSEmmanuel Vadot /* ADC_BATSENSE_EN */ 494*f126890aSEmmanuel Vadot /* (A14) MCASP0_AHCLKx.gpio3[21] */ 495*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x9ac, PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) 496*f126890aSEmmanuel Vadot /* ADC_COINCELL_EN */ 497*f126890aSEmmanuel Vadot /* (J16) MII1_TX_EN.gpio3[3] */ 498*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) 499*f126890aSEmmanuel Vadot /* ASP_ENABLE */ 500*f126890aSEmmanuel Vadot /* (A13) MCASP0_ACLKx.gpio3[14] */ 501*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x990, PIN_OUTPUT_PULLUP | MUX_MODE7) 502*f126890aSEmmanuel Vadot /* (D16) uart1_rxd.uart1_rxd */ 503*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x980, PIN_INPUT | MUX_MODE7) 504*f126890aSEmmanuel Vadot /* (D15) uart1_txd.uart1_txd */ 505*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x984, PIN_INPUT | MUX_MODE7) 506*f126890aSEmmanuel Vadot /*SWITCH-OFF_3V6*/ 507*f126890aSEmmanuel Vadot /* (M18) gpio0[1] */ 508*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE7) 509*f126890aSEmmanuel Vadot /* MIRACULIX */ 510*f126890aSEmmanuel Vadot /* (H17) gmii1_crs.gpio3[1] */ 511*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x90c, PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) 512*f126890aSEmmanuel Vadot /* (H18) rmii1_refclk.gpio0[29] */ 513*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x944, PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) 514*f126890aSEmmanuel Vadot /* (J18) gmii1_txd3.gpio0[16] */ 515*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x91c, PIN_INPUT | MUX_MODE7 ) 516*f126890aSEmmanuel Vadot /* (J17) gmii1_rxdv.gpio3[4] */ 517*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x918, PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) 518*f126890aSEmmanuel Vadot >; 519*f126890aSEmmanuel Vadot }; 520*f126890aSEmmanuel Vadot 521*f126890aSEmmanuel Vadot guardian_beeper_pins: dmtimer7-pins { 522*f126890aSEmmanuel Vadot pinctrl-single,pins = < 523*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x968, PIN_OUTPUT | MUX_MODE5) /* (E18) timer7 */ 524*f126890aSEmmanuel Vadot >; 525*f126890aSEmmanuel Vadot }; 526*f126890aSEmmanuel Vadot 527*f126890aSEmmanuel Vadot guardian_button_pins: guardian-button-pins { 528*f126890aSEmmanuel Vadot pinctrl-single,pins = < 529*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x940, PIN_INPUT | MUX_MODE7) /* (M16) gmii1_rxd0.gpio2[21] */ 530*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x884, PIN_INPUT | MUX_MODE7) /* (V9) gpmc_csn2.gpio1[31] */ 531*f126890aSEmmanuel Vadot >; 532*f126890aSEmmanuel Vadot }; 533*f126890aSEmmanuel Vadot 534*f126890aSEmmanuel Vadot 535*f126890aSEmmanuel Vadot i2c0_pins: i2c0-pins { 536*f126890aSEmmanuel Vadot pinctrl-single,pins = < 537*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ 538*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ 539*f126890aSEmmanuel Vadot >; 540*f126890aSEmmanuel Vadot }; 541*f126890aSEmmanuel Vadot 542*f126890aSEmmanuel Vadot led_bl_pins: gpio-led-bl-pins { 543*f126890aSEmmanuel Vadot pinctrl-single,pins = < 544*f126890aSEmmanuel Vadot /* P9_14, gpmc_a[2].GPIO1[18] (backlight control) */ 545*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x848, PIN_OUTPUT | MUX_MODE7) 546*f126890aSEmmanuel Vadot >; 547*f126890aSEmmanuel Vadot }; 548*f126890aSEmmanuel Vadot 549*f126890aSEmmanuel Vadot lcd_disen_pins: lcd-disen-pins { 550*f126890aSEmmanuel Vadot pinctrl-single,pins = < 551*f126890aSEmmanuel Vadot /* P9_27, mcasp0_fsr.gpio3[19] (lcd_disen) */ 552*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x9a4, PIN_OUTPUT_PULLUP | SLEWCTRL_SLOW | MUX_MODE7) 553*f126890aSEmmanuel Vadot >; 554*f126890aSEmmanuel Vadot }; 555*f126890aSEmmanuel Vadot 556*f126890aSEmmanuel Vadot lcd_pins_default: lcd-default-pins { 557*f126890aSEmmanuel Vadot pinctrl-single,pins = < 558*f126890aSEmmanuel Vadot /* (U10) gpmc_ad8.lcd_data23 */ 559*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x820, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE1) 560*f126890aSEmmanuel Vadot /* (T10) gpmc_ad9.lcd_data22 */ 561*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x824, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE1) 562*f126890aSEmmanuel Vadot /* (T11) gpmc_ad10.lcd_data21 */ 563*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x828, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE1) 564*f126890aSEmmanuel Vadot /* (U12) gpmc_ad11.lcd_data20 */ 565*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x82c, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE1) 566*f126890aSEmmanuel Vadot /* (T12) gpmc_ad12.lcd_data19 */ 567*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x830, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE1) 568*f126890aSEmmanuel Vadot /* (R12) gpmc_ad13.lcd_data18 */ 569*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x834, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE1) 570*f126890aSEmmanuel Vadot /* (V13) gpmc_ad14.lcd_data17 */ 571*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x838, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE1) 572*f126890aSEmmanuel Vadot /* (U13) gpmc_ad15.lcd_data16 */ 573*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x83c, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE1) 574*f126890aSEmmanuel Vadot /* lcd_data0.lcd_data0 */ 575*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8a0, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 576*f126890aSEmmanuel Vadot /* lcd_data1.lcd_data1 */ 577*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8a4, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 578*f126890aSEmmanuel Vadot /* lcd_data2.lcd_data2 */ 579*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8a8, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 580*f126890aSEmmanuel Vadot /* lcd_data3.lcd_data3 */ 581*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8ac, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 582*f126890aSEmmanuel Vadot /* lcd_data4.lcd_data4 */ 583*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8b0, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 584*f126890aSEmmanuel Vadot /* lcd_data5.lcd_data5 */ 585*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8b4, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 586*f126890aSEmmanuel Vadot /* lcd_data6.lcd_data6 */ 587*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8b8, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 588*f126890aSEmmanuel Vadot /* lcd_data7.lcd_data7 */ 589*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8bc, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 590*f126890aSEmmanuel Vadot /* lcd_data8.lcd_data8 */ 591*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8c0, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 592*f126890aSEmmanuel Vadot /* lcd_data9.lcd_data9 */ 593*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8c4, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 594*f126890aSEmmanuel Vadot /* lcd_data10.lcd_data10 */ 595*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8c8, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 596*f126890aSEmmanuel Vadot /* lcd_data11.lcd_data11 */ 597*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8cc, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 598*f126890aSEmmanuel Vadot /* lcd_data12.lcd_data12 */ 599*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8d0, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 600*f126890aSEmmanuel Vadot /* lcd_data13.lcd_data13 */ 601*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8d4, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 602*f126890aSEmmanuel Vadot /* lcd_data14.lcd_data14 */ 603*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8d8, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 604*f126890aSEmmanuel Vadot /* lcd_data15.lcd_data15 */ 605*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8dc, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 606*f126890aSEmmanuel Vadot /* lcd_vsync.lcd_vsync */ 607*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8e0, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 608*f126890aSEmmanuel Vadot /* lcd_hsync.lcd_hsync */ 609*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8e4, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 610*f126890aSEmmanuel Vadot /* lcd_pclk.lcd_pclk */ 611*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8e8, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 612*f126890aSEmmanuel Vadot /* lcd_ac_bias_en.lcd_ac_bias_en */ 613*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8ec, PIN_OUTPUT | SLEWCTRL_SLOW | MUX_MODE0) 614*f126890aSEmmanuel Vadot >; 615*f126890aSEmmanuel Vadot }; 616*f126890aSEmmanuel Vadot 617*f126890aSEmmanuel Vadot lcd_pins_sleep: lcd-sleep-pins { 618*f126890aSEmmanuel Vadot pinctrl-single,pins = < 619*f126890aSEmmanuel Vadot /* lcd_data0.lcd_data0 */ 620*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8a0, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 621*f126890aSEmmanuel Vadot /* lcd_data1.lcd_data1 */ 622*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8a4, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 623*f126890aSEmmanuel Vadot /* lcd_data2.lcd_data2 */ 624*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8a8, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 625*f126890aSEmmanuel Vadot /* lcd_data3.lcd_data3 */ 626*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8ac, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 627*f126890aSEmmanuel Vadot /* lcd_data4.lcd_data4 */ 628*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8b0, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 629*f126890aSEmmanuel Vadot /* lcd_data5.lcd_data5 */ 630*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8b4, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 631*f126890aSEmmanuel Vadot /* lcd_data6.lcd_data6 */ 632*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8b8, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 633*f126890aSEmmanuel Vadot /* lcd_data7.lcd_data7 */ 634*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8bc, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 635*f126890aSEmmanuel Vadot /* lcd_data8.lcd_data8 */ 636*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8c0, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 637*f126890aSEmmanuel Vadot /* lcd_data9.lcd_data9 */ 638*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8c4, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 639*f126890aSEmmanuel Vadot /* lcd_data10.lcd_data10 */ 640*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8c8, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 641*f126890aSEmmanuel Vadot /* lcd_data11.lcd_data11 */ 642*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8cc, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 643*f126890aSEmmanuel Vadot /* lcd_data12.lcd_data12 */ 644*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8d0, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 645*f126890aSEmmanuel Vadot /* lcd_data13.lcd_data13 */ 646*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8d4, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 647*f126890aSEmmanuel Vadot /* lcd_data14.lcd_data14 */ 648*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8d8, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 649*f126890aSEmmanuel Vadot /* lcd_data15.lcd_data15 */ 650*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8dc, PULL_DISABLE | SLEWCTRL_SLOW | MUX_MODE7) 651*f126890aSEmmanuel Vadot /* lcd_vsync.lcd_vsync */ 652*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8e0, PIN_INPUT_PULLDOWN | SLEWCTRL_SLOW | MUX_MODE7) 653*f126890aSEmmanuel Vadot /* lcd_hsync.lcd_hsync */ 654*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8e4, PIN_INPUT_PULLDOWN | SLEWCTRL_SLOW | MUX_MODE7) 655*f126890aSEmmanuel Vadot /* lcd_pclk.lcd_pclk */ 656*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8e8, PIN_INPUT_PULLDOWN | SLEWCTRL_SLOW | MUX_MODE7) 657*f126890aSEmmanuel Vadot /* lcd_ac_bias_en.lcd_ac_bias_en */ 658*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8ec, PIN_INPUT_PULLDOWN | SLEWCTRL_SLOW | MUX_MODE7) 659*f126890aSEmmanuel Vadot >; 660*f126890aSEmmanuel Vadot }; 661*f126890aSEmmanuel Vadot 662*f126890aSEmmanuel Vadot guardian_led_pins: guardian-led-pins { 663*f126890aSEmmanuel Vadot pinctrl-single,pins = < 664*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x868, PIN_OUTPUT | MUX_MODE7) /* (T16) gpmc_a10.gpio1[26] */ 665*f126890aSEmmanuel Vadot >; 666*f126890aSEmmanuel Vadot }; 667*f126890aSEmmanuel Vadot 668*f126890aSEmmanuel Vadot mmc1_pins: mmc1-pins { 669*f126890aSEmmanuel Vadot pinctrl-single,pins = < 670*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */ 671*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */ 672*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */ 673*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */ 674*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */ 675*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */ 676*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* GPIO0_6 */ 677*f126890aSEmmanuel Vadot >; 678*f126890aSEmmanuel Vadot }; 679*f126890aSEmmanuel Vadot 680*f126890aSEmmanuel Vadot spi0_pins: spi0-pins { 681*f126890aSEmmanuel Vadot pinctrl-single,pins = < 682*f126890aSEmmanuel Vadot /* SPI0_CLK - spi0_clk.spi */ 683*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x950, PIN_OUTPUT_PULLDOWN | MUX_MODE0) 684*f126890aSEmmanuel Vadot /* SPI0_MOSI - spi0_d0.spi0 */ 685*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x954, PIN_OUTPUT_PULLUP | MUX_MODE0) 686*f126890aSEmmanuel Vadot /* SPI0_MISO - spi0_d1.spi0 */ 687*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0) 688*f126890aSEmmanuel Vadot /* SPI0_CS0 - spi */ 689*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x95c, PIN_OUTPUT_PULLUP | MUX_MODE0) 690*f126890aSEmmanuel Vadot >; 691*f126890aSEmmanuel Vadot }; 692*f126890aSEmmanuel Vadot 693*f126890aSEmmanuel Vadot uart0_pins: uart0-pins { 694*f126890aSEmmanuel Vadot pinctrl-single,pins = < 695*f126890aSEmmanuel Vadot /* uart0_rxd.uart0_rxd */ 696*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) 697*f126890aSEmmanuel Vadot /* uart0_txd.uart0_txd */ 698*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) 699*f126890aSEmmanuel Vadot >; 700*f126890aSEmmanuel Vadot }; 701*f126890aSEmmanuel Vadot 702*f126890aSEmmanuel Vadot uart2_pins: uart2-pins { 703*f126890aSEmmanuel Vadot pinctrl-single,pins = < 704*f126890aSEmmanuel Vadot /* K18 uart2_rxd.mirx_txd */ 705*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x92c, PIN_INPUT_PULLUP | MUX_MODE1) 706*f126890aSEmmanuel Vadot /* L18 uart2_txd.mirx_rxd */ 707*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x930, PIN_OUTPUT_PULLDOWN | MUX_MODE1) 708*f126890aSEmmanuel Vadot >; 709*f126890aSEmmanuel Vadot }; 710*f126890aSEmmanuel Vadot 711*f126890aSEmmanuel Vadot nandflash_pins: nandflash-pins { 712*f126890aSEmmanuel Vadot pinctrl-single,pins = < 713*f126890aSEmmanuel Vadot /* (U7) gpmc_ad0.gpmc_ad0 */ 714*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x800, PIN_INPUT | MUX_MODE0) 715*f126890aSEmmanuel Vadot /* (V7) gpmc_ad1.gpmc_ad1 */ 716*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x804, PIN_INPUT | MUX_MODE0) 717*f126890aSEmmanuel Vadot /* (R8) gpmc_ad2.gpmc_ad2 */ 718*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x808, PIN_INPUT | MUX_MODE0) 719*f126890aSEmmanuel Vadot /* (T8) gpmc_ad3.gpmc_ad3 */ 720*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x80c, PIN_INPUT | MUX_MODE0) 721*f126890aSEmmanuel Vadot /* (U8) gpmc_ad4.gpmc_ad4 */ 722*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x810, PIN_INPUT | MUX_MODE0) 723*f126890aSEmmanuel Vadot /* (V8) gpmc_ad5.gpmc_ad5 */ 724*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x814, PIN_INPUT | MUX_MODE0) 725*f126890aSEmmanuel Vadot /* (R9) gpmc_ad6.gpmc_ad6 */ 726*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x818, PIN_INPUT | MUX_MODE0) 727*f126890aSEmmanuel Vadot /* (T9) gpmc_ad7.gpmc_ad7 */ 728*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x81c, PIN_INPUT | MUX_MODE0) 729*f126890aSEmmanuel Vadot /* (T17) gpmc_wait0.gpmc_wait0 */ 730*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x870, PIN_INPUT | MUX_MODE0) 731*f126890aSEmmanuel Vadot /* (U17) gpmc_wpn.gpmc_wpn */ 732*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x874, PIN_OUTPUT | MUX_MODE0) 733*f126890aSEmmanuel Vadot /* (V6) gpmc_csn0.gpmc_csn0 */ 734*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0) 735*f126890aSEmmanuel Vadot /* (R7) gpmc_advn_ale.gpmc_advn_ale */ 736*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0) 737*f126890aSEmmanuel Vadot /* (T7) gpmc_oen_ren.gpmc_oen_ren */ 738*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) 739*f126890aSEmmanuel Vadot /* (U6) gpmc_wen.gpmc_wen */ 740*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0) 741*f126890aSEmmanuel Vadot /* (T6) gpmc_be0n_cle.gpmc_be0n_cle */ 742*f126890aSEmmanuel Vadot AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0) 743*f126890aSEmmanuel Vadot >; 744*f126890aSEmmanuel Vadot }; 745*f126890aSEmmanuel Vadot}; 746