Set the #address-cells and #size-cells properties on I2C controllers of
Raspberry-pi. This fixes the issues of dtc(1) while compiling I2C addresses set in "reg" property. MFC after: 2 weeks
This commit is contained in:
parent
ec9d83dd9b
commit
206b8a8d5b
@ -397,6 +397,8 @@
|
||||
};
|
||||
|
||||
bsc0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "broadcom,bcm2835-bsc",
|
||||
"broadcom,bcm2708-bsc";
|
||||
reg = <0x205000 0x20>;
|
||||
@ -405,6 +407,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