ARM: dts: am437x-gp-evm: Enable gpio.
[deliverable/linux.git] / arch / arm / boot / dts / am437x-gp-evm.dts
CommitLineData
11e2191c
LV
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>
c540b476 15#include <dt-bindings/pwm/pwm.h>
11e2191c
LV
16
17/ {
18 model = "TI AM437x GP EVM";
19 compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";
c540b476
SP
20
21 backlight {
22 compatible = "pwm-backlight";
23 pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
24 brightness-levels = <0 51 53 56 62 75 101 152 255>;
25 default-brightness-level = <8>;
26 };
11e2191c
LV
27};
28
29&am43xx_pinmux {
30 i2c0_pins: i2c0_pins {
31 pinctrl-single,pins = <
32 0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
33 0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
34 >;
35 };
36
37 i2c1_pins: i2c1_pins {
38 pinctrl-single,pins = <
39 0x15c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */
40 0x158 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */
41 >;
42 };
c540b476
SP
43
44 ecap0_pins: backlight_pins {
45 pinctrl-single,pins = <
46 0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
47 >;
48 };
11e2191c
LV
49};
50
51&i2c0 {
52 status = "okay";
53 pinctrl-names = "default";
54 pinctrl-0 = <&i2c0_pins>;
55};
56
57&i2c1 {
58 status = "okay";
59 pinctrl-names = "default";
60 pinctrl-0 = <&i2c1_pins>;
61};
c540b476
SP
62
63&epwmss0 {
64 status = "okay";
65};
66
67&ecap0 {
68 status = "okay";
69 pinctrl-names = "default";
70 pinctrl-0 = <&ecap0_pins>;
71};
d3d46cca
SP
72
73&gpio3 {
74 status = "okay";
75};
76
77&gpio4 {
78 status = "okay";
79};
This page took 0.028087 seconds and 5 git commands to generate.