0524-BCM270X_DT-Update-CM3-to-use-sdhost-interface.patch 828 B

123456789101112131415161718192021222324252627282930313233343536
  1. From 9e4059062b23b8f220d3f5d2c317d7a96697d355 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Mon, 10 Oct 2016 15:06:20 +0100
  4. Subject: [PATCH] BCM270X_DT: Update CM3 to use sdhost interface
  5. ---
  6. arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 9 ++++-----
  7. 1 file changed, 4 insertions(+), 5 deletions(-)
  8. --- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
  9. +++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
  10. @@ -8,10 +8,9 @@
  11. };
  12. &gpio {
  13. -
  14. - mmc_pins: mmc_pins {
  15. + sdhost_pins: sdhost_pins {
  16. brcm,pins = <48 49 50 51 52 53>;
  17. - brcm,function = <7>; /* alt3 */
  18. + brcm,function = <4>; /* alt0 */
  19. brcm,pull = <0 2 2 2 2 2>;
  20. };
  21. @@ -46,9 +45,9 @@
  22. };
  23. };
  24. -&mmc {
  25. +&sdhost {
  26. pinctrl-names = "default";
  27. - pinctrl-0 = <&mmc_pins>;
  28. + pinctrl-0 = <&sdhost_pins>;
  29. non-removable;
  30. bus-width = <4>;
  31. status = "okay";