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:
Luiz Otavio O Souza 2015-02-17 19:38:16 +00:00
parent ec9d83dd9b
commit 206b8a8d5b

View File

@ -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>;