Schuyler Patton | 5817430 | 2016-11-22 09:47:32 +0530 | [diff] [blame] | 1 | /* |
| 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. |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "dra72x.dtsi" |
| 11 | #include <dt-bindings/gpio/gpio.h> |
| 12 | #include <dt-bindings/interrupt-controller/irq.h> |
Kishon Vijay Abraham I | edfc459 | 2018-04-27 17:38:55 +0530 | [diff] [blame] | 13 | #include "dra7-mmc-iodelay.dtsi" |
Kishon Vijay Abraham I | 14543d8 | 2017-08-16 19:15:04 +0530 | [diff] [blame] | 14 | #include "dra72x-mmc-iodelay.dtsi" |
Kishon Vijay Abraham I | 18aa0f4 | 2018-02-06 18:28:04 +0530 | [diff] [blame] | 15 | #include "am57xx-idk-common.dtsi" |
Schuyler Patton | 5817430 | 2016-11-22 09:47:32 +0530 | [diff] [blame] | 16 | |
| 17 | / { |
| 18 | model = "TI AM5718 IDK"; |
| 19 | compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7"; |
| 20 | |
| 21 | memory@80000000 { |
| 22 | device_type = "memory"; |
| 23 | reg = <0x0 0x80000000 0x0 0x40000000>; |
| 24 | }; |
| 25 | |
| 26 | leds { |
| 27 | compatible = "gpio-leds"; |
| 28 | cpu0-led { |
| 29 | label = "status0:red:cpu0"; |
| 30 | gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>; |
| 31 | default-state = "off"; |
| 32 | linux,default-trigger = "cpu0"; |
| 33 | }; |
| 34 | |
| 35 | usr0-led { |
| 36 | label = "status0:green:usr"; |
| 37 | gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; |
| 38 | default-state = "off"; |
| 39 | }; |
| 40 | |
| 41 | heartbeat-led { |
| 42 | label = "status0:blue:heartbeat"; |
| 43 | gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; |
| 44 | default-state = "off"; |
| 45 | linux,default-trigger = "heartbeat"; |
| 46 | }; |
| 47 | |
| 48 | usr1-led { |
| 49 | label = "status1:red:usr"; |
| 50 | gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; |
| 51 | default-state = "off"; |
| 52 | }; |
| 53 | |
| 54 | usr2-led { |
| 55 | label = "status1:green:usr"; |
| 56 | gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; |
| 57 | default-state = "off"; |
| 58 | }; |
| 59 | |
| 60 | mmc0-led { |
| 61 | label = "status1:blue:mmc0"; |
| 62 | gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; |
| 63 | default-state = "off"; |
| 64 | linux,default-trigger = "mmc0"; |
| 65 | }; |
| 66 | }; |
Schuyler Patton | 5817430 | 2016-11-22 09:47:32 +0530 | [diff] [blame] | 67 | }; |
| 68 | |
Roger Quadros | 10d27df | 2016-12-12 11:58:04 +0200 | [diff] [blame] | 69 | &extcon_usb2 { |
| 70 | id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>; |
| 71 | vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; |
| 72 | }; |
Suman Anna | 2303587 | 2017-05-19 15:47:42 -0500 | [diff] [blame] | 73 | |
| 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 | }; |
| 82 | }; |
| 83 | |
| 84 | &mailbox6 { |
| 85 | status = "okay"; |
| 86 | mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
| 87 | status = "okay"; |
| 88 | }; |
| 89 | }; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 90 | |
| 91 | &pcie1_rc { |
| 92 | status = "okay"; |
| 93 | gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; |
| 94 | }; |
| 95 | |
| 96 | &pcie1_ep { |
| 97 | gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; |
| 98 | }; |
Kishon Vijay Abraham I | 14543d8 | 2017-08-16 19:15:04 +0530 | [diff] [blame] | 99 | |
| 100 | &mmc1 { |
| 101 | pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; |
Kishon Vijay Abraham I | edfc459 | 2018-04-27 17:38:55 +0530 | [diff] [blame] | 102 | pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; |
Kishon Vijay Abraham I | 14543d8 | 2017-08-16 19:15:04 +0530 | [diff] [blame] | 103 | pinctrl-1 = <&mmc1_pins_hs>; |
| 104 | pinctrl-2 = <&mmc1_pins_sdr12>; |
| 105 | pinctrl-3 = <&mmc1_pins_sdr25>; |
| 106 | pinctrl-4 = <&mmc1_pins_sdr50>; |
| 107 | pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>; |
| 108 | pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; |
| 109 | }; |
| 110 | |
| 111 | &mmc2 { |
Kishon Vijay Abraham I | fc7a039 | 2018-04-27 17:38:58 +0530 | [diff] [blame] | 112 | pinctrl-names = "default", "hs", "ddr_3_3v"; |
Kishon Vijay Abraham I | 14543d8 | 2017-08-16 19:15:04 +0530 | [diff] [blame] | 113 | pinctrl-0 = <&mmc2_pins_default>; |
| 114 | pinctrl-1 = <&mmc2_pins_hs>; |
| 115 | pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>; |
| 116 | }; |
Dave Gerlach | 194bd1d | 2017-12-19 09:24:25 -0600 | [diff] [blame] | 117 | |
| 118 | &cpu0 { |
| 119 | vdd-supply = <&smps12_reg>; |
| 120 | }; |