Commit a31ab44e authored by Stephen Warren's avatar Stephen Warren Committed by Olof Johansson

ARM: bcm2835: add missing #xxx-cells to I2C nodes

The I2C controller node needs #address-cells and #size-cells properties,
but these are currently missing. Add them. This allows child nodes to be
parsed correctly.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 192b4bcb
...@@ -85,6 +85,8 @@ i2c0: i2c@20205000 { ...@@ -85,6 +85,8 @@ i2c0: i2c@20205000 {
reg = <0x7e205000 0x1000>; reg = <0x7e205000 0x1000>;
interrupts = <2 21>; interrupts = <2 21>;
clocks = <&clk_i2c>; clocks = <&clk_i2c>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled"; status = "disabled";
}; };
...@@ -93,6 +95,8 @@ i2c1: i2c@20804000 { ...@@ -93,6 +95,8 @@ i2c1: i2c@20804000 {
reg = <0x7e804000 0x1000>; reg = <0x7e804000 0x1000>;
interrupts = <2 21>; interrupts = <2 21>;
clocks = <&clk_i2c>; clocks = <&clk_i2c>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment