Schuyler Patton | 332dddc | 2016-06-10 09:35:45 +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 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | #include "dra74x.dtsi" |
| 12 | #include <dt-bindings/gpio/gpio.h> |
| 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 14 | #include "am57xx-idk-common.dtsi" |
| 15 | |
| 16 | / { |
| 17 | model = "TI AM5728 IDK"; |
| 18 | compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", |
| 19 | "ti,dra7"; |
| 20 | |
Lokesh Vutla | a0c0b97 | 2016-11-25 11:14:18 +0530 | [diff] [blame] | 21 | memory@0 { |
Schuyler Patton | 332dddc | 2016-06-10 09:35:45 +0530 | [diff] [blame] | 22 | device_type = "memory"; |
| 23 | reg = <0x0 0x80000000 0x0 0x80000000>; |
| 24 | }; |
| 25 | |
| 26 | extcon_usb2: extcon_usb2 { |
| 27 | compatible = "linux,extcon-usb-gpio"; |
| 28 | id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>; |
| 29 | }; |
| 30 | |
| 31 | status-leds { |
| 32 | compatible = "gpio-leds"; |
| 33 | cpu0-led { |
| 34 | label = "status0:red:cpu0"; |
| 35 | gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; |
| 36 | default-state = "off"; |
| 37 | linux,default-trigger = "cpu0"; |
| 38 | }; |
| 39 | |
| 40 | usr0-led { |
| 41 | label = "status0:green:usr"; |
| 42 | gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>; |
| 43 | default-state = "off"; |
| 44 | }; |
| 45 | |
| 46 | heartbeat-led { |
| 47 | label = "status0:blue:heartbeat"; |
| 48 | gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>; |
| 49 | default-state = "off"; |
| 50 | linux,default-trigger = "heartbeat"; |
| 51 | }; |
| 52 | |
| 53 | cpu1-led { |
| 54 | label = "status1:red:cpu1"; |
| 55 | gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; |
| 56 | default-state = "off"; |
| 57 | linux,default-trigger = "cpu1"; |
| 58 | }; |
| 59 | |
| 60 | usr1-led { |
| 61 | label = "status1:green:usr"; |
| 62 | gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>; |
| 63 | default-state = "off"; |
| 64 | }; |
| 65 | |
| 66 | mmc0-led { |
| 67 | label = "status1:blue:mmc0"; |
| 68 | gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>; |
| 69 | default-state = "off"; |
| 70 | linux,default-trigger = "mmc0"; |
| 71 | }; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | &omap_dwc3_2 { |
| 76 | extcon = <&extcon_usb2>; |
| 77 | }; |
| 78 | |
| 79 | &mmc1 { |
| 80 | status = "okay"; |
| 81 | vmmc-supply = <&v3_3d>; |
| 82 | vmmc_aux-supply = <&ldo1_reg>; |
| 83 | bus-width = <4>; |
| 84 | cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ |
| 85 | }; |