alphascale-asm9260.dtsi 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * Copyright 2014 Oleksij Rempel <[email protected]>
  3. *
  4. * Licensed under the X11 license or the GPL v2 (or later)
  5. */
  6. #include <dt-bindings/clock/alphascale,asm9260.h>
  7. / {
  8. #address-cells = <1>;
  9. #size-cells = <1>;
  10. interrupt-parent = <&icoll>;
  11. memory {
  12. device_type = "memory";
  13. reg = <0x20000000 0x2000000>;
  14. };
  15. cpus {
  16. #address-cells = <0>;
  17. #size-cells = <0>;
  18. cpu {
  19. compatible = "arm,arm926ej-s";
  20. device_type = "cpu";
  21. clocks = <&acc CLKID_SYS_CPU>;
  22. };
  23. };
  24. osc24m: oscillator {
  25. compatible = "fixed-clock";
  26. #clock-cells = <0>;
  27. clock-frequency = <24000000>;
  28. clock-accuracy = <30000>;
  29. };
  30. soc {
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. compatible = "simple-bus";
  34. ranges;
  35. acc: clock-controller@80040000 {
  36. compatible = "alphascale,asm9260-clock-controller";
  37. #clock-cells = <1>;
  38. clocks = <&osc24m>;
  39. reg = <0x80040000 0x204>;
  40. };
  41. icoll: interrupt-controller@80054000 {
  42. compatible = "alphascale,asm9260-icoll";
  43. interrupt-controller;
  44. #interrupt-cells = <1>;
  45. reg = <0x80054000 0x200>;
  46. };
  47. timer0: timer@80088000 {
  48. compatible = "alphascale,asm9260-timer";
  49. reg = <0x80088000 0x4000>;
  50. clocks = <&acc CLKID_AHB_TIMER0>;
  51. interrupts = <29>;
  52. };
  53. };
  54. };