rtd129x.dtsi 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Realtek RTD1293/RTD1295/RTD1296 SoC
  3. *
  4. * Copyright (c) 2016-2017 Andreas Färber
  5. *
  6. * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  7. */
  8. /memreserve/ 0x0000000000000000 0x0000000000030000;
  9. /memreserve/ 0x000000000001f000 0x0000000000001000;
  10. /memreserve/ 0x0000000000030000 0x00000000000d0000;
  11. /memreserve/ 0x0000000001b00000 0x00000000004be000;
  12. /memreserve/ 0x0000000001ffe000 0x0000000000004000;
  13. #include <dt-bindings/interrupt-controller/arm-gic.h>
  14. / {
  15. interrupt-parent = <&gic>;
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. arm_pmu: arm-pmu {
  19. compatible = "arm,cortex-a53-pmu";
  20. interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  21. };
  22. soc {
  23. compatible = "simple-bus";
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. /* Exclude up to 2 GiB of RAM */
  27. ranges = <0x80000000 0x80000000 0x80000000>;
  28. uart0: serial@98007800 {
  29. compatible = "snps,dw-apb-uart";
  30. reg = <0x98007800 0x400>;
  31. reg-shift = <2>;
  32. reg-io-width = <4>;
  33. clock-frequency = <27000000>;
  34. status = "disabled";
  35. };
  36. uart1: serial@9801b200 {
  37. compatible = "snps,dw-apb-uart";
  38. reg = <0x9801b200 0x100>;
  39. reg-shift = <2>;
  40. reg-io-width = <4>;
  41. clock-frequency = <432000000>;
  42. status = "disabled";
  43. };
  44. uart2: serial@9801b400 {
  45. compatible = "snps,dw-apb-uart";
  46. reg = <0x9801b400 0x100>;
  47. reg-shift = <2>;
  48. reg-io-width = <4>;
  49. clock-frequency = <432000000>;
  50. status = "disabled";
  51. };
  52. gic: interrupt-controller@ff011000 {
  53. compatible = "arm,gic-400";
  54. reg = <0xff011000 0x1000>,
  55. <0xff012000 0x2000>,
  56. <0xff014000 0x2000>,
  57. <0xff016000 0x2000>;
  58. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  59. interrupt-controller;
  60. #interrupt-cells = <3>;
  61. };
  62. };
  63. };