215-dt-sun4i-add-address-and-sizecells-to-i2c.patch 1001 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From 46d3d005e5f91d8221676cbb6307e790d4b63345 Mon Sep 17 00:00:00 2001
  2. From: Hans de Goede <hdegoede@redhat.com>
  3. Date: Wed, 5 Mar 2014 20:40:26 +0100
  4. Subject: [PATCH] ARM: sun4i: dt: Add address- and size-cells info to i2c
  5. controller nodes
  6. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  7. ---
  8. arch/arm/boot/dts/sun4i-a10.dtsi | 6 ++++++
  9. 1 file changed, 6 insertions(+)
  10. --- a/arch/arm/boot/dts/sun4i-a10.dtsi
  11. +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
  12. @@ -712,6 +712,8 @@
  13. clocks = <&apb1_gates 0>;
  14. clock-frequency = <100000>;
  15. status = "disabled";
  16. + #address-cells = <1>;
  17. + #size-cells = <0>;
  18. };
  19. i2c1: i2c@01c2b000 {
  20. @@ -721,6 +723,8 @@
  21. clocks = <&apb1_gates 1>;
  22. clock-frequency = <100000>;
  23. status = "disabled";
  24. + #address-cells = <1>;
  25. + #size-cells = <0>;
  26. };
  27. i2c2: i2c@01c2b400 {
  28. @@ -730,6 +734,8 @@
  29. clocks = <&apb1_gates 2>;
  30. clock-frequency = <100000>;
  31. status = "disabled";
  32. + #address-cells = <1>;
  33. + #size-cells = <0>;
  34. };
  35. };
  36. };