1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2015 MediaTek Inc.
4 * Author: Mars.C <mars.cheng@mediatek.com>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 compatible = "mediatek,mt6795";
12 interrupt-parent = <&sysirq>;
17 compatible = "arm,psci-0.2";
27 compatible = "arm,cortex-a53";
28 enable-method = "psci";
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";
82 system_clk: dummy13m {
83 compatible = "fixed-clock";
84 clock-frequency = <13000000>;
89 compatible = "fixed-clock";
90 clock-frequency = <32000>;
95 compatible = "fixed-clock";
96 clock-frequency = <26000000>;
101 compatible = "arm,armv8-timer";
102 interrupt-parent = <&gic>;
103 interrupts = <GIC_PPI 13
104 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
106 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
108 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
110 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
113 sysirq: intpol-controller@10200620 {
114 compatible = "mediatek,mt6795-sysirq",
115 "mediatek,mt6577-sysirq";
116 interrupt-controller;
117 #interrupt-cells = <3>;
118 interrupt-parent = <&gic>;
119 reg = <0 0x10200620 0 0x20>;
122 gic: interrupt-controller@10221000 {
123 compatible = "arm,gic-400";
124 #interrupt-cells = <3>;
125 interrupt-parent = <&gic>;
126 interrupt-controller;
127 reg = <0 0x10221000 0 0x1000>,
128 <0 0x10222000 0 0x2000>,
129 <0 0x10224000 0 0x2000>,
130 <0 0x10226000 0 0x2000>;
133 uart0: serial@11002000 {
134 compatible = "mediatek,mt6795-uart",
135 "mediatek,mt6577-uart";
136 reg = <0 0x11002000 0 0x400>;
137 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
138 clocks = <&uart_clk>;
142 uart1: serial@11003000 {
143 compatible = "mediatek,mt6795-uart",
144 "mediatek,mt6577-uart";
145 reg = <0 0x11003000 0 0x400>;
146 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
147 clocks = <&uart_clk>;
151 uart2: serial@11004000 {
152 compatible = "mediatek,mt6795-uart",
153 "mediatek,mt6577-uart";
154 reg = <0 0x11004000 0 0x400>;
155 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>;
156 clocks = <&uart_clk>;
160 uart3: serial@11005000 {
161 compatible = "mediatek,mt6795-uart",
162 "mediatek,mt6577-uart";
163 reg = <0 0x11005000 0 0x400>;
164 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_LOW>;
165 clocks = <&uart_clk>;