diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2013-12-19 07:33:38 -0500 |
---|---|---|
committer | Benoit Cousson <bcousson@baylibre.com> | 2014-03-02 12:37:41 -0500 |
commit | 11e2191c2a6f5dd65b0628655936a3007d037540 (patch) | |
tree | eda155a8cddb89b206fbbc06265553db3010e1f5 | |
parent | 416f3d508e5bb23583f7a2c17fcc2efb5b1b9369 (diff) |
ARM: dts: am437x-gp-evm: Add gp dts.
AM437x GP EVM DTS with pinmux information to make I2C on
EVM usable.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
-rw-r--r-- | Documentation/devicetree/bindings/arm/omap/omap.txt | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/am437x-gp-evm.dts | 47 |
3 files changed, 51 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt index 34dc40cffdfd..45dbe4e901b2 100644 --- a/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt | |||
@@ -114,5 +114,8 @@ Boards: | |||
114 | - AM43x EPOS EVM | 114 | - AM43x EPOS EVM |
115 | compatible = "ti,am43x-epos-evm", "ti,am4372", "ti,am43" | 115 | compatible = "ti,am43x-epos-evm", "ti,am4372", "ti,am43" |
116 | 116 | ||
117 | - AM437x GP EVM | ||
118 | compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43" | ||
119 | |||
117 | - DRA7 EVM: Software Developement Board for DRA7XX | 120 | - DRA7 EVM: Software Developement Board for DRA7XX |
118 | compatible = "ti,dra7-evm", "ti,dra7" | 121 | compatible = "ti,dra7-evm", "ti,dra7" |
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 695bed81c646..bbe7a45b0b8e 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -231,6 +231,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ | |||
231 | am3517-evm.dtb \ | 231 | am3517-evm.dtb \ |
232 | am3517_mt_ventoux.dtb \ | 232 | am3517_mt_ventoux.dtb \ |
233 | am43x-epos-evm.dtb \ | 233 | am43x-epos-evm.dtb \ |
234 | am437x-gp-evm.dtb \ | ||
234 | dra7-evm.dtb | 235 | dra7-evm.dtb |
235 | dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb | 236 | dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb |
236 | dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb | 237 | dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb |
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts new file mode 100644 index 000000000000..11d93bac96ad --- /dev/null +++ b/arch/arm/boot/dts/am437x-gp-evm.dts | |||
@@ -0,0 +1,47 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 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 | /* AM437x GP EVM */ | ||
10 | |||
11 | /dts-v1/; | ||
12 | |||
13 | #include "am4372.dtsi" | ||
14 | #include <dt-bindings/pinctrl/am43xx.h> | ||
15 | |||
16 | / { | ||
17 | model = "TI AM437x GP EVM"; | ||
18 | compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; | ||
19 | }; | ||
20 | |||
21 | &am43xx_pinmux { | ||
22 | i2c0_pins: i2c0_pins { | ||
23 | pinctrl-single,pins = < | ||
24 | 0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */ | ||
25 | 0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */ | ||
26 | >; | ||
27 | }; | ||
28 | |||
29 | i2c1_pins: i2c1_pins { | ||
30 | pinctrl-single,pins = < | ||
31 | 0x15c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */ | ||
32 | 0x158 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */ | ||
33 | >; | ||
34 | }; | ||
35 | }; | ||
36 | |||
37 | &i2c0 { | ||
38 | status = "okay"; | ||
39 | pinctrl-names = "default"; | ||
40 | pinctrl-0 = <&i2c0_pins>; | ||
41 | }; | ||
42 | |||
43 | &i2c1 { | ||
44 | status = "okay"; | ||
45 | pinctrl-names = "default"; | ||
46 | pinctrl-0 = <&i2c1_pins>; | ||
47 | }; | ||