sun4i-a10.dtsi 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. gpio-controller;
  22. #address-cells = <1>;
  23. #size-cells = <0>;
  24. #gpio-cells = <3>;
  25. uart0_pins_a: uart0@0 {
  26. allwinner,pins = "PB22", "PB23";
  27. allwinner,function = "uart0";
  28. allwinner,drive = <0>;
  29. allwinner,pull = <0>;
  30. };
  31. uart0_pins_b: uart0@1 {
  32. allwinner,pins = "PF2", "PF4";
  33. allwinner,function = "uart0";
  34. allwinner,drive = <0>;
  35. allwinner,pull = <0>;
  36. };
  37. uart1_pins_a: uart1@0 {
  38. allwinner,pins = "PA10", "PA11";
  39. allwinner,function = "uart1";
  40. allwinner,drive = <0>;
  41. allwinner,pull = <0>;
  42. };
  43. };
  44. uart0: serial@01c28000 {
  45. compatible = "snps,dw-apb-uart";
  46. reg = <0x01c28000 0x400>;
  47. interrupts = <1>;
  48. reg-shift = <2>;
  49. reg-io-width = <4>;
  50. clocks = <&apb1_gates 16>;
  51. status = "disabled";
  52. };
  53. uart2: serial@01c28800 {
  54. compatible = "snps,dw-apb-uart";
  55. reg = <0x01c28800 0x400>;
  56. interrupts = <3>;
  57. reg-shift = <2>;
  58. reg-io-width = <4>;
  59. clocks = <&apb1_gates 18>;
  60. status = "disabled";
  61. };
  62. uart4: serial@01c29000 {
  63. compatible = "snps,dw-apb-uart";
  64. reg = <0x01c29000 0x400>;
  65. interrupts = <17>;
  66. reg-shift = <2>;
  67. reg-io-width = <4>;
  68. clocks = <&apb1_gates 20>;
  69. status = "disabled";
  70. };
  71. uart5: serial@01c29400 {
  72. compatible = "snps,dw-apb-uart";
  73. reg = <0x01c29400 0x400>;
  74. interrupts = <18>;
  75. reg-shift = <2>;
  76. reg-io-width = <4>;
  77. clocks = <&apb1_gates 21>;
  78. status = "disabled";
  79. };
  80. uart6: serial@01c29800 {
  81. compatible = "snps,dw-apb-uart";
  82. reg = <0x01c29800 0x400>;
  83. interrupts = <19>;
  84. reg-shift = <2>;
  85. reg-io-width = <4>;
  86. clocks = <&apb1_gates 22>;
  87. status = "disabled";
  88. };
  89. uart7: serial@01c29c00 {
  90. compatible = "snps,dw-apb-uart";
  91. reg = <0x01c29c00 0x400>;
  92. interrupts = <20>;
  93. reg-shift = <2>;
  94. reg-io-width = <4>;
  95. clocks = <&apb1_gates 23>;
  96. status = "disabled";
  97. };
  98. };
  99. };