1
0

412-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. From 8137da20701c776ad3481115305a5e8e410871ba Mon Sep 17 00:00:00 2001
  2. From: Russell King <rmk+kernel@armlinux.org.uk>
  3. Date: Tue, 29 Nov 2016 10:15:45 +0000
  4. Subject: ARM: dts: armada388-clearfog: emmc on clearfog base
  5. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
  6. ---
  7. arch/arm/boot/dts/armada-388-clearfog-base.dts | 1 +
  8. .../dts/armada-38x-solidrun-microsom-emmc.dtsi | 62 ++++++++++++++++++++++
  9. 2 files changed, 63 insertions(+)
  10. create mode 100644 arch/arm/boot/dts/armada-38x-solidrun-microsom-emmc.dtsi
  11. --- a/arch/arm/boot/dts/armada-388-clearfog-base.dts
  12. +++ b/arch/arm/boot/dts/armada-388-clearfog-base.dts
  13. @@ -48,6 +48,7 @@
  14. /dts-v1/;
  15. #include "armada-388-clearfog.dtsi"
  16. +#include "armada-38x-solidrun-microsom-emmc.dtsi"
  17. / {
  18. model = "SolidRun Clearfog Base A1";
  19. --- /dev/null
  20. +++ b/arch/arm/boot/dts/armada-38x-solidrun-microsom-emmc.dtsi
  21. @@ -0,0 +1,62 @@
  22. +/*
  23. + * Device Tree file for SolidRun Armada 38x Microsom add-on for eMMC
  24. + *
  25. + * Copyright (C) 2015 Russell King
  26. + *
  27. + * This board is in development; the contents of this file work with
  28. + * the A1 rev 2.0 of the board, which does not represent final
  29. + * production board. Things will change, don't expect this file to
  30. + * remain compatible info the future.
  31. + *
  32. + * This file is dual-licensed: you can use it either under the terms
  33. + * of the GPL or the X11 license, at your option. Note that this dual
  34. + * licensing only applies to this file, and not this project as a
  35. + * whole.
  36. + *
  37. + * a) This file is free software; you can redistribute it and/or
  38. + * modify it under the terms of the GNU General Public License
  39. + * version 2 as published by the Free Software Foundation.
  40. + *
  41. + * This file is distributed in the hope that it will be useful
  42. + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  43. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  44. + * GNU General Public License for more details.
  45. + *
  46. + * Or, alternatively
  47. + *
  48. + * b) Permission is hereby granted, free of charge, to any person
  49. + * obtaining a copy of this software and associated documentation
  50. + * files (the "Software"), to deal in the Software without
  51. + * restriction, including without limitation the rights to use
  52. + * copy, modify, merge, publish, distribute, sublicense, and/or
  53. + * sell copies of the Software, and to permit persons to whom the
  54. + * Software is furnished to do so, subject to the following
  55. + * conditions:
  56. + *
  57. + * The above copyright notice and this permission notice shall be
  58. + * included in all copies or substantial portions of the Software.
  59. + *
  60. + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
  61. + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  62. + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  63. + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  64. + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
  65. + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  66. + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  67. + * OTHER DEALINGS IN THE SOFTWARE.
  68. + */
  69. +/ {
  70. + soc {
  71. + internal-regs {
  72. + sdhci@d8000 {
  73. + bus-width = <4>;
  74. + no-1-8-v;
  75. + non-removable;
  76. + pinctrl-0 = <&microsom_sdhci_pins>;
  77. + pinctrl-names = "default";
  78. + status = "okay";
  79. + wp-inverted;
  80. + };
  81. + };
  82. + };
  83. +};