ARM: DRA7: dts: Add the dts files for dra7 SoC and dra7-evm board
PATCH 1/1 ARM: DRA7: dts: Add the dts files for dra7 SoC and dra7-evm board
From: R Sricharan <[email protected]>
Add minimal device tree source needed for DRA7 based SoCs. Also add a board dts file for the dra7-evm (based on dra752) which contains 1.5G of memory with 1G interleaved and 512MB non-interleaved. Also added in the board file are pin configuration details for i2c, mcspi and uart devices on board.
---
Benoit, I am reposting the dts files for dra so you can pick it up for 3.12.
Rest of the core support is already pulled in by Tony.
arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/dra7-evm.dts | 140 +++++++++ arch/arm/boot/dts/dra7.dtsi | 574 +++++++++++++++++++++++++++++++++++++ include/dt-bindings/pinctrl/dra.h | 45 +++ 4 files changed, 761 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/dra7-evm.dts create mode 100644 arch/arm/boot/dts/dra7.dtsi create mode 100644 include/dt-bindings/pinctrl/dra.h
arch/arm/boot/dts/Makefile +2 -1
@@ -173,7 +173,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ am335x-bone.dtb \ am3517-evm.dtb \ am3517_mt_ventoux.dtb \ - am43x-epos-evm.dtb + am43x-epos-evm.dtb \ + dra7-evm.dtb dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \
arch/arm/boot/dts/dra7-evm.dts new file +140 -0
140 lines not on this page · raw message
arch/arm/boot/dts/dra7.dtsi new file +574 -0
574 lines not on this page · raw message
include/dt-bindings/pinctrl/dra.h new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH 1/1 ARM: DRA7: dts: Add the dts files for dra7 SoC and dra7-evm board
Quoted 15 lines · Rajendra Nayak
From: R Sricharan <[email protected]>
Add minimal device tree source needed for DRA7 based SoCs. Also add a board dts file for the dra7-evm (based on dra752) which contains 1.5G of memory with 1G interleaved and 512MB non-interleaved. Also added in the board file are pin configuration details for i2c, mcspi and uart devices on board.
Signed-off-by R Sricharan <[email protected]>Signed-off-by Rajendra Nayak <[email protected]>Signed-off-by Sourav Poddar <[email protected]>---
Benoit, I am reposting the dts files for dra so you can pick it up for 3.12.
Rest of the core support is already pulled in by Tony.
[...]
Quoted 62 lines
arch/arm/boot/dts/dra7.dtsi new file +2
-0@@ -0,0 +1,574 @@ +/* + * Copyright (C) 2013 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.
+ * Based on "omap4.dtsi"
+ */arch/arm/boot/dts/dra7.dtsi new file +41
-0+ +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/pinctrl/dra.h> + +#include "skeleton.dtsi" + +/ { + #address-cells = <1>; + #size-cells = <1>; + + compatible = "ti,dra7xx"; + interrupt-parent = <&gic>; + + aliases { + serial0 = &uart1; + serial1 = &uart2; + serial2 = &uart3; + serial3 = &uart4; + serial4 = &uart5; + serial5 = &uart6; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu at 0 { + device_type = "cpu"; + compatible = "arm,cortex-a15"; + reg = <0>; + }; + cpu at 1 { + device_type = "cpu"; + compatible = "arm,cortex-a15"; + reg = <1>; + }; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) |
IRQ_TYPE_LEVEL_LOW)>,arch/arm/boot/dts/dra7.dtsi new file +3
-0+ <GIC_PPI 14 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 11 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 10 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>;
arch/arm/boot/dts/dra7.dtsi line 62
Quoted 10 lines
arch/arm/boot/dts/dra7.dtsi new file +10
-0+ }; + + gic: interrupt-controller at 48211000 { + compatible = "arm,cortex-a15-gic"; + interrupt-controller; + #interrupt-cells = <3>; + reg = <0x48211000 0x1000>, + <0x48212000 0x1000>, + <0x48214000 0x2000>, + <0x48216000 0x2000>;
If you have the virtualization extensions, where is the maintenance interrupt?
M.
Signature · 1 line
Fast, cheap, reliable. Pick two.
PATCH 1/1 ARM: DRA7: dts: Add the dts files for dra7 SoC and dra7-evm board
Quoted 81 lines · Marc Zyngier
Quoted 15 lines · Rajendra Nayak
From: R Sricharan <[email protected]>
Add minimal device tree source needed for DRA7 based SoCs. Also add a board dts file for the dra7-evm (based on dra752) which contains 1.5G of memory with 1G interleaved and 512MB non-interleaved. Also added in the board file are pin configuration details for i2c, mcspi and uart devices on board.
Signed-off-by R Sricharan <[email protected]>Signed-off-by Rajendra Nayak <[email protected]>Signed-off-by Sourav Poddar <[email protected]>---
Benoit, I am reposting the dts files for dra so you can pick it up for 3.12.
Rest of the core support is already pulled in by Tony.[...]
Quoted 62 lines
arch/arm/boot/dts/dra7.dtsi new file +56
-0@@ -0,0 +1,574 @@ +/* + * Copyright (C) 2013 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. + * Based on "omap4.dtsi" + */ + +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/pinctrl/dra.h> + +#include "skeleton.dtsi" + +/ { + #address-cells = <1>; + #size-cells = <1>; + + compatible = "ti,dra7xx"; + interrupt-parent = <&gic>; + + aliases { + serial0 = &uart1; + serial1 = &uart2; + serial2 = &uart3; + serial3 = &uart4; + serial4 = &uart5; + serial5 = &uart6; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu at 0 { + device_type = "cpu"; + compatible = "arm,cortex-a15"; + reg = <0>; + }; + cpu at 1 { + device_type = "cpu"; + compatible = "arm,cortex-a15"; + reg = <1>; + }; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 14 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 11 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 10 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>; + }; + + gic: interrupt-controller at 48211000 { + compatible = "arm,cortex-a15-gic";
Quoted 8 lines
arch/arm/boot/dts/dra7.dtsi line 62
Quoted 6 lines
arch/arm/boot/dts/dra7.dtsi new file +6
-0+ interrupt-controller; + #interrupt-cells = <3>; + reg = <0x48211000 0x1000>, + <0x48212000 0x1000>, + <0x48214000 0x2000>, + <0x48216000 0x2000>;If you have the virtualization extensions, where is the maintenance interrupt?
missing indeed, will add. thanks.
Quoted 2 lines
M.