summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2014-01-23 12:32:30 +0000
committerloos <loos@FreeBSD.org>2014-01-23 12:32:30 +0000
commit49a10991a21d43b461cc6ca3357c283fd6f3dd45 (patch)
tree9a4d0a28834b0220ed5a72eb1933d25f0fb482f1 /sys/boot
parentf516feec90c64635dd3f7e4c6ec41123eaa41651 (diff)
downloadFreeBSD-src-49a10991a21d43b461cc6ca3357c283fd6f3dd45.zip
FreeBSD-src-49a10991a21d43b461cc6ca3357c283fd6f3dd45.tar.gz
MFC r256959:
Add the Raspberry Pi BSC (I2C compliant) controller driver. Reviewed by: rpaulo MFC r256961: Enable the build of OFW I2C bus for FDT systems. MFC r258045: As all the IIC controllers on system uses the same 'iichb' prefix we cannot rely only on checking the device unit to indentify the BSC unit we are attaching to. Make use of the device base address to identify our BSC unit. MFC r259127: Bring the RPi I2C driver in line with ti_i2c. Make it treat any slave address as a 7-bit address. Approved by: adrian (mentor)
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/fdt/dts/bcm2835.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/bcm2835.dtsi b/sys/boot/fdt/dts/bcm2835.dtsi
index 395a442..bb30248 100644
--- a/sys/boot/fdt/dts/bcm2835.dtsi
+++ b/sys/boot/fdt/dts/bcm2835.dtsi
@@ -396,6 +396,22 @@
};
};
+ bsc0 {
+ compatible = "broadcom,bcm2835-bsc",
+ "broadcom,bcm2708-bsc";
+ reg = <0x205000 0x20>;
+ interrupts = <61>;
+ interrupt-parent = <&intc>;
+ };
+
+ bsc1 {
+ compatible = "broadcom,bcm2835-bsc",
+ "broadcom,bcm2708-bsc";
+ reg = <0x804000 0x20>;
+ interrupts = <61>;
+ interrupt-parent = <&intc>;
+ };
+
spi0 {
compatible = "broadcom,bcm2835-spi",
"broadcom,bcm2708-spi";
OpenPOWER on IntegriCloud