.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
---|
2 | 2 | /* |
---|
3 | | - * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ |
---|
| 3 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ |
---|
4 | 4 | */ |
---|
5 | 5 | |
---|
6 | 6 | #include <dt-bindings/gpio/gpio.h> |
---|
7 | 7 | #include <dt-bindings/interrupt-controller/irq.h> |
---|
8 | 8 | #include "am57xx-idk-common.dtsi" |
---|
| 9 | +#include "dra74-ipu-dsp-common.dtsi" |
---|
9 | 10 | |
---|
10 | 11 | / { |
---|
11 | 12 | memory@0 { |
---|
12 | 13 | device_type = "memory"; |
---|
13 | 14 | reg = <0x0 0x80000000 0x0 0x80000000>; |
---|
| 15 | + }; |
---|
| 16 | + |
---|
| 17 | + reserved-memory { |
---|
| 18 | + #address-cells = <2>; |
---|
| 19 | + #size-cells = <2>; |
---|
| 20 | + ranges; |
---|
| 21 | + |
---|
| 22 | + ipu2_memory_region: ipu2-memory@95800000 { |
---|
| 23 | + compatible = "shared-dma-pool"; |
---|
| 24 | + reg = <0x0 0x95800000 0x0 0x3800000>; |
---|
| 25 | + reusable; |
---|
| 26 | + status = "okay"; |
---|
| 27 | + }; |
---|
| 28 | + |
---|
| 29 | + dsp1_memory_region: dsp1-memory@99000000 { |
---|
| 30 | + compatible = "shared-dma-pool"; |
---|
| 31 | + reg = <0x0 0x99000000 0x0 0x4000000>; |
---|
| 32 | + reusable; |
---|
| 33 | + status = "okay"; |
---|
| 34 | + }; |
---|
| 35 | + |
---|
| 36 | + ipu1_memory_region: ipu1-memory@9d000000 { |
---|
| 37 | + compatible = "shared-dma-pool"; |
---|
| 38 | + reg = <0x0 0x9d000000 0x0 0x2000000>; |
---|
| 39 | + reusable; |
---|
| 40 | + status = "okay"; |
---|
| 41 | + }; |
---|
| 42 | + |
---|
| 43 | + dsp2_memory_region: dsp2-memory@9f000000 { |
---|
| 44 | + compatible = "shared-dma-pool"; |
---|
| 45 | + reg = <0x0 0x9f000000 0x0 0x800000>; |
---|
| 46 | + reusable; |
---|
| 47 | + status = "okay"; |
---|
| 48 | + }; |
---|
14 | 49 | }; |
---|
15 | 50 | |
---|
16 | 51 | status-leds { |
---|
.. | .. |
---|
55 | 90 | linux,default-trigger = "mmc0"; |
---|
56 | 91 | }; |
---|
57 | 92 | }; |
---|
| 93 | + |
---|
| 94 | + idk-leds { |
---|
| 95 | + status = "disabled"; |
---|
| 96 | + compatible = "gpio-leds"; |
---|
| 97 | + red0-led { |
---|
| 98 | + label = "idk:red0"; |
---|
| 99 | + gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>; |
---|
| 100 | + default-state = "off"; |
---|
| 101 | + }; |
---|
| 102 | + |
---|
| 103 | + green0-led { |
---|
| 104 | + label = "idk:green0"; |
---|
| 105 | + gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>; |
---|
| 106 | + default-state = "off"; |
---|
| 107 | + }; |
---|
| 108 | + |
---|
| 109 | + blue0-led { |
---|
| 110 | + label = "idk:blue0"; |
---|
| 111 | + gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; |
---|
| 112 | + default-state = "off"; |
---|
| 113 | + }; |
---|
| 114 | + |
---|
| 115 | + red1-led { |
---|
| 116 | + label = "idk:red1"; |
---|
| 117 | + gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; |
---|
| 118 | + default-state = "off"; |
---|
| 119 | + }; |
---|
| 120 | + |
---|
| 121 | + green1-led { |
---|
| 122 | + label = "idk:green1"; |
---|
| 123 | + gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; |
---|
| 124 | + default-state = "off"; |
---|
| 125 | + }; |
---|
| 126 | + |
---|
| 127 | + blue1-led { |
---|
| 128 | + label = "idk:blue1"; |
---|
| 129 | + gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; |
---|
| 130 | + default-state = "off"; |
---|
| 131 | + }; |
---|
| 132 | + |
---|
| 133 | + red2-led { |
---|
| 134 | + label = "idk:red2"; |
---|
| 135 | + gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; |
---|
| 136 | + default-state = "off"; |
---|
| 137 | + }; |
---|
| 138 | + |
---|
| 139 | + green2-led { |
---|
| 140 | + label = "idk:green2"; |
---|
| 141 | + gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; |
---|
| 142 | + default-state = "off"; |
---|
| 143 | + }; |
---|
| 144 | + |
---|
| 145 | + blue2-led { |
---|
| 146 | + label = "idk:blue2"; |
---|
| 147 | + gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; |
---|
| 148 | + default-state = "off"; |
---|
| 149 | + }; |
---|
| 150 | + |
---|
| 151 | + red3-led { |
---|
| 152 | + label = "idk:red3"; |
---|
| 153 | + gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>; |
---|
| 154 | + default-state = "off"; |
---|
| 155 | + }; |
---|
| 156 | + |
---|
| 157 | + green3-led { |
---|
| 158 | + label = "idk:green3"; |
---|
| 159 | + gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>; |
---|
| 160 | + default-state = "off"; |
---|
| 161 | + }; |
---|
| 162 | + |
---|
| 163 | + blue3-led { |
---|
| 164 | + label = "idk:blue3"; |
---|
| 165 | + gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; |
---|
| 166 | + default-state = "off"; |
---|
| 167 | + }; |
---|
| 168 | + }; |
---|
58 | 169 | }; |
---|
59 | 170 | |
---|
60 | 171 | &extcon_usb2 { |
---|
.. | .. |
---|
71 | 182 | gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; |
---|
72 | 183 | }; |
---|
73 | 184 | |
---|
74 | | -&mailbox5 { |
---|
| 185 | +&ipu2 { |
---|
75 | 186 | status = "okay"; |
---|
76 | | - mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { |
---|
77 | | - status = "okay"; |
---|
78 | | - }; |
---|
79 | | - mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { |
---|
80 | | - status = "okay"; |
---|
81 | | - }; |
---|
| 187 | + memory-region = <&ipu2_memory_region>; |
---|
82 | 188 | }; |
---|
83 | 189 | |
---|
84 | | -&mailbox6 { |
---|
| 190 | +&ipu1 { |
---|
85 | 191 | status = "okay"; |
---|
86 | | - mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
---|
87 | | - status = "okay"; |
---|
88 | | - }; |
---|
89 | | - mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { |
---|
90 | | - status = "okay"; |
---|
91 | | - }; |
---|
| 192 | + memory-region = <&ipu1_memory_region>; |
---|
| 193 | +}; |
---|
| 194 | + |
---|
| 195 | +&dsp1 { |
---|
| 196 | + status = "okay"; |
---|
| 197 | + memory-region = <&dsp1_memory_region>; |
---|
| 198 | +}; |
---|
| 199 | + |
---|
| 200 | +&dsp2 { |
---|
| 201 | + status = "okay"; |
---|
| 202 | + memory-region = <&dsp2_memory_region>; |
---|
92 | 203 | }; |
---|