1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot/dts-v1/; 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot#include "omap5-board-common.dtsi" 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot/ { 10*f126890aSEmmanuel Vadot model = "TI OMAP5 uEVM board"; 11*f126890aSEmmanuel Vadot compatible = "ti,omap5-uevm", "ti,omap5"; 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot memory@80000000 { 14*f126890aSEmmanuel Vadot device_type = "memory"; 15*f126890aSEmmanuel Vadot reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */ 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot reserved-memory { 19*f126890aSEmmanuel Vadot #address-cells = <2>; 20*f126890aSEmmanuel Vadot #size-cells = <2>; 21*f126890aSEmmanuel Vadot ranges; 22*f126890aSEmmanuel Vadot 23*f126890aSEmmanuel Vadot dsp_memory_region: dsp-memory@95000000 { 24*f126890aSEmmanuel Vadot compatible = "shared-dma-pool"; 25*f126890aSEmmanuel Vadot reg = <0 0x95000000 0 0x800000>; 26*f126890aSEmmanuel Vadot reusable; 27*f126890aSEmmanuel Vadot status = "okay"; 28*f126890aSEmmanuel Vadot }; 29*f126890aSEmmanuel Vadot 30*f126890aSEmmanuel Vadot ipu_memory_region: ipu-memory@95800000 { 31*f126890aSEmmanuel Vadot compatible = "shared-dma-pool"; 32*f126890aSEmmanuel Vadot reg = <0 0x95800000 0 0x3800000>; 33*f126890aSEmmanuel Vadot reusable; 34*f126890aSEmmanuel Vadot status = "okay"; 35*f126890aSEmmanuel Vadot }; 36*f126890aSEmmanuel Vadot }; 37*f126890aSEmmanuel Vadot 38*f126890aSEmmanuel Vadot aliases { 39*f126890aSEmmanuel Vadot ethernet = ðernet; 40*f126890aSEmmanuel Vadot }; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot leds { 43*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 44*f126890aSEmmanuel Vadot led1 { 45*f126890aSEmmanuel Vadot label = "omap5:blue:usr1"; 46*f126890aSEmmanuel Vadot gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */ 47*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 48*f126890aSEmmanuel Vadot default-state = "off"; 49*f126890aSEmmanuel Vadot }; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot 52*f126890aSEmmanuel Vadot evm_keys { 53*f126890aSEmmanuel Vadot compatible = "gpio-keys"; 54*f126890aSEmmanuel Vadot 55*f126890aSEmmanuel Vadot pinctrl-names = "default"; 56*f126890aSEmmanuel Vadot pinctrl-0 = <&evm_keys_pins>; 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot #address-cells = <7>; 59*f126890aSEmmanuel Vadot #size-cells = <0>; 60*f126890aSEmmanuel Vadot 61*f126890aSEmmanuel Vadot btn1 { 62*f126890aSEmmanuel Vadot label = "BTN1"; 63*f126890aSEmmanuel Vadot linux,code = <169>; 64*f126890aSEmmanuel Vadot gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */ 65*f126890aSEmmanuel Vadot wakeup-source; 66*f126890aSEmmanuel Vadot autorepeat; 67*f126890aSEmmanuel Vadot debounce-interval = <50>; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot }; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot evm_leds { 72*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 73*f126890aSEmmanuel Vadot 74*f126890aSEmmanuel Vadot led1 { 75*f126890aSEmmanuel Vadot label = "omap5:red:led"; 76*f126890aSEmmanuel Vadot gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>; 77*f126890aSEmmanuel Vadot linux,default-trigger = "mmc0"; 78*f126890aSEmmanuel Vadot default-state = "off"; 79*f126890aSEmmanuel Vadot }; 80*f126890aSEmmanuel Vadot 81*f126890aSEmmanuel Vadot led2 { 82*f126890aSEmmanuel Vadot label = "omap5:green:led"; 83*f126890aSEmmanuel Vadot gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>; 84*f126890aSEmmanuel Vadot linux,default-trigger = "mmc1"; 85*f126890aSEmmanuel Vadot default-state = "off"; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot 88*f126890aSEmmanuel Vadot led3 { 89*f126890aSEmmanuel Vadot label = "omap5:blue:led"; 90*f126890aSEmmanuel Vadot gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>; 91*f126890aSEmmanuel Vadot linux,default-trigger = "mmc2"; 92*f126890aSEmmanuel Vadot default-state = "off"; 93*f126890aSEmmanuel Vadot }; 94*f126890aSEmmanuel Vadot 95*f126890aSEmmanuel Vadot led4 { 96*f126890aSEmmanuel Vadot label = "omap5:green:led1"; 97*f126890aSEmmanuel Vadot gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>; 98*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 99*f126890aSEmmanuel Vadot default-state = "off"; 100*f126890aSEmmanuel Vadot }; 101*f126890aSEmmanuel Vadot 102*f126890aSEmmanuel Vadot led5 { 103*f126890aSEmmanuel Vadot label = "omap5:green:led2"; 104*f126890aSEmmanuel Vadot gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>; 105*f126890aSEmmanuel Vadot linux,default-trigger = "default-on"; 106*f126890aSEmmanuel Vadot default-state = "off"; 107*f126890aSEmmanuel Vadot }; 108*f126890aSEmmanuel Vadot 109*f126890aSEmmanuel Vadot led6 { 110*f126890aSEmmanuel Vadot label = "omap5:green:led3"; 111*f126890aSEmmanuel Vadot gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>; 112*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 113*f126890aSEmmanuel Vadot default-state = "off"; 114*f126890aSEmmanuel Vadot }; 115*f126890aSEmmanuel Vadot 116*f126890aSEmmanuel Vadot led7 { 117*f126890aSEmmanuel Vadot label = "omap5:green:led4"; 118*f126890aSEmmanuel Vadot gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>; 119*f126890aSEmmanuel Vadot linux,default-trigger = "default-on"; 120*f126890aSEmmanuel Vadot default-state = "off"; 121*f126890aSEmmanuel Vadot }; 122*f126890aSEmmanuel Vadot 123*f126890aSEmmanuel Vadot led8 { 124*f126890aSEmmanuel Vadot label = "omap5:green:led5"; 125*f126890aSEmmanuel Vadot gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>; 126*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 127*f126890aSEmmanuel Vadot default-state = "off"; 128*f126890aSEmmanuel Vadot }; 129*f126890aSEmmanuel Vadot }; 130*f126890aSEmmanuel Vadot}; 131*f126890aSEmmanuel Vadot 132*f126890aSEmmanuel Vadot&hdmi { 133*f126890aSEmmanuel Vadot vdda-supply = <&ldo4_reg>; 134*f126890aSEmmanuel Vadot}; 135*f126890aSEmmanuel Vadot 136*f126890aSEmmanuel Vadot&i2c1 { 137*f126890aSEmmanuel Vadot eeprom@50 { 138*f126890aSEmmanuel Vadot compatible = "atmel,24c02"; 139*f126890aSEmmanuel Vadot reg = <0x50>; 140*f126890aSEmmanuel Vadot }; 141*f126890aSEmmanuel Vadot}; 142*f126890aSEmmanuel Vadot 143*f126890aSEmmanuel Vadot&i2c5 { 144*f126890aSEmmanuel Vadot pinctrl-names = "default"; 145*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c5_pins>; 146*f126890aSEmmanuel Vadot 147*f126890aSEmmanuel Vadot clock-frequency = <400000>; 148*f126890aSEmmanuel Vadot 149*f126890aSEmmanuel Vadot gpio9: gpio@22 { 150*f126890aSEmmanuel Vadot compatible = "ti,tca6424"; 151*f126890aSEmmanuel Vadot reg = <0x22>; 152*f126890aSEmmanuel Vadot gpio-controller; 153*f126890aSEmmanuel Vadot #gpio-cells = <2>; 154*f126890aSEmmanuel Vadot }; 155*f126890aSEmmanuel Vadot}; 156*f126890aSEmmanuel Vadot 157*f126890aSEmmanuel Vadot&mmc1 { 158*f126890aSEmmanuel Vadot pinctrl-names = "default"; 159*f126890aSEmmanuel Vadot pinctrl-0 = <&mmc1_pins>; 160*f126890aSEmmanuel Vadot 161*f126890aSEmmanuel Vadot cd-gpios = <&gpio5 24 GPIO_ACTIVE_LOW>; /* gpio5_152 */ 162*f126890aSEmmanuel Vadot}; 163*f126890aSEmmanuel Vadot 164*f126890aSEmmanuel Vadot&omap5_pmx_core { 165*f126890aSEmmanuel Vadot evm_keys_pins: evm-keys-gpio-pins { 166*f126890aSEmmanuel Vadot pinctrl-single,pins = < 167*f126890aSEmmanuel Vadot OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */ 168*f126890aSEmmanuel Vadot >; 169*f126890aSEmmanuel Vadot }; 170*f126890aSEmmanuel Vadot 171*f126890aSEmmanuel Vadot i2c5_pins: i2c5-pins { 172*f126890aSEmmanuel Vadot pinctrl-single,pins = < 173*f126890aSEmmanuel Vadot OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */ 174*f126890aSEmmanuel Vadot OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0) /* i2c5_sda */ 175*f126890aSEmmanuel Vadot >; 176*f126890aSEmmanuel Vadot }; 177*f126890aSEmmanuel Vadot 178*f126890aSEmmanuel Vadot mmc1_pins: mmc1-pins { 179*f126890aSEmmanuel Vadot pinctrl-single,pins = < 180*f126890aSEmmanuel Vadot OMAP5_IOPAD(0x1d4, PIN_INPUT_PULLUP | MUX_MODE6) /* gpio5_152 */ 181*f126890aSEmmanuel Vadot >; 182*f126890aSEmmanuel Vadot }; 183*f126890aSEmmanuel Vadot}; 184*f126890aSEmmanuel Vadot 185*f126890aSEmmanuel Vadot&tpd12s015 { 186*f126890aSEmmanuel Vadot gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */ 187*f126890aSEmmanuel Vadot <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */ 188*f126890aSEmmanuel Vadot <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */ 189*f126890aSEmmanuel Vadot}; 190*f126890aSEmmanuel Vadot 191*f126890aSEmmanuel Vadot&twl6040 { 192*f126890aSEmmanuel Vadot ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */ 193*f126890aSEmmanuel Vadot}; 194*f126890aSEmmanuel Vadot 195*f126890aSEmmanuel Vadot&twl6040_pins { 196*f126890aSEmmanuel Vadot pinctrl-single,pins = < 197*f126890aSEmmanuel Vadot OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */ 198*f126890aSEmmanuel Vadot >; 199*f126890aSEmmanuel Vadot}; 200*f126890aSEmmanuel Vadot 201*f126890aSEmmanuel Vadot&usbhsehci { 202*f126890aSEmmanuel Vadot #address-cells = <1>; 203*f126890aSEmmanuel Vadot #size-cells = <0>; 204*f126890aSEmmanuel Vadot 205*f126890aSEmmanuel Vadot hub@2 { 206*f126890aSEmmanuel Vadot compatible = "usb424,3503"; 207*f126890aSEmmanuel Vadot reg = <2>; 208*f126890aSEmmanuel Vadot #address-cells = <1>; 209*f126890aSEmmanuel Vadot #size-cells = <0>; 210*f126890aSEmmanuel Vadot }; 211*f126890aSEmmanuel Vadot 212*f126890aSEmmanuel Vadot ethernet: ethernet@3 { 213*f126890aSEmmanuel Vadot compatible = "usb424,9730"; 214*f126890aSEmmanuel Vadot reg = <3>; 215*f126890aSEmmanuel Vadot }; 216*f126890aSEmmanuel Vadot}; 217*f126890aSEmmanuel Vadot 218*f126890aSEmmanuel Vadot&wlcore { 219*f126890aSEmmanuel Vadot compatible = "ti,wl1837"; 220*f126890aSEmmanuel Vadot}; 221*f126890aSEmmanuel Vadot 222*f126890aSEmmanuel Vadot&dsp { 223*f126890aSEmmanuel Vadot status = "okay"; 224*f126890aSEmmanuel Vadot memory-region = <&dsp_memory_region>; 225*f126890aSEmmanuel Vadot ti,timers = <&timer5>; 226*f126890aSEmmanuel Vadot ti,watchdog-timers = <&timer6>; 227*f126890aSEmmanuel Vadot}; 228*f126890aSEmmanuel Vadot 229*f126890aSEmmanuel Vadot&ipu { 230*f126890aSEmmanuel Vadot status = "okay"; 231*f126890aSEmmanuel Vadot memory-region = <&ipu_memory_region>; 232*f126890aSEmmanuel Vadot ti,timers = <&timer3>; 233*f126890aSEmmanuel Vadot ti,watchdog-timers = <&timer9>, <&timer11>; 234*f126890aSEmmanuel Vadot}; 235