]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/am572x-idk-common.dtsi
Merge tag 'mips_fixes_5.1_1' into mips-next
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / am572x-idk-common.dtsi
CommitLineData
704f423c
LV
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 };
99f48559
AD
58
59 idk-leds {
60 status = "disabled";
61 compatible = "gpio-leds";
62 red0-led {
63 label = "idk:red0";
64 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
65 default-state = "off";
66 };
67
68 green0-led {
69 label = "idk:green0";
70 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
71 default-state = "off";
72 };
73
74 blue0-led {
75 label = "idk:blue0";
76 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
77 default-state = "off";
78 };
79
80 red1-led {
81 label = "idk:red1";
82 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
83 default-state = "off";
84 };
85
86 green1-led {
87 label = "idk:green1";
88 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
89 default-state = "off";
90 };
91
92 blue1-led {
93 label = "idk:blue1";
94 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
95 default-state = "off";
96 };
97
98 red2-led {
99 label = "idk:red2";
100 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
101 default-state = "off";
102 };
103
104 green2-led {
105 label = "idk:green2";
106 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
107 default-state = "off";
108 };
109
110 blue2-led {
111 label = "idk:blue2";
112 gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
113 default-state = "off";
114 };
115
116 red3-led {
117 label = "idk:red3";
118 gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
119 default-state = "off";
120 };
121
122 green3-led {
123 label = "idk:green3";
124 gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
125 default-state = "off";
126 };
127
128 blue3-led {
129 label = "idk:blue3";
130 gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
131 default-state = "off";
132 };
133 };
704f423c
LV
134};
135
704f423c
LV
136&extcon_usb2 {
137 id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
138 vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
139};
140
141&sn65hvs882 {
142 load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
143};
144
145&pcie1_rc {
146 status = "okay";
147 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
148};
149
150&pcie1_ep {
151 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
152};
153
154&mailbox5 {
155 status = "okay";
156 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
157 status = "okay";
158 };
159 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
160 status = "okay";
161 };
162};
163
164&mailbox6 {
165 status = "okay";
166 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
167 status = "okay";
168 };
169 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
170 status = "okay";
171 };
172};