1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2014 MundoReader S.L.
4 * Author: Matthias Brugger <matthias.bgg@gmail.com>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 compatible = "mediatek,mt6589";
15 interrupt-parent = <&sysirq>;
20 enable-method = "mediatek,mt6589-smp";
24 compatible = "arm,cortex-a7";
29 compatible = "arm,cortex-a7";
34 compatible = "arm,cortex-a7";
39 compatible = "arm,cortex-a7";
48 compatible = "simple-bus";
51 system_clk: dummy13m {
52 compatible = "fixed-clock";
53 clock-frequency = <13000000>;
58 compatible = "fixed-clock";
59 clock-frequency = <32000>;
64 compatible = "fixed-clock";
65 clock-frequency = <26000000>;
73 compatible = "simple-bus";
76 timer: timer@10008000 {
77 compatible = "mediatek,mt6577-timer";
78 reg = <0x10008000 0x80>;
79 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
80 clocks = <&system_clk>, <&rtc_clk>;
81 clock-names = "system-clk", "rtc-clk";
84 sysirq: interrupt-controller@10200100 {
85 compatible = "mediatek,mt6589-sysirq",
86 "mediatek,mt6577-sysirq";
88 #interrupt-cells = <3>;
89 interrupt-parent = <&gic>;
90 reg = <0x10200100 0x1c>;
93 gic: interrupt-controller@10211000 {
94 compatible = "arm,cortex-a7-gic";
96 #interrupt-cells = <3>;
97 interrupt-parent = <&gic>;
98 reg = <0x10211000 0x1000>,
104 uart0: serial@11006000 {
105 compatible = "mediatek,mt6577-uart";
106 reg = <0x11006000 0x400>;
107 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
108 clocks = <&uart_clk>;
112 uart1: serial@11007000 {
113 compatible = "mediatek,mt6577-uart";
114 reg = <0x11007000 0x400>;
115 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
116 clocks = <&uart_clk>;
120 uart2: serial@11008000 {
121 compatible = "mediatek,mt6577-uart";
122 reg = <0x11008000 0x400>;
123 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
124 clocks = <&uart_clk>;
128 uart3: serial@11009000 {
129 compatible = "mediatek,mt6577-uart";
130 reg = <0x11009000 0x400>;
131 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
132 clocks = <&uart_clk>;
136 wdt: watchdog@10000000 {
137 compatible = "mediatek,mt6589-wdt";
138 reg = <0x10000000 0x44>;