]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/dts/am572x-idk.dts
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
[people/ms/u-boot.git] / arch / arm / dts / am572x-idk.dts
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
9 /dts-v1/;
10
11 #include "dra74x.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include "am57xx-idk-common.dtsi"
15
16 / {
17 model = "TI AM5728 IDK";
18 compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74",
19 "ti,dra7";
20
21 chosen {
22 stdout-path = &uart3;
23 };
24
25 memory {
26 device_type = "memory";
27 reg = <0x0 0x80000000 0x0 0x80000000>;
28 };
29
30 extcon_usb2: extcon_usb2 {
31 compatible = "linux,extcon-usb-gpio";
32 id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
33 };
34
35 status-leds {
36 compatible = "gpio-leds";
37 cpu0-led {
38 label = "status0:red:cpu0";
39 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
40 default-state = "off";
41 linux,default-trigger = "cpu0";
42 };
43
44 usr0-led {
45 label = "status0:green:usr";
46 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
47 default-state = "off";
48 };
49
50 heartbeat-led {
51 label = "status0:blue:heartbeat";
52 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
53 default-state = "off";
54 linux,default-trigger = "heartbeat";
55 };
56
57 cpu1-led {
58 label = "status1:red:cpu1";
59 gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
60 default-state = "off";
61 linux,default-trigger = "cpu1";
62 };
63
64 usr1-led {
65 label = "status1:green:usr";
66 gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
67 default-state = "off";
68 };
69
70 mmc0-led {
71 label = "status1:blue:mmc0";
72 gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
73 default-state = "off";
74 linux,default-trigger = "mmc0";
75 };
76 };
77 };
78
79 &omap_dwc3_2 {
80 extcon = <&extcon_usb2>;
81 };
82
83 &mmc1 {
84 status = "okay";
85 vmmc-supply = <&v3_3d>;
86 vmmc_aux-supply = <&ldo1_reg>;
87 bus-width = <4>;
88 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
89 };