bcm958522er.dts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /*
  2. * BSD LICENSE
  3. *
  4. * Copyright(c) 2016 Broadcom. All rights reserved.
  5. *
  6. * Redistribution and use in source and binary forms, with or without
  7. * modification, are permitted provided that the following conditions
  8. * are met:
  9. *
  10. * * Redistributions of source code must retain the above copyright
  11. * notice, this list of conditions and the following disclaimer.
  12. * * Redistributions in binary form must reproduce the above copyright
  13. * notice, this list of conditions and the following disclaimer in
  14. * the documentation and/or other materials provided with the
  15. * distribution.
  16. * * Neither the name of Broadcom Corporation nor the names of its
  17. * contributors may be used to endorse or promote products derived
  18. * from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. */
  32. /dts-v1/;
  33. #include "bcm-nsp.dtsi"
  34. #include <dt-bindings/gpio/gpio.h>
  35. / {
  36. model = "NorthStar Plus SVK (BCM958522ER)";
  37. compatible = "brcm,bcm58522", "brcm,nsp";
  38. aliases {
  39. serial0 = &uart0;
  40. };
  41. chosen {
  42. stdout-path = "serial0:115200n8";
  43. };
  44. memory {
  45. device_type = "memory";
  46. reg = <0x60000000 0x80000000>;
  47. };
  48. gpio-restart {
  49. compatible = "gpio-restart";
  50. gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
  51. open-source;
  52. priority = <200>;
  53. };
  54. };
  55. /* USB 2/3 support needed to be complete */
  56. &amac0 {
  57. status = "okay";
  58. };
  59. &amac1 {
  60. status = "okay";
  61. };
  62. &nand {
  63. nandcs@0 {
  64. compatible = "brcm,nandcs";
  65. reg = <0>;
  66. nand-on-flash-bbt;
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. nand-ecc-strength = <24>;
  70. nand-ecc-step-size = <1024>;
  71. brcm,nand-oob-sector-size = <27>;
  72. partition@0 {
  73. label = "nboot";
  74. reg = <0x00000000 0x00200000>;
  75. read-only;
  76. };
  77. partition@200000 {
  78. label = "nenv";
  79. reg = <0x00200000 0x00400000>;
  80. };
  81. partition@600000 {
  82. label = "nsystem";
  83. reg = <0x00600000 0x00a00000>;
  84. };
  85. partition@1000000 {
  86. label = "nrootfs";
  87. reg = <0x01000000 0x03000000>;
  88. };
  89. partition@4000000 {
  90. label = "ncustfs";
  91. reg = <0x04000000 0x3c000000>;
  92. };
  93. };
  94. };
  95. &pcie0 {
  96. status = "okay";
  97. };
  98. &pcie1 {
  99. status = "okay";
  100. };
  101. &pinctrl {
  102. pinctrl-names = "default";
  103. pinctrl-0 = <&nand_sel>;
  104. nand_sel: nand_sel {
  105. function = "nand";
  106. groups = "nand_grp";
  107. };
  108. };
  109. &uart0 {
  110. status = "okay";
  111. };