]>
Commit | Line | Data |
---|---|---|
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> | |
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 | }; |