047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch 1013 B

12345678910111213141516171819202122232425262728293031323334
  1. From bb097e3e00457bd69ad3a767f6b99424e2e06411 Mon Sep 17 00:00:00 2001
  2. From: Jon Mason <jonmason@broadcom.com>
  3. Date: Mon, 6 Mar 2017 11:24:45 -0500
  4. Subject: [PATCH] ARM: dts: BCM5301X: Add I2C support to the DT
  5. Add I2C support to the bcm5301x Device Tree. Since no driver changes
  6. are needed to enable this hardware, only the device tree changes are
  7. required to make this functional.
  8. Signed-off-by: Jon Mason <jonmason@broadcom.com>
  9. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  10. ---
  11. arch/arm/boot/dts/bcm5301x.dtsi | 10 ++++++++++
  12. 1 file changed, 10 insertions(+)
  13. --- a/arch/arm/boot/dts/bcm5301x.dtsi
  14. +++ b/arch/arm/boot/dts/bcm5301x.dtsi
  15. @@ -338,6 +338,16 @@
  16. };
  17. };
  18. + i2c0: i2c@18009000 {
  19. + compatible = "brcm,iproc-i2c";
  20. + reg = <0x18009000 0x50>;
  21. + interrupts = <GIC_SPI 121 IRQ_TYPE_NONE>;
  22. + #address-cells = <1>;
  23. + #size-cells = <0>;
  24. + clock-frequency = <100000>;
  25. + status = "disabled";
  26. + };
  27. +
  28. lcpll0: lcpll0@1800c100 {
  29. #clock-cells = <1>;
  30. compatible = "brcm,nsp-lcpll0";