sunxi.dtsi 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 = "ns8250";
  54. reg = <0x01c28000 0x400>;
  55. interrupts = <1>;
  56. reg-shift = <2>;
  57. clock-frequency = <24000000>;
  58. status = "disabled";
  59. };
  60. uart1: uart@01c28400 {
  61. compatible = "ns8250";
  62. reg = <0x01c28400 0x400>;
  63. interrupts = <2>;
  64. reg-shift = <2>;
  65. clock-frequency = <24000000>;
  66. status = "disabled";
  67. };
  68. };
  69. };