1724ba675SRob Herring/* 2724ba675SRob Herring * pdu001.dts 3724ba675SRob Herring * 4724ba675SRob Herring * EETS GmbH PDU001 board device tree file 5724ba675SRob Herring * 6*9f2967e4SNishanth Menon * Copyright (C) 2018 EETS GmbH - https://www.eets.ch/ 7724ba675SRob Herring * 8724ba675SRob Herring * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ 9724ba675SRob Herring * 10724ba675SRob Herring * SPDX-License-Identifier: GPL-2.0+ 11724ba675SRob Herring */ 12724ba675SRob Herring 13724ba675SRob Herring/dts-v1/; 14724ba675SRob Herring 15724ba675SRob Herring#include "am33xx.dtsi" 16724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 17724ba675SRob Herring#include <dt-bindings/leds/leds-pca9532.h> 18724ba675SRob Herring 19724ba675SRob Herring/ { 20724ba675SRob Herring model = "EETS,PDU001"; 21724ba675SRob Herring compatible = "ti,am33xx"; 22724ba675SRob Herring 23724ba675SRob Herring chosen { 24724ba675SRob Herring stdout-path = &uart3; 25724ba675SRob Herring }; 26724ba675SRob Herring 27724ba675SRob Herring cpus { 28724ba675SRob Herring cpu@0 { 29724ba675SRob Herring cpu0-supply = <&vdd1_reg>; 30724ba675SRob Herring }; 31724ba675SRob Herring }; 32724ba675SRob Herring 33724ba675SRob Herring memory { 34724ba675SRob Herring device_type = "memory"; 35724ba675SRob Herring reg = <0x80000000 0x10000000>; /* 256 MB */ 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring vbat: fixedregulator@0 { 39724ba675SRob Herring compatible = "regulator-fixed"; 40724ba675SRob Herring regulator-name = "vbat"; 41724ba675SRob Herring regulator-min-microvolt = <3600000>; 42724ba675SRob Herring regulator-max-microvolt = <3600000>; 43724ba675SRob Herring regulator-boot-on; 44724ba675SRob Herring }; 45724ba675SRob Herring 46724ba675SRob Herring lis3_reg: fixedregulator@1 { 47724ba675SRob Herring compatible = "regulator-fixed"; 48724ba675SRob Herring regulator-name = "lis3_reg"; 49724ba675SRob Herring regulator-boot-on; 50724ba675SRob Herring }; 51724ba675SRob Herring 52724ba675SRob Herring panel { 53724ba675SRob Herring compatible = "ti,tilcdc,panel"; 54724ba675SRob Herring status = "okay"; 55724ba675SRob Herring pinctrl-names = "default"; 56724ba675SRob Herring pinctrl-0 = <&lcd_pins_s0>; 57724ba675SRob Herring panel-info { 58724ba675SRob Herring ac-bias = <255>; 59724ba675SRob Herring ac-bias-intrpt = <0>; 60724ba675SRob Herring dma-burst-sz = <16>; 61724ba675SRob Herring bpp = <16>; 62724ba675SRob Herring fdd = <0x80>; 63724ba675SRob Herring sync-edge = <0>; 64724ba675SRob Herring sync-ctrl = <1>; 65724ba675SRob Herring raster-order = <0>; 66724ba675SRob Herring fifo-th = <0>; 67724ba675SRob Herring }; 68724ba675SRob Herring 69724ba675SRob Herring display-timings { 70724ba675SRob Herring 240x320p16 { 71724ba675SRob Herring clock-frequency = <6500000>; 72724ba675SRob Herring hactive = <240>; 73724ba675SRob Herring vactive = <320>; 74724ba675SRob Herring hfront-porch = <6>; 75724ba675SRob Herring hback-porch = <6>; 76724ba675SRob Herring hsync-len = <1>; 77724ba675SRob Herring vback-porch = <6>; 78724ba675SRob Herring vfront-porch = <6>; 79724ba675SRob Herring vsync-len = <1>; 80724ba675SRob Herring hsync-active = <0>; 81724ba675SRob Herring vsync-active = <0>; 82724ba675SRob Herring pixelclk-active = <1>; 83724ba675SRob Herring de-active = <0>; 84724ba675SRob Herring }; 85724ba675SRob Herring }; 86724ba675SRob Herring }; 87724ba675SRob Herring}; 88724ba675SRob Herring 89724ba675SRob Herring&am33xx_pinmux { 90724ba675SRob Herring pinctrl-names = "default"; 91724ba675SRob Herring pinctrl-0 = <&clkout2_pin>; 92724ba675SRob Herring 93724ba675SRob Herring i2c0_pins: i2c0-pins { 94724ba675SRob Herring pinctrl-single,pins = < 95724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0) 96724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0) 97724ba675SRob Herring >; 98724ba675SRob Herring }; 99724ba675SRob Herring 100724ba675SRob Herring i2c1_pins: i2c1-pins { 101724ba675SRob Herring pinctrl-single,pins = < 102724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE2) /* spi0_d1.i2c1_sda */ 103724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLUP, MUX_MODE2) /* spi0_cs0.i2c1_scl */ 104724ba675SRob Herring >; 105724ba675SRob Herring }; 106724ba675SRob Herring 107724ba675SRob Herring i2c2_pins: i2c2-pins { 108724ba675SRob Herring pinctrl-single,pins = < 109724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE2) /* spi0_clk.i2c2_sda */ 110724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT_PULLUP, MUX_MODE2) /* spi0_d0.i2c2_scl */ 111724ba675SRob Herring >; 112724ba675SRob Herring }; 113724ba675SRob Herring 114724ba675SRob Herring spi1_pins: spi1-pins { 115724ba675SRob Herring pinctrl-single,pins = < 116724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_OUTPUT, MUX_MODE3) /* mcasp0_aclkx.spi1_sclk */ 117724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_FSX, PIN_OUTPUT, MUX_MODE3) /* mcasp0_fsx.spi1_d0 */ 118724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR0, PIN_INPUT_PULLDOWN, MUX_MODE3) /* mcasp0_axr0.spi1_d1 */ 119724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, PIN_OUTPUT, MUX_MODE3) /* mcasp0_ahclkr.spi1_cs0 */ 120724ba675SRob Herring >; 121724ba675SRob Herring }; 122724ba675SRob Herring 123724ba675SRob Herring uart0_pins: uart0-pins { 124724ba675SRob Herring pinctrl-single,pins = < 125724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_OUTPUT, MUX_MODE7) 126724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 127724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 128724ba675SRob Herring >; 129724ba675SRob Herring }; 130724ba675SRob Herring 131724ba675SRob Herring uart1_pins: uart1-pins { 132724ba675SRob Herring pinctrl-single,pins = < 133724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 134724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 135724ba675SRob Herring >; 136724ba675SRob Herring }; 137724ba675SRob Herring 138724ba675SRob Herring uart3_pins: uart3-pins { 139724ba675SRob Herring pinctrl-single,pins = < 140724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT_PULLUP, MUX_MODE1) /* spi0_cs1.uart3_rxd */ 141724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* ecap0_in_pwm0_out.uart3_txd */ 142724ba675SRob Herring >; 143724ba675SRob Herring }; 144724ba675SRob Herring 145724ba675SRob Herring clkout2_pin: clkout2-pins { 146724ba675SRob Herring pinctrl-single,pins = < 147724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_OUTPUT_PULLDOWN, MUX_MODE3) /* xdma_event_intr1.clkout2 */ 148724ba675SRob Herring >; 149724ba675SRob Herring }; 150724ba675SRob Herring 151724ba675SRob Herring cpsw_default: cpsw-default-pins { 152724ba675SRob Herring pinctrl-single,pins = < 153724ba675SRob Herring /* Port 1 (emac0) */ 154724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT, MUX_MODE0) 155724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT, MUX_MODE0) 156724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT, MUX_MODE0) 157724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT, MUX_MODE0) 158724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT, MUX_MODE0) 159724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_OUTPUT, MUX_MODE0) 160724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_OUTPUT, MUX_MODE0) 161724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT, MUX_MODE0) 162724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT, MUX_MODE0) 163724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT, MUX_MODE0) 164724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT, MUX_MODE0) 165724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT, MUX_MODE0) 166724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT, MUX_MODE0) 167724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT, MUX_MODE0) 168724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT, MUX_MODE0) 169724ba675SRob Herring 170724ba675SRob Herring /* Port 2 (emac1) */ 171724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT, MUX_MODE1) /* mii2_txen.gpmc_a0 */ 172724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT, MUX_MODE1) /* mii2_rxdv.gpmc_a1 */ 173724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT, MUX_MODE1) /* mii2_txd3.gpmc_a2 */ 174724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_OUTPUT, MUX_MODE1) /* mii2_txd2.gpmc_a3 */ 175724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT, MUX_MODE1) /* mii2_txd1.gpmc_a4 */ 176724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT, MUX_MODE1) /* mii2_txd0.gpmc_a5 */ 177724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_INPUT, MUX_MODE1) /* mii2_txclk.gpmc_a6 */ 178724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_INPUT, MUX_MODE1) /* mii2_rxclk.gpmc_a7 */ 179724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_INPUT, MUX_MODE1) /* mii2_rxd3.gpmc_a8 */ 180724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT, MUX_MODE1) /* mii2_rxd2.gpmc_a9 */ 181724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT, MUX_MODE1) /* mii2_rxd1.gpmc_a10 */ 182724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT, MUX_MODE1) /* mii2_rxd0.gpmc_a11 */ 183724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT, MUX_MODE1) /* mii2_crs.gpmc_wait0 */ 184724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT, MUX_MODE1) /* mii2_rxer.gpmc_wpn */ 185724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT, MUX_MODE1) /* mii2_col.gpmc_ben1 */ 186724ba675SRob Herring >; 187724ba675SRob Herring }; 188724ba675SRob Herring 189724ba675SRob Herring davinci_mdio_default: davinci-mdio-default-pins { 190724ba675SRob Herring pinctrl-single,pins = < 191724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0) 192724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0) 193724ba675SRob Herring >; 194724ba675SRob Herring }; 195724ba675SRob Herring 196724ba675SRob Herring mmc1_pins: mmc1-pins { 197724ba675SRob Herring /* eMMC */ 198724ba675SRob Herring pinctrl-single,pins = < 199724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0) 200724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0) 201724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0) 202724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0) 203724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0) 204724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0) 205724ba675SRob Herring >; 206724ba675SRob Herring }; 207724ba675SRob Herring 208724ba675SRob Herring mmc2_pins: mmc2-pins { 209724ba675SRob Herring /* SD cardcage */ 210724ba675SRob Herring pinctrl-single,pins = < 211724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */ 212724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */ 213724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */ 214724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */ 215724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn1.mmc1_clk */ 216724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn2.mmc1_cmd */ 217724ba675SRob Herring /* card change signal for frontpanel SD cardcage */ 218724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_INPUT, MUX_MODE7) /* gpmc_advn_ale.gpio2_2 */ 219724ba675SRob Herring >; 220724ba675SRob Herring }; 221724ba675SRob Herring 222724ba675SRob Herring lcd_pins_s0: lcd-s0-pins { 223724ba675SRob Herring pinctrl-single,pins = < 224724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PIN_OUTPUT, MUX_MODE0) 225724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PIN_OUTPUT, MUX_MODE0) 226724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PIN_OUTPUT, MUX_MODE0) 227724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PIN_OUTPUT, MUX_MODE0) 228724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PIN_OUTPUT, MUX_MODE0) 229724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PIN_OUTPUT, MUX_MODE0) 230724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PIN_OUTPUT, MUX_MODE0) 231724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PIN_OUTPUT, MUX_MODE0) 232724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT, MUX_MODE0) 233724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_OUTPUT, MUX_MODE0) 234724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_OUTPUT, MUX_MODE0) 235724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE0) 236724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_OUTPUT, MUX_MODE0) 237724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE0) 238724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_OUTPUT, MUX_MODE0) 239724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT, MUX_MODE0) 240724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT, MUX_MODE0) 241724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_OUTPUT, MUX_MODE0) 242724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT, MUX_MODE0) 243724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT, MUX_MODE0) 244724ba675SRob Herring >; 245724ba675SRob Herring }; 246724ba675SRob Herring 247724ba675SRob Herring dcan0_pins: dcan0-pins { 248724ba675SRob Herring pinctrl-single,pins = < 249724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_OUTPUT, MUX_MODE2) /* uart1_ctsn.d_can0_tx */ 250724ba675SRob Herring AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT_PULLDOWN, MUX_MODE2) /* uart1_rtsn.d_can0_rx */ 251724ba675SRob Herring >; 252724ba675SRob Herring }; 253724ba675SRob Herring}; 254724ba675SRob Herring 255724ba675SRob Herring&uart0 { 256724ba675SRob Herring pinctrl-names = "default"; 257724ba675SRob Herring pinctrl-0 = <&uart0_pins>; 258724ba675SRob Herring 259724ba675SRob Herring rts-gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; 260724ba675SRob Herring rs485-rts-active-high; 261724ba675SRob Herring rs485-rts-delay = <0 0>; 262724ba675SRob Herring linux,rs485-enabled-at-boot-time; 263724ba675SRob Herring 264724ba675SRob Herring status = "okay"; 265724ba675SRob Herring}; 266724ba675SRob Herring 267724ba675SRob Herring&uart1 { 268724ba675SRob Herring pinctrl-names = "default"; 269724ba675SRob Herring pinctrl-0 = <&uart1_pins>; 270724ba675SRob Herring 271724ba675SRob Herring status = "okay"; 272724ba675SRob Herring}; 273724ba675SRob Herring 274724ba675SRob Herring&uart3 { 275724ba675SRob Herring pinctrl-names = "default"; 276724ba675SRob Herring pinctrl-0 = <&uart3_pins>; 277724ba675SRob Herring 278724ba675SRob Herring status = "okay"; 279724ba675SRob Herring}; 280724ba675SRob Herring 281724ba675SRob Herring&i2c0 { 282724ba675SRob Herring pinctrl-names = "default"; 283724ba675SRob Herring pinctrl-0 = <&i2c0_pins>; 284724ba675SRob Herring 285724ba675SRob Herring status = "okay"; 286724ba675SRob Herring clock-frequency = <400000>; 287724ba675SRob Herring 288724ba675SRob Herring tps: tps@2d { 289724ba675SRob Herring reg = <0x2d>; 290724ba675SRob Herring }; 291724ba675SRob Herring 292724ba675SRob Herring m2_eeprom: m2_eeprom@50 { 293724ba675SRob Herring compatible = "atmel,24c256"; 294724ba675SRob Herring reg = <0x50>; 295724ba675SRob Herring status = "okay"; 296724ba675SRob Herring }; 297724ba675SRob Herring}; 298724ba675SRob Herring 299724ba675SRob Herring&i2c1 { 300724ba675SRob Herring pinctrl-names = "default"; 301724ba675SRob Herring pinctrl-0 = <&i2c1_pins>; 302724ba675SRob Herring 303724ba675SRob Herring status = "okay"; 304724ba675SRob Herring clock-frequency = <100000>; 305724ba675SRob Herring 306724ba675SRob Herring board_24aa025e48: board_24aa025e48@50 { 307724ba675SRob Herring compatible = "atmel,24c02"; 308724ba675SRob Herring reg = <0x50>; 309724ba675SRob Herring }; 310724ba675SRob Herring 311724ba675SRob Herring backplane_24aa025e48: backplane_24aa025e48@53 { 312724ba675SRob Herring compatible = "atmel,24c02"; 313724ba675SRob Herring reg = <0x53>; 314724ba675SRob Herring }; 315724ba675SRob Herring 316724ba675SRob Herring pca9532: pca9532@60 { 317724ba675SRob Herring compatible = "nxp,pca9532"; 318724ba675SRob Herring reg = <0x60>; 319724ba675SRob Herring psc0 = <0x97>; 320724ba675SRob Herring pwm0 = <0x80>; 321724ba675SRob Herring psc1 = <0x97>; 322724ba675SRob Herring pwm1 = <0x10>; 323724ba675SRob Herring 324724ba675SRob Herring run.red@0 { 325724ba675SRob Herring type = <PCA9532_TYPE_LED>; 326724ba675SRob Herring }; 327724ba675SRob Herring run.green@1 { 328724ba675SRob Herring type = <PCA9532_TYPE_LED>; 329724ba675SRob Herring default-state = "on"; 330724ba675SRob Herring }; 331724ba675SRob Herring s2.red@2 { 332724ba675SRob Herring type = <PCA9532_TYPE_LED>; 333724ba675SRob Herring }; 334724ba675SRob Herring s2.green@3 { 335724ba675SRob Herring type = <PCA9532_TYPE_LED>; 336724ba675SRob Herring }; 337724ba675SRob Herring s1.yellow@4 { 338724ba675SRob Herring type = <PCA9532_TYPE_LED>; 339724ba675SRob Herring }; 340724ba675SRob Herring s1.green@5 { 341724ba675SRob Herring type = <PCA9532_TYPE_LED>; 342724ba675SRob Herring }; 343724ba675SRob Herring }; 344724ba675SRob Herring 345724ba675SRob Herring pca9530: pca9530@61 { 346724ba675SRob Herring compatible = "nxp,pca9530"; 347724ba675SRob Herring reg = <0x61>; 348724ba675SRob Herring 349724ba675SRob Herring tft-panel@0 { 350724ba675SRob Herring type = <PCA9532_TYPE_LED>; 351724ba675SRob Herring linux,default-trigger = "backlight"; 352724ba675SRob Herring default-state = "on"; 353724ba675SRob Herring }; 354724ba675SRob Herring }; 355724ba675SRob Herring 356724ba675SRob Herring mcp79400: rtc@6f { 357724ba675SRob Herring compatible = "microchip,mcp7940x"; 358724ba675SRob Herring reg = <0x6f>; 359724ba675SRob Herring }; 360724ba675SRob Herring}; 361724ba675SRob Herring 362724ba675SRob Herring&i2c2 { 363724ba675SRob Herring pinctrl-names = "default"; 364724ba675SRob Herring pinctrl-0 = <&i2c2_pins>; 365724ba675SRob Herring 366724ba675SRob Herring status = "okay"; 367724ba675SRob Herring clock-frequency = <100000>; 368724ba675SRob Herring}; 369724ba675SRob Herring 370724ba675SRob Herring&spi1 { 371724ba675SRob Herring pinctrl-names = "default"; 372724ba675SRob Herring pinctrl-0 = <&spi1_pins>; 373724ba675SRob Herring ti,pindir-d0-out-d1-in; 374724ba675SRob Herring status = "okay"; 375724ba675SRob Herring 376724ba675SRob Herring display-controller@0 { 377724ba675SRob Herring compatible = "orisetech,otm3225a"; 378724ba675SRob Herring reg = <0>; 379724ba675SRob Herring spi-max-frequency = <1000000>; 380724ba675SRob Herring // SPI mode 3 381724ba675SRob Herring spi-cpol; 382724ba675SRob Herring spi-cpha; 383724ba675SRob Herring status = "okay"; 384724ba675SRob Herring }; 385724ba675SRob Herring}; 386724ba675SRob Herring 387724ba675SRob Herring/* 388724ba675SRob Herring * Disable soc's rtc as we have no VBAT for it. This makes the board 389724ba675SRob Herring * rtc (Microchip MCP79400) the default rtc device 'rtc0'. 390724ba675SRob Herring */ 391724ba675SRob Herring&rtc { 392724ba675SRob Herring status = "disabled"; 393724ba675SRob Herring}; 394724ba675SRob Herring 395724ba675SRob Herring&lcdc { 396724ba675SRob Herring status = "okay"; 397724ba675SRob Herring}; 398724ba675SRob Herring 399724ba675SRob Herring&elm { 400724ba675SRob Herring status = "okay"; 401724ba675SRob Herring}; 402724ba675SRob Herring 403724ba675SRob Herring#include "../../tps65910.dtsi" 404724ba675SRob Herring 405724ba675SRob Herring&tps { 406724ba675SRob Herring vcc1-supply = <&vbat>; 407724ba675SRob Herring vcc2-supply = <&vbat>; 408724ba675SRob Herring vcc3-supply = <&vbat>; 409724ba675SRob Herring vcc4-supply = <&vbat>; 410724ba675SRob Herring vcc5-supply = <&vbat>; 411724ba675SRob Herring vcc6-supply = <&vbat>; 412724ba675SRob Herring vcc7-supply = <&vbat>; 413724ba675SRob Herring vccio-supply = <&vbat>; 414724ba675SRob Herring 415724ba675SRob Herring regulators { 416724ba675SRob Herring vrtc_reg: regulator@0 { 417724ba675SRob Herring regulator-name = "ldo_vrtc"; 418724ba675SRob Herring regulator-always-on; 419724ba675SRob Herring }; 420724ba675SRob Herring 421724ba675SRob Herring vio_reg: regulator@1 { 422724ba675SRob Herring regulator-name = "buck_vdd_ddr"; 423724ba675SRob Herring regulator-always-on; 424724ba675SRob Herring }; 425724ba675SRob Herring 426724ba675SRob Herring vdd1_reg: regulator@2 { 427724ba675SRob Herring /* VDD_MPU voltage limits */ 428724ba675SRob Herring regulator-name = "buck_vdd_mpu"; 429724ba675SRob Herring regulator-min-microvolt = <912500>; 430724ba675SRob Herring regulator-max-microvolt = <1312500>; 431724ba675SRob Herring regulator-boot-on; 432724ba675SRob Herring regulator-always-on; 433724ba675SRob Herring }; 434724ba675SRob Herring 435724ba675SRob Herring vdd2_reg: regulator@3 { 436724ba675SRob Herring /* VDD_CORE voltage limits */ 437724ba675SRob Herring regulator-name = "buck_vdd_core"; 438724ba675SRob Herring regulator-min-microvolt = <912500>; 439724ba675SRob Herring regulator-max-microvolt = <1150000>; 440724ba675SRob Herring regulator-boot-on; 441724ba675SRob Herring regulator-always-on; 442724ba675SRob Herring }; 443724ba675SRob Herring 444724ba675SRob Herring vdd3_reg: regulator@4 { 445724ba675SRob Herring regulator-name = "boost_res"; 446724ba675SRob Herring regulator-always-on; 447724ba675SRob Herring }; 448724ba675SRob Herring 449724ba675SRob Herring vdig1_reg: regulator@5 { 450724ba675SRob Herring regulator-name = "ldo_vdig1"; 451724ba675SRob Herring regulator-always-on; 452724ba675SRob Herring }; 453724ba675SRob Herring 454724ba675SRob Herring vdig2_reg: regulator@6 { 455724ba675SRob Herring regulator-name = "ldo_vdig2"; 456724ba675SRob Herring regulator-always-on; 457724ba675SRob Herring }; 458724ba675SRob Herring 459724ba675SRob Herring vpll_reg: regulator@7 { 460724ba675SRob Herring regulator-name = "ldo_vpll"; 461724ba675SRob Herring regulator-always-on; 462724ba675SRob Herring }; 463724ba675SRob Herring 464724ba675SRob Herring vdac_reg: regulator@8 { 465724ba675SRob Herring regulator-name = "ldo_vdac"; 466724ba675SRob Herring regulator-always-on; 467724ba675SRob Herring }; 468724ba675SRob Herring 469724ba675SRob Herring vaux1_reg: regulator@9 { 470724ba675SRob Herring regulator-name = "ldo_vaux1"; 471724ba675SRob Herring regulator-always-on; 472724ba675SRob Herring }; 473724ba675SRob Herring 474724ba675SRob Herring vaux2_reg: regulator@10 { 475724ba675SRob Herring regulator-name = "ldo_vaux2"; 476724ba675SRob Herring regulator-always-on; 477724ba675SRob Herring }; 478724ba675SRob Herring 479724ba675SRob Herring vaux33_reg: regulator@11 { 480724ba675SRob Herring regulator-name = "ldo_vaux33"; 481724ba675SRob Herring regulator-always-on; 482724ba675SRob Herring }; 483724ba675SRob Herring 484724ba675SRob Herring vmmc_reg: regulator@12 { 485724ba675SRob Herring regulator-name = "ldo_vmmc"; 486724ba675SRob Herring regulator-min-microvolt = <1800000>; 487724ba675SRob Herring regulator-max-microvolt = <3300000>; 488724ba675SRob Herring regulator-always-on; 489724ba675SRob Herring }; 490724ba675SRob Herring 491724ba675SRob Herring vbb_reg: regulator@13 { 492724ba675SRob Herring regulator-name = "bat_vbb"; 493724ba675SRob Herring }; 494724ba675SRob Herring }; 495724ba675SRob Herring}; 496724ba675SRob Herring 497724ba675SRob Herring&mac_sw { 498724ba675SRob Herring pinctrl-names = "default"; 499724ba675SRob Herring pinctrl-0 = <&cpsw_default>; 500724ba675SRob Herring status = "okay"; 501724ba675SRob Herring}; 502724ba675SRob Herring 503724ba675SRob Herring&davinci_mdio_sw { 504724ba675SRob Herring pinctrl-names = "default"; 505724ba675SRob Herring pinctrl-0 = <&davinci_mdio_default>; 506724ba675SRob Herring 507724ba675SRob Herring ethphy0: ethernet-phy@0 { 508724ba675SRob Herring reg = <0>; 509724ba675SRob Herring }; 510724ba675SRob Herring 511724ba675SRob Herring ethphy1: ethernet-phy@1 { 512724ba675SRob Herring reg = <1>; 513724ba675SRob Herring }; 514724ba675SRob Herring}; 515724ba675SRob Herring 516724ba675SRob Herring&cpsw_port1 { 517724ba675SRob Herring phy-handle = <ðphy0>; 518724ba675SRob Herring phy-mode = "mii"; 519724ba675SRob Herring ti,dual-emac-pvid = <1>; 520724ba675SRob Herring}; 521724ba675SRob Herring 522724ba675SRob Herring&cpsw_port2 { 523724ba675SRob Herring phy-handle = <ðphy1>; 524724ba675SRob Herring phy-mode = "mii"; 525724ba675SRob Herring ti,dual-emac-pvid = <2>; 526724ba675SRob Herring}; 527724ba675SRob Herring 528724ba675SRob Herring&tscadc { 529724ba675SRob Herring status = "okay"; 530724ba675SRob Herring tsc { 531724ba675SRob Herring ti,wires = <4>; 532724ba675SRob Herring ti,x-plate-resistance = <200>; 533724ba675SRob Herring ti,coordinate-readouts = <5>; 534724ba675SRob Herring ti,wire-config = <0x01 0x10 0x22 0x33>; 535724ba675SRob Herring ti,charge-delay = <0x400>; 536724ba675SRob Herring }; 537724ba675SRob Herring 538724ba675SRob Herring adc { 539724ba675SRob Herring ti,adc-channels = <4 5 6 7>; 540724ba675SRob Herring }; 541724ba675SRob Herring}; 542724ba675SRob Herring 543724ba675SRob Herring&mmc1 { 544724ba675SRob Herring status = "okay"; 545724ba675SRob Herring vmmc-supply = <&vmmc_reg>; 546724ba675SRob Herring bus-width = <4>; 547724ba675SRob Herring pinctrl-names = "default"; 548724ba675SRob Herring pinctrl-0 = <&mmc1_pins>; 549724ba675SRob Herring non-removable; 550724ba675SRob Herring}; 551724ba675SRob Herring 552724ba675SRob Herring&mmc2 { 553724ba675SRob Herring status = "okay"; 554724ba675SRob Herring vmmc-supply = <&vmmc_reg>; 555724ba675SRob Herring bus-width = <4>; 556724ba675SRob Herring pinctrl-names = "default"; 557724ba675SRob Herring pinctrl-0 = <&mmc2_pins>; 558724ba675SRob Herring cd-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; 559724ba675SRob Herring}; 560724ba675SRob Herring 561724ba675SRob Herring&sham { 562724ba675SRob Herring status = "okay"; 563724ba675SRob Herring}; 564724ba675SRob Herring 565724ba675SRob Herring&aes { 566724ba675SRob Herring status = "okay"; 567724ba675SRob Herring}; 568724ba675SRob Herring 569724ba675SRob Herring&dcan0 { 570724ba675SRob Herring status = "okay"; 571724ba675SRob Herring pinctrl-names = "default"; 572724ba675SRob Herring pinctrl-0 = <&dcan0_pins>; 573724ba675SRob Herring}; 574