1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://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"
13 #include "dra7-ipu-dsp-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>;
29 ipu2_memory_region: ipu2-memory@95800000 {
30 compatible = "shared-dma-pool";
31 reg = <0x0 0x95800000 0x0 0x3800000>;
36 dsp1_memory_region: dsp1-memory@99000000 {
37 compatible = "shared-dma-pool";
38 reg = <0x0 0x99000000 0x0 0x4000000>;
43 ipu1_memory_region: ipu1-memory@9d000000 {
44 compatible = "shared-dma-pool";
45 reg = <0x0 0x9d000000 0x0 0x2000000>;
52 compatible = "gpio-leds";
54 label = "status0:red:cpu0";
55 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
56 default-state = "off";
57 linux,default-trigger = "cpu0";
61 label = "status0:green:usr";
62 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
63 default-state = "off";
67 label = "status0:blue:heartbeat";
68 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
69 default-state = "off";
70 linux,default-trigger = "heartbeat";
74 label = "status1:red:usr";
75 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
76 default-state = "off";
80 label = "status1:green:usr";
81 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
82 default-state = "off";
86 label = "status1:blue:mmc0";
87 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
88 default-state = "off";
89 linux,default-trigger = "mmc0";
95 compatible = "gpio-leds";
98 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
99 default-state = "off";
103 label = "idk:green0";
104 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
105 default-state = "off";
110 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
111 default-state = "off";
116 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
117 default-state = "off";
121 label = "idk:green1";
122 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
123 default-state = "off";
128 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
129 default-state = "off";
134 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
135 default-state = "off";
139 label = "idk:green2";
140 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
141 default-state = "off";
146 gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
147 default-state = "off";
152 gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
153 default-state = "off";
157 label = "idk:green3";
158 gpios = <&gpio7 25 GPIO_ACTIVE_HIGH>;
159 default-state = "off";
164 gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>;
165 default-state = "off";
171 id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
172 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
176 load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
181 memory-region = <&ipu2_memory_region>;
186 memory-region = <&ipu1_memory_region>;
191 memory-region = <&dsp1_memory_region>;
196 gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
200 pinctrl-names = "default", "hs";
201 pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
202 pinctrl-1 = <&mmc1_pins_hs>;
206 pinctrl-names = "default", "hs", "ddr_3_3v";
207 pinctrl-0 = <&mmc2_pins_default>;
208 pinctrl-1 = <&mmc2_pins_hs>;
209 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;