]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: AM571x-IDK Initial Support
authorSchuyler Patton <spatton@ti.com>
Tue, 22 Nov 2016 04:17:32 +0000 (09:47 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Nov 2016 16:40:05 +0000 (08:40 -0800)
The AM571x-IDK board is a board based on TI's AM5718 SOC
which has a single core 1.5GHz A15 processor. This board is a
development platform for the Industrial market with:
- 1GB of DDR3L
- Dual 1Gbps Ethernet
- HDMI,
- PRU-ICSS
- uSD
- 16GB eMMC
- CAN
- RS-485
- PCIe
- USB3.0
- Video Input Port
- Industrial IO port and expansion connector

The link to the data sheet and TRM can be found here:

http://www.ti.com/product/AM5718

Initial support is only for basic peripherals.

Signed-off-by: Schuyler Patton <spatton@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/arm/omap/omap.txt
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/am571x-idk.dts [new file with mode: 0644]

index f53e2ee65e35f059ba2c4efa27fc69c952a464b2..6cf680ed8290de4928ff81405c955db61d290cbe 100644 (file)
@@ -175,6 +175,9 @@ Boards:
 - AM5728 IDK
   compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"
 
+- AM5718 IDK
+  compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7"
+
 - DRA742 EVM:  Software Development Board for DRA742
   compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7"
 
index 28df93f92701f6ff53e3a29203393d8c025c4994..02a0b1d01d95560c5c83540984209cab1ffbb7e1 100644 (file)
@@ -589,6 +589,7 @@ dtb-$(CONFIG_SOC_DRA7XX) += \
        am57xx-cl-som-am57x.dtb \
        am57xx-sbc-am57x.dtb \
        am572x-idk.dtb \
+       am571x-idk.dtb \
        dra7-evm.dtb \
        dra72-evm.dtb \
        dra72-evm-revc.dtb \
diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts
new file mode 100644 (file)
index 0000000..d6e43e5
--- /dev/null
@@ -0,0 +1,81 @@
+/*
+ * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+/dts-v1/;
+
+#include "dra72x.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include "am57xx-idk-common.dtsi"
+
+/ {
+       model = "TI AM5718 IDK";
+       compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x0 0x80000000 0x0 0x40000000>;
+       };
+
+       leds {
+               compatible = "gpio-leds";
+               cpu0-led {
+                       label = "status0:red:cpu0";
+                       gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
+                       default-state = "off";
+                       linux,default-trigger = "cpu0";
+               };
+
+               usr0-led {
+                       label = "status0:green:usr";
+                       gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
+                       default-state = "off";
+               };
+
+               heartbeat-led {
+                       label = "status0:blue:heartbeat";
+                       gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
+                       default-state = "off";
+                       linux,default-trigger = "heartbeat";
+               };
+
+               usr1-led {
+                       label = "status1:red:usr";
+                       gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
+                       default-state = "off";
+               };
+
+               usr2-led {
+                       label = "status1:green:usr";
+                       gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
+                       default-state = "off";
+               };
+
+               mmc0-led {
+                       label = "status1:blue:mmc0";
+                       gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
+                       default-state = "off";
+                       linux,default-trigger = "mmc0";
+               };
+       };
+
+       extcon_usb2: extcon_usb2 {
+            compatible = "linux,extcon-usb-gpio";
+            id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
+       };
+};
+
+&mmc1 {
+       status = "okay";
+       vmmc-supply = <&ldo1_reg>;
+       bus-width = <4>;
+       cd-gpios = <&gpio6 27 0>; /* gpio 219 */
+};
+
+&omap_dwc3_2 {
+       extcon = <&extcon_usb2>;
+};