blob: c7dc8445d68253ebf1925c412bff811f22f819f7 [file] [log] [blame]
Lokesh Vutlab4185e42017-12-29 11:47:57 +05301// SPDX-License-Identifier: GPL-2.0
2/*
Andrew Davis51b21c72023-04-11 13:24:56 -05003 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
Lokesh Vutlab4185e42017-12-29 11:47:57 +05304 */
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";
Andrew Davisf8ae3e62023-04-11 13:25:06 -050084 mbox_ipu1_ipc3x: mbox-ipu1-ipc3x {
Lokesh Vutlab4185e42017-12-29 11:47:57 +053085 status = "okay";
86 };
Andrew Davisf8ae3e62023-04-11 13:25:06 -050087 mbox_dsp1_ipc3x: mbox-dsp1-ipc3x {
Lokesh Vutlab4185e42017-12-29 11:47:57 +053088 status = "okay";
89 };
90};
91
92&mailbox6 {
93 status = "okay";
Andrew Davisf8ae3e62023-04-11 13:25:06 -050094 mbox_ipu2_ipc3x: mbox-ipu2-ipc3x {
Lokesh Vutlab4185e42017-12-29 11:47:57 +053095 status = "okay";
96 };
Andrew Davisf8ae3e62023-04-11 13:25:06 -050097 mbox_dsp2_ipc3x: mbox-dsp2-ipc3x {
Lokesh Vutlab4185e42017-12-29 11:47:57 +053098 status = "okay";
99 };
100};