diff options
author | gonzo <gonzo@FreeBSD.org> | 2015-09-03 02:28:18 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2015-09-03 02:28:18 +0000 |
commit | 400a10173ab74bef4f115929036ee00e4e2e2ec2 (patch) | |
tree | e6d6f525680eb325824d49346976681b9f04edb1 /sys/boot/fdt/dts | |
parent | e1ed9c825b10dd8f9c4cb08996a61232e056ab78 (diff) | |
download | FreeBSD-src-400a10173ab74bef4f115929036ee00e4e2e2ec2.zip FreeBSD-src-400a10173ab74bef4f115929036ee00e4e2e2ec2.tar.gz |
Enable both i2c1 and i2c2. These devices are disabled in TI's DTS
so they were disabled during DTS transition. Though there are
no standard devices/drivers on them people might use iic(4) userland
interface to access these buses.
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r-- | sys/boot/fdt/dts/arm/beaglebone-black.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/arm/beaglebone-black.dts b/sys/boot/fdt/dts/arm/beaglebone-black.dts index 21cbf83..d4f19b2 100644 --- a/sys/boot/fdt/dts/arm/beaglebone-black.dts +++ b/sys/boot/fdt/dts/arm/beaglebone-black.dts @@ -30,6 +30,22 @@ #include "am335x-boneblack.dts" #include "beaglebone-common.dtsi" +&am33xx_pinmux { + i2c1_pins: pinmux_i2c1_pins { + pinctrl-single,pins = < + 0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */ + 0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */ + >; + }; + + i2c2_pins: pinmux_i2c2_pins { + pinctrl-single,pins = < + 0x178 (PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_ctsn.i2c2_sda */ + 0x17c (PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_rtsn.i2c2_scl */ + >; + }; +}; + &i2c0 { tda998x: hdmi-encoder { compatible = "nxp,tda998x"; @@ -42,6 +58,20 @@ }; }; +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; + + status = "okay"; +}; + +&i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins>; + + status = "okay"; +}; + &lcdc { hdmi = <&tda998x>; }; |