Guest User

Untitled

a guest
Nov 18th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. rom fd78824ce21d616e394887a53717ad2a4bfbbfb4 Mon Sep 17 00:00:00 2001
  2. From: Koen Kooi <koen@dominion.thruhere.net>
  3. Date: Tue, 21 Aug 2012 14:23:14 +0200
  4. Subject: [PATCH 2/2] beaglebone: add mcspi1 and mcspi2
  5.  
  6. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  7. ---
  8. arch/arm/boot/dts/am335x-bone.dts | 23 +++++++++++++++++++++++
  9. 1 files changed, 23 insertions(+), 0 deletions(-)
  10.  
  11. diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
  12. index 4f897df..99b8c9e 100644
  13. --- a/arch/arm/boot/dts/am335x-bone.dts
  14. +++ b/arch/arm/boot/dts/am335x-bone.dts
  15. @@ -30,6 +30,29 @@
  16. tps: tps@24 {
  17. reg = <0x24>;
  18. };
  19. +
  20. + };
  21. +
  22. + mcspi1: spi@48030000 {
  23. + compatible = "ti,omap2-mcspi";
  24. + #address-cells = <1>;
  25. + #size-cells = <0>;
  26. + ti,hwmods = "spi0";
  27. + ti,spi-num-cs = <4>;
  28. + };
  29. +
  30. + mcspi2: spi@481A0000 {
  31. + compatible = "ti,omap2-mcspi";
  32. + #address-cells = <1>;
  33. + #size-cells = <0>;
  34. + ti,hwmods = "spi1";
  35. + ti,spi-num-cs = <2>;
  36. +
  37. + spidev@2 {
  38. + compatible = "spidev";
  39. + spi-max-frequency = <1200000>;
  40. + reg = <0>;
  41. + };
  42. };
  43. };
  44.  
  45. --
  46. 1.7.7.6
Add Comment
Please, Sign In to add comment