18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0 OR MIT) 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2018 MediaTek Inc. 48c2ecf20Sopenharmony_ci * Author: Ben Ho <ben.ho@mediatek.com> 58c2ecf20Sopenharmony_ci * Erin Lo <erin.lo@mediatek.com> 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#include <dt-bindings/clock/mt8183-clk.h> 98c2ecf20Sopenharmony_ci#include <dt-bindings/interrupt-controller/arm-gic.h> 108c2ecf20Sopenharmony_ci#include <dt-bindings/interrupt-controller/irq.h> 118c2ecf20Sopenharmony_ci#include <dt-bindings/reset-controller/mt8183-resets.h> 128c2ecf20Sopenharmony_ci#include <dt-bindings/phy/phy.h> 138c2ecf20Sopenharmony_ci#include "mt8183-pinfunc.h" 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci/ { 168c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183"; 178c2ecf20Sopenharmony_ci interrupt-parent = <&sysirq>; 188c2ecf20Sopenharmony_ci #address-cells = <2>; 198c2ecf20Sopenharmony_ci #size-cells = <2>; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci aliases { 228c2ecf20Sopenharmony_ci i2c0 = &i2c0; 238c2ecf20Sopenharmony_ci i2c1 = &i2c1; 248c2ecf20Sopenharmony_ci i2c2 = &i2c2; 258c2ecf20Sopenharmony_ci i2c3 = &i2c3; 268c2ecf20Sopenharmony_ci i2c4 = &i2c4; 278c2ecf20Sopenharmony_ci i2c5 = &i2c5; 288c2ecf20Sopenharmony_ci i2c6 = &i2c6; 298c2ecf20Sopenharmony_ci i2c7 = &i2c7; 308c2ecf20Sopenharmony_ci i2c8 = &i2c8; 318c2ecf20Sopenharmony_ci i2c9 = &i2c9; 328c2ecf20Sopenharmony_ci i2c10 = &i2c10; 338c2ecf20Sopenharmony_ci i2c11 = &i2c11; 348c2ecf20Sopenharmony_ci }; 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci cpus { 378c2ecf20Sopenharmony_ci #address-cells = <1>; 388c2ecf20Sopenharmony_ci #size-cells = <0>; 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci cpu-map { 418c2ecf20Sopenharmony_ci cluster0 { 428c2ecf20Sopenharmony_ci core0 { 438c2ecf20Sopenharmony_ci cpu = <&cpu0>; 448c2ecf20Sopenharmony_ci }; 458c2ecf20Sopenharmony_ci core1 { 468c2ecf20Sopenharmony_ci cpu = <&cpu1>; 478c2ecf20Sopenharmony_ci }; 488c2ecf20Sopenharmony_ci core2 { 498c2ecf20Sopenharmony_ci cpu = <&cpu2>; 508c2ecf20Sopenharmony_ci }; 518c2ecf20Sopenharmony_ci core3 { 528c2ecf20Sopenharmony_ci cpu = <&cpu3>; 538c2ecf20Sopenharmony_ci }; 548c2ecf20Sopenharmony_ci }; 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci cluster1 { 578c2ecf20Sopenharmony_ci core0 { 588c2ecf20Sopenharmony_ci cpu = <&cpu4>; 598c2ecf20Sopenharmony_ci }; 608c2ecf20Sopenharmony_ci core1 { 618c2ecf20Sopenharmony_ci cpu = <&cpu5>; 628c2ecf20Sopenharmony_ci }; 638c2ecf20Sopenharmony_ci core2 { 648c2ecf20Sopenharmony_ci cpu = <&cpu6>; 658c2ecf20Sopenharmony_ci }; 668c2ecf20Sopenharmony_ci core3 { 678c2ecf20Sopenharmony_ci cpu = <&cpu7>; 688c2ecf20Sopenharmony_ci }; 698c2ecf20Sopenharmony_ci }; 708c2ecf20Sopenharmony_ci }; 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ci cpu0: cpu@0 { 738c2ecf20Sopenharmony_ci device_type = "cpu"; 748c2ecf20Sopenharmony_ci compatible = "arm,cortex-a53"; 758c2ecf20Sopenharmony_ci reg = <0x000>; 768c2ecf20Sopenharmony_ci enable-method = "psci"; 778c2ecf20Sopenharmony_ci capacity-dmips-mhz = <741>; 788c2ecf20Sopenharmony_ci cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP0>; 798c2ecf20Sopenharmony_ci dynamic-power-coefficient = <84>; 808c2ecf20Sopenharmony_ci #cooling-cells = <2>; 818c2ecf20Sopenharmony_ci }; 828c2ecf20Sopenharmony_ci 838c2ecf20Sopenharmony_ci cpu1: cpu@1 { 848c2ecf20Sopenharmony_ci device_type = "cpu"; 858c2ecf20Sopenharmony_ci compatible = "arm,cortex-a53"; 868c2ecf20Sopenharmony_ci reg = <0x001>; 878c2ecf20Sopenharmony_ci enable-method = "psci"; 888c2ecf20Sopenharmony_ci capacity-dmips-mhz = <741>; 898c2ecf20Sopenharmony_ci cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP0>; 908c2ecf20Sopenharmony_ci dynamic-power-coefficient = <84>; 918c2ecf20Sopenharmony_ci #cooling-cells = <2>; 928c2ecf20Sopenharmony_ci }; 938c2ecf20Sopenharmony_ci 948c2ecf20Sopenharmony_ci cpu2: cpu@2 { 958c2ecf20Sopenharmony_ci device_type = "cpu"; 968c2ecf20Sopenharmony_ci compatible = "arm,cortex-a53"; 978c2ecf20Sopenharmony_ci reg = <0x002>; 988c2ecf20Sopenharmony_ci enable-method = "psci"; 998c2ecf20Sopenharmony_ci capacity-dmips-mhz = <741>; 1008c2ecf20Sopenharmony_ci cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP0>; 1018c2ecf20Sopenharmony_ci dynamic-power-coefficient = <84>; 1028c2ecf20Sopenharmony_ci #cooling-cells = <2>; 1038c2ecf20Sopenharmony_ci }; 1048c2ecf20Sopenharmony_ci 1058c2ecf20Sopenharmony_ci cpu3: cpu@3 { 1068c2ecf20Sopenharmony_ci device_type = "cpu"; 1078c2ecf20Sopenharmony_ci compatible = "arm,cortex-a53"; 1088c2ecf20Sopenharmony_ci reg = <0x003>; 1098c2ecf20Sopenharmony_ci enable-method = "psci"; 1108c2ecf20Sopenharmony_ci capacity-dmips-mhz = <741>; 1118c2ecf20Sopenharmony_ci cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP0>; 1128c2ecf20Sopenharmony_ci dynamic-power-coefficient = <84>; 1138c2ecf20Sopenharmony_ci #cooling-cells = <2>; 1148c2ecf20Sopenharmony_ci }; 1158c2ecf20Sopenharmony_ci 1168c2ecf20Sopenharmony_ci cpu4: cpu@100 { 1178c2ecf20Sopenharmony_ci device_type = "cpu"; 1188c2ecf20Sopenharmony_ci compatible = "arm,cortex-a73"; 1198c2ecf20Sopenharmony_ci reg = <0x100>; 1208c2ecf20Sopenharmony_ci enable-method = "psci"; 1218c2ecf20Sopenharmony_ci capacity-dmips-mhz = <1024>; 1228c2ecf20Sopenharmony_ci cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP1>; 1238c2ecf20Sopenharmony_ci dynamic-power-coefficient = <211>; 1248c2ecf20Sopenharmony_ci #cooling-cells = <2>; 1258c2ecf20Sopenharmony_ci }; 1268c2ecf20Sopenharmony_ci 1278c2ecf20Sopenharmony_ci cpu5: cpu@101 { 1288c2ecf20Sopenharmony_ci device_type = "cpu"; 1298c2ecf20Sopenharmony_ci compatible = "arm,cortex-a73"; 1308c2ecf20Sopenharmony_ci reg = <0x101>; 1318c2ecf20Sopenharmony_ci enable-method = "psci"; 1328c2ecf20Sopenharmony_ci capacity-dmips-mhz = <1024>; 1338c2ecf20Sopenharmony_ci cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP1>; 1348c2ecf20Sopenharmony_ci dynamic-power-coefficient = <211>; 1358c2ecf20Sopenharmony_ci #cooling-cells = <2>; 1368c2ecf20Sopenharmony_ci }; 1378c2ecf20Sopenharmony_ci 1388c2ecf20Sopenharmony_ci cpu6: cpu@102 { 1398c2ecf20Sopenharmony_ci device_type = "cpu"; 1408c2ecf20Sopenharmony_ci compatible = "arm,cortex-a73"; 1418c2ecf20Sopenharmony_ci reg = <0x102>; 1428c2ecf20Sopenharmony_ci enable-method = "psci"; 1438c2ecf20Sopenharmony_ci capacity-dmips-mhz = <1024>; 1448c2ecf20Sopenharmony_ci cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP1>; 1458c2ecf20Sopenharmony_ci dynamic-power-coefficient = <211>; 1468c2ecf20Sopenharmony_ci #cooling-cells = <2>; 1478c2ecf20Sopenharmony_ci }; 1488c2ecf20Sopenharmony_ci 1498c2ecf20Sopenharmony_ci cpu7: cpu@103 { 1508c2ecf20Sopenharmony_ci device_type = "cpu"; 1518c2ecf20Sopenharmony_ci compatible = "arm,cortex-a73"; 1528c2ecf20Sopenharmony_ci reg = <0x103>; 1538c2ecf20Sopenharmony_ci enable-method = "psci"; 1548c2ecf20Sopenharmony_ci capacity-dmips-mhz = <1024>; 1558c2ecf20Sopenharmony_ci cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP1>; 1568c2ecf20Sopenharmony_ci dynamic-power-coefficient = <211>; 1578c2ecf20Sopenharmony_ci #cooling-cells = <2>; 1588c2ecf20Sopenharmony_ci }; 1598c2ecf20Sopenharmony_ci 1608c2ecf20Sopenharmony_ci idle-states { 1618c2ecf20Sopenharmony_ci entry-method = "psci"; 1628c2ecf20Sopenharmony_ci 1638c2ecf20Sopenharmony_ci CPU_SLEEP: cpu-sleep { 1648c2ecf20Sopenharmony_ci compatible = "arm,idle-state"; 1658c2ecf20Sopenharmony_ci local-timer-stop; 1668c2ecf20Sopenharmony_ci arm,psci-suspend-param = <0x00010001>; 1678c2ecf20Sopenharmony_ci entry-latency-us = <200>; 1688c2ecf20Sopenharmony_ci exit-latency-us = <200>; 1698c2ecf20Sopenharmony_ci min-residency-us = <800>; 1708c2ecf20Sopenharmony_ci }; 1718c2ecf20Sopenharmony_ci 1728c2ecf20Sopenharmony_ci CLUSTER_SLEEP0: cluster-sleep-0 { 1738c2ecf20Sopenharmony_ci compatible = "arm,idle-state"; 1748c2ecf20Sopenharmony_ci local-timer-stop; 1758c2ecf20Sopenharmony_ci arm,psci-suspend-param = <0x01010001>; 1768c2ecf20Sopenharmony_ci entry-latency-us = <250>; 1778c2ecf20Sopenharmony_ci exit-latency-us = <400>; 1788c2ecf20Sopenharmony_ci min-residency-us = <1000>; 1798c2ecf20Sopenharmony_ci }; 1808c2ecf20Sopenharmony_ci CLUSTER_SLEEP1: cluster-sleep-1 { 1818c2ecf20Sopenharmony_ci compatible = "arm,idle-state"; 1828c2ecf20Sopenharmony_ci local-timer-stop; 1838c2ecf20Sopenharmony_ci arm,psci-suspend-param = <0x01010001>; 1848c2ecf20Sopenharmony_ci entry-latency-us = <250>; 1858c2ecf20Sopenharmony_ci exit-latency-us = <400>; 1868c2ecf20Sopenharmony_ci min-residency-us = <1300>; 1878c2ecf20Sopenharmony_ci }; 1888c2ecf20Sopenharmony_ci }; 1898c2ecf20Sopenharmony_ci }; 1908c2ecf20Sopenharmony_ci 1918c2ecf20Sopenharmony_ci pmu-a53 { 1928c2ecf20Sopenharmony_ci compatible = "arm,cortex-a53-pmu"; 1938c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 1948c2ecf20Sopenharmony_ci interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster0>; 1958c2ecf20Sopenharmony_ci }; 1968c2ecf20Sopenharmony_ci 1978c2ecf20Sopenharmony_ci pmu-a73 { 1988c2ecf20Sopenharmony_ci compatible = "arm,cortex-a73-pmu"; 1998c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 2008c2ecf20Sopenharmony_ci interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster1>; 2018c2ecf20Sopenharmony_ci }; 2028c2ecf20Sopenharmony_ci 2038c2ecf20Sopenharmony_ci psci { 2048c2ecf20Sopenharmony_ci compatible = "arm,psci-1.0"; 2058c2ecf20Sopenharmony_ci method = "smc"; 2068c2ecf20Sopenharmony_ci }; 2078c2ecf20Sopenharmony_ci 2088c2ecf20Sopenharmony_ci clk13m: fixed-factor-clock-13m { 2098c2ecf20Sopenharmony_ci compatible = "fixed-factor-clock"; 2108c2ecf20Sopenharmony_ci #clock-cells = <0>; 2118c2ecf20Sopenharmony_ci clocks = <&clk26m>; 2128c2ecf20Sopenharmony_ci clock-div = <2>; 2138c2ecf20Sopenharmony_ci clock-mult = <1>; 2148c2ecf20Sopenharmony_ci clock-output-names = "clk13m"; 2158c2ecf20Sopenharmony_ci }; 2168c2ecf20Sopenharmony_ci 2178c2ecf20Sopenharmony_ci clk26m: oscillator { 2188c2ecf20Sopenharmony_ci compatible = "fixed-clock"; 2198c2ecf20Sopenharmony_ci #clock-cells = <0>; 2208c2ecf20Sopenharmony_ci clock-frequency = <26000000>; 2218c2ecf20Sopenharmony_ci clock-output-names = "clk26m"; 2228c2ecf20Sopenharmony_ci }; 2238c2ecf20Sopenharmony_ci 2248c2ecf20Sopenharmony_ci timer { 2258c2ecf20Sopenharmony_ci compatible = "arm,armv8-timer"; 2268c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 2278c2ecf20Sopenharmony_ci interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>, 2288c2ecf20Sopenharmony_ci <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>, 2298c2ecf20Sopenharmony_ci <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>, 2308c2ecf20Sopenharmony_ci <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>; 2318c2ecf20Sopenharmony_ci }; 2328c2ecf20Sopenharmony_ci 2338c2ecf20Sopenharmony_ci soc { 2348c2ecf20Sopenharmony_ci #address-cells = <2>; 2358c2ecf20Sopenharmony_ci #size-cells = <2>; 2368c2ecf20Sopenharmony_ci compatible = "simple-bus"; 2378c2ecf20Sopenharmony_ci ranges; 2388c2ecf20Sopenharmony_ci 2398c2ecf20Sopenharmony_ci soc_data: soc_data@8000000 { 2408c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-efuse", 2418c2ecf20Sopenharmony_ci "mediatek,efuse"; 2428c2ecf20Sopenharmony_ci reg = <0 0x08000000 0 0x0010>; 2438c2ecf20Sopenharmony_ci #address-cells = <1>; 2448c2ecf20Sopenharmony_ci #size-cells = <1>; 2458c2ecf20Sopenharmony_ci status = "disabled"; 2468c2ecf20Sopenharmony_ci }; 2478c2ecf20Sopenharmony_ci 2488c2ecf20Sopenharmony_ci gic: interrupt-controller@c000000 { 2498c2ecf20Sopenharmony_ci compatible = "arm,gic-v3"; 2508c2ecf20Sopenharmony_ci #interrupt-cells = <4>; 2518c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 2528c2ecf20Sopenharmony_ci interrupt-controller; 2538c2ecf20Sopenharmony_ci reg = <0 0x0c000000 0 0x40000>, /* GICD */ 2548c2ecf20Sopenharmony_ci <0 0x0c100000 0 0x200000>, /* GICR */ 2558c2ecf20Sopenharmony_ci <0 0x0c400000 0 0x2000>, /* GICC */ 2568c2ecf20Sopenharmony_ci <0 0x0c410000 0 0x1000>, /* GICH */ 2578c2ecf20Sopenharmony_ci <0 0x0c420000 0 0x2000>; /* GICV */ 2588c2ecf20Sopenharmony_ci 2598c2ecf20Sopenharmony_ci interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>; 2608c2ecf20Sopenharmony_ci ppi-partitions { 2618c2ecf20Sopenharmony_ci ppi_cluster0: interrupt-partition-0 { 2628c2ecf20Sopenharmony_ci affinity = <&cpu0 &cpu1 &cpu2 &cpu3>; 2638c2ecf20Sopenharmony_ci }; 2648c2ecf20Sopenharmony_ci ppi_cluster1: interrupt-partition-1 { 2658c2ecf20Sopenharmony_ci affinity = <&cpu4 &cpu5 &cpu6 &cpu7>; 2668c2ecf20Sopenharmony_ci }; 2678c2ecf20Sopenharmony_ci }; 2688c2ecf20Sopenharmony_ci }; 2698c2ecf20Sopenharmony_ci 2708c2ecf20Sopenharmony_ci mcucfg: syscon@c530000 { 2718c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-mcucfg", "syscon"; 2728c2ecf20Sopenharmony_ci reg = <0 0x0c530000 0 0x1000>; 2738c2ecf20Sopenharmony_ci #clock-cells = <1>; 2748c2ecf20Sopenharmony_ci }; 2758c2ecf20Sopenharmony_ci 2768c2ecf20Sopenharmony_ci sysirq: interrupt-controller@c530a80 { 2778c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-sysirq", 2788c2ecf20Sopenharmony_ci "mediatek,mt6577-sysirq"; 2798c2ecf20Sopenharmony_ci interrupt-controller; 2808c2ecf20Sopenharmony_ci #interrupt-cells = <3>; 2818c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 2828c2ecf20Sopenharmony_ci reg = <0 0x0c530a80 0 0x50>; 2838c2ecf20Sopenharmony_ci }; 2848c2ecf20Sopenharmony_ci 2858c2ecf20Sopenharmony_ci topckgen: syscon@10000000 { 2868c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-topckgen", "syscon"; 2878c2ecf20Sopenharmony_ci reg = <0 0x10000000 0 0x1000>; 2888c2ecf20Sopenharmony_ci #clock-cells = <1>; 2898c2ecf20Sopenharmony_ci }; 2908c2ecf20Sopenharmony_ci 2918c2ecf20Sopenharmony_ci infracfg: syscon@10001000 { 2928c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-infracfg", "syscon"; 2938c2ecf20Sopenharmony_ci reg = <0 0x10001000 0 0x1000>; 2948c2ecf20Sopenharmony_ci #clock-cells = <1>; 2958c2ecf20Sopenharmony_ci #reset-cells = <1>; 2968c2ecf20Sopenharmony_ci }; 2978c2ecf20Sopenharmony_ci 2988c2ecf20Sopenharmony_ci pericfg: syscon@10003000 { 2998c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-pericfg", "syscon"; 3008c2ecf20Sopenharmony_ci reg = <0 0x10003000 0 0x1000>; 3018c2ecf20Sopenharmony_ci #clock-cells = <1>; 3028c2ecf20Sopenharmony_ci }; 3038c2ecf20Sopenharmony_ci 3048c2ecf20Sopenharmony_ci pio: pinctrl@10005000 { 3058c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-pinctrl"; 3068c2ecf20Sopenharmony_ci reg = <0 0x10005000 0 0x1000>, 3078c2ecf20Sopenharmony_ci <0 0x11f20000 0 0x1000>, 3088c2ecf20Sopenharmony_ci <0 0x11e80000 0 0x1000>, 3098c2ecf20Sopenharmony_ci <0 0x11e70000 0 0x1000>, 3108c2ecf20Sopenharmony_ci <0 0x11e90000 0 0x1000>, 3118c2ecf20Sopenharmony_ci <0 0x11d30000 0 0x1000>, 3128c2ecf20Sopenharmony_ci <0 0x11d20000 0 0x1000>, 3138c2ecf20Sopenharmony_ci <0 0x11c50000 0 0x1000>, 3148c2ecf20Sopenharmony_ci <0 0x11f30000 0 0x1000>, 3158c2ecf20Sopenharmony_ci <0 0x1000b000 0 0x1000>; 3168c2ecf20Sopenharmony_ci reg-names = "iocfg0", "iocfg1", "iocfg2", 3178c2ecf20Sopenharmony_ci "iocfg3", "iocfg4", "iocfg5", 3188c2ecf20Sopenharmony_ci "iocfg6", "iocfg7", "iocfg8", 3198c2ecf20Sopenharmony_ci "eint"; 3208c2ecf20Sopenharmony_ci gpio-controller; 3218c2ecf20Sopenharmony_ci #gpio-cells = <2>; 3228c2ecf20Sopenharmony_ci gpio-ranges = <&pio 0 0 192>; 3238c2ecf20Sopenharmony_ci interrupt-controller; 3248c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; 3258c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 3268c2ecf20Sopenharmony_ci }; 3278c2ecf20Sopenharmony_ci 3288c2ecf20Sopenharmony_ci watchdog: watchdog@10007000 { 3298c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-wdt"; 3308c2ecf20Sopenharmony_ci reg = <0 0x10007000 0 0x100>; 3318c2ecf20Sopenharmony_ci #reset-cells = <1>; 3328c2ecf20Sopenharmony_ci }; 3338c2ecf20Sopenharmony_ci 3348c2ecf20Sopenharmony_ci apmixedsys: syscon@1000c000 { 3358c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-apmixedsys", "syscon"; 3368c2ecf20Sopenharmony_ci reg = <0 0x1000c000 0 0x1000>; 3378c2ecf20Sopenharmony_ci #clock-cells = <1>; 3388c2ecf20Sopenharmony_ci }; 3398c2ecf20Sopenharmony_ci 3408c2ecf20Sopenharmony_ci pwrap: pwrap@1000d000 { 3418c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-pwrap"; 3428c2ecf20Sopenharmony_ci reg = <0 0x1000d000 0 0x1000>; 3438c2ecf20Sopenharmony_ci reg-names = "pwrap"; 3448c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>; 3458c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_MUX_PMICSPI>, 3468c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_PMIC_AP>; 3478c2ecf20Sopenharmony_ci clock-names = "spi", "wrap"; 3488c2ecf20Sopenharmony_ci }; 3498c2ecf20Sopenharmony_ci 3508c2ecf20Sopenharmony_ci scp: scp@10500000 { 3518c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-scp"; 3528c2ecf20Sopenharmony_ci reg = <0 0x10500000 0 0x80000>, 3538c2ecf20Sopenharmony_ci <0 0x105c0000 0 0x19080>; 3548c2ecf20Sopenharmony_ci reg-names = "sram", "cfg"; 3558c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; 3568c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_SCPSYS>; 3578c2ecf20Sopenharmony_ci clock-names = "main"; 3588c2ecf20Sopenharmony_ci memory-region = <&scp_mem_reserved>; 3598c2ecf20Sopenharmony_ci status = "disabled"; 3608c2ecf20Sopenharmony_ci }; 3618c2ecf20Sopenharmony_ci 3628c2ecf20Sopenharmony_ci systimer: timer@10017000 { 3638c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-timer", 3648c2ecf20Sopenharmony_ci "mediatek,mt6765-timer"; 3658c2ecf20Sopenharmony_ci reg = <0 0x10017000 0 0x1000>; 3668c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>; 3678c2ecf20Sopenharmony_ci clocks = <&clk13m>; 3688c2ecf20Sopenharmony_ci }; 3698c2ecf20Sopenharmony_ci 3708c2ecf20Sopenharmony_ci gce: mailbox@10238000 { 3718c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-gce"; 3728c2ecf20Sopenharmony_ci reg = <0 0x10238000 0 0x4000>; 3738c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_LOW>; 3748c2ecf20Sopenharmony_ci #mbox-cells = <2>; 3758c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_GCE>; 3768c2ecf20Sopenharmony_ci clock-names = "gce"; 3778c2ecf20Sopenharmony_ci }; 3788c2ecf20Sopenharmony_ci 3798c2ecf20Sopenharmony_ci auxadc: auxadc@11001000 { 3808c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-auxadc", 3818c2ecf20Sopenharmony_ci "mediatek,mt8173-auxadc"; 3828c2ecf20Sopenharmony_ci reg = <0 0x11001000 0 0x1000>; 3838c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_AUXADC>; 3848c2ecf20Sopenharmony_ci clock-names = "main"; 3858c2ecf20Sopenharmony_ci #io-channel-cells = <1>; 3868c2ecf20Sopenharmony_ci status = "disabled"; 3878c2ecf20Sopenharmony_ci }; 3888c2ecf20Sopenharmony_ci 3898c2ecf20Sopenharmony_ci uart0: serial@11002000 { 3908c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-uart", 3918c2ecf20Sopenharmony_ci "mediatek,mt6577-uart"; 3928c2ecf20Sopenharmony_ci reg = <0 0x11002000 0 0x1000>; 3938c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>; 3948c2ecf20Sopenharmony_ci clocks = <&clk26m>, <&infracfg CLK_INFRA_UART0>; 3958c2ecf20Sopenharmony_ci clock-names = "baud", "bus"; 3968c2ecf20Sopenharmony_ci status = "disabled"; 3978c2ecf20Sopenharmony_ci }; 3988c2ecf20Sopenharmony_ci 3998c2ecf20Sopenharmony_ci uart1: serial@11003000 { 4008c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-uart", 4018c2ecf20Sopenharmony_ci "mediatek,mt6577-uart"; 4028c2ecf20Sopenharmony_ci reg = <0 0x11003000 0 0x1000>; 4038c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>; 4048c2ecf20Sopenharmony_ci clocks = <&clk26m>, <&infracfg CLK_INFRA_UART1>; 4058c2ecf20Sopenharmony_ci clock-names = "baud", "bus"; 4068c2ecf20Sopenharmony_ci status = "disabled"; 4078c2ecf20Sopenharmony_ci }; 4088c2ecf20Sopenharmony_ci 4098c2ecf20Sopenharmony_ci uart2: serial@11004000 { 4108c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-uart", 4118c2ecf20Sopenharmony_ci "mediatek,mt6577-uart"; 4128c2ecf20Sopenharmony_ci reg = <0 0x11004000 0 0x1000>; 4138c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>; 4148c2ecf20Sopenharmony_ci clocks = <&clk26m>, <&infracfg CLK_INFRA_UART2>; 4158c2ecf20Sopenharmony_ci clock-names = "baud", "bus"; 4168c2ecf20Sopenharmony_ci status = "disabled"; 4178c2ecf20Sopenharmony_ci }; 4188c2ecf20Sopenharmony_ci 4198c2ecf20Sopenharmony_ci i2c6: i2c@11005000 { 4208c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 4218c2ecf20Sopenharmony_ci reg = <0 0x11005000 0 0x1000>, 4228c2ecf20Sopenharmony_ci <0 0x11000600 0 0x80>; 4238c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>; 4248c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C6>, 4258c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>; 4268c2ecf20Sopenharmony_ci clock-names = "main", "dma"; 4278c2ecf20Sopenharmony_ci clock-div = <1>; 4288c2ecf20Sopenharmony_ci #address-cells = <1>; 4298c2ecf20Sopenharmony_ci #size-cells = <0>; 4308c2ecf20Sopenharmony_ci status = "disabled"; 4318c2ecf20Sopenharmony_ci }; 4328c2ecf20Sopenharmony_ci 4338c2ecf20Sopenharmony_ci i2c0: i2c@11007000 { 4348c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 4358c2ecf20Sopenharmony_ci reg = <0 0x11007000 0 0x1000>, 4368c2ecf20Sopenharmony_ci <0 0x11000080 0 0x80>; 4378c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>; 4388c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C0>, 4398c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>; 4408c2ecf20Sopenharmony_ci clock-names = "main", "dma"; 4418c2ecf20Sopenharmony_ci clock-div = <1>; 4428c2ecf20Sopenharmony_ci #address-cells = <1>; 4438c2ecf20Sopenharmony_ci #size-cells = <0>; 4448c2ecf20Sopenharmony_ci status = "disabled"; 4458c2ecf20Sopenharmony_ci }; 4468c2ecf20Sopenharmony_ci 4478c2ecf20Sopenharmony_ci i2c4: i2c@11008000 { 4488c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 4498c2ecf20Sopenharmony_ci reg = <0 0x11008000 0 0x1000>, 4508c2ecf20Sopenharmony_ci <0 0x11000100 0 0x80>; 4518c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>; 4528c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C1>, 4538c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>, 4548c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_I2C1_ARBITER>; 4558c2ecf20Sopenharmony_ci clock-names = "main", "dma","arb"; 4568c2ecf20Sopenharmony_ci clock-div = <1>; 4578c2ecf20Sopenharmony_ci #address-cells = <1>; 4588c2ecf20Sopenharmony_ci #size-cells = <0>; 4598c2ecf20Sopenharmony_ci status = "disabled"; 4608c2ecf20Sopenharmony_ci }; 4618c2ecf20Sopenharmony_ci 4628c2ecf20Sopenharmony_ci i2c2: i2c@11009000 { 4638c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 4648c2ecf20Sopenharmony_ci reg = <0 0x11009000 0 0x1000>, 4658c2ecf20Sopenharmony_ci <0 0x11000280 0 0x80>; 4668c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>; 4678c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C2>, 4688c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>, 4698c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_I2C2_ARBITER>; 4708c2ecf20Sopenharmony_ci clock-names = "main", "dma", "arb"; 4718c2ecf20Sopenharmony_ci clock-div = <1>; 4728c2ecf20Sopenharmony_ci #address-cells = <1>; 4738c2ecf20Sopenharmony_ci #size-cells = <0>; 4748c2ecf20Sopenharmony_ci status = "disabled"; 4758c2ecf20Sopenharmony_ci }; 4768c2ecf20Sopenharmony_ci 4778c2ecf20Sopenharmony_ci spi0: spi@1100a000 { 4788c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-spi"; 4798c2ecf20Sopenharmony_ci #address-cells = <1>; 4808c2ecf20Sopenharmony_ci #size-cells = <0>; 4818c2ecf20Sopenharmony_ci reg = <0 0x1100a000 0 0x1000>; 4828c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_LOW>; 4838c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 4848c2ecf20Sopenharmony_ci <&topckgen CLK_TOP_MUX_SPI>, 4858c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_SPI0>; 4868c2ecf20Sopenharmony_ci clock-names = "parent-clk", "sel-clk", "spi-clk"; 4878c2ecf20Sopenharmony_ci status = "disabled"; 4888c2ecf20Sopenharmony_ci }; 4898c2ecf20Sopenharmony_ci 4908c2ecf20Sopenharmony_ci i2c3: i2c@1100f000 { 4918c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 4928c2ecf20Sopenharmony_ci reg = <0 0x1100f000 0 0x1000>, 4938c2ecf20Sopenharmony_ci <0 0x11000400 0 0x80>; 4948c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>; 4958c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C3>, 4968c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>; 4978c2ecf20Sopenharmony_ci clock-names = "main", "dma"; 4988c2ecf20Sopenharmony_ci clock-div = <1>; 4998c2ecf20Sopenharmony_ci #address-cells = <1>; 5008c2ecf20Sopenharmony_ci #size-cells = <0>; 5018c2ecf20Sopenharmony_ci status = "disabled"; 5028c2ecf20Sopenharmony_ci }; 5038c2ecf20Sopenharmony_ci 5048c2ecf20Sopenharmony_ci spi1: spi@11010000 { 5058c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-spi"; 5068c2ecf20Sopenharmony_ci #address-cells = <1>; 5078c2ecf20Sopenharmony_ci #size-cells = <0>; 5088c2ecf20Sopenharmony_ci reg = <0 0x11010000 0 0x1000>; 5098c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_LOW>; 5108c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 5118c2ecf20Sopenharmony_ci <&topckgen CLK_TOP_MUX_SPI>, 5128c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_SPI1>; 5138c2ecf20Sopenharmony_ci clock-names = "parent-clk", "sel-clk", "spi-clk"; 5148c2ecf20Sopenharmony_ci status = "disabled"; 5158c2ecf20Sopenharmony_ci }; 5168c2ecf20Sopenharmony_ci 5178c2ecf20Sopenharmony_ci i2c1: i2c@11011000 { 5188c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 5198c2ecf20Sopenharmony_ci reg = <0 0x11011000 0 0x1000>, 5208c2ecf20Sopenharmony_ci <0 0x11000480 0 0x80>; 5218c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>; 5228c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C4>, 5238c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>; 5248c2ecf20Sopenharmony_ci clock-names = "main", "dma"; 5258c2ecf20Sopenharmony_ci clock-div = <1>; 5268c2ecf20Sopenharmony_ci #address-cells = <1>; 5278c2ecf20Sopenharmony_ci #size-cells = <0>; 5288c2ecf20Sopenharmony_ci status = "disabled"; 5298c2ecf20Sopenharmony_ci }; 5308c2ecf20Sopenharmony_ci 5318c2ecf20Sopenharmony_ci spi2: spi@11012000 { 5328c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-spi"; 5338c2ecf20Sopenharmony_ci #address-cells = <1>; 5348c2ecf20Sopenharmony_ci #size-cells = <0>; 5358c2ecf20Sopenharmony_ci reg = <0 0x11012000 0 0x1000>; 5368c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>; 5378c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 5388c2ecf20Sopenharmony_ci <&topckgen CLK_TOP_MUX_SPI>, 5398c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_SPI2>; 5408c2ecf20Sopenharmony_ci clock-names = "parent-clk", "sel-clk", "spi-clk"; 5418c2ecf20Sopenharmony_ci status = "disabled"; 5428c2ecf20Sopenharmony_ci }; 5438c2ecf20Sopenharmony_ci 5448c2ecf20Sopenharmony_ci spi3: spi@11013000 { 5458c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-spi"; 5468c2ecf20Sopenharmony_ci #address-cells = <1>; 5478c2ecf20Sopenharmony_ci #size-cells = <0>; 5488c2ecf20Sopenharmony_ci reg = <0 0x11013000 0 0x1000>; 5498c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_LOW>; 5508c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 5518c2ecf20Sopenharmony_ci <&topckgen CLK_TOP_MUX_SPI>, 5528c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_SPI3>; 5538c2ecf20Sopenharmony_ci clock-names = "parent-clk", "sel-clk", "spi-clk"; 5548c2ecf20Sopenharmony_ci status = "disabled"; 5558c2ecf20Sopenharmony_ci }; 5568c2ecf20Sopenharmony_ci 5578c2ecf20Sopenharmony_ci i2c9: i2c@11014000 { 5588c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 5598c2ecf20Sopenharmony_ci reg = <0 0x11014000 0 0x1000>, 5608c2ecf20Sopenharmony_ci <0 0x11000180 0 0x80>; 5618c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_LOW>; 5628c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C1_IMM>, 5638c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>, 5648c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_I2C1_ARBITER>; 5658c2ecf20Sopenharmony_ci clock-names = "main", "dma", "arb"; 5668c2ecf20Sopenharmony_ci clock-div = <1>; 5678c2ecf20Sopenharmony_ci #address-cells = <1>; 5688c2ecf20Sopenharmony_ci #size-cells = <0>; 5698c2ecf20Sopenharmony_ci status = "disabled"; 5708c2ecf20Sopenharmony_ci }; 5718c2ecf20Sopenharmony_ci 5728c2ecf20Sopenharmony_ci i2c10: i2c@11015000 { 5738c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 5748c2ecf20Sopenharmony_ci reg = <0 0x11015000 0 0x1000>, 5758c2ecf20Sopenharmony_ci <0 0x11000300 0 0x80>; 5768c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>; 5778c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C2_IMM>, 5788c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>, 5798c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_I2C2_ARBITER>; 5808c2ecf20Sopenharmony_ci clock-names = "main", "dma", "arb"; 5818c2ecf20Sopenharmony_ci clock-div = <1>; 5828c2ecf20Sopenharmony_ci #address-cells = <1>; 5838c2ecf20Sopenharmony_ci #size-cells = <0>; 5848c2ecf20Sopenharmony_ci status = "disabled"; 5858c2ecf20Sopenharmony_ci }; 5868c2ecf20Sopenharmony_ci 5878c2ecf20Sopenharmony_ci i2c5: i2c@11016000 { 5888c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 5898c2ecf20Sopenharmony_ci reg = <0 0x11016000 0 0x1000>, 5908c2ecf20Sopenharmony_ci <0 0x11000500 0 0x80>; 5918c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>; 5928c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C5>, 5938c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>, 5948c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_I2C5_ARBITER>; 5958c2ecf20Sopenharmony_ci clock-names = "main", "dma", "arb"; 5968c2ecf20Sopenharmony_ci clock-div = <1>; 5978c2ecf20Sopenharmony_ci #address-cells = <1>; 5988c2ecf20Sopenharmony_ci #size-cells = <0>; 5998c2ecf20Sopenharmony_ci status = "disabled"; 6008c2ecf20Sopenharmony_ci }; 6018c2ecf20Sopenharmony_ci 6028c2ecf20Sopenharmony_ci i2c11: i2c@11017000 { 6038c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 6048c2ecf20Sopenharmony_ci reg = <0 0x11017000 0 0x1000>, 6058c2ecf20Sopenharmony_ci <0 0x11000580 0 0x80>; 6068c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_LOW>; 6078c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C5_IMM>, 6088c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>, 6098c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_I2C5_ARBITER>; 6108c2ecf20Sopenharmony_ci clock-names = "main", "dma", "arb"; 6118c2ecf20Sopenharmony_ci clock-div = <1>; 6128c2ecf20Sopenharmony_ci #address-cells = <1>; 6138c2ecf20Sopenharmony_ci #size-cells = <0>; 6148c2ecf20Sopenharmony_ci status = "disabled"; 6158c2ecf20Sopenharmony_ci }; 6168c2ecf20Sopenharmony_ci 6178c2ecf20Sopenharmony_ci spi4: spi@11018000 { 6188c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-spi"; 6198c2ecf20Sopenharmony_ci #address-cells = <1>; 6208c2ecf20Sopenharmony_ci #size-cells = <0>; 6218c2ecf20Sopenharmony_ci reg = <0 0x11018000 0 0x1000>; 6228c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_LOW>; 6238c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 6248c2ecf20Sopenharmony_ci <&topckgen CLK_TOP_MUX_SPI>, 6258c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_SPI4>; 6268c2ecf20Sopenharmony_ci clock-names = "parent-clk", "sel-clk", "spi-clk"; 6278c2ecf20Sopenharmony_ci status = "disabled"; 6288c2ecf20Sopenharmony_ci }; 6298c2ecf20Sopenharmony_ci 6308c2ecf20Sopenharmony_ci spi5: spi@11019000 { 6318c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-spi"; 6328c2ecf20Sopenharmony_ci #address-cells = <1>; 6338c2ecf20Sopenharmony_ci #size-cells = <0>; 6348c2ecf20Sopenharmony_ci reg = <0 0x11019000 0 0x1000>; 6358c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_LOW>; 6368c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 6378c2ecf20Sopenharmony_ci <&topckgen CLK_TOP_MUX_SPI>, 6388c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_SPI5>; 6398c2ecf20Sopenharmony_ci clock-names = "parent-clk", "sel-clk", "spi-clk"; 6408c2ecf20Sopenharmony_ci status = "disabled"; 6418c2ecf20Sopenharmony_ci }; 6428c2ecf20Sopenharmony_ci 6438c2ecf20Sopenharmony_ci i2c7: i2c@1101a000 { 6448c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 6458c2ecf20Sopenharmony_ci reg = <0 0x1101a000 0 0x1000>, 6468c2ecf20Sopenharmony_ci <0 0x11000680 0 0x80>; 6478c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>; 6488c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C7>, 6498c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>; 6508c2ecf20Sopenharmony_ci clock-names = "main", "dma"; 6518c2ecf20Sopenharmony_ci clock-div = <1>; 6528c2ecf20Sopenharmony_ci #address-cells = <1>; 6538c2ecf20Sopenharmony_ci #size-cells = <0>; 6548c2ecf20Sopenharmony_ci status = "disabled"; 6558c2ecf20Sopenharmony_ci }; 6568c2ecf20Sopenharmony_ci 6578c2ecf20Sopenharmony_ci i2c8: i2c@1101b000 { 6588c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-i2c"; 6598c2ecf20Sopenharmony_ci reg = <0 0x1101b000 0 0x1000>, 6608c2ecf20Sopenharmony_ci <0 0x11000700 0 0x80>; 6618c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_LOW>; 6628c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_I2C8>, 6638c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_AP_DMA>; 6648c2ecf20Sopenharmony_ci clock-names = "main", "dma"; 6658c2ecf20Sopenharmony_ci clock-div = <1>; 6668c2ecf20Sopenharmony_ci #address-cells = <1>; 6678c2ecf20Sopenharmony_ci #size-cells = <0>; 6688c2ecf20Sopenharmony_ci status = "disabled"; 6698c2ecf20Sopenharmony_ci }; 6708c2ecf20Sopenharmony_ci 6718c2ecf20Sopenharmony_ci ssusb: usb@11201000 { 6728c2ecf20Sopenharmony_ci compatible ="mediatek,mt8183-mtu3", "mediatek,mtu3"; 6738c2ecf20Sopenharmony_ci reg = <0 0x11201000 0 0x2e00>, 6748c2ecf20Sopenharmony_ci <0 0x11203e00 0 0x0100>; 6758c2ecf20Sopenharmony_ci reg-names = "mac", "ippc"; 6768c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>; 6778c2ecf20Sopenharmony_ci phys = <&u2port0 PHY_TYPE_USB2>, 6788c2ecf20Sopenharmony_ci <&u3port0 PHY_TYPE_USB3>; 6798c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>, 6808c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_USB>; 6818c2ecf20Sopenharmony_ci clock-names = "sys_ck", "ref_ck"; 6828c2ecf20Sopenharmony_ci mediatek,syscon-wakeup = <&pericfg 0x400 0>; 6838c2ecf20Sopenharmony_ci #address-cells = <2>; 6848c2ecf20Sopenharmony_ci #size-cells = <2>; 6858c2ecf20Sopenharmony_ci ranges; 6868c2ecf20Sopenharmony_ci status = "disabled"; 6878c2ecf20Sopenharmony_ci 6888c2ecf20Sopenharmony_ci usb_host: xhci@11200000 { 6898c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-xhci", 6908c2ecf20Sopenharmony_ci "mediatek,mtk-xhci"; 6918c2ecf20Sopenharmony_ci reg = <0 0x11200000 0 0x1000>; 6928c2ecf20Sopenharmony_ci reg-names = "mac"; 6938c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_LOW>; 6948c2ecf20Sopenharmony_ci clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>, 6958c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_USB>; 6968c2ecf20Sopenharmony_ci clock-names = "sys_ck", "ref_ck"; 6978c2ecf20Sopenharmony_ci status = "disabled"; 6988c2ecf20Sopenharmony_ci }; 6998c2ecf20Sopenharmony_ci }; 7008c2ecf20Sopenharmony_ci 7018c2ecf20Sopenharmony_ci audiosys: syscon@11220000 { 7028c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-audiosys", "syscon"; 7038c2ecf20Sopenharmony_ci reg = <0 0x11220000 0 0x1000>; 7048c2ecf20Sopenharmony_ci #clock-cells = <1>; 7058c2ecf20Sopenharmony_ci }; 7068c2ecf20Sopenharmony_ci 7078c2ecf20Sopenharmony_ci mmc0: mmc@11230000 { 7088c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-mmc"; 7098c2ecf20Sopenharmony_ci reg = <0 0x11230000 0 0x1000>, 7108c2ecf20Sopenharmony_ci <0 0x11f50000 0 0x1000>; 7118c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>; 7128c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>, 7138c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_MSDC0>, 7148c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_MSDC0_SCK>; 7158c2ecf20Sopenharmony_ci clock-names = "source", "hclk", "source_cg"; 7168c2ecf20Sopenharmony_ci status = "disabled"; 7178c2ecf20Sopenharmony_ci }; 7188c2ecf20Sopenharmony_ci 7198c2ecf20Sopenharmony_ci mmc1: mmc@11240000 { 7208c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-mmc"; 7218c2ecf20Sopenharmony_ci reg = <0 0x11240000 0 0x1000>, 7228c2ecf20Sopenharmony_ci <0 0x11e10000 0 0x1000>; 7238c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_LOW>; 7248c2ecf20Sopenharmony_ci clocks = <&topckgen CLK_TOP_MUX_MSDC30_1>, 7258c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_MSDC1>, 7268c2ecf20Sopenharmony_ci <&infracfg CLK_INFRA_MSDC1_SCK>; 7278c2ecf20Sopenharmony_ci clock-names = "source", "hclk", "source_cg"; 7288c2ecf20Sopenharmony_ci status = "disabled"; 7298c2ecf20Sopenharmony_ci }; 7308c2ecf20Sopenharmony_ci 7318c2ecf20Sopenharmony_ci efuse: efuse@11f10000 { 7328c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-efuse", 7338c2ecf20Sopenharmony_ci "mediatek,efuse"; 7348c2ecf20Sopenharmony_ci reg = <0 0x11f10000 0 0x1000>; 7358c2ecf20Sopenharmony_ci }; 7368c2ecf20Sopenharmony_ci 7378c2ecf20Sopenharmony_ci u3phy: usb-phy@11f40000 { 7388c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-tphy", 7398c2ecf20Sopenharmony_ci "mediatek,generic-tphy-v2"; 7408c2ecf20Sopenharmony_ci #address-cells = <1>; 7418c2ecf20Sopenharmony_ci #phy-cells = <1>; 7428c2ecf20Sopenharmony_ci #size-cells = <1>; 7438c2ecf20Sopenharmony_ci ranges = <0 0 0x11f40000 0x1000>; 7448c2ecf20Sopenharmony_ci status = "okay"; 7458c2ecf20Sopenharmony_ci 7468c2ecf20Sopenharmony_ci u2port0: usb-phy@0 { 7478c2ecf20Sopenharmony_ci reg = <0x0 0x700>; 7488c2ecf20Sopenharmony_ci clocks = <&clk26m>; 7498c2ecf20Sopenharmony_ci clock-names = "ref"; 7508c2ecf20Sopenharmony_ci #phy-cells = <1>; 7518c2ecf20Sopenharmony_ci mediatek,discth = <15>; 7528c2ecf20Sopenharmony_ci status = "okay"; 7538c2ecf20Sopenharmony_ci }; 7548c2ecf20Sopenharmony_ci 7558c2ecf20Sopenharmony_ci u3port0: usb-phy@0700 { 7568c2ecf20Sopenharmony_ci reg = <0x0700 0x900>; 7578c2ecf20Sopenharmony_ci clocks = <&clk26m>; 7588c2ecf20Sopenharmony_ci clock-names = "ref"; 7598c2ecf20Sopenharmony_ci #phy-cells = <1>; 7608c2ecf20Sopenharmony_ci status = "okay"; 7618c2ecf20Sopenharmony_ci }; 7628c2ecf20Sopenharmony_ci }; 7638c2ecf20Sopenharmony_ci 7648c2ecf20Sopenharmony_ci mfgcfg: syscon@13000000 { 7658c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-mfgcfg", "syscon"; 7668c2ecf20Sopenharmony_ci reg = <0 0x13000000 0 0x1000>; 7678c2ecf20Sopenharmony_ci #clock-cells = <1>; 7688c2ecf20Sopenharmony_ci }; 7698c2ecf20Sopenharmony_ci 7708c2ecf20Sopenharmony_ci mmsys: syscon@14000000 { 7718c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-mmsys", "syscon"; 7728c2ecf20Sopenharmony_ci reg = <0 0x14000000 0 0x1000>; 7738c2ecf20Sopenharmony_ci #clock-cells = <1>; 7748c2ecf20Sopenharmony_ci }; 7758c2ecf20Sopenharmony_ci 7768c2ecf20Sopenharmony_ci imgsys: syscon@15020000 { 7778c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-imgsys", "syscon"; 7788c2ecf20Sopenharmony_ci reg = <0 0x15020000 0 0x1000>; 7798c2ecf20Sopenharmony_ci #clock-cells = <1>; 7808c2ecf20Sopenharmony_ci }; 7818c2ecf20Sopenharmony_ci 7828c2ecf20Sopenharmony_ci vdecsys: syscon@16000000 { 7838c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-vdecsys", "syscon"; 7848c2ecf20Sopenharmony_ci reg = <0 0x16000000 0 0x1000>; 7858c2ecf20Sopenharmony_ci #clock-cells = <1>; 7868c2ecf20Sopenharmony_ci }; 7878c2ecf20Sopenharmony_ci 7888c2ecf20Sopenharmony_ci vencsys: syscon@17000000 { 7898c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-vencsys", "syscon"; 7908c2ecf20Sopenharmony_ci reg = <0 0x17000000 0 0x1000>; 7918c2ecf20Sopenharmony_ci #clock-cells = <1>; 7928c2ecf20Sopenharmony_ci }; 7938c2ecf20Sopenharmony_ci 7948c2ecf20Sopenharmony_ci ipu_conn: syscon@19000000 { 7958c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-ipu_conn", "syscon"; 7968c2ecf20Sopenharmony_ci reg = <0 0x19000000 0 0x1000>; 7978c2ecf20Sopenharmony_ci #clock-cells = <1>; 7988c2ecf20Sopenharmony_ci }; 7998c2ecf20Sopenharmony_ci 8008c2ecf20Sopenharmony_ci ipu_adl: syscon@19010000 { 8018c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-ipu_adl", "syscon"; 8028c2ecf20Sopenharmony_ci reg = <0 0x19010000 0 0x1000>; 8038c2ecf20Sopenharmony_ci #clock-cells = <1>; 8048c2ecf20Sopenharmony_ci }; 8058c2ecf20Sopenharmony_ci 8068c2ecf20Sopenharmony_ci ipu_core0: syscon@19180000 { 8078c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-ipu_core0", "syscon"; 8088c2ecf20Sopenharmony_ci reg = <0 0x19180000 0 0x1000>; 8098c2ecf20Sopenharmony_ci #clock-cells = <1>; 8108c2ecf20Sopenharmony_ci }; 8118c2ecf20Sopenharmony_ci 8128c2ecf20Sopenharmony_ci ipu_core1: syscon@19280000 { 8138c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-ipu_core1", "syscon"; 8148c2ecf20Sopenharmony_ci reg = <0 0x19280000 0 0x1000>; 8158c2ecf20Sopenharmony_ci #clock-cells = <1>; 8168c2ecf20Sopenharmony_ci }; 8178c2ecf20Sopenharmony_ci 8188c2ecf20Sopenharmony_ci camsys: syscon@1a000000 { 8198c2ecf20Sopenharmony_ci compatible = "mediatek,mt8183-camsys", "syscon"; 8208c2ecf20Sopenharmony_ci reg = <0 0x1a000000 0 0x1000>; 8218c2ecf20Sopenharmony_ci #clock-cells = <1>; 8228c2ecf20Sopenharmony_ci }; 8238c2ecf20Sopenharmony_ci }; 8248c2ecf20Sopenharmony_ci}; 825