Set the #address-cells and #size-cells for the I2C controllers in RPi2.
This allows the use of I2C addresses in 'reg' property.
This commit is contained in:
parent
ba6084f689
commit
55927c3d56
@ -379,6 +379,8 @@
|
||||
};
|
||||
|
||||
bsc0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "broadcom,bcm2835-bsc",
|
||||
"broadcom,bcm2708-bsc";
|
||||
reg = <0x205000 0x20>;
|
||||
@ -387,6 +389,8 @@
|
||||
};
|
||||
|
||||
bsc1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "broadcom,bcm2835-bsc",
|
||||
"broadcom,bcm2708-bsc";
|
||||
reg = <0x804000 0x20>;
|
||||
|
Loading…
Reference in New Issue
Block a user