ARM: dts: AM572x-IDK Initial Support
PATCH 1/1 ARM: dts: AM572x-IDK Initial Support
From: Schuyler Patton <[email protected]>
The AM572x-IDK board is a board based on TI's AM5728 SOC which has a dual core 1.5GHz A15 processor. This board is a development platform for the Industrial market with:
- 2GB 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/AM5728
This patch creates a common dtsi file that will provide a common board dtsi file to define the nodes that are common to AM57xx (including the upcoming AM5718) IDK boards.
Initial support is only for basic peripherals
---
Based on 6f30d29c603c Add linux-next specific files for 20160324
Test log: http://pastebin.ubuntu.com/15490907/
.../devicetree/bindings/arm/omap/omap.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/am572x-idk.dts | 85 ++++++ arch/arm/boot/dts/am57xx-idk-common.dtsi | 308 +++++++++++++++++++++ 4 files changed, 397 insertions(+) create mode 100644 arch/arm/boot/dts/am572x-idk.dts create mode 100644 arch/arm/boot/dts/am57xx-idk-common.dtsi
Documentation/devicetree/bindings/arm/omap/omap.txt +3 -0
@@ -169,6 +169,9 @@ Boards: - AM57XX SBC-AM57x compatible = "compulab,sbc-am57x", "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7" +- AM5728 IDK + compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7" + - DRA742 EVM: Software Development Board for DRA742 compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7"
arch/arm/boot/dts/Makefile +1 -0
@@ -526,6 +526,7 @@ dtb-$(CONFIG_SOC_DRA7XX) += \ am57xx-beagle-x15.dtb \ am57xx-cl-som-am57x.dtb \ am57xx-sbc-am57x.dtb \ + am572x-idk.dtb \ dra7-evm.dtb \ dra72-evm.dtb dtb-$(CONFIG_ARCH_ORION5X) += \
arch/arm/boot/dts/am572x-idk.dts new file +85 -0
85 lines not on this page · raw message
arch/arm/boot/dts/am57xx-idk-common.dtsi new file +308 -0
308 lines not on this page · raw message
Signature · 1 line
2.8.0.rc3
Rob Herring
maintainerQuoted 48 lines · Nishanth Menon
From: Schuyler Patton <[email protected]>
The AM572x-IDK board is a board based on TI's AM5728 SOC which has a dual core 1.5GHz A15 processor. This board is a development platform for the Industrial market with:
- 2GB 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 connectorThe link to the data sheet and TRM can be found here:
http://www.ti.com/product/AM5728
This patch creates a common dtsi file that will provide a common board dtsi file to define the nodes that are common to AM57xx (including the upcoming AM5718) IDK boards.
Initial support is only for basic peripherals
Signed-off-by Schuyler Patton <[email protected]>Signed-off-by Nishanth Menon <[email protected]>---
Based on6f30d29c603cAdd linux-next specific files for 20160324Test log: http://pastebin.ubuntu.com/15490907/
.../devicetree/bindings/arm/omap/omap.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/am572x-idk.dts | 85 ++++++ arch/arm/boot/dts/am57xx-idk-common.dtsi | 308 +++++++++++++++++++++ 4 files changed, 397 insertions(+) create mode 100644 arch/arm/boot/dts/am572x-idk.dts create mode 100644 arch/arm/boot/dts/am57xx-idk-common.dtsiDocumentation/devicetree/bindings/arm/omap/omap.txt +0
-0
Documentation/devicetree/bindings/arm/omap/omap.txt Boards: · line 173
Quoted 5 lines
Documentation/devicetree/bindings/arm/omap/omap.txt +2
-0@@ -169,6 +169,9 @@ Boards: - AM57XX SBC-AM57x compatible = "compulab,sbc-am57x", "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7" +- AM5728 IDK + compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"
Okay, but I think the TI folks have gone a bit crazy with all these compatible strings...
Quoted 45 lines
Documentation/devicetree/bindings/arm/omap/omap.txt +1
-0+ - DRA742 EVM: Software Development Board for DRA742 compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7"arch/arm/boot/dts/Makefile +1
-0@@ -526,6 +526,7 @@ dtb-$(CONFIG_SOC_DRA7XX) += \ am57xx-beagle-x15.dtb \ am57xx-cl-som-am57x.dtb \ am57xx-sbc-am57x.dtb \ + am572x-idk.dtb \ dra7-evm.dtb \ dra72-evm.dtb dtb-$(CONFIG_ARCH_ORION5X) += \arch/arm/boot/dts/am572x-idk.dts new file +23
-0@@ -0,0 +1,85 @@ +/* + * 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 "dra74x.dtsi" +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> +#include "am57xx-idk-common.dtsi" + +/ { + model = "TI AM5728 IDK"; + compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", + "ti,dra7"; + + memory { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x80000000>;
arch/arm/boot/dts/am572x-idk.dts line 33
Quoted 10 lines
arch/arm/boot/dts/am572x-idk.dts new file +10
-0+ }; + + extcon_usb2: extcon_usb2 { + compatible = "linux,extcon-usb-gpio"; + id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>; + }; + + leds { + compatible = "gpio-leds"; + led at 0 {
Unit-address without reg is going to start warning in dtc. Use something like "cpu0-led" instead.
Quoted 2 lines · Rob Herring
Quoted 1 line · Nishanth Menon
From: Schuyler Patton <[email protected]>
[...]
Quoted 6 lines
Quoted 2 lines
+- AM5728 IDK + compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"Okay, but I think the TI folks have gone a bit crazy with all these compatible strings...
Sadly yes :( too many paper spins and trying to maintain requirements of exact match than wild cards is starting to look crazier over time :(
Quoted 6 lines
Quoted 6 lines
arch/arm/boot/dts/am572x-idk.dts new file +0
-0@@ -0,0 +1,85 @@
[...]
Quoted 7 lines
arch/arm/boot/dts/am572x-idk.dts line 33
Quoted 3 lines
arch/arm/boot/dts/am572x-idk.dts new file +3
-0+ leds { + compatible = "gpio-leds"; + led at 0 {Unit-address without reg is going to start warning in dtc. Use something like "cpu0-led" instead.
Fixed. Thanks. Updated version posted
https://patchwork.kernel.org/patch/8679861/
Signature · 2 lines
Regards, Nishanth Menon