Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
0004  */
0005 /dts-v1/;
0006 
0007 #include "am5718.dtsi"
0008 #include <dt-bindings/gpio/gpio.h>
0009 #include <dt-bindings/interrupt-controller/irq.h>
0010 #include "dra7-mmc-iodelay.dtsi"
0011 #include "dra72x-mmc-iodelay.dtsi"
0012 #include "am57xx-idk-common.dtsi"
0013 #include "dra7-ipu-dsp-common.dtsi"
0014 
0015 / {
0016         model = "TI AM5718 IDK";
0017         compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
0018 
0019         memory@80000000 {
0020                 device_type = "memory";
0021                 reg = <0x0 0x80000000 0x0 0x40000000>;
0022         };
0023 
0024         reserved-memory {
0025                 #address-cells = <2>;
0026                 #size-cells = <2>;
0027                 ranges;
0028 
0029                 ipu2_memory_region: ipu2-memory@95800000 {
0030                         compatible = "shared-dma-pool";
0031                         reg = <0x0 0x95800000 0x0 0x3800000>;
0032                         reusable;
0033                         status = "okay";
0034                 };
0035 
0036                 dsp1_memory_region: dsp1-memory@99000000 {
0037                         compatible = "shared-dma-pool";
0038                         reg = <0x0 0x99000000 0x0 0x4000000>;
0039                         reusable;
0040                         status = "okay";
0041                 };
0042 
0043                 ipu1_memory_region: ipu1-memory@9d000000 {
0044                         compatible = "shared-dma-pool";
0045                         reg = <0x0 0x9d000000 0x0 0x2000000>;
0046                         reusable;
0047                         status = "okay";
0048                 };
0049         };
0050 
0051         leds {
0052                 compatible = "gpio-leds";
0053                 cpu0-led {
0054                         label = "status0:red:cpu0";
0055                         gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
0056                         default-state = "off";
0057                         linux,default-trigger = "cpu0";
0058                 };
0059 
0060                 usr0-led {
0061                         label = "status0:green:usr";
0062                         gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
0063                         default-state = "off";
0064                 };
0065 
0066                 heartbeat-led {
0067                         label = "status0:blue:heartbeat";
0068                         gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
0069                         default-state = "off";
0070                         linux,default-trigger = "heartbeat";
0071                 };
0072 
0073                 usr1-led {
0074                         label = "status1:red:usr";
0075                         gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
0076                         default-state = "off";
0077                 };
0078 
0079                 usr2-led {
0080                         label = "status1:green:usr";
0081                         gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
0082                         default-state = "off";
0083                 };
0084 
0085                 mmc0-led {
0086                         label = "status1:blue:mmc0";
0087                         gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
0088                         default-state = "off";
0089                         linux,default-trigger = "mmc0";
0090                 };
0091         };
0092 
0093         idk-leds {
0094                 status = "disabled";
0095                 compatible = "gpio-leds";
0096                 red0-led {
0097                         label = "idk:red0";
0098                         gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
0099                         default-state = "off";
0100                 };
0101 
0102                 green0-led {
0103                         label = "idk:green0";
0104                         gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
0105                         default-state = "off";
0106                 };
0107 
0108                 blue0-led {
0109                         label = "idk:blue0";
0110                         gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
0111                         default-state = "off";
0112                 };
0113 
0114                 red1-led {
0115                         label = "idk:red1";
0116                         gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
0117                         default-state = "off";
0118                 };
0119 
0120                 green1-led {
0121                         label = "idk:green1";
0122                         gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
0123                         default-state = "off";
0124                 };
0125 
0126                 blue1-led {
0127                         label = "idk:blue1";
0128                         gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
0129                         default-state = "off";
0130                 };
0131 
0132                 red2-led {
0133                         label = "idk:red2";
0134                         gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
0135                         default-state = "off";
0136                 };
0137 
0138                 green2-led {
0139                         label = "idk:green2";
0140                         gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
0141                         default-state = "off";
0142                 };
0143 
0144                 blue2-led {
0145                         label = "idk:blue2";
0146                         gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
0147                         default-state = "off";
0148                 };
0149 
0150                 red3-led {
0151                         label = "idk:red3";
0152                         gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
0153                         default-state = "off";
0154                 };
0155 
0156                 green3-led {
0157                         label = "idk:green3";
0158                         gpios = <&gpio7 25 GPIO_ACTIVE_HIGH>;
0159                         default-state = "off";
0160                 };
0161 
0162                 blue3-led {
0163                         label = "idk:blue3";
0164                         gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>;
0165                         default-state = "off";
0166                 };
0167         };
0168 };
0169 
0170 &extcon_usb2 {
0171         id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
0172         vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
0173 };
0174 
0175 &sn65hvs882 {
0176         load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
0177 };
0178 
0179 &ipu2 {
0180         status = "okay";
0181         memory-region = <&ipu2_memory_region>;
0182 };
0183 
0184 &ipu1 {
0185         status = "okay";
0186         memory-region = <&ipu1_memory_region>;
0187 };
0188 
0189 &dsp1 {
0190         status = "okay";
0191         memory-region = <&dsp1_memory_region>;
0192 };
0193 
0194 &pcie1_rc {
0195         status = "okay";
0196         gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
0197 };
0198 
0199 &mmc1 {
0200         pinctrl-names = "default", "hs";
0201         pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
0202         pinctrl-1 = <&mmc1_pins_hs>;
0203 };
0204 
0205 &mmc2 {
0206         pinctrl-names = "default", "hs", "ddr_3_3v";
0207         pinctrl-0 = <&mmc2_pins_default>;
0208         pinctrl-1 = <&mmc2_pins_hs>;
0209         pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
0210 };
0211 
0212 &pruss1_mdio {
0213         status = "disabled";
0214 };
0215 
0216 &pruss2_mdio {
0217         status = "disabled";
0218 };