2 * Copyright (c) 2017 MediaTek Inc.
3 * Author: YT Shen <yt.shen@mediatek.com>
5 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 compatible = "mediatek,mt2712";
13 interrupt-parent = <&sysirq>;
40 compatible = "arm,cortex-a35";
46 compatible = "arm,cortex-a35";
48 enable-method = "psci";
53 compatible = "arm,cortex-a72";
55 enable-method = "psci";
60 compatible = "arm,psci-0.2";
65 compatible = "fixed-clock";
66 clock-frequency = <26000000>;
71 compatible = "fixed-clock";
72 clock-frequency = <26000000>;
77 compatible = "arm,armv8-timer";
78 interrupt-parent = <&gic>;
79 interrupts = <GIC_PPI 13
80 (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_LOW)>,
82 (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_LOW)>,
84 (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_LOW)>,
86 (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_LOW)>;
89 uart5: serial@1000f000 {
90 compatible = "mediatek,mt2712-uart",
91 "mediatek,mt6577-uart";
92 reg = <0 0x1000f000 0 0x400>;
93 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>;
94 clocks = <&baud_clk>, <&sys_clk>;
95 clock-names = "baud", "bus";
99 sysirq: interrupt-controller@10220a80 {
100 compatible = "mediatek,mt2712-sysirq",
101 "mediatek,mt6577-sysirq";
102 interrupt-controller;
103 #interrupt-cells = <3>;
104 interrupt-parent = <&gic>;
105 reg = <0 0x10220a80 0 0x40>;
108 gic: interrupt-controller@10510000 {
109 compatible = "arm,gic-400";
110 #interrupt-cells = <3>;
111 interrupt-parent = <&gic>;
112 interrupt-controller;
113 reg = <0 0x10510000 0 0x10000>,
114 <0 0x10520000 0 0x20000>,
115 <0 0x10540000 0 0x20000>,
116 <0 0x10560000 0 0x20000>;
117 interrupts = <GIC_PPI 9
118 (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_HIGH)>;
121 uart0: serial@11002000 {
122 compatible = "mediatek,mt2712-uart",
123 "mediatek,mt6577-uart";
124 reg = <0 0x11002000 0 0x400>;
125 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
126 clocks = <&baud_clk>, <&sys_clk>;
127 clock-names = "baud", "bus";
131 uart1: serial@11003000 {
132 compatible = "mediatek,mt2712-uart",
133 "mediatek,mt6577-uart";
134 reg = <0 0x11003000 0 0x400>;
135 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
136 clocks = <&baud_clk>, <&sys_clk>;
137 clock-names = "baud", "bus";
141 uart2: serial@11004000 {
142 compatible = "mediatek,mt2712-uart",
143 "mediatek,mt6577-uart";
144 reg = <0 0x11004000 0 0x400>;
145 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>;
146 clocks = <&baud_clk>, <&sys_clk>;
147 clock-names = "baud", "bus";
151 uart3: serial@11005000 {
152 compatible = "mediatek,mt2712-uart",
153 "mediatek,mt6577-uart";
154 reg = <0 0x11005000 0 0x400>;
155 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_LOW>;
156 clocks = <&baud_clk>, <&sys_clk>;
157 clock-names = "baud", "bus";
161 uart4: serial@11019000 {
162 compatible = "mediatek,mt2712-uart",
163 "mediatek,mt6577-uart";
164 reg = <0 0x11019000 0 0x400>;
165 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_LOW>;
166 clocks = <&baud_clk>, <&sys_clk>;
167 clock-names = "baud", "bus";