bcm11351.dtsi 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /*
  2. * Copyright (C) 2012-2013 Broadcom Corporation
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License as
  6. * published by the Free Software Foundation version 2.
  7. *
  8. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  9. * kind, whether express or implied; without even the implied warranty
  10. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #include <dt-bindings/interrupt-controller/arm-gic.h>
  14. #include <dt-bindings/interrupt-controller/irq.h>
  15. #include "skeleton.dtsi"
  16. / {
  17. model = "BCM11351 SoC";
  18. compatible = "brcm,bcm11351";
  19. interrupt-parent = <&gic>;
  20. chosen {
  21. bootargs = "console=ttyS0,115200n8";
  22. };
  23. gic: interrupt-controller@3ff00100 {
  24. compatible = "arm,cortex-a9-gic";
  25. #interrupt-cells = <3>;
  26. #address-cells = <0>;
  27. interrupt-controller;
  28. reg = <0x3ff01000 0x1000>,
  29. <0x3ff00100 0x100>;
  30. };
  31. smc@0x3404c000 {
  32. compatible = "brcm,bcm11351-smc", "brcm,kona-smc";
  33. reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */
  34. };
  35. uart@3e000000 {
  36. compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
  37. status = "disabled";
  38. reg = <0x3e000000 0x1000>;
  39. clock-frequency = <13000000>;
  40. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
  41. reg-shift = <2>;
  42. reg-io-width = <4>;
  43. };
  44. uart@3e001000 {
  45. compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
  46. status = "disabled";
  47. reg = <0x3e001000 0x1000>;
  48. clock-frequency = <13000000>;
  49. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  50. reg-shift = <2>;
  51. reg-io-width = <4>;
  52. };
  53. uart@3e002000 {
  54. compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
  55. status = "disabled";
  56. reg = <0x3e002000 0x1000>;
  57. clock-frequency = <13000000>;
  58. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
  59. reg-shift = <2>;
  60. reg-io-width = <4>;
  61. };
  62. uart@3e003000 {
  63. compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
  64. status = "disabled";
  65. reg = <0x3e003000 0x1000>;
  66. clock-frequency = <13000000>;
  67. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
  68. reg-shift = <2>;
  69. reg-io-width = <4>;
  70. };
  71. L2: l2-cache {
  72. compatible = "brcm,bcm11351-a2-pl310-cache";
  73. reg = <0x3ff20000 0x1000>;
  74. cache-unified;
  75. cache-level = <2>;
  76. };
  77. watchdog@35002f40 {
  78. compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt";
  79. reg = <0x35002f40 0x6c>;
  80. };
  81. timer@35006000 {
  82. compatible = "brcm,kona-timer";
  83. reg = <0x35006000 0x1000>;
  84. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  85. clock-frequency = <32768>;
  86. };
  87. gpio: gpio@35003000 {
  88. compatible = "brcm,bcm11351-gpio", "brcm,kona-gpio";
  89. reg = <0x35003000 0x800>;
  90. interrupts =
  91. <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH
  92. GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH
  93. GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH
  94. GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
  95. GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
  96. GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
  97. #gpio-cells = <2>;
  98. #interrupt-cells = <2>;
  99. gpio-controller;
  100. interrupt-controller;
  101. };
  102. sdio1: sdio@3f180000 {
  103. compatible = "brcm,kona-sdhci";
  104. reg = <0x3f180000 0x10000>;
  105. interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
  106. status = "disabled";
  107. };
  108. sdio2: sdio@3f190000 {
  109. compatible = "brcm,kona-sdhci";
  110. reg = <0x3f190000 0x10000>;
  111. interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
  112. status = "disabled";
  113. };
  114. sdio3: sdio@3f1a0000 {
  115. compatible = "brcm,kona-sdhci";
  116. reg = <0x3f1a0000 0x10000>;
  117. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  118. status = "disabled";
  119. };
  120. sdio4: sdio@3f1b0000 {
  121. compatible = "brcm,kona-sdhci";
  122. reg = <0x3f1b0000 0x10000>;
  123. interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  124. status = "disabled";
  125. };
  126. };