Commit | Line | Data |
---|---|---|
5817430b SP |
1 | /* |
2 | * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ | |
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 | ||
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" | |
14 | ||
15 | / { | |
16 | model = "TI AM5718 IDK"; | |
17 | compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7"; | |
18 | ||
19 | memory@80000000 { | |
20 | device_type = "memory"; | |
21 | reg = <0x0 0x80000000 0x0 0x40000000>; | |
22 | }; | |
23 | ||
24 | leds { | |
25 | compatible = "gpio-leds"; | |
26 | cpu0-led { | |
27 | label = "status0:red:cpu0"; | |
28 | gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>; | |
29 | default-state = "off"; | |
30 | linux,default-trigger = "cpu0"; | |
31 | }; | |
32 | ||
33 | usr0-led { | |
34 | label = "status0:green:usr"; | |
35 | gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; | |
36 | default-state = "off"; | |
37 | }; | |
38 | ||
39 | heartbeat-led { | |
40 | label = "status0:blue:heartbeat"; | |
41 | gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; | |
42 | default-state = "off"; | |
43 | linux,default-trigger = "heartbeat"; | |
44 | }; | |
45 | ||
46 | usr1-led { | |
47 | label = "status1:red:usr"; | |
48 | gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; | |
49 | default-state = "off"; | |
50 | }; | |
51 | ||
52 | usr2-led { | |
53 | label = "status1:green:usr"; | |
54 | gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; | |
55 | default-state = "off"; | |
56 | }; | |
57 | ||
58 | mmc0-led { | |
59 | label = "status1:blue:mmc0"; | |
60 | gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; | |
61 | default-state = "off"; | |
62 | linux,default-trigger = "mmc0"; | |
63 | }; | |
64 | }; | |
5817430b SP |
65 | }; |
66 | ||
67 | &mmc1 { | |
68 | status = "okay"; | |
69 | vmmc-supply = <&ldo1_reg>; | |
70 | bus-width = <4>; | |
71 | cd-gpios = <&gpio6 27 0>; /* gpio 219 */ | |
72 | }; | |
73 | ||
74 | &omap_dwc3_2 { | |
75 | extcon = <&extcon_usb2>; | |
76 | }; | |
10d27dfa RQ |
77 | |
78 | &extcon_usb2 { | |
79 | id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>; | |
80 | vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; | |
81 | }; |