2 * Copyright (c) 2017 MediaTek Inc.
3 * Author: Ming Huang <ming.huang@mediatek.com>
4 * Sean Wang <sean.wang@mediatek.com>
6 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 compatible = "mediatek,mt7622";
14 interrupt-parent = <&sysirq>;
24 compatible = "arm,cortex-a53", "arm,armv8";
26 enable-method = "psci";
27 clock-frequency = <1300000000>;
32 compatible = "arm,cortex-a53", "arm,armv8";
34 enable-method = "psci";
35 clock-frequency = <1300000000>;
40 compatible = "fixed-clock";
42 clock-frequency = <25000000>;
46 compatible = "fixed-clock";
48 clock-frequency = <280000000>;
52 compatible = "arm,psci-0.2";
61 /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
62 secmon_reserved: secmon@43000000 {
63 reg = <0 0x43000000 0 0x30000>;
69 compatible = "arm,armv8-timer";
70 interrupt-parent = <&gic>;
71 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
72 IRQ_TYPE_LEVEL_HIGH)>,
73 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
74 IRQ_TYPE_LEVEL_HIGH)>,
75 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) |
76 IRQ_TYPE_LEVEL_HIGH)>,
77 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
78 IRQ_TYPE_LEVEL_HIGH)>;
81 sysirq: interrupt-controller@10200620 {
82 compatible = "mediatek,mt7622-sysirq",
83 "mediatek,mt6577-sysirq";
85 #interrupt-cells = <3>;
86 interrupt-parent = <&gic>;
87 reg = <0 0x10200620 0 0x20>;
90 gic: interrupt-controller@10300000 {
91 compatible = "arm,gic-400";
93 #interrupt-cells = <3>;
94 interrupt-parent = <&gic>;
95 reg = <0 0x10310000 0 0x1000>,
96 <0 0x10320000 0 0x1000>,
97 <0 0x10340000 0 0x2000>,
98 <0 0x10360000 0 0x2000>;
101 uart0: serial@11002000 {
102 compatible = "mediatek,mt7622-uart",
103 "mediatek,mt6577-uart";
104 reg = <0 0x11002000 0 0x400>;
105 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
106 clocks = <&uart_clk>, <&bus_clk>;
107 clock-names = "baud", "bus";