0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
0004 */
0005 /dts-v1/;
0006
0007 #include "omap5-board-common.dtsi"
0008
0009 / {
0010 model = "TI OMAP5 uEVM board";
0011 compatible = "ti,omap5-uevm", "ti,omap5";
0012
0013 memory@80000000 {
0014 device_type = "memory";
0015 reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */
0016 };
0017
0018 reserved-memory {
0019 #address-cells = <2>;
0020 #size-cells = <2>;
0021 ranges;
0022
0023 dsp_memory_region: dsp-memory@95000000 {
0024 compatible = "shared-dma-pool";
0025 reg = <0 0x95000000 0 0x800000>;
0026 reusable;
0027 status = "okay";
0028 };
0029
0030 ipu_memory_region: ipu-memory@95800000 {
0031 compatible = "shared-dma-pool";
0032 reg = <0 0x95800000 0 0x3800000>;
0033 reusable;
0034 status = "okay";
0035 };
0036 };
0037
0038 aliases {
0039 ethernet = ðernet;
0040 };
0041
0042 leds {
0043 compatible = "gpio-leds";
0044 led1 {
0045 label = "omap5:blue:usr1";
0046 gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
0047 linux,default-trigger = "heartbeat";
0048 default-state = "off";
0049 };
0050 };
0051
0052 evm_keys {
0053 compatible = "gpio-keys";
0054
0055 pinctrl-names = "default";
0056 pinctrl-0 = <&evm_keys_pins>;
0057
0058 #address-cells = <7>;
0059 #size-cells = <0>;
0060
0061 btn1 {
0062 label = "BTN1";
0063 linux,code = <169>;
0064 gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */
0065 wakeup-source;
0066 autorepeat;
0067 debounce-interval = <50>;
0068 };
0069 };
0070
0071 evm_leds {
0072 compatible = "gpio-leds";
0073
0074 led1 {
0075 label = "omap5:red:led";
0076 gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>;
0077 linux,default-trigger = "mmc0";
0078 default-state = "off";
0079 };
0080
0081 led2 {
0082 label = "omap5:green:led";
0083 gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>;
0084 linux,default-trigger = "mmc1";
0085 default-state = "off";
0086 };
0087
0088 led3 {
0089 label = "omap5:blue:led";
0090 gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>;
0091 linux,default-trigger = "mmc2";
0092 default-state = "off";
0093 };
0094
0095 led4 {
0096 label = "omap5:green:led1";
0097 gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>;
0098 linux,default-trigger = "heartbeat";
0099 default-state = "off";
0100 };
0101
0102 led5 {
0103 label = "omap5:green:led2";
0104 gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
0105 linux,default-trigger = "default-on";
0106 default-state = "off";
0107 };
0108
0109 led6 {
0110 label = "omap5:green:led3";
0111 gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
0112 linux,default-trigger = "heartbeat";
0113 default-state = "off";
0114 };
0115
0116 led7 {
0117 label = "omap5:green:led4";
0118 gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
0119 linux,default-trigger = "default-on";
0120 default-state = "off";
0121 };
0122
0123 led8 {
0124 label = "omap5:green:led5";
0125 gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
0126 linux,default-trigger = "heartbeat";
0127 default-state = "off";
0128 };
0129 };
0130 };
0131
0132 &hdmi {
0133 vdda-supply = <&ldo4_reg>;
0134 };
0135
0136 &i2c1 {
0137 eeprom@50 {
0138 compatible = "atmel,24c02";
0139 reg = <0x50>;
0140 };
0141 };
0142
0143 &i2c5 {
0144 pinctrl-names = "default";
0145 pinctrl-0 = <&i2c5_pins>;
0146
0147 clock-frequency = <400000>;
0148
0149 gpio9: gpio@22 {
0150 compatible = "ti,tca6424";
0151 reg = <0x22>;
0152 gpio-controller;
0153 #gpio-cells = <2>;
0154 };
0155 };
0156
0157 &mmc1 {
0158 pinctrl-names = "default";
0159 pinctrl-0 = <&mmc1_pins>;
0160
0161 cd-gpios = <&gpio5 24 GPIO_ACTIVE_LOW>; /* gpio5_152 */
0162 };
0163
0164 &omap5_pmx_core {
0165 evm_keys_pins: pinmux_evm_keys_gpio_pins {
0166 pinctrl-single,pins = <
0167 OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */
0168 >;
0169 };
0170
0171 i2c5_pins: pinmux_i2c5_pins {
0172 pinctrl-single,pins = <
0173 OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */
0174 OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0) /* i2c5_sda */
0175 >;
0176 };
0177
0178 mmc1_pins: pinmux_mmc1_pins {
0179 pinctrl-single,pins = <
0180 OMAP5_IOPAD(0x1d4, PIN_INPUT_PULLUP | MUX_MODE6) /* gpio5_152 */
0181 >;
0182 };
0183 };
0184
0185 &tpd12s015 {
0186 gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */
0187 <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */
0188 <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
0189 };
0190
0191 &twl6040 {
0192 ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */
0193 };
0194
0195 &twl6040_pins {
0196 pinctrl-single,pins = <
0197 OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
0198 >;
0199 };
0200
0201 &usbhsehci {
0202 #address-cells = <1>;
0203 #size-cells = <0>;
0204
0205 hub@2 {
0206 compatible = "usb424,3503";
0207 reg = <2>;
0208 #address-cells = <1>;
0209 #size-cells = <0>;
0210 };
0211
0212 ethernet: ethernet@3 {
0213 compatible = "usb424,9730";
0214 reg = <3>;
0215 };
0216 };
0217
0218 &wlcore {
0219 compatible = "ti,wl1837";
0220 };
0221
0222 &dsp {
0223 status = "okay";
0224 memory-region = <&dsp_memory_region>;
0225 ti,timers = <&timer5>;
0226 ti,watchdog-timers = <&timer6>;
0227 };
0228
0229 &ipu {
0230 status = "okay";
0231 memory-region = <&ipu_memory_region>;
0232 ti,timers = <&timer3>;
0233 ti,watchdog-timers = <&timer9>, <&timer11>;
0234 };