2 * Copyright (c) 2016 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,mt6755";
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";
90 compatible = "fixed-clock";
91 clock-frequency = <26000000>;
96 compatible = "arm,armv8-timer";
97 interrupt-parent = <&gic>;
98 interrupts = <GIC_PPI 13
99 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
101 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
103 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
105 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
108 sysirq: intpol-controller@10200620 {
109 compatible = "mediatek,mt6755-sysirq",
110 "mediatek,mt6577-sysirq";
111 interrupt-controller;
112 #interrupt-cells = <3>;
113 interrupt-parent = <&gic>;
114 reg = <0 0x10200620 0 0x20>;
117 gic: interrupt-controller@10231000 {
118 compatible = "arm,gic-400";
119 #interrupt-cells = <3>;
120 interrupt-parent = <&gic>;
121 interrupt-controller;
122 reg = <0 0x10231000 0 0x1000>,
123 <0 0x10232000 0 0x2000>,
124 <0 0x10234000 0 0x2000>,
125 <0 0x10236000 0 0x2000>;
128 uart0: serial@11002000 {
129 compatible = "mediatek,mt6755-uart",
130 "mediatek,mt6577-uart";
131 reg = <0 0x11002000 0 0x400>;
132 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
133 clocks = <&uart_clk>;
137 uart1: serial@11003000 {
138 compatible = "mediatek,mt6755-uart",
139 "mediatek,mt6577-uart";
140 reg = <0 0x11003000 0 0x400>;
141 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
142 clocks = <&uart_clk>;