aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLokesh Vutla2017-12-18 00:20:03 -0600
committerTony Lindgren2017-12-21 09:24:52 -0600
commit704f423ce0b25b8e5edd924569ed5617a30614dd (patch)
tree25074090f75a5f30104f615096c235de61b3dc0a /arch/arm/boot/dts/am572x-idk-common.dtsi
parent4b7fe09bee69e76cbce78ec9c61284516354d94b (diff)
downloadremoteproc-704f423ce0b25b8e5edd924569ed5617a30614dd.tar.gz
remoteproc-704f423ce0b25b8e5edd924569ed5617a30614dd.tar.xz
remoteproc-704f423ce0b25b8e5edd924569ed5617a30614dd.zip
ARM: dts: am57xx: Add support for am574x-idk
am574x-idk is similar to am572x-idk with am574x SoC. So create a common file for both evms and include SoC dtsi as needed. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am572x-idk-common.dtsi')
-rw-r--r--arch/arm/boot/dts/am572x-idk-common.dtsi100
1 files changed, 100 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am572x-idk-common.dtsi b/arch/arm/boot/dts/am572x-idk-common.dtsi
new file mode 100644
index 000000000000..c6d858b31011
--- /dev/null
+++ b/arch/arm/boot/dts/am572x-idk-common.dtsi
@@ -0,0 +1,100 @@
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
4 */
5
6#include <dt-bindings/gpio/gpio.h>
7#include <dt-bindings/interrupt-controller/irq.h>
8#include "am57xx-idk-common.dtsi"
9
10/ {
11 memory@0 {
12 device_type = "memory";
13 reg = <0x0 0x80000000 0x0 0x80000000>;
14 };
15
16 status-leds {
17 compatible = "gpio-leds";
18 cpu0-led {
19 label = "status0:red:cpu0";
20 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
21 default-state = "off";
22 linux,default-trigger = "cpu0";
23 };
24
25 usr0-led {
26 label = "status0:green:usr";
27 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
28 default-state = "off";
29 };
30
31 heartbeat-led {
32 label = "status0:blue:heartbeat";
33 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
34 default-state = "off";
35 linux,default-trigger = "heartbeat";
36 };
37
38 cpu1-led {
39 label = "status1:red:cpu1";
40 gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
41 default-state = "off";
42 linux,default-trigger = "cpu1";
43 };
44
45 usr1-led {
46 label = "status1:green:usr";
47 gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
48 default-state = "off";
49 };
50
51 mmc0-led {
52 label = "status1:blue:mmc0";
53 gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
54 default-state = "off";
55 linux,default-trigger = "mmc0";
56 };
57 };
58};
59
60&omap_dwc3_2 {
61 extcon = <&extcon_usb2>;
62};
63
64&extcon_usb2 {
65 id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
66 vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
67};
68
69&sn65hvs882 {
70 load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
71};
72
73&pcie1_rc {
74 status = "okay";
75 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
76};
77
78&pcie1_ep {
79 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
80};
81
82&mailbox5 {
83 status = "okay";
84 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
85 status = "okay";
86 };
87 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
88 status = "okay";
89 };
90};
91
92&mailbox6 {
93 status = "okay";
94 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
95 status = "okay";
96 };
97 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
98 status = "okay";
99 };
100};