0205-BCM270X_DT-Switch-Compute-Module-to-MMC.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. From 4212b2d0cd9638f926162efb7a4b3c477cfb212c Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Fri, 18 Mar 2016 13:06:29 +0000
  4. Subject: [PATCH 205/381] BCM270X_DT: Switch Compute Module to MMC
  5. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  6. ---
  7. arch/arm/boot/dts/bcm2708-rpi-cm.dtsi | 17 ++++++++---------
  8. 1 file changed, 8 insertions(+), 9 deletions(-)
  9. --- a/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
  10. +++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
  11. @@ -8,9 +8,9 @@
  12. };
  13. &gpio {
  14. - sdhost_pins: sdhost_pins {
  15. + mmc_pins: mmc_pins {
  16. brcm,pins = <48 49 50 51 52 53>;
  17. - brcm,function = <4>; /* alt0 */
  18. + brcm,function = <7>; /* alt3 */
  19. };
  20. };
  21. @@ -22,12 +22,14 @@
  22. };
  23. };
  24. -&sdhost {
  25. +
  26. +&mmc {
  27. pinctrl-names = "default";
  28. - pinctrl-0 = <&sdhost_pins>;
  29. - bus-width = <4>;
  30. + pinctrl-0 = <&mmc_pins>;
  31. non-removable;
  32. + bus-width = <4>;
  33. status = "okay";
  34. + brcm,overclock-50 = <0>;
  35. };
  36. &fb {
  37. @@ -45,9 +47,6 @@
  38. audio = <&audio>,"status";
  39. watchdog = <&watchdog>,"status";
  40. random = <&random>,"status";
  41. - sd_overclock = <&sdhost>,"brcm,overclock-50:0";
  42. - sd_force_pio = <&sdhost>,"brcm,force-pio?";
  43. - sd_pio_limit = <&sdhost>,"brcm,pio-limit:0";
  44. - sd_debug = <&sdhost>,"brcm,debug";
  45. + sd_overclock = <&mmc>,"brcm,overclock-50:0";
  46. };
  47. };