Loading...
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 "dra74x-mmc-iodelay.dtsi"
13#include "am572x-idk-common.dtsi"
14
15/ {
16 model = "TI AM5728 IDK";
17 compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74",
18 "ti,dra7";
19};
20
21&mmc1 {
22 pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
23 pinctrl-0 = <&mmc1_pins_default>;
24 pinctrl-1 = <&mmc1_pins_hs>;
25 pinctrl-2 = <&mmc1_pins_sdr12>;
26 pinctrl-3 = <&mmc1_pins_sdr25>;
27 pinctrl-4 = <&mmc1_pins_sdr50>;
28 pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>;
29 pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
30};
31
32&mmc2 {
33 pinctrl-names = "default", "hs", "ddr_1_8v";
34 pinctrl-0 = <&mmc2_pins_default>;
35 pinctrl-1 = <&mmc2_pins_hs>;
36 pinctrl-2 = <&mmc2_pins_ddr_rev20>;
37};
38
39&cpu0 {
40 vdd-supply = <&smps12_reg>;
41};
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 memory@0 {
22 device_type = "memory";
23 reg = <0x0 0x80000000 0x0 0x80000000>;
24 };
25
26 status-leds {
27 compatible = "gpio-leds";
28 cpu0-led {
29 label = "status0:red:cpu0";
30 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
31 default-state = "off";
32 linux,default-trigger = "cpu0";
33 };
34
35 usr0-led {
36 label = "status0:green:usr";
37 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
38 default-state = "off";
39 };
40
41 heartbeat-led {
42 label = "status0:blue:heartbeat";
43 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
44 default-state = "off";
45 linux,default-trigger = "heartbeat";
46 };
47
48 cpu1-led {
49 label = "status1:red:cpu1";
50 gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
51 default-state = "off";
52 linux,default-trigger = "cpu1";
53 };
54
55 usr1-led {
56 label = "status1:green:usr";
57 gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
58 default-state = "off";
59 };
60
61 mmc0-led {
62 label = "status1:blue:mmc0";
63 gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
64 default-state = "off";
65 linux,default-trigger = "mmc0";
66 };
67 };
68};
69
70&omap_dwc3_2 {
71 extcon = <&extcon_usb2>;
72};
73
74&extcon_usb2 {
75 id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
76 vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
77};
78
79&mmc1 {
80 status = "okay";
81 vmmc-supply = <&v3_3d>;
82 vmmc_aux-supply = <&ldo1_reg>;
83 bus-width = <4>;
84 cd-gpios = <&gpio6 27 0>; /* gpio 219 */
85};
86
87&sn65hvs882 {
88 load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
89};
90
91&pcie1 {
92 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
93};