2 * Copyright (c) 2014 MediaTek Inc.
3 * Author: Joe.C <yingjoe.chen@mediatek.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
17 #include "skeleton64.dtsi"
20 compatible = "mediatek,mt8135";
21 interrupt-parent = <&sysirq>;
49 compatible = "arm,cortex-a7";
55 compatible = "arm,cortex-a7";
61 compatible = "arm,cortex-a15";
67 compatible = "arm,cortex-a15";
75 compatible = "simple-bus";
78 system_clk: dummy13m {
79 compatible = "fixed-clock";
80 clock-frequency = <13000000>;
85 compatible = "fixed-clock";
86 clock-frequency = <32000>;
91 compatible = "fixed-clock";
92 clock-frequency = <26000000>;
101 compatible = "simple-bus";
104 timer: timer@10008000 {
105 compatible = "mediatek,mt8135-timer",
106 "mediatek,mt6577-timer";
107 reg = <0 0x10008000 0 0x80>;
108 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
109 clocks = <&system_clk>, <&rtc_clk>;
110 clock-names = "system-clk", "rtc-clk";
113 sysirq: interrupt-controller@10200030 {
114 compatible = "mediatek,mt8135-sysirq",
115 "mediatek,mt6577-sysirq";
116 interrupt-controller;
117 #interrupt-cells = <3>;
118 interrupt-parent = <&gic>;
119 reg = <0 0x10200030 0 0x1c>;
122 gic: interrupt-controller@10211000 {
123 compatible = "arm,cortex-a15-gic";
124 interrupt-controller;
125 #interrupt-cells = <3>;
126 interrupt-parent = <&gic>;
127 reg = <0 0x10211000 0 0x1000>,
128 <0 0x10212000 0 0x1000>,
129 <0 0x10214000 0 0x2000>,
130 <0 0x10216000 0 0x2000>;
133 uart0: serial@11006000 {
134 compatible = "mediatek,mt8135-uart","mediatek,mt6577-uart";
135 reg = <0 0x11006000 0 0x400>;
136 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
137 clocks = <&uart_clk>;
141 uart1: serial@11007000 {
142 compatible = "mediatek,mt8135-uart","mediatek,mt6577-uart";
143 reg = <0 0x11007000 0 0x400>;
144 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
145 clocks = <&uart_clk>;
149 uart2: serial@11008000 {
150 compatible = "mediatek,mt8135-uart","mediatek,mt6577-uart";
151 reg = <0 0x11008000 0 0x400>;
152 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
153 clocks = <&uart_clk>;
157 uart3: serial@11009000 {
158 compatible = "mediatek,mt8135-uart","mediatek,mt6577-uart";
159 reg = <0 0x11009000 0 0x400>;
160 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
161 clocks = <&uart_clk>;