Created
March 4, 2015 21:49
-
-
Save RobertCNelson/4ba4e48abbba7009a74f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2012 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. | |
*/ | |
#include <dt-bindings/board/am335x-bbw-bbb-base.h> | |
&am33xx_pinmux { | |
i2c1_pins: pinmux_i2c1_pins { | |
pinctrl-single,pins = < | |
/* spi0_d1.i2c1_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE2 */ | |
BONE_P9_18 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) | |
/* spi0_cs0.i2c1_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE2 */ | |
BONE_P9_17 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) | |
>; | |
}; | |
i2c2_pins: pinmux_i2c2_pins { | |
pinctrl-single,pins = < | |
BONE_P9_20 0x73 /* (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3) uart1_ctsn.i2c2_sda */ | |
BONE_P9_19 0x73 /* (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3) uart1_rtsn.i2c2_scl */ | |
>; | |
}; | |
}; | |
&i2c1 { | |
status = "okay"; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&i2c1_pins>; | |
clock-frequency = <100000>; | |
}; | |
&i2c2 { | |
pinctrl-names = "default"; | |
pinctrl-0 = <&i2c2_pins>; | |
status = "okay"; | |
clock-frequency = <100000>; | |
rtc@68 { | |
compatible = "maxim,ds1307"; | |
reg = <0x68>; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment