1// SPDX-License-Identifier: GPL-2.0-only OR MIT 2 3#include <dt-bindings/interrupt-controller/arm-gic.h> 4 5/ { 6 compatible = "mediatek,mt7988a"; 7 interrupt-parent = <&gic>; 8 #address-cells = <2>; 9 #size-cells = <2>; 10 11 cpus { 12 #address-cells = <1>; 13 #size-cells = <0>; 14 15 cpu@0 { 16 compatible = "arm,cortex-a73"; 17 reg = <0x0>; 18 device_type = "cpu"; 19 enable-method = "psci"; 20 }; 21 22 cpu@1 { 23 compatible = "arm,cortex-a73"; 24 reg = <0x1>; 25 device_type = "cpu"; 26 enable-method = "psci"; 27 }; 28 29 cpu@2 { 30 compatible = "arm,cortex-a73"; 31 reg = <0x2>; 32 device_type = "cpu"; 33 enable-method = "psci"; 34 }; 35 36 cpu@3 { 37 compatible = "arm,cortex-a73"; 38 reg = <0x3>; 39 device_type = "cpu"; 40 enable-method = "psci"; 41 }; 42 }; 43 44 oscillator-40m { 45 compatible = "fixed-clock"; 46 clock-frequency = <40000000>; 47 #clock-cells = <0>; 48 clock-output-names = "clkxtal"; 49 }; 50 51 pmu { 52 compatible = "arm,cortex-a73-pmu"; 53 interrupt-parent = <&gic>; 54 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>; 55 }; 56 57 psci { 58 compatible = "arm,psci-0.2"; 59 method = "smc"; 60 }; 61 62 soc { 63 compatible = "simple-bus"; 64 ranges; 65 #address-cells = <2>; 66 #size-cells = <2>; 67 68 gic: interrupt-controller@c000000 { 69 compatible = "arm,gic-v3"; 70 reg = <0 0x0c000000 0 0x40000>, /* GICD */ 71 <0 0x0c080000 0 0x200000>, /* GICR */ 72 <0 0x0c400000 0 0x2000>, /* GICC */ 73 <0 0x0c410000 0 0x1000>, /* GICH */ 74 <0 0x0c420000 0 0x2000>; /* GICV */ 75 interrupt-parent = <&gic>; 76 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 77 interrupt-controller; 78 #interrupt-cells = <3>; 79 }; 80 81 watchdog@1001c000 { 82 compatible = "mediatek,mt7988-wdt"; 83 reg = <0 0x1001c000 0 0x1000>; 84 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 85 #reset-cells = <1>; 86 }; 87 }; 88 89 timer { 90 compatible = "arm,armv8-timer"; 91 interrupt-parent = <&gic>; 92 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, 93 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, 94 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, 95 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; 96 }; 97}; 98