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>;
23 compatible = "arm,cortex-a7";
28 compatible = "arm,cortex-a7";
33 compatible = "arm,cortex-a7";
38 compatible = "arm,cortex-a7";
47 compatible = "simple-bus";
50 system_clk: dummy13m {
51 compatible = "fixed-clock";
52 clock-frequency = <13000000>;
57 compatible = "fixed-clock";
58 clock-frequency = <32000>;
63 compatible = "fixed-clock";
64 clock-frequency = <26000000>;
72 compatible = "simple-bus";
75 timer: timer@10008000 {
76 compatible = "mediatek,mt6577-timer";
77 reg = <0x10008000 0x80>;
78 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
79 clocks = <&system_clk>, <&rtc_clk>;
80 clock-names = "system-clk", "rtc-clk";
83 sysirq: interrupt-controller@10200100 {
84 compatible = "mediatek,mt6589-sysirq",
85 "mediatek,mt6577-sysirq";
87 #interrupt-cells = <3>;
88 interrupt-parent = <&gic>;
89 reg = <0x10200100 0x1c>;
92 gic: interrupt-controller@10211000 {
93 compatible = "arm,cortex-a7-gic";
95 #interrupt-cells = <3>;
96 interrupt-parent = <&gic>;
97 reg = <0x10211000 0x1000>,
103 uart0: serial@11006000 {
104 compatible = "mediatek,mt6577-uart";
105 reg = <0x11006000 0x400>;
106 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
107 clocks = <&uart_clk>;
111 uart1: serial@11007000 {
112 compatible = "mediatek,mt6577-uart";
113 reg = <0x11007000 0x400>;
114 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
115 clocks = <&uart_clk>;
119 uart2: serial@11008000 {
120 compatible = "mediatek,mt6577-uart";
121 reg = <0x11008000 0x400>;
122 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
123 clocks = <&uart_clk>;
127 uart3: serial@11009000 {
128 compatible = "mediatek,mt6577-uart";
129 reg = <0x11009000 0x400>;
130 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
131 clocks = <&uart_clk>;
135 wdt: watchdog@10000000 {
136 compatible = "mediatek,mt6589-wdt";
137 reg = <0x10000000 0x44>;