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,mt8127";
21 interrupt-parent = <&sysirq>;
29 compatible = "arm,cortex-a7";
34 compatible = "arm,cortex-a7";
39 compatible = "arm,cortex-a7";
44 compatible = "arm,cortex-a7";
53 compatible = "simple-bus";
56 system_clk: dummy13m {
57 compatible = "fixed-clock";
58 clock-frequency = <13000000>;
63 compatible = "fixed-clock";
64 clock-frequency = <32000>;
69 compatible = "fixed-clock";
70 clock-frequency = <26000000>;
78 compatible = "simple-bus";
81 timer: timer@10008000 {
82 compatible = "mediatek,mt8127-timer",
83 "mediatek,mt6577-timer";
84 reg = <0 0x10008000 0 0x80>;
85 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_LOW>;
86 clocks = <&system_clk>, <&rtc_clk>;
87 clock-names = "system-clk", "rtc-clk";
90 sysirq: interrupt-controller@10200100 {
91 compatible = "mediatek,mt8127-sysirq",
92 "mediatek,mt6577-sysirq";
94 #interrupt-cells = <3>;
95 interrupt-parent = <&gic>;
96 reg = <0 0x10200100 0 0x1c>;
99 gic: interrupt-controller@10211000 {
100 compatible = "arm,cortex-a7-gic";
101 interrupt-controller;
102 #interrupt-cells = <3>;
103 interrupt-parent = <&gic>;
104 reg = <0 0x10211000 0 0x1000>,
105 <0 0x10212000 0 0x1000>,
106 <0 0x10214000 0 0x2000>,
107 <0 0x10216000 0 0x2000>;
110 uart0: serial@11002000 {
111 compatible = "mediatek,mt8127-uart","mediatek,mt6577-uart";
112 reg = <0 0x11002000 0 0x400>;
113 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
114 clocks = <&uart_clk>;
118 uart1: serial@11003000 {
119 compatible = "mediatek,mt8127-uart","mediatek,mt6577-uart";
120 reg = <0 0x11003000 0 0x400>;
121 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
122 clocks = <&uart_clk>;
126 uart2: serial@11004000 {
127 compatible = "mediatek,mt8127-uart","mediatek,mt6577-uart";
128 reg = <0 0x11004000 0 0x400>;
129 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
130 clocks = <&uart_clk>;
134 uart3: serial@11005000 {
135 compatible = "mediatek,mt8127-uart","mediatek,mt6577-uart";
136 reg = <0 0x11005000 0 0x400>;
137 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
138 clocks = <&uart_clk>;