| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 3 | + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | /dts-v1/; |
|---|
| 9 | 6 | |
|---|
| 10 | | -#include "dra72x.dtsi" |
|---|
| 7 | +#include "am5718.dtsi" |
|---|
| 11 | 8 | #include <dt-bindings/gpio/gpio.h> |
|---|
| 12 | 9 | #include <dt-bindings/interrupt-controller/irq.h> |
|---|
| 13 | 10 | #include "dra7-mmc-iodelay.dtsi" |
|---|
| 14 | 11 | #include "dra72x-mmc-iodelay.dtsi" |
|---|
| 15 | 12 | #include "am57xx-idk-common.dtsi" |
|---|
| 13 | +#include "dra7-ipu-dsp-common.dtsi" |
|---|
| 16 | 14 | |
|---|
| 17 | 15 | / { |
|---|
| 18 | 16 | model = "TI AM5718 IDK"; |
|---|
| .. | .. |
|---|
| 21 | 19 | memory@80000000 { |
|---|
| 22 | 20 | device_type = "memory"; |
|---|
| 23 | 21 | reg = <0x0 0x80000000 0x0 0x40000000>; |
|---|
| 22 | + }; |
|---|
| 23 | + |
|---|
| 24 | + reserved-memory { |
|---|
| 25 | + #address-cells = <2>; |
|---|
| 26 | + #size-cells = <2>; |
|---|
| 27 | + ranges; |
|---|
| 28 | + |
|---|
| 29 | + ipu2_memory_region: ipu2-memory@95800000 { |
|---|
| 30 | + compatible = "shared-dma-pool"; |
|---|
| 31 | + reg = <0x0 0x95800000 0x0 0x3800000>; |
|---|
| 32 | + reusable; |
|---|
| 33 | + status = "okay"; |
|---|
| 34 | + }; |
|---|
| 35 | + |
|---|
| 36 | + dsp1_memory_region: dsp1-memory@99000000 { |
|---|
| 37 | + compatible = "shared-dma-pool"; |
|---|
| 38 | + reg = <0x0 0x99000000 0x0 0x4000000>; |
|---|
| 39 | + reusable; |
|---|
| 40 | + status = "okay"; |
|---|
| 41 | + }; |
|---|
| 42 | + |
|---|
| 43 | + ipu1_memory_region: ipu1-memory@9d000000 { |
|---|
| 44 | + compatible = "shared-dma-pool"; |
|---|
| 45 | + reg = <0x0 0x9d000000 0x0 0x2000000>; |
|---|
| 46 | + reusable; |
|---|
| 47 | + status = "okay"; |
|---|
| 48 | + }; |
|---|
| 24 | 49 | }; |
|---|
| 25 | 50 | |
|---|
| 26 | 51 | leds { |
|---|
| .. | .. |
|---|
| 64 | 89 | linux,default-trigger = "mmc0"; |
|---|
| 65 | 90 | }; |
|---|
| 66 | 91 | }; |
|---|
| 92 | + |
|---|
| 93 | + idk-leds { |
|---|
| 94 | + status = "disabled"; |
|---|
| 95 | + compatible = "gpio-leds"; |
|---|
| 96 | + red0-led { |
|---|
| 97 | + label = "idk:red0"; |
|---|
| 98 | + gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>; |
|---|
| 99 | + default-state = "off"; |
|---|
| 100 | + }; |
|---|
| 101 | + |
|---|
| 102 | + green0-led { |
|---|
| 103 | + label = "idk:green0"; |
|---|
| 104 | + gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; |
|---|
| 105 | + default-state = "off"; |
|---|
| 106 | + }; |
|---|
| 107 | + |
|---|
| 108 | + blue0-led { |
|---|
| 109 | + label = "idk:blue0"; |
|---|
| 110 | + gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; |
|---|
| 111 | + default-state = "off"; |
|---|
| 112 | + }; |
|---|
| 113 | + |
|---|
| 114 | + red1-led { |
|---|
| 115 | + label = "idk:red1"; |
|---|
| 116 | + gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; |
|---|
| 117 | + default-state = "off"; |
|---|
| 118 | + }; |
|---|
| 119 | + |
|---|
| 120 | + green1-led { |
|---|
| 121 | + label = "idk:green1"; |
|---|
| 122 | + gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; |
|---|
| 123 | + default-state = "off"; |
|---|
| 124 | + }; |
|---|
| 125 | + |
|---|
| 126 | + blue1-led { |
|---|
| 127 | + label = "idk:blue1"; |
|---|
| 128 | + gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; |
|---|
| 129 | + default-state = "off"; |
|---|
| 130 | + }; |
|---|
| 131 | + |
|---|
| 132 | + red2-led { |
|---|
| 133 | + label = "idk:red2"; |
|---|
| 134 | + gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; |
|---|
| 135 | + default-state = "off"; |
|---|
| 136 | + }; |
|---|
| 137 | + |
|---|
| 138 | + green2-led { |
|---|
| 139 | + label = "idk:green2"; |
|---|
| 140 | + gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; |
|---|
| 141 | + default-state = "off"; |
|---|
| 142 | + }; |
|---|
| 143 | + |
|---|
| 144 | + blue2-led { |
|---|
| 145 | + label = "idk:blue2"; |
|---|
| 146 | + gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; |
|---|
| 147 | + default-state = "off"; |
|---|
| 148 | + }; |
|---|
| 149 | + |
|---|
| 150 | + red3-led { |
|---|
| 151 | + label = "idk:red3"; |
|---|
| 152 | + gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>; |
|---|
| 153 | + default-state = "off"; |
|---|
| 154 | + }; |
|---|
| 155 | + |
|---|
| 156 | + green3-led { |
|---|
| 157 | + label = "idk:green3"; |
|---|
| 158 | + gpios = <&gpio7 25 GPIO_ACTIVE_HIGH>; |
|---|
| 159 | + default-state = "off"; |
|---|
| 160 | + }; |
|---|
| 161 | + |
|---|
| 162 | + blue3-led { |
|---|
| 163 | + label = "idk:blue3"; |
|---|
| 164 | + gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>; |
|---|
| 165 | + default-state = "off"; |
|---|
| 166 | + }; |
|---|
| 167 | + }; |
|---|
| 67 | 168 | }; |
|---|
| 68 | 169 | |
|---|
| 69 | 170 | &extcon_usb2 { |
|---|
| .. | .. |
|---|
| 71 | 172 | vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; |
|---|
| 72 | 173 | }; |
|---|
| 73 | 174 | |
|---|
| 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 | | - }; |
|---|
| 175 | +&sn65hvs882 { |
|---|
| 176 | + load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; |
|---|
| 82 | 177 | }; |
|---|
| 83 | 178 | |
|---|
| 84 | | -&mailbox6 { |
|---|
| 179 | +&ipu2 { |
|---|
| 85 | 180 | status = "okay"; |
|---|
| 86 | | - mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
|---|
| 87 | | - status = "okay"; |
|---|
| 88 | | - }; |
|---|
| 181 | + memory-region = <&ipu2_memory_region>; |
|---|
| 182 | +}; |
|---|
| 183 | + |
|---|
| 184 | +&ipu1 { |
|---|
| 185 | + status = "okay"; |
|---|
| 186 | + memory-region = <&ipu1_memory_region>; |
|---|
| 187 | +}; |
|---|
| 188 | + |
|---|
| 189 | +&dsp1 { |
|---|
| 190 | + status = "okay"; |
|---|
| 191 | + memory-region = <&dsp1_memory_region>; |
|---|
| 89 | 192 | }; |
|---|
| 90 | 193 | |
|---|
| 91 | 194 | &pcie1_rc { |
|---|
| .. | .. |
|---|
| 104 | 207 | pinctrl-0 = <&mmc2_pins_default>; |
|---|
| 105 | 208 | pinctrl-1 = <&mmc2_pins_hs>; |
|---|
| 106 | 209 | pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>; |
|---|
| 107 | | -}; |
|---|
| 108 | | - |
|---|
| 109 | | -&cpu0 { |
|---|
| 110 | | - vdd-supply = <&smps12_reg>; |
|---|
| 111 | 210 | }; |
|---|