1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include "am57xx-idk-common.dtsi"
9 #include "dra74-ipu-dsp-common.dtsi"
13 device_type = "memory";
14 reg = <0x0 0x80000000 0x0 0x80000000>;
22 ipu2_memory_region: ipu2-memory@95800000 {
23 compatible = "shared-dma-pool";
24 reg = <0x0 0x95800000 0x0 0x3800000>;
29 dsp1_memory_region: dsp1-memory@99000000 {
30 compatible = "shared-dma-pool";
31 reg = <0x0 0x99000000 0x0 0x4000000>;
36 ipu1_memory_region: ipu1-memory@9d000000 {
37 compatible = "shared-dma-pool";
38 reg = <0x0 0x9d000000 0x0 0x2000000>;
43 dsp2_memory_region: dsp2-memory@9f000000 {
44 compatible = "shared-dma-pool";
45 reg = <0x0 0x9f000000 0x0 0x800000>;
52 compatible = "gpio-leds";
54 label = "status0:red:cpu0";
55 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
56 default-state = "off";
57 linux,default-trigger = "cpu0";
61 label = "status0:green:usr";
62 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
63 default-state = "off";
67 label = "status0:blue:heartbeat";
68 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
69 default-state = "off";
70 linux,default-trigger = "heartbeat";
74 label = "status1:red:cpu1";
75 gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
76 default-state = "off";
77 linux,default-trigger = "cpu1";
81 label = "status1:green:usr";
82 gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
83 default-state = "off";
87 label = "status1:blue:mmc0";
88 gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
89 default-state = "off";
90 linux,default-trigger = "mmc0";
96 compatible = "gpio-leds";
99 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
100 default-state = "off";
104 label = "idk:green0";
105 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
106 default-state = "off";
111 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
112 default-state = "off";
117 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
118 default-state = "off";
122 label = "idk:green1";
123 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
124 default-state = "off";
129 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
130 default-state = "off";
135 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
136 default-state = "off";
140 label = "idk:green2";
141 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
142 default-state = "off";
147 gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
148 default-state = "off";
153 gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
154 default-state = "off";
158 label = "idk:green3";
159 gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
160 default-state = "off";
165 gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
166 default-state = "off";
172 id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
173 vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
177 load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
182 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
187 memory-region = <&ipu2_memory_region>;
192 memory-region = <&ipu1_memory_region>;
197 memory-region = <&dsp1_memory_region>;
202 memory-region = <&dsp2_memory_region>;