1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dra7-mmc-iodelay.dtsi"
11 #include "dra72x-mmc-iodelay.dtsi"
12 #include "am57xx-idk-common.dtsi"
15 model = "TI AM5718 IDK";
16 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
19 device_type = "memory";
20 reg = <0x0 0x80000000 0x0 0x40000000>;
24 compatible = "gpio-leds";
26 label = "status0:red:cpu0";
27 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
28 default-state = "off";
29 linux,default-trigger = "cpu0";
33 label = "status0:green:usr";
34 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
35 default-state = "off";
39 label = "status0:blue:heartbeat";
40 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
41 default-state = "off";
42 linux,default-trigger = "heartbeat";
46 label = "status1:red:usr";
47 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
48 default-state = "off";
52 label = "status1:green:usr";
53 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
54 default-state = "off";
58 label = "status1:blue:mmc0";
59 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
60 default-state = "off";
61 linux,default-trigger = "mmc0";
67 compatible = "gpio-leds";
70 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
71 default-state = "off";
76 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
77 default-state = "off";
82 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
83 default-state = "off";
88 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
89 default-state = "off";
94 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
95 default-state = "off";
100 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
101 default-state = "off";
106 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
107 default-state = "off";
111 label = "idk:green2";
112 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
113 default-state = "off";
118 gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
119 default-state = "off";
124 gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
125 default-state = "off";
129 label = "idk:green3";
130 gpios = <&gpio7 25 GPIO_ACTIVE_HIGH>;
131 default-state = "off";
136 gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>;
137 default-state = "off";
143 id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
144 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
148 load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
153 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
156 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
163 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
170 gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
174 pinctrl-names = "default", "hs";
175 pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
176 pinctrl-1 = <&mmc1_pins_hs>;
180 pinctrl-names = "default", "hs", "ddr_3_3v";
181 pinctrl-0 = <&mmc2_pins_default>;
182 pinctrl-1 = <&mmc2_pins_hs>;
183 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
187 pinctrl-names = "default", "sleep";
192 phy-handle = <ðphy0_sw>;
194 ti,dual-emac-pvid = <1>;
198 phy-handle = <ðphy1_sw>;
200 ti,dual-emac-pvid = <2>;
204 ethphy0_sw: ethernet-phy@0 {
208 ethphy1_sw: ethernet-phy@1 {