1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (c) 2014 MediaTek Inc. 4*724ba675SRob Herring * Author: Howard Chen <ibanezchen@gmail.com> 5*724ba675SRob Herring * 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 9*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 10*724ba675SRob Herring 11*724ba675SRob Herring/ { 12*724ba675SRob Herring #address-cells = <1>; 13*724ba675SRob Herring #size-cells = <1>; 14*724ba675SRob Herring compatible = "mediatek,mt6592"; 15*724ba675SRob Herring interrupt-parent = <&sysirq>; 16*724ba675SRob Herring 17*724ba675SRob Herring cpus { 18*724ba675SRob Herring #address-cells = <1>; 19*724ba675SRob Herring #size-cells = <0>; 20*724ba675SRob Herring 21*724ba675SRob Herring cpu@0 { 22*724ba675SRob Herring device_type = "cpu"; 23*724ba675SRob Herring compatible = "arm,cortex-a7"; 24*724ba675SRob Herring reg = <0x0>; 25*724ba675SRob Herring }; 26*724ba675SRob Herring cpu@1 { 27*724ba675SRob Herring device_type = "cpu"; 28*724ba675SRob Herring compatible = "arm,cortex-a7"; 29*724ba675SRob Herring reg = <0x1>; 30*724ba675SRob Herring }; 31*724ba675SRob Herring cpu@2 { 32*724ba675SRob Herring device_type = "cpu"; 33*724ba675SRob Herring compatible = "arm,cortex-a7"; 34*724ba675SRob Herring reg = <0x2>; 35*724ba675SRob Herring }; 36*724ba675SRob Herring cpu@3 { 37*724ba675SRob Herring device_type = "cpu"; 38*724ba675SRob Herring compatible = "arm,cortex-a7"; 39*724ba675SRob Herring reg = <0x3>; 40*724ba675SRob Herring }; 41*724ba675SRob Herring cpu@4 { 42*724ba675SRob Herring device_type = "cpu"; 43*724ba675SRob Herring compatible = "arm,cortex-a7"; 44*724ba675SRob Herring reg = <0x4>; 45*724ba675SRob Herring }; 46*724ba675SRob Herring cpu@5 { 47*724ba675SRob Herring device_type = "cpu"; 48*724ba675SRob Herring compatible = "arm,cortex-a7"; 49*724ba675SRob Herring reg = <0x5>; 50*724ba675SRob Herring }; 51*724ba675SRob Herring cpu@6 { 52*724ba675SRob Herring device_type = "cpu"; 53*724ba675SRob Herring compatible = "arm,cortex-a7"; 54*724ba675SRob Herring reg = <0x6>; 55*724ba675SRob Herring }; 56*724ba675SRob Herring cpu@7 { 57*724ba675SRob Herring device_type = "cpu"; 58*724ba675SRob Herring compatible = "arm,cortex-a7"; 59*724ba675SRob Herring reg = <0x7>; 60*724ba675SRob Herring }; 61*724ba675SRob Herring }; 62*724ba675SRob Herring 63*724ba675SRob Herring system_clk: dummy13m { 64*724ba675SRob Herring compatible = "fixed-clock"; 65*724ba675SRob Herring clock-frequency = <13000000>; 66*724ba675SRob Herring #clock-cells = <0>; 67*724ba675SRob Herring }; 68*724ba675SRob Herring 69*724ba675SRob Herring rtc_clk: dummy32k { 70*724ba675SRob Herring compatible = "fixed-clock"; 71*724ba675SRob Herring clock-frequency = <32000>; 72*724ba675SRob Herring #clock-cells = <0>; 73*724ba675SRob Herring }; 74*724ba675SRob Herring 75*724ba675SRob Herring uart_clk: dummy26m { 76*724ba675SRob Herring compatible = "fixed-clock"; 77*724ba675SRob Herring clock-frequency = <26000000>; 78*724ba675SRob Herring #clock-cells = <0>; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring timer: timer@10008000 { 82*724ba675SRob Herring compatible = "mediatek,mt6577-timer"; 83*724ba675SRob Herring reg = <0x10008000 0x80>; 84*724ba675SRob Herring interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>; 85*724ba675SRob Herring clocks = <&system_clk>, <&rtc_clk>; 86*724ba675SRob Herring clock-names = "system-clk", "rtc-clk"; 87*724ba675SRob Herring }; 88*724ba675SRob Herring 89*724ba675SRob Herring sysirq: interrupt-controller@10200220 { 90*724ba675SRob Herring compatible = "mediatek,mt6592-sysirq", "mediatek,mt6577-sysirq"; 91*724ba675SRob Herring interrupt-controller; 92*724ba675SRob Herring #interrupt-cells = <3>; 93*724ba675SRob Herring interrupt-parent = <&gic>; 94*724ba675SRob Herring reg = <0x10200220 0x1c>; 95*724ba675SRob Herring }; 96*724ba675SRob Herring 97*724ba675SRob Herring gic: interrupt-controller@10211000 { 98*724ba675SRob Herring compatible = "arm,cortex-a7-gic"; 99*724ba675SRob Herring interrupt-controller; 100*724ba675SRob Herring #interrupt-cells = <3>; 101*724ba675SRob Herring interrupt-parent = <&gic>; 102*724ba675SRob Herring reg = <0x10211000 0x1000>, 103*724ba675SRob Herring <0x10212000 0x1000>; 104*724ba675SRob Herring }; 105*724ba675SRob Herring 106*724ba675SRob Herring uart0: serial@11002000 { 107*724ba675SRob Herring compatible = "mediatek,mt6577-uart"; 108*724ba675SRob Herring reg = <0x11002000 0x400>; 109*724ba675SRob Herring interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>; 110*724ba675SRob Herring clocks = <&uart_clk>; 111*724ba675SRob Herring status = "disabled"; 112*724ba675SRob Herring }; 113*724ba675SRob Herring 114*724ba675SRob Herring uart1: serial@11003000 { 115*724ba675SRob Herring compatible = "mediatek,mt6577-uart"; 116*724ba675SRob Herring reg = <0x11003000 0x400>; 117*724ba675SRob Herring interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>; 118*724ba675SRob Herring clocks = <&uart_clk>; 119*724ba675SRob Herring status = "disabled"; 120*724ba675SRob Herring }; 121*724ba675SRob Herring 122*724ba675SRob Herring uart2: serial@11004000 { 123*724ba675SRob Herring compatible = "mediatek,mt6577-uart"; 124*724ba675SRob Herring reg = <0x11004000 0x400>; 125*724ba675SRob Herring interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>; 126*724ba675SRob Herring clocks = <&uart_clk>; 127*724ba675SRob Herring status = "disabled"; 128*724ba675SRob Herring }; 129*724ba675SRob Herring 130*724ba675SRob Herring uart3: serial@11005000 { 131*724ba675SRob Herring compatible = "mediatek,mt6577-uart"; 132*724ba675SRob Herring reg = <0x11005000 0x400>; 133*724ba675SRob Herring interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>; 134*724ba675SRob Herring clocks = <&uart_clk>; 135*724ba675SRob Herring status = "disabled"; 136*724ba675SRob Herring }; 137*724ba675SRob Herring}; 138