1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2014 MediaTek Inc.
4 * Author: Howard Chen <ibanezchen@gmail.com>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 compatible = "mediatek,mt6592";
15 interrupt-parent = <&sysirq>;
23 compatible = "arm,cortex-a7";
28 compatible = "arm,cortex-a7";
33 compatible = "arm,cortex-a7";
38 compatible = "arm,cortex-a7";
43 compatible = "arm,cortex-a7";
48 compatible = "arm,cortex-a7";
53 compatible = "arm,cortex-a7";
58 compatible = "arm,cortex-a7";
63 system_clk: dummy13m {
64 compatible = "fixed-clock";
65 clock-frequency = <13000000>;
70 compatible = "fixed-clock";
71 clock-frequency = <32000>;
76 compatible = "fixed-clock";
77 clock-frequency = <26000000>;
81 timer: timer@10008000 {
82 compatible = "mediatek,mt6577-timer";
83 reg = <0x10008000 0x80>;
84 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
85 clocks = <&system_clk>, <&rtc_clk>;
86 clock-names = "system-clk", "rtc-clk";
89 sysirq: interrupt-controller@10200220 {
90 compatible = "mediatek,mt6592-sysirq", "mediatek,mt6577-sysirq";
92 #interrupt-cells = <3>;
93 interrupt-parent = <&gic>;
94 reg = <0x10200220 0x1c>;
97 gic: interrupt-controller@10211000 {
98 compatible = "arm,cortex-a7-gic";
100 #interrupt-cells = <3>;
101 interrupt-parent = <&gic>;
102 reg = <0x10211000 0x1000>,
106 uart0: serial@11002000 {
107 compatible = "mediatek,mt6577-uart";
108 reg = <0x11002000 0x400>;
109 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
110 clocks = <&uart_clk>;
114 uart1: serial@11003000 {
115 compatible = "mediatek,mt6577-uart";
116 reg = <0x11003000 0x400>;
117 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
118 clocks = <&uart_clk>;
122 uart2: serial@11004000 {
123 compatible = "mediatek,mt6577-uart";
124 reg = <0x11004000 0x400>;
125 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
126 clocks = <&uart_clk>;
130 uart3: serial@11005000 {
131 compatible = "mediatek,mt6577-uart";
132 reg = <0x11005000 0x400>;
133 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
134 clocks = <&uart_clk>;