1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2015 MediaTek Inc.
4 * Author: Mars.C <mars.cheng@mediatek.com>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 compatible = "mediatek,mt6580";
15 interrupt-parent = <&sysirq>;
23 compatible = "arm,cortex-a7";
28 compatible = "arm,cortex-a7";
33 compatible = "arm,cortex-a7";
38 compatible = "arm,cortex-a7";
44 system_clk: dummy13m {
45 compatible = "fixed-clock";
46 clock-frequency = <13000000>;
51 compatible = "fixed-clock";
52 clock-frequency = <32000>;
57 compatible = "fixed-clock";
58 clock-frequency = <26000000>;
62 timer: timer@10008000 {
63 compatible = "mediatek,mt6580-timer",
64 "mediatek,mt6577-timer";
65 reg = <0x10008000 0x80>;
66 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
67 clocks = <&system_clk>, <&rtc_clk>;
68 clock-names = "system-clk", "rtc-clk";
71 sysirq: interrupt-controller@10200100 {
72 compatible = "mediatek,mt6580-sysirq",
73 "mediatek,mt6577-sysirq";
75 #interrupt-cells = <3>;
76 interrupt-parent = <&gic>;
77 reg = <0x10200100 0x1c>;
80 gic: interrupt-controller@10211000 {
81 compatible = "arm,cortex-a7-gic";
83 #interrupt-cells = <3>;
84 interrupt-parent = <&gic>;
85 reg = <0x10211000 0x1000>,
91 uart0: serial@11005000 {
92 compatible = "mediatek,mt6580-uart",
93 "mediatek,mt6577-uart";
94 reg = <0x11005000 0x400>;
95 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_LOW>;
100 uart1: serial@11006000 {
101 compatible = "mediatek,mt6580-uart",
102 "mediatek,mt6577-uart";
103 reg = <0x11006000 0x400>;
104 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_LOW>;
105 clocks = <&uart_clk>;