sunxi.dtsi 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*
  2. * Copyright 2012 Maxime Ripard
  3. *
  4. * Maxime Ripard <maxime.ripard@free-electrons.com>
  5. *
  6. * The code contained herein is licensed under the GNU General Public
  7. * License. You may obtain a copy of the GNU General Public License
  8. * Version 2 or later at the following locations:
  9. *
  10. * http://www.opensource.org/licenses/gpl-license.html
  11. * http://www.gnu.org/copyleft/gpl.html
  12. */
  13. /include/ "skeleton.dtsi"
  14. / {
  15. interrupt-parent = <&intc>;
  16. cpus {
  17. cpu@0 {
  18. compatible = "arm,cortex-a8";
  19. };
  20. };
  21. clocks {
  22. #address-cells = <1>;
  23. #size-cells = <0>;
  24. osc: oscillator {
  25. #clock-cells = <0>;
  26. compatible = "fixed-clock";
  27. clock-frequency = <24000000>;
  28. };
  29. };
  30. soc {
  31. compatible = "simple-bus";
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. reg = <0x01c20000 0x300000>;
  35. ranges;
  36. timer@01c20c00 {
  37. compatible = "allwinner,sunxi-timer";
  38. reg = <0x01c20c00 0x90>;
  39. interrupts = <22>;
  40. clocks = <&osc>;
  41. };
  42. wdt: watchdog@01c20c90 {
  43. compatible = "allwinner,sunxi-wdt";
  44. reg = <0x01c20c90 0x10>;
  45. };
  46. intc: interrupt-controller@01c20400 {
  47. compatible = "allwinner,sunxi-ic";
  48. reg = <0x01c20400 0x400>;
  49. interrupt-controller;
  50. #interrupt-cells = <1>;
  51. };
  52. uart0: uart@01c28000 {
  53. compatible = "snps,dw-apb-uart";
  54. reg = <0x01c28000 0x400>;
  55. interrupts = <1>;
  56. reg-shift = <2>;
  57. reg-io-width = <4>;
  58. clock-frequency = <24000000>;
  59. status = "disabled";
  60. };
  61. uart1: uart@01c28400 {
  62. compatible = "snps,dw-apb-uart";
  63. reg = <0x01c28400 0x400>;
  64. interrupts = <2>;
  65. reg-shift = <2>;
  66. reg-io-width = <4>;
  67. clock-frequency = <24000000>;
  68. status = "disabled";
  69. };
  70. };
  71. };