1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2014 MediaTek Inc.
4 * Author: Joe.C <yingjoe.chen@mediatek.com>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 compatible = "mediatek,mt8127";
15 interrupt-parent = <&sysirq>;
20 enable-method = "mediatek,mt81xx-tz-smp";
24 compatible = "arm,cortex-a7";
29 compatible = "arm,cortex-a7";
34 compatible = "arm,cortex-a7";
39 compatible = "arm,cortex-a7";
50 trustzone-bootinfo@80002000 {
51 compatible = "mediatek,trustzone-bootinfo";
52 reg = <0 0x80002000 0 0x1000>;
59 compatible = "simple-bus";
62 system_clk: dummy13m {
63 compatible = "fixed-clock";
64 clock-frequency = <13000000>;
69 compatible = "fixed-clock";
70 clock-frequency = <32000>;
75 compatible = "fixed-clock";
76 clock-frequency = <26000000>;
82 compatible = "arm,armv7-timer";
83 interrupt-parent = <&gic>;
84 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
86 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
88 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
90 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
92 clock-frequency = <13000000>;
93 arm,cpu-registers-not-fw-configured;
99 compatible = "simple-bus";
102 timer: timer@10008000 {
103 compatible = "mediatek,mt8127-timer",
104 "mediatek,mt6577-timer";
105 reg = <0 0x10008000 0 0x80>;
106 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_LOW>;
107 clocks = <&system_clk>, <&rtc_clk>;
108 clock-names = "system-clk", "rtc-clk";
111 sysirq: interrupt-controller@10200100 {
112 compatible = "mediatek,mt8127-sysirq",
113 "mediatek,mt6577-sysirq";
114 interrupt-controller;
115 #interrupt-cells = <3>;
116 interrupt-parent = <&gic>;
117 reg = <0 0x10200100 0 0x1c>;
120 gic: interrupt-controller@10211000 {
121 compatible = "arm,cortex-a7-gic";
122 interrupt-controller;
123 #interrupt-cells = <3>;
124 interrupt-parent = <&gic>;
125 reg = <0 0x10211000 0 0x1000>,
126 <0 0x10212000 0 0x2000>,
127 <0 0x10214000 0 0x2000>,
128 <0 0x10216000 0 0x2000>;
131 uart0: serial@11002000 {
132 compatible = "mediatek,mt8127-uart","mediatek,mt6577-uart";
133 reg = <0 0x11002000 0 0x400>;
134 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
135 clocks = <&uart_clk>;
139 uart1: serial@11003000 {
140 compatible = "mediatek,mt8127-uart","mediatek,mt6577-uart";
141 reg = <0 0x11003000 0 0x400>;
142 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
143 clocks = <&uart_clk>;
147 uart2: serial@11004000 {
148 compatible = "mediatek,mt8127-uart","mediatek,mt6577-uart";
149 reg = <0 0x11004000 0 0x400>;
150 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
151 clocks = <&uart_clk>;
155 uart3: serial@11005000 {
156 compatible = "mediatek,mt8127-uart","mediatek,mt6577-uart";
157 reg = <0 0x11005000 0 0x400>;
158 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
159 clocks = <&uart_clk>;