Andrew Davis | 5ba8a2b | 2023-04-11 13:24:56 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Schuyler Patton | c665e27 | 2016-11-25 11:14:25 +0530 | [diff] [blame] | 2 | /* |
Andrew Davis | 5ba8a2b | 2023-04-11 13:24:56 -0500 | [diff] [blame] | 3 | * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ |
Schuyler Patton | c665e27 | 2016-11-25 11:14:25 +0530 | [diff] [blame] | 4 | */ |
| 5 | /dts-v1/; |
| 6 | |
| 7 | #include "dra72x.dtsi" |
| 8 | #include <dt-bindings/gpio/gpio.h> |
| 9 | #include <dt-bindings/interrupt-controller/irq.h> |
| 10 | #include "am57xx-idk-common.dtsi" |
Faiz Abbas | 4691289 | 2019-06-20 15:07:19 +0530 | [diff] [blame] | 11 | #include "dra7-mmc-iodelay.dtsi" |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 12 | #include "dra72x-mmc-iodelay.dtsi" |
Schuyler Patton | c665e27 | 2016-11-25 11:14:25 +0530 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "TI AM5718 IDK"; |
| 16 | compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7"; |
| 17 | |
| 18 | memory@80000000 { |
| 19 | device_type = "memory"; |
| 20 | reg = <0x0 0x80000000 0x0 0x40000000>; |
| 21 | }; |
| 22 | |
| 23 | leds { |
| 24 | compatible = "gpio-leds"; |
| 25 | cpu0-led { |
| 26 | label = "status0:red:cpu0"; |
| 27 | gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>; |
| 28 | default-state = "off"; |
| 29 | linux,default-trigger = "cpu0"; |
| 30 | }; |
| 31 | |
| 32 | usr0-led { |
| 33 | label = "status0:green:usr"; |
| 34 | gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; |
| 35 | default-state = "off"; |
| 36 | }; |
| 37 | |
| 38 | heartbeat-led { |
| 39 | label = "status0:blue:heartbeat"; |
| 40 | gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; |
| 41 | default-state = "off"; |
| 42 | linux,default-trigger = "heartbeat"; |
| 43 | }; |
| 44 | |
| 45 | usr1-led { |
| 46 | label = "status1:red:usr"; |
| 47 | gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; |
| 48 | default-state = "off"; |
| 49 | }; |
| 50 | |
| 51 | usr2-led { |
| 52 | label = "status1:green:usr"; |
| 53 | gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; |
| 54 | default-state = "off"; |
| 55 | }; |
| 56 | |
| 57 | mmc0-led { |
| 58 | label = "status1:blue:mmc0"; |
| 59 | gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; |
| 60 | default-state = "off"; |
| 61 | linux,default-trigger = "mmc0"; |
| 62 | }; |
| 63 | }; |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 64 | }; |
| 65 | |
| 66 | &omap_dwc3_2 { |
| 67 | extcon = <&extcon_usb2>; |
| 68 | }; |
Schuyler Patton | c665e27 | 2016-11-25 11:14:25 +0530 | [diff] [blame] | 69 | |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 70 | &extcon_usb2 { |
| 71 | id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>; |
| 72 | vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; |
| 73 | }; |
| 74 | |
| 75 | &mailbox5 { |
| 76 | status = "okay"; |
Andrew Davis | 0429d3f | 2023-04-11 13:25:06 -0500 | [diff] [blame] | 77 | mbox_ipu1_ipc3x: mbox-ipu1-ipc3x { |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 78 | status = "okay"; |
| 79 | }; |
Andrew Davis | 0429d3f | 2023-04-11 13:25:06 -0500 | [diff] [blame] | 80 | mbox_dsp1_ipc3x: mbox-dsp1-ipc3x { |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 81 | status = "okay"; |
Schuyler Patton | c665e27 | 2016-11-25 11:14:25 +0530 | [diff] [blame] | 82 | }; |
| 83 | }; |
| 84 | |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 85 | &mailbox6 { |
Schuyler Patton | c665e27 | 2016-11-25 11:14:25 +0530 | [diff] [blame] | 86 | status = "okay"; |
Andrew Davis | 0429d3f | 2023-04-11 13:25:06 -0500 | [diff] [blame] | 87 | mbox_ipu2_ipc3x: mbox-ipu2-ipc3x { |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 88 | status = "okay"; |
| 89 | }; |
Schuyler Patton | c665e27 | 2016-11-25 11:14:25 +0530 | [diff] [blame] | 90 | }; |
| 91 | |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 92 | &pcie1_rc { |
| 93 | status = "okay"; |
| 94 | gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; |
| 95 | }; |
| 96 | |
| 97 | &pcie1_ep { |
| 98 | gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; |
| 99 | }; |
| 100 | |
| 101 | &mmc1 { |
Faiz Abbas | 7f182c0 | 2019-06-20 15:07:21 +0530 | [diff] [blame] | 102 | pinctrl-names = "default", "hs"; |
Faiz Abbas | 4691289 | 2019-06-20 15:07:19 +0530 | [diff] [blame] | 103 | pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 104 | pinctrl-1 = <&mmc1_pins_hs>; |
Lokesh Vutla | cfa23a4 | 2017-08-21 12:50:59 +0530 | [diff] [blame] | 105 | }; |
| 106 | |
| 107 | &mmc2 { |
| 108 | pinctrl-names = "default", "hs", "ddr_1_8v"; |
| 109 | pinctrl-0 = <&mmc2_pins_default>; |
| 110 | pinctrl-1 = <&mmc2_pins_hs>; |
| 111 | pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>; |
Schuyler Patton | c665e27 | 2016-11-25 11:14:25 +0530 | [diff] [blame] | 112 | }; |