sun4i-a10.dtsi 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /*
  2. * Copyright 2012 Stefan Roese
  3. * Stefan Roese <sr@denx.de>
  4. *
  5. * The code contained herein is licensed under the GNU General Public
  6. * License. You may obtain a copy of the GNU General Public License
  7. * Version 2 or later at the following locations:
  8. *
  9. * http://www.opensource.org/licenses/gpl-license.html
  10. * http://www.gnu.org/copyleft/gpl.html
  11. */
  12. /include/ "sunxi.dtsi"
  13. / {
  14. memory {
  15. reg = <0x40000000 0x80000000>;
  16. };
  17. soc {
  18. pio: pinctrl@01c20800 {
  19. compatible = "allwinner,sun4i-a10-pinctrl";
  20. reg = <0x01c20800 0x400>;
  21. clocks = <&apb0_gates 5>;
  22. gpio-controller;
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. #gpio-cells = <3>;
  26. uart0_pins_a: uart0@0 {
  27. allwinner,pins = "PB22", "PB23";
  28. allwinner,function = "uart0";
  29. allwinner,drive = <0>;
  30. allwinner,pull = <0>;
  31. };
  32. uart0_pins_b: uart0@1 {
  33. allwinner,pins = "PF2", "PF4";
  34. allwinner,function = "uart0";
  35. allwinner,drive = <0>;
  36. allwinner,pull = <0>;
  37. };
  38. uart1_pins_a: uart1@0 {
  39. allwinner,pins = "PA10", "PA11";
  40. allwinner,function = "uart1";
  41. allwinner,drive = <0>;
  42. allwinner,pull = <0>;
  43. };
  44. };
  45. uart0: serial@01c28000 {
  46. compatible = "snps,dw-apb-uart";
  47. reg = <0x01c28000 0x400>;
  48. interrupts = <1>;
  49. reg-shift = <2>;
  50. reg-io-width = <4>;
  51. clocks = <&apb1_gates 16>;
  52. status = "disabled";
  53. };
  54. uart2: serial@01c28800 {
  55. compatible = "snps,dw-apb-uart";
  56. reg = <0x01c28800 0x400>;
  57. interrupts = <3>;
  58. reg-shift = <2>;
  59. reg-io-width = <4>;
  60. clocks = <&apb1_gates 18>;
  61. status = "disabled";
  62. };
  63. uart4: serial@01c29000 {
  64. compatible = "snps,dw-apb-uart";
  65. reg = <0x01c29000 0x400>;
  66. interrupts = <17>;
  67. reg-shift = <2>;
  68. reg-io-width = <4>;
  69. clocks = <&apb1_gates 20>;
  70. status = "disabled";
  71. };
  72. uart5: serial@01c29400 {
  73. compatible = "snps,dw-apb-uart";
  74. reg = <0x01c29400 0x400>;
  75. interrupts = <18>;
  76. reg-shift = <2>;
  77. reg-io-width = <4>;
  78. clocks = <&apb1_gates 21>;
  79. status = "disabled";
  80. };
  81. uart6: serial@01c29800 {
  82. compatible = "snps,dw-apb-uart";
  83. reg = <0x01c29800 0x400>;
  84. interrupts = <19>;
  85. reg-shift = <2>;
  86. reg-io-width = <4>;
  87. clocks = <&apb1_gates 22>;
  88. status = "disabled";
  89. };
  90. uart7: serial@01c29c00 {
  91. compatible = "snps,dw-apb-uart";
  92. reg = <0x01c29c00 0x400>;
  93. interrupts = <20>;
  94. reg-shift = <2>;
  95. reg-io-width = <4>;
  96. clocks = <&apb1_gates 23>;
  97. status = "disabled";
  98. };
  99. };
  100. };