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
91be33dc78
commit
2dde378283
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288311
@ -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