2
0

980-Revert-ARM-dts-BCM5301X-convert-to-iProc-QSPI.patch 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  2. Date: Fri, 29 Dec 2017 20:26:51 +0100
  3. Subject: [PATCH] Revert "ARM: dts: BCM5301X: convert to iProc QSPI"
  4. This reverts commit 1c8f4065072387d3b6ee7adcf0dbe3c7ba80c268.
  5. Signed-off-by: Rafał Miłecki <[email protected]>
  6. ---
  7. --- a/arch/arm/boot/dts/bcm5301x.dtsi
  8. +++ b/arch/arm/boot/dts/bcm5301x.dtsi
  9. @@ -337,6 +337,20 @@
  10. };
  11. };
  12. + spi@29000 {
  13. + reg = <0x00029000 0x1000>;
  14. + #address-cells = <1>;
  15. + #size-cells = <0>;
  16. +
  17. + spi_nor: spi-nor@0 {
  18. + compatible = "jedec,spi-nor";
  19. + reg = <0>;
  20. + spi-max-frequency = <20000000>;
  21. + linux,part-probe = "ofpart", "bcm47xxpart";
  22. + status = "disabled";
  23. + };
  24. + };
  25. +
  26. gmac0: ethernet@24000 {
  27. reg = <0x24000 0x800>;
  28. };
  29. @@ -425,42 +439,6 @@
  30. brcm,nand-has-wp;
  31. };
  32. - spi@18029200 {
  33. - compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi";
  34. - reg = <0x18029200 0x184>,
  35. - <0x18029000 0x124>,
  36. - <0x1811b408 0x004>,
  37. - <0x180293a0 0x01c>;
  38. - reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
  39. - interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
  40. - <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
  41. - <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
  42. - <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
  43. - <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
  44. - <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
  45. - <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
  46. - interrupt-names = "spi_lr_fullness_reached",
  47. - "spi_lr_session_aborted",
  48. - "spi_lr_impatient",
  49. - "spi_lr_session_done",
  50. - "spi_lr_overhead",
  51. - "mspi_done",
  52. - "mspi_halted";
  53. - clocks = <&iprocmed>;
  54. - clock-names = "iprocmed";
  55. - num-cs = <2>;
  56. - #address-cells = <1>;
  57. - #size-cells = <0>;
  58. -
  59. - spi_nor: spi-nor@0 {
  60. - compatible = "jedec,spi-nor";
  61. - reg = <0>;
  62. - spi-max-frequency = <20000000>;
  63. - linux,part-probe = "ofpart", "bcm47xxpart";
  64. - status = "disabled";
  65. - };
  66. - };
  67. -
  68. thermal-zones {
  69. cpu_thermal: cpu-thermal {
  70. polling-delay-passive = <0>;
  71. --- a/arch/arm/boot/dts/bcm953012k.dts
  72. +++ b/arch/arm/boot/dts/bcm953012k.dts
  73. @@ -80,32 +80,6 @@
  74. };
  75. };
  76. -&spi_nor {
  77. - status = "okay";
  78. - spi-max-frequency = <62500000>;
  79. - m25p,default-addr-width = <3>;
  80. -
  81. - #address-cells = <1>;
  82. - #size-cells = <1>;
  83. -
  84. - partition@0 {
  85. - label = "boot";
  86. - reg = <0x00000000 0x000d0000>;
  87. - };
  88. - partition@d000 {
  89. - label = "env";
  90. - reg = <0x000d0000 0x00030000>;
  91. - };
  92. - partition@100000 {
  93. - label = "system";
  94. - reg = <0x00100000 0x00600000>;
  95. - };
  96. - partition@700000 {
  97. - label = "rootfs";
  98. - reg = <0x00700000 0x00900000>;
  99. - };
  100. -};
  101. -
  102. &uart0 {
  103. status = "okay";
  104. };