summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2014-05-10 07:25:26 +0000
committerrpaulo <rpaulo@FreeBSD.org>2014-05-10 07:25:26 +0000
commitd8b1412072773f1197ed0764dd39ec90d8602b5d (patch)
tree0603c305c62c1b52d5c11cc20e932ae026f77493 /sys/boot
parenta063775f950a33ac537f0da88b2c64eb727332d1 (diff)
downloadFreeBSD-src-d8b1412072773f1197ed0764dd39ec90d8602b5d.zip
FreeBSD-src-d8b1412072773f1197ed0764dd39ec90d8602b5d.tar.gz
MFC r252440:
Enable the second and the third I2C controllers on Beaglebone-black.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/fdt/dts/am335x.dtsi20
-rw-r--r--sys/boot/fdt/dts/beaglebone-black.dts6
2 files changed, 26 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/am335x.dtsi b/sys/boot/fdt/dts/am335x.dtsi
index c16f039..35cecf2 100644
--- a/sys/boot/fdt/dts/am335x.dtsi
+++ b/sys/boot/fdt/dts/am335x.dtsi
@@ -210,6 +210,26 @@
i2c-device-id = <0>;
};
+ i2c1: i2c@4802a000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "ti,i2c";
+ reg =< 0x4802a000 0x1000 >;
+ interrupts = <71>;
+ interrupt-parent = <&AINTC>;
+ i2c-device-id = <1>;
+ };
+
+ i2c2: i2c@4819c000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "ti,i2c";
+ reg =< 0x4819c000 0x1000 >;
+ interrupts = <30>;
+ interrupt-parent = <&AINTC>;
+ i2c-device-id = <2>;
+ };
+
pwm@48300000 {
compatible = "ti,am335x-pwm";
#address-cells = <1>;
diff --git a/sys/boot/fdt/dts/beaglebone-black.dts b/sys/boot/fdt/dts/beaglebone-black.dts
index 026363e..2ab5066 100644
--- a/sys/boot/fdt/dts/beaglebone-black.dts
+++ b/sys/boot/fdt/dts/beaglebone-black.dts
@@ -52,6 +52,12 @@
/* I2C0 */
"I2C0_SDA", "I2C0_SDA","i2c",
"I2C0_SCL", "I2C0_SCL","i2c",
+ /* I2C1 */
+ "SPI0_D1", "I2C1_SDA", "i2c",
+ "SPI0_CS0", "I2C1_SCL", "i2c",
+ /* I2C2 */
+ "UART1_CTSn", "I2C2_SDA", "i2c",
+ "UART1_RTSn", "I2C2_SCL", "i2c",
/* Ethernet */
"MII1_RX_ER", "gmii1_rxerr", "input_pulldown",
"MII1_TX_EN", "gmii1_txen", "output",
OpenPOWER on IntegriCloud