2 * Copyright (c) 2015 MediaTek Inc.
3 * Author: Mars.C <mars.cheng@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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
18 compatible = "mediatek,mt6795";
19 interrupt-parent = <&sysirq>;
24 compatible = "arm,psci-0.2";
34 compatible = "arm,cortex-a53";
35 enable-method = "psci";
41 compatible = "arm,cortex-a53";
42 enable-method = "psci";
48 compatible = "arm,cortex-a53";
49 enable-method = "psci";
55 compatible = "arm,cortex-a53";
56 enable-method = "psci";
62 compatible = "arm,cortex-a53";
63 enable-method = "psci";
69 compatible = "arm,cortex-a53";
70 enable-method = "psci";
76 compatible = "arm,cortex-a53";
77 enable-method = "psci";
83 compatible = "arm,cortex-a53";
84 enable-method = "psci";
89 system_clk: dummy13m {
90 compatible = "fixed-clock";
91 clock-frequency = <13000000>;
96 compatible = "fixed-clock";
97 clock-frequency = <32000>;
102 compatible = "fixed-clock";
103 clock-frequency = <26000000>;
108 compatible = "arm,armv8-timer";
109 interrupt-parent = <&gic>;
110 interrupts = <GIC_PPI 13
111 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
113 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
115 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
117 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
120 sysirq: intpol-controller@10200620 {
121 compatible = "mediatek,mt6795-sysirq",
122 "mediatek,mt6577-sysirq";
123 interrupt-controller;
124 #interrupt-cells = <3>;
125 interrupt-parent = <&gic>;
126 reg = <0 0x10200620 0 0x20>;
129 gic: interrupt-controller@10221000 {
130 compatible = "arm,gic-400";
131 #interrupt-cells = <3>;
132 interrupt-parent = <&gic>;
133 interrupt-controller;
134 reg = <0 0x10221000 0 0x1000>,
135 <0 0x10222000 0 0x2000>,
136 <0 0x10224000 0 0x2000>,
137 <0 0x10226000 0 0x2000>;
140 uart0: serial@11002000 {
141 compatible = "mediatek,mt6795-uart",
142 "mediatek,mt6577-uart";
143 reg = <0 0x11002000 0 0x400>;
144 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
145 clocks = <&uart_clk>;
149 uart1: serial@11003000 {
150 compatible = "mediatek,mt6795-uart",
151 "mediatek,mt6577-uart";
152 reg = <0 0x11003000 0 0x400>;
153 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
154 clocks = <&uart_clk>;
158 uart2: serial@11004000 {
159 compatible = "mediatek,mt6795-uart",
160 "mediatek,mt6577-uart";
161 reg = <0 0x11004000 0 0x400>;
162 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>;
163 clocks = <&uart_clk>;
167 uart3: serial@11005000 {
168 compatible = "mediatek,mt6795-uart",
169 "mediatek,mt6577-uart";
170 reg = <0 0x11005000 0 0x400>;
171 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_LOW>;
172 clocks = <&uart_clk>;