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>
10 #include "skeleton.dtsi"
13 compatible = "mediatek,mt6589";
14 interrupt-parent = <&sysirq>;
22 compatible = "arm,cortex-a7";
27 compatible = "arm,cortex-a7";
32 compatible = "arm,cortex-a7";
37 compatible = "arm,cortex-a7";
46 compatible = "simple-bus";
49 system_clk: dummy13m {
50 compatible = "fixed-clock";
51 clock-frequency = <13000000>;
56 compatible = "fixed-clock";
57 clock-frequency = <32000>;
62 compatible = "fixed-clock";
63 clock-frequency = <26000000>;
71 compatible = "simple-bus";
74 timer: timer@10008000 {
75 compatible = "mediatek,mt6577-timer";
76 reg = <0x10008000 0x80>;
77 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
78 clocks = <&system_clk>, <&rtc_clk>;
79 clock-names = "system-clk", "rtc-clk";
82 sysirq: interrupt-controller@10200100 {
83 compatible = "mediatek,mt6589-sysirq",
84 "mediatek,mt6577-sysirq";
86 #interrupt-cells = <3>;
87 interrupt-parent = <&gic>;
88 reg = <0x10200100 0x1c>;
91 gic: interrupt-controller@10211000 {
92 compatible = "arm,cortex-a7-gic";
94 #interrupt-cells = <3>;
95 interrupt-parent = <&gic>;
96 reg = <0x10211000 0x1000>,
102 uart0: serial@11006000 {
103 compatible = "mediatek,mt6577-uart";
104 reg = <0x11006000 0x400>;
105 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
106 clocks = <&uart_clk>;
110 uart1: serial@11007000 {
111 compatible = "mediatek,mt6577-uart";
112 reg = <0x11007000 0x400>;
113 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
114 clocks = <&uart_clk>;
118 uart2: serial@11008000 {
119 compatible = "mediatek,mt6577-uart";
120 reg = <0x11008000 0x400>;
121 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
122 clocks = <&uart_clk>;
126 uart3: serial@11009000 {
127 compatible = "mediatek,mt6577-uart";
128 reg = <0x11009000 0x400>;
129 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
130 clocks = <&uart_clk>;
134 wdt: watchdog@10000000 {
135 compatible = "mediatek,mt6589-wdt";
136 reg = <0x10000000 0x44>;