2 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
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.
10 #include "dra72x.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include "am57xx-idk-common.dtsi"
16 model = "TI AM5718 IDK";
17 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
20 device_type = "memory";
21 reg = <0x0 0x80000000 0x0 0x40000000>;
25 compatible = "gpio-leds";
27 label = "status0:red:cpu0";
28 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
29 default-state = "off";
30 linux,default-trigger = "cpu0";
34 label = "status0:green:usr";
35 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
36 default-state = "off";
40 label = "status0:blue:heartbeat";
41 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
42 default-state = "off";
43 linux,default-trigger = "heartbeat";
47 label = "status1:red:usr";
48 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
49 default-state = "off";
53 label = "status1:green:usr";
54 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
55 default-state = "off";
59 label = "status1:blue:mmc0";
60 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
61 default-state = "off";
62 linux,default-trigger = "mmc0";
69 vmmc-supply = <&ldo1_reg>;
71 cd-gpios = <&gpio6 27 0>; /* gpio 219 */
75 extcon = <&extcon_usb2>;
79 id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
80 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;