GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / am572x-idk-common.dtsi
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 &extcon_usb2 {
61         id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
62         vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
63 };
64
65 &sn65hvs882 {
66         load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
67 };
68
69 &pcie1_rc {
70         status = "okay";
71         gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
72 };
73
74 &mailbox5 {
75         status = "okay";
76         mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
77                 status = "okay";
78         };
79         mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
80                 status = "okay";
81         };
82 };
83
84 &mailbox6 {
85         status = "okay";
86         mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
87                 status = "okay";
88         };
89         mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
90                 status = "okay";
91         };
92 };