1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (C) 2015-2016 Texas Instruments I 3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 4 */ 4 */ 5 /dts-v1/; 5 /dts-v1/; 6 6 7 #include "am5718.dtsi" 7 #include "am5718.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "dra7-mmc-iodelay.dtsi" 10 #include "dra7-mmc-iodelay.dtsi" 11 #include "dra72x-mmc-iodelay.dtsi" 11 #include "dra72x-mmc-iodelay.dtsi" 12 #include "am57xx-idk-common.dtsi" 12 #include "am57xx-idk-common.dtsi" 13 #include "dra7-ipu-dsp-common.dtsi" 13 #include "dra7-ipu-dsp-common.dtsi" 14 14 15 / { 15 / { 16 model = "TI AM5718 IDK"; 16 model = "TI AM5718 IDK"; 17 compatible = "ti,am5718-idk", "ti,am57 17 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7"; 18 18 19 memory@80000000 { 19 memory@80000000 { 20 device_type = "memory"; 20 device_type = "memory"; 21 reg = <0x0 0x80000000 0x0 0x40 21 reg = <0x0 0x80000000 0x0 0x40000000>; 22 }; 22 }; 23 23 24 reserved-memory { 24 reserved-memory { 25 #address-cells = <2>; 25 #address-cells = <2>; 26 #size-cells = <2>; 26 #size-cells = <2>; 27 ranges; 27 ranges; 28 28 29 ipu2_memory_region: ipu2-memor 29 ipu2_memory_region: ipu2-memory@95800000 { 30 compatible = "shared-d 30 compatible = "shared-dma-pool"; 31 reg = <0x0 0x95800000 31 reg = <0x0 0x95800000 0x0 0x3800000>; 32 reusable; 32 reusable; 33 status = "okay"; 33 status = "okay"; 34 }; 34 }; 35 35 36 dsp1_memory_region: dsp1-memor 36 dsp1_memory_region: dsp1-memory@99000000 { 37 compatible = "shared-d 37 compatible = "shared-dma-pool"; 38 reg = <0x0 0x99000000 38 reg = <0x0 0x99000000 0x0 0x4000000>; 39 reusable; 39 reusable; 40 status = "okay"; 40 status = "okay"; 41 }; 41 }; 42 42 43 ipu1_memory_region: ipu1-memor 43 ipu1_memory_region: ipu1-memory@9d000000 { 44 compatible = "shared-d 44 compatible = "shared-dma-pool"; 45 reg = <0x0 0x9d000000 45 reg = <0x0 0x9d000000 0x0 0x2000000>; 46 reusable; 46 reusable; 47 status = "okay"; 47 status = "okay"; 48 }; 48 }; 49 }; 49 }; 50 50 51 leds { 51 leds { 52 compatible = "gpio-leds"; 52 compatible = "gpio-leds"; 53 cpu0-led { 53 cpu0-led { 54 label = "status0:red:c 54 label = "status0:red:cpu0"; 55 gpios = <&gpio2 25 GPI 55 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>; 56 default-state = "off"; 56 default-state = "off"; 57 linux,default-trigger 57 linux,default-trigger = "cpu0"; 58 }; 58 }; 59 59 60 usr0-led { 60 usr0-led { 61 label = "status0:green 61 label = "status0:green:usr"; 62 gpios = <&gpio2 26 GPI 62 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 63 default-state = "off"; 63 default-state = "off"; 64 }; 64 }; 65 65 66 heartbeat-led { 66 heartbeat-led { 67 label = "status0:blue: 67 label = "status0:blue:heartbeat"; 68 gpios = <&gpio2 27 GPI 68 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; 69 default-state = "off"; 69 default-state = "off"; 70 linux,default-trigger 70 linux,default-trigger = "heartbeat"; 71 }; 71 }; 72 72 73 usr1-led { 73 usr1-led { 74 label = "status1:red:u 74 label = "status1:red:usr"; 75 gpios = <&gpio2 28 GPI 75 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; 76 default-state = "off"; 76 default-state = "off"; 77 }; 77 }; 78 78 79 usr2-led { 79 usr2-led { 80 label = "status1:green 80 label = "status1:green:usr"; 81 gpios = <&gpio2 21 GPI 81 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; 82 default-state = "off"; 82 default-state = "off"; 83 }; 83 }; 84 84 85 mmc0-led { 85 mmc0-led { 86 label = "status1:blue: 86 label = "status1:blue:mmc0"; 87 gpios = <&gpio2 19 GPI 87 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; 88 default-state = "off"; 88 default-state = "off"; 89 linux,default-trigger 89 linux,default-trigger = "mmc0"; 90 }; 90 }; 91 }; 91 }; 92 92 93 idk-leds { 93 idk-leds { 94 status = "disabled"; 94 status = "disabled"; 95 compatible = "gpio-leds"; 95 compatible = "gpio-leds"; 96 red0-led { 96 red0-led { 97 label = "idk:red0"; 97 label = "idk:red0"; 98 gpios = <&gpio6 19 GPI 98 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>; 99 default-state = "off"; 99 default-state = "off"; 100 }; 100 }; 101 101 102 green0-led { 102 green0-led { 103 label = "idk:green0"; 103 label = "idk:green0"; 104 gpios = <&gpio4 0 GPIO 104 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; 105 default-state = "off"; 105 default-state = "off"; 106 }; 106 }; 107 107 108 blue0-led { 108 blue0-led { 109 label = "idk:blue0"; 109 label = "idk:blue0"; 110 gpios = <&gpio1 4 GPIO 110 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; 111 default-state = "off"; 111 default-state = "off"; 112 }; 112 }; 113 113 114 red1-led { 114 red1-led { 115 label = "idk:red1"; 115 label = "idk:red1"; 116 gpios = <&gpio6 7 GPIO 116 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 117 default-state = "off"; 117 default-state = "off"; 118 }; 118 }; 119 119 120 green1-led { 120 green1-led { 121 label = "idk:green1"; 121 label = "idk:green1"; 122 gpios = <&gpio2 29 GPI 122 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; 123 default-state = "off"; 123 default-state = "off"; 124 }; 124 }; 125 125 126 blue1-led { 126 blue1-led { 127 label = "idk:blue1"; 127 label = "idk:blue1"; 128 gpios = <&gpio1 5 GPIO 128 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; 129 default-state = "off"; 129 default-state = "off"; 130 }; 130 }; 131 131 132 red2-led { 132 red2-led { 133 label = "idk:red2"; 133 label = "idk:red2"; 134 gpios = <&gpio7 9 GPIO 134 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; 135 default-state = "off"; 135 default-state = "off"; 136 }; 136 }; 137 137 138 green2-led { 138 green2-led { 139 label = "idk:green2"; 139 label = "idk:green2"; 140 gpios = <&gpio7 8 GPIO 140 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; 141 default-state = "off"; 141 default-state = "off"; 142 }; 142 }; 143 143 144 blue2-led { 144 blue2-led { 145 label = "idk:blue2"; 145 label = "idk:blue2"; 146 gpios = <&gpio7 10 GPI 146 gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; 147 default-state = "off"; 147 default-state = "off"; 148 }; 148 }; 149 149 150 red3-led { 150 red3-led { 151 label = "idk:red3"; 151 label = "idk:red3"; 152 gpios = <&gpio7 11 GPI 152 gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>; 153 default-state = "off"; 153 default-state = "off"; 154 }; 154 }; 155 155 156 green3-led { 156 green3-led { 157 label = "idk:green3"; 157 label = "idk:green3"; 158 gpios = <&gpio7 25 GPI 158 gpios = <&gpio7 25 GPIO_ACTIVE_HIGH>; 159 default-state = "off"; 159 default-state = "off"; 160 }; 160 }; 161 161 162 blue3-led { 162 blue3-led { 163 label = "idk:blue3"; 163 label = "idk:blue3"; 164 gpios = <&gpio7 24 GPI 164 gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>; 165 default-state = "off"; 165 default-state = "off"; 166 }; 166 }; 167 }; 167 }; 168 }; 168 }; 169 169 170 &extcon_usb2 { 170 &extcon_usb2 { 171 id-gpios = <&gpio5 7 GPIO_ACTIVE_HIGH> 171 id-gpios = <&gpio5 7 GPIO_ACTIVE_HIGH>; 172 vbus-gpios = <&gpio7 22 GPIO_ACTIVE_HI 172 vbus-gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>; 173 }; 173 }; 174 174 175 &sn65hvs882 { 175 &sn65hvs882 { 176 load-gpios = <&gpio2 23 GPIO_ACTIVE_LO 176 load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; 177 }; 177 }; 178 178 179 &ipu2 { 179 &ipu2 { 180 status = "okay"; 180 status = "okay"; 181 memory-region = <&ipu2_memory_region>; 181 memory-region = <&ipu2_memory_region>; 182 }; 182 }; 183 183 184 &ipu1 { 184 &ipu1 { 185 status = "okay"; 185 status = "okay"; 186 memory-region = <&ipu1_memory_region>; 186 memory-region = <&ipu1_memory_region>; 187 }; 187 }; 188 188 189 &dsp1 { 189 &dsp1 { 190 status = "okay"; 190 status = "okay"; 191 memory-region = <&dsp1_memory_region>; 191 memory-region = <&dsp1_memory_region>; 192 }; 192 }; 193 193 194 &pcie1_rc { 194 &pcie1_rc { 195 status = "okay"; 195 status = "okay"; 196 gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; 196 gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; 197 }; 197 }; 198 198 199 &mmc1 { 199 &mmc1 { 200 pinctrl-names = "default", "hs"; 200 pinctrl-names = "default", "hs"; 201 pinctrl-0 = <&mmc1_pins_default_no_clk 201 pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; 202 pinctrl-1 = <&mmc1_pins_hs>; 202 pinctrl-1 = <&mmc1_pins_hs>; 203 }; 203 }; 204 204 205 &mmc2 { 205 &mmc2 { 206 pinctrl-names = "default", "hs", "ddr_ 206 pinctrl-names = "default", "hs", "ddr_3_3v"; 207 pinctrl-0 = <&mmc2_pins_default>; 207 pinctrl-0 = <&mmc2_pins_default>; 208 pinctrl-1 = <&mmc2_pins_hs>; 208 pinctrl-1 = <&mmc2_pins_hs>; 209 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc 209 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>; 210 }; 210 }; 211 211 212 &pruss1_mdio { 212 &pruss1_mdio { 213 status = "disabled"; 213 status = "disabled"; 214 }; 214 }; 215 215 216 &pruss2_mdio { 216 &pruss2_mdio { 217 status = "disabled"; 217 status = "disabled"; 218 }; 218 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.