Merge tag 'apparmor-pr-2018-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.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 &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 };