R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 1 | /* |
Sricharan R | fa63d03 | 2013-06-07 18:52:47 +0530 | [diff] [blame] | 2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 10 | #include "omap5-board-common.dtsi" |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 11 | |
| 12 | / { |
Sricharan R | fa63d03 | 2013-06-07 18:52:47 +0530 | [diff] [blame] | 13 | model = "TI OMAP5 uEVM board"; |
| 14 | compatible = "ti,omap5-uevm", "ti,omap5"; |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 15 | |
Javier Martinez Canillas | bfa130b | 2016-08-31 12:35:29 +0200 | [diff] [blame] | 16 | memory@80000000 { |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 17 | device_type = "memory"; |
Tony Lindgren | 98cc454 | 2016-09-13 16:10:56 -0700 | [diff] [blame] | 18 | reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */ |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 19 | }; |
Tony Lindgren | e7ee0bc | 2016-09-11 13:50:57 -0700 | [diff] [blame] | 20 | |
Tony Lindgren | e13a22a | 2017-01-05 08:37:02 -0800 | [diff] [blame] | 21 | aliases { |
| 22 | ethernet = ðernet; |
| 23 | }; |
| 24 | |
Tony Lindgren | e7ee0bc | 2016-09-11 13:50:57 -0700 | [diff] [blame] | 25 | leds { |
| 26 | compatible = "gpio-leds"; |
| 27 | led1 { |
| 28 | label = "omap5:blue:usr1"; |
| 29 | gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */ |
| 30 | linux,default-trigger = "heartbeat"; |
| 31 | default-state = "off"; |
| 32 | }; |
| 33 | }; |
H. Nikolaus Schaller | b14b0eb | 2016-09-29 07:25:37 +0200 | [diff] [blame] | 34 | |
H. Nikolaus Schaller | 2d46c0c | 2016-09-29 07:25:38 +0200 | [diff] [blame] | 35 | evm_keys { |
| 36 | compatible = "gpio-keys"; |
| 37 | |
| 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&evm_keys_pins>; |
| 40 | |
| 41 | #address-cells = <7>; |
| 42 | #size-cells = <0>; |
| 43 | |
| 44 | btn1 { |
| 45 | label = "BTN1"; |
| 46 | linux,code = <169>; |
| 47 | gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */ |
Sudeep Holla | 66579e2 | 2016-11-14 15:44:07 +0000 | [diff] [blame] | 48 | wakeup-source; |
H. Nikolaus Schaller | 2d46c0c | 2016-09-29 07:25:38 +0200 | [diff] [blame] | 49 | autorepeat; |
| 50 | debounce_interval = <50>; |
| 51 | }; |
| 52 | }; |
| 53 | |
H. Nikolaus Schaller | b14b0eb | 2016-09-29 07:25:37 +0200 | [diff] [blame] | 54 | evm_leds { |
| 55 | compatible = "gpio-leds"; |
| 56 | |
| 57 | led1 { |
| 58 | label = "omap5:red:led"; |
| 59 | gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>; |
| 60 | linux,default-trigger = "mmc0"; |
| 61 | default-state = "off"; |
| 62 | }; |
| 63 | |
| 64 | led2 { |
| 65 | label = "omap5:green:led"; |
| 66 | gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>; |
| 67 | linux,default-trigger = "mmc1"; |
| 68 | default-state = "off"; |
| 69 | }; |
| 70 | |
| 71 | led3 { |
| 72 | label = "omap5:blue:led"; |
| 73 | gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>; |
| 74 | linux,default-trigger = "mmc2"; |
| 75 | default-state = "off"; |
| 76 | }; |
| 77 | |
| 78 | led4 { |
| 79 | label = "omap5:green:led1"; |
| 80 | gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>; |
| 81 | linux,default-trigger = "heartbeat"; |
| 82 | default-state = "off"; |
| 83 | }; |
| 84 | |
| 85 | led5 { |
| 86 | label = "omap5:green:led2"; |
| 87 | gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>; |
| 88 | linux,default-trigger = "default-on"; |
| 89 | default-state = "off"; |
| 90 | }; |
| 91 | |
| 92 | led6 { |
| 93 | label = "omap5:green:led3"; |
| 94 | gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>; |
| 95 | linux,default-trigger = "heartbeat"; |
| 96 | default-state = "off"; |
| 97 | }; |
| 98 | |
| 99 | led7 { |
| 100 | label = "omap5:green:led4"; |
| 101 | gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>; |
| 102 | linux,default-trigger = "default-on"; |
| 103 | default-state = "off"; |
| 104 | }; |
| 105 | |
| 106 | led8 { |
| 107 | label = "omap5:green:led5"; |
| 108 | gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>; |
| 109 | linux,default-trigger = "heartbeat"; |
| 110 | default-state = "off"; |
| 111 | }; |
| 112 | }; |
Balaji T K | 5dd18b0 | 2012-08-07 12:48:21 +0530 | [diff] [blame] | 113 | }; |
| 114 | |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 115 | &hdmi { |
| 116 | vdda-supply = <&ldo4_reg>; |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 117 | }; |
| 118 | |
H. Nikolaus Schaller | 3559fe7 | 2016-09-29 07:25:36 +0200 | [diff] [blame] | 119 | &i2c1 { |
| 120 | eeprom@50 { |
| 121 | compatible = "atmel,24c02"; |
| 122 | reg = <0x50>; |
| 123 | }; |
| 124 | }; |
| 125 | |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 126 | &i2c5 { |
| 127 | pinctrl-names = "default"; |
| 128 | pinctrl-0 = <&i2c5_pins>; |
| 129 | |
| 130 | clock-frequency = <400000>; |
Tomi Valkeinen | 6f0ab9a | 2014-03-12 11:53:26 +0200 | [diff] [blame] | 131 | |
| 132 | gpio9: gpio@22 { |
| 133 | compatible = "ti,tca6424"; |
| 134 | reg = <0x22>; |
| 135 | gpio-controller; |
| 136 | #gpio-cells = <2>; |
| 137 | }; |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 138 | }; |
| 139 | |
H. Nikolaus Schaller | 27a8133 | 2017-05-15 10:31:16 +0200 | [diff] [blame^] | 140 | &mmc1 { |
| 141 | pinctrl-names = "default"; |
| 142 | pinctrl-0 = <&mmc1_pins>; |
| 143 | |
| 144 | cd-gpios = <&gpio5 24 GPIO_ACTIVE_LOW>; /* gpio5_152 */ |
| 145 | }; |
| 146 | |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 147 | &omap5_pmx_core { |
H. Nikolaus Schaller | 2d46c0c | 2016-09-29 07:25:38 +0200 | [diff] [blame] | 148 | evm_keys_pins: pinmux_evm_keys_gpio_pins { |
| 149 | pinctrl-single,pins = < |
| 150 | OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */ |
| 151 | >; |
| 152 | }; |
| 153 | |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 154 | i2c5_pins: pinmux_i2c5_pins { |
| 155 | pinctrl-single,pins = < |
Javier Martinez Canillas | 03c84de | 2015-11-13 01:54:17 -0300 | [diff] [blame] | 156 | OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */ |
| 157 | OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0) /* i2c5_sda */ |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 158 | >; |
Tomi Valkeinen | 6ac732e | 2014-03-12 11:57:03 +0200 | [diff] [blame] | 159 | }; |
H. Nikolaus Schaller | 27a8133 | 2017-05-15 10:31:16 +0200 | [diff] [blame^] | 160 | |
| 161 | mmc1_pins: pinmux_mmc1_pins { |
| 162 | pinctrl-single,pins = < |
| 163 | OMAP5_IOPAD(0x1d4, PIN_INPUT_PULLUP | MUX_MODE6) /* gpio5_152 */ |
| 164 | >; |
| 165 | }; |
Tomi Valkeinen | 6ac732e | 2014-03-12 11:57:03 +0200 | [diff] [blame] | 166 | }; |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 167 | |
| 168 | &tpd12s015 { |
| 169 | gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */ |
| 170 | <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */ |
| 171 | <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */ |
| 172 | }; |
Tony Lindgren | 49111cd | 2016-05-12 13:29:48 -0700 | [diff] [blame] | 173 | |
| 174 | &twl6040 { |
| 175 | ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */ |
| 176 | }; |
| 177 | |
| 178 | &twl6040_pins { |
| 179 | pinctrl-single,pins = < |
| 180 | OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */ |
| 181 | >; |
| 182 | }; |
Tony Lindgren | 08f9268 | 2016-09-11 21:01:02 -0700 | [diff] [blame] | 183 | |
Tony Lindgren | e13a22a | 2017-01-05 08:37:02 -0800 | [diff] [blame] | 184 | &usbhsehci { |
| 185 | #address-cells = <1>; |
| 186 | #size-cells = <0>; |
| 187 | |
| 188 | hub@2 { |
| 189 | compatible = "usb424,3503"; |
| 190 | reg = <2>; |
| 191 | #address-cells = <1>; |
| 192 | #size-cells = <0>; |
| 193 | }; |
| 194 | |
| 195 | ethernet: usbether@3 { |
| 196 | compatible = "usb424,9730"; |
| 197 | reg = <3>; |
| 198 | }; |
| 199 | }; |
| 200 | |
Tony Lindgren | 08f9268 | 2016-09-11 21:01:02 -0700 | [diff] [blame] | 201 | &wlcore { |
| 202 | compatible = "ti,wl1837"; |
| 203 | }; |