alphascale-asm9260.dtsi 1.2 KB

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