0067-DT-Add-overrides-to-enable-i2c0-i2c1-spi-and-i2s.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From 95560180ed73193d916519d0c949cd4816138be3 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Tue, 16 Dec 2014 10:23:48 +0000
  4. Subject: [PATCH 067/114] DT: Add overrides to enable i2c0, i2c1, spi and i2s
  5. ---
  6. arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 10 ++++++++++
  7. arch/arm/boot/dts/bcm2708-rpi-b.dts | 10 ++++++++++
  8. 2 files changed, 20 insertions(+)
  9. --- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
  10. +++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
  11. @@ -79,3 +79,13 @@
  12. pinctrl-names = "default";
  13. pinctrl-0 = <&i2s_pins>;
  14. };
  15. +
  16. +
  17. +/ {
  18. + __overrides__ {
  19. + i2s = <&i2s>,"status";
  20. + spi = <&spi0>,"status";
  21. + i2c0 = <&i2c0>,"status";
  22. + i2c1 = <&i2c1>,"status";
  23. + };
  24. +};
  25. --- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
  26. +++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
  27. @@ -79,3 +79,13 @@
  28. pinctrl-names = "default";
  29. pinctrl-0 = <&i2s_pins>;
  30. };
  31. +
  32. +
  33. +/ {
  34. + __overrides__ {
  35. + i2s = <&i2s>,"status";
  36. + spi = <&spi0>,"status";
  37. + i2c0 = <&i2c0>,"status";
  38. + i2c1 = <&i2c1>,"status";
  39. + };
  40. +};