1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 #include <dt-bindings/clock/mediatek,mt7981-clk.h>
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 compatible = "mediatek,mt7981b";
8 interrupt-parent = <&gic>;
17 compatible = "arm,cortex-a53";
20 enable-method = "psci";
24 compatible = "arm,cortex-a53";
27 enable-method = "psci";
32 compatible = "fixed-clock";
33 clock-frequency = <40000000>;
34 clock-output-names = "clkxtal";
39 compatible = "arm,psci-1.0";
44 compatible = "simple-bus";
49 gic: interrupt-controller@c000000 {
50 compatible = "arm,gic-v3";
51 reg = <0 0x0c000000 0 0x40000>, /* GICD */
52 <0 0x0c080000 0 0x200000>; /* GICR */
53 interrupt-parent = <&gic>;
54 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
56 #interrupt-cells = <3>;
59 infracfg: clock-controller@10001000 {
60 compatible = "mediatek,mt7981-infracfg", "syscon";
61 reg = <0 0x10001000 0 0x1000>;
65 clock-controller@1001b000 {
66 compatible = "mediatek,mt7981-topckgen", "syscon";
67 reg = <0 0x1001b000 0 0x1000>;
71 clock-controller@1001e000 {
72 compatible = "mediatek,mt7981-apmixedsys";
73 reg = <0 0x1001e000 0 0x1000>;
78 compatible = "mediatek,mt7981-pwm";
79 reg = <0 0x10048000 0 0x1000>;
80 clocks = <&infracfg CLK_INFRA_PWM_STA>,
81 <&infracfg CLK_INFRA_PWM_HCK>,
82 <&infracfg CLK_INFRA_PWM1_CK>,
83 <&infracfg CLK_INFRA_PWM2_CK>,
84 <&infracfg CLK_INFRA_PWM3_CK>;
85 clock-names = "top", "main", "pwm1", "pwm2", "pwm3";
89 clock-controller@15000000 {
90 compatible = "mediatek,mt7981-ethsys", "syscon";
91 reg = <0 0x15000000 0 0x1000>;
98 compatible = "arm,armv8-timer";
99 interrupt-parent = <&gic>;
100 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
101 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
102 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
103 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;