137f25828STinghan Shen// SPDX-License-Identifier: (GPL-2.0 OR MIT) 237f25828STinghan Shen/* 337f25828STinghan Shen * Copyright (c) 2021 MediaTek Inc. 437f25828STinghan Shen * Author: Seiya Wang <seiya.wang@mediatek.com> 537f25828STinghan Shen */ 637f25828STinghan Shen 737f25828STinghan Shen/dts-v1/; 837f25828STinghan Shen#include <dt-bindings/clock/mt8195-clk.h> 9329239a1SJason-JH.Lin#include <dt-bindings/gce/mt8195-gce.h> 1037f25828STinghan Shen#include <dt-bindings/interrupt-controller/arm-gic.h> 1137f25828STinghan Shen#include <dt-bindings/interrupt-controller/irq.h> 123b5838d1STinghan Shen#include <dt-bindings/memory/mt8195-memory-port.h> 1337f25828STinghan Shen#include <dt-bindings/phy/phy.h> 1437f25828STinghan Shen#include <dt-bindings/pinctrl/mt8195-pinfunc.h> 152b515194STinghan Shen#include <dt-bindings/power/mt8195-power.h> 16ecc0af6aSTinghan Shen#include <dt-bindings/reset/mt8195-resets.h> 1737f25828STinghan Shen 1837f25828STinghan Shen/ { 1937f25828STinghan Shen compatible = "mediatek,mt8195"; 2037f25828STinghan Shen interrupt-parent = <&gic>; 2137f25828STinghan Shen #address-cells = <2>; 2237f25828STinghan Shen #size-cells = <2>; 2337f25828STinghan Shen 24329239a1SJason-JH.Lin aliases { 25329239a1SJason-JH.Lin gce0 = &gce0; 26329239a1SJason-JH.Lin gce1 = &gce1; 27329239a1SJason-JH.Lin }; 28329239a1SJason-JH.Lin 2937f25828STinghan Shen cpus { 3037f25828STinghan Shen #address-cells = <1>; 3137f25828STinghan Shen #size-cells = <0>; 3237f25828STinghan Shen 3337f25828STinghan Shen cpu0: cpu@0 { 3437f25828STinghan Shen device_type = "cpu"; 3537f25828STinghan Shen compatible = "arm,cortex-a55"; 3637f25828STinghan Shen reg = <0x000>; 3737f25828STinghan Shen enable-method = "psci"; 38e39e72cfSYT Lee performance-domains = <&performance 0>; 3937f25828STinghan Shen clock-frequency = <1701000000>; 40513c4332SAngeloGioacchino Del Regno capacity-dmips-mhz = <308>; 4137f25828STinghan Shen cpu-idle-states = <&cpu_off_l &cluster_off_l>; 42b68188a7SAngeloGioacchino Del Regno i-cache-size = <32768>; 43b68188a7SAngeloGioacchino Del Regno i-cache-line-size = <64>; 44b68188a7SAngeloGioacchino Del Regno i-cache-sets = <128>; 45b68188a7SAngeloGioacchino Del Regno d-cache-size = <32768>; 46b68188a7SAngeloGioacchino Del Regno d-cache-line-size = <64>; 47b68188a7SAngeloGioacchino Del Regno d-cache-sets = <128>; 4837f25828STinghan Shen next-level-cache = <&l2_0>; 4937f25828STinghan Shen #cooling-cells = <2>; 5037f25828STinghan Shen }; 5137f25828STinghan Shen 5237f25828STinghan Shen cpu1: cpu@100 { 5337f25828STinghan Shen device_type = "cpu"; 5437f25828STinghan Shen compatible = "arm,cortex-a55"; 5537f25828STinghan Shen reg = <0x100>; 5637f25828STinghan Shen enable-method = "psci"; 57e39e72cfSYT Lee performance-domains = <&performance 0>; 5837f25828STinghan Shen clock-frequency = <1701000000>; 59513c4332SAngeloGioacchino Del Regno capacity-dmips-mhz = <308>; 6037f25828STinghan Shen cpu-idle-states = <&cpu_off_l &cluster_off_l>; 61b68188a7SAngeloGioacchino Del Regno i-cache-size = <32768>; 62b68188a7SAngeloGioacchino Del Regno i-cache-line-size = <64>; 63b68188a7SAngeloGioacchino Del Regno i-cache-sets = <128>; 64b68188a7SAngeloGioacchino Del Regno d-cache-size = <32768>; 65b68188a7SAngeloGioacchino Del Regno d-cache-line-size = <64>; 66b68188a7SAngeloGioacchino Del Regno d-cache-sets = <128>; 6737f25828STinghan Shen next-level-cache = <&l2_0>; 6837f25828STinghan Shen #cooling-cells = <2>; 6937f25828STinghan Shen }; 7037f25828STinghan Shen 7137f25828STinghan Shen cpu2: cpu@200 { 7237f25828STinghan Shen device_type = "cpu"; 7337f25828STinghan Shen compatible = "arm,cortex-a55"; 7437f25828STinghan Shen reg = <0x200>; 7537f25828STinghan Shen enable-method = "psci"; 76e39e72cfSYT Lee performance-domains = <&performance 0>; 7737f25828STinghan Shen clock-frequency = <1701000000>; 78513c4332SAngeloGioacchino Del Regno capacity-dmips-mhz = <308>; 7937f25828STinghan Shen cpu-idle-states = <&cpu_off_l &cluster_off_l>; 80b68188a7SAngeloGioacchino Del Regno i-cache-size = <32768>; 81b68188a7SAngeloGioacchino Del Regno i-cache-line-size = <64>; 82b68188a7SAngeloGioacchino Del Regno i-cache-sets = <128>; 83b68188a7SAngeloGioacchino Del Regno d-cache-size = <32768>; 84b68188a7SAngeloGioacchino Del Regno d-cache-line-size = <64>; 85b68188a7SAngeloGioacchino Del Regno d-cache-sets = <128>; 8637f25828STinghan Shen next-level-cache = <&l2_0>; 8737f25828STinghan Shen #cooling-cells = <2>; 8837f25828STinghan Shen }; 8937f25828STinghan Shen 9037f25828STinghan Shen cpu3: cpu@300 { 9137f25828STinghan Shen device_type = "cpu"; 9237f25828STinghan Shen compatible = "arm,cortex-a55"; 9337f25828STinghan Shen reg = <0x300>; 9437f25828STinghan Shen enable-method = "psci"; 95e39e72cfSYT Lee performance-domains = <&performance 0>; 9637f25828STinghan Shen clock-frequency = <1701000000>; 97513c4332SAngeloGioacchino Del Regno capacity-dmips-mhz = <308>; 9837f25828STinghan Shen cpu-idle-states = <&cpu_off_l &cluster_off_l>; 99b68188a7SAngeloGioacchino Del Regno i-cache-size = <32768>; 100b68188a7SAngeloGioacchino Del Regno i-cache-line-size = <64>; 101b68188a7SAngeloGioacchino Del Regno i-cache-sets = <128>; 102b68188a7SAngeloGioacchino Del Regno d-cache-size = <32768>; 103b68188a7SAngeloGioacchino Del Regno d-cache-line-size = <64>; 104b68188a7SAngeloGioacchino Del Regno d-cache-sets = <128>; 10537f25828STinghan Shen next-level-cache = <&l2_0>; 10637f25828STinghan Shen #cooling-cells = <2>; 10737f25828STinghan Shen }; 10837f25828STinghan Shen 10937f25828STinghan Shen cpu4: cpu@400 { 11037f25828STinghan Shen device_type = "cpu"; 11137f25828STinghan Shen compatible = "arm,cortex-a78"; 11237f25828STinghan Shen reg = <0x400>; 11337f25828STinghan Shen enable-method = "psci"; 114e39e72cfSYT Lee performance-domains = <&performance 1>; 11537f25828STinghan Shen clock-frequency = <2171000000>; 11637f25828STinghan Shen capacity-dmips-mhz = <1024>; 11737f25828STinghan Shen cpu-idle-states = <&cpu_off_b &cluster_off_b>; 118b68188a7SAngeloGioacchino Del Regno i-cache-size = <65536>; 119b68188a7SAngeloGioacchino Del Regno i-cache-line-size = <64>; 120b68188a7SAngeloGioacchino Del Regno i-cache-sets = <256>; 121b68188a7SAngeloGioacchino Del Regno d-cache-size = <65536>; 122b68188a7SAngeloGioacchino Del Regno d-cache-line-size = <64>; 123b68188a7SAngeloGioacchino Del Regno d-cache-sets = <256>; 12437f25828STinghan Shen next-level-cache = <&l2_1>; 12537f25828STinghan Shen #cooling-cells = <2>; 12637f25828STinghan Shen }; 12737f25828STinghan Shen 12837f25828STinghan Shen cpu5: cpu@500 { 12937f25828STinghan Shen device_type = "cpu"; 13037f25828STinghan Shen compatible = "arm,cortex-a78"; 13137f25828STinghan Shen reg = <0x500>; 13237f25828STinghan Shen enable-method = "psci"; 133e39e72cfSYT Lee performance-domains = <&performance 1>; 13437f25828STinghan Shen clock-frequency = <2171000000>; 13537f25828STinghan Shen capacity-dmips-mhz = <1024>; 13637f25828STinghan Shen cpu-idle-states = <&cpu_off_b &cluster_off_b>; 137b68188a7SAngeloGioacchino Del Regno i-cache-size = <65536>; 138b68188a7SAngeloGioacchino Del Regno i-cache-line-size = <64>; 139b68188a7SAngeloGioacchino Del Regno i-cache-sets = <256>; 140b68188a7SAngeloGioacchino Del Regno d-cache-size = <65536>; 141b68188a7SAngeloGioacchino Del Regno d-cache-line-size = <64>; 142b68188a7SAngeloGioacchino Del Regno d-cache-sets = <256>; 14337f25828STinghan Shen next-level-cache = <&l2_1>; 14437f25828STinghan Shen #cooling-cells = <2>; 14537f25828STinghan Shen }; 14637f25828STinghan Shen 14737f25828STinghan Shen cpu6: cpu@600 { 14837f25828STinghan Shen device_type = "cpu"; 14937f25828STinghan Shen compatible = "arm,cortex-a78"; 15037f25828STinghan Shen reg = <0x600>; 15137f25828STinghan Shen enable-method = "psci"; 152e39e72cfSYT Lee performance-domains = <&performance 1>; 15337f25828STinghan Shen clock-frequency = <2171000000>; 15437f25828STinghan Shen capacity-dmips-mhz = <1024>; 15537f25828STinghan Shen cpu-idle-states = <&cpu_off_b &cluster_off_b>; 156b68188a7SAngeloGioacchino Del Regno i-cache-size = <65536>; 157b68188a7SAngeloGioacchino Del Regno i-cache-line-size = <64>; 158b68188a7SAngeloGioacchino Del Regno i-cache-sets = <256>; 159b68188a7SAngeloGioacchino Del Regno d-cache-size = <65536>; 160b68188a7SAngeloGioacchino Del Regno d-cache-line-size = <64>; 161b68188a7SAngeloGioacchino Del Regno d-cache-sets = <256>; 16237f25828STinghan Shen next-level-cache = <&l2_1>; 16337f25828STinghan Shen #cooling-cells = <2>; 16437f25828STinghan Shen }; 16537f25828STinghan Shen 16637f25828STinghan Shen cpu7: cpu@700 { 16737f25828STinghan Shen device_type = "cpu"; 16837f25828STinghan Shen compatible = "arm,cortex-a78"; 16937f25828STinghan Shen reg = <0x700>; 17037f25828STinghan Shen enable-method = "psci"; 171e39e72cfSYT Lee performance-domains = <&performance 1>; 17237f25828STinghan Shen clock-frequency = <2171000000>; 17337f25828STinghan Shen capacity-dmips-mhz = <1024>; 17437f25828STinghan Shen cpu-idle-states = <&cpu_off_b &cluster_off_b>; 175b68188a7SAngeloGioacchino Del Regno i-cache-size = <65536>; 176b68188a7SAngeloGioacchino Del Regno i-cache-line-size = <64>; 177b68188a7SAngeloGioacchino Del Regno i-cache-sets = <256>; 178b68188a7SAngeloGioacchino Del Regno d-cache-size = <65536>; 179b68188a7SAngeloGioacchino Del Regno d-cache-line-size = <64>; 180b68188a7SAngeloGioacchino Del Regno d-cache-sets = <256>; 18137f25828STinghan Shen next-level-cache = <&l2_1>; 18237f25828STinghan Shen #cooling-cells = <2>; 18337f25828STinghan Shen }; 18437f25828STinghan Shen 18537f25828STinghan Shen cpu-map { 18637f25828STinghan Shen cluster0 { 18737f25828STinghan Shen core0 { 18837f25828STinghan Shen cpu = <&cpu0>; 18937f25828STinghan Shen }; 19037f25828STinghan Shen 19137f25828STinghan Shen core1 { 19237f25828STinghan Shen cpu = <&cpu1>; 19337f25828STinghan Shen }; 19437f25828STinghan Shen 19537f25828STinghan Shen core2 { 19637f25828STinghan Shen cpu = <&cpu2>; 19737f25828STinghan Shen }; 19837f25828STinghan Shen 19937f25828STinghan Shen core3 { 20037f25828STinghan Shen cpu = <&cpu3>; 20137f25828STinghan Shen }; 20237f25828STinghan Shen }; 20337f25828STinghan Shen 20437f25828STinghan Shen cluster1 { 20537f25828STinghan Shen core0 { 20637f25828STinghan Shen cpu = <&cpu4>; 20737f25828STinghan Shen }; 20837f25828STinghan Shen 20937f25828STinghan Shen core1 { 21037f25828STinghan Shen cpu = <&cpu5>; 21137f25828STinghan Shen }; 21237f25828STinghan Shen 21337f25828STinghan Shen core2 { 21437f25828STinghan Shen cpu = <&cpu6>; 21537f25828STinghan Shen }; 21637f25828STinghan Shen 21737f25828STinghan Shen core3 { 21837f25828STinghan Shen cpu = <&cpu7>; 21937f25828STinghan Shen }; 22037f25828STinghan Shen }; 22137f25828STinghan Shen }; 22237f25828STinghan Shen 22337f25828STinghan Shen idle-states { 22437f25828STinghan Shen entry-method = "psci"; 22537f25828STinghan Shen 22637f25828STinghan Shen cpu_off_l: cpu-off-l { 22737f25828STinghan Shen compatible = "arm,idle-state"; 22837f25828STinghan Shen arm,psci-suspend-param = <0x00010001>; 22937f25828STinghan Shen local-timer-stop; 23037f25828STinghan Shen entry-latency-us = <50>; 23137f25828STinghan Shen exit-latency-us = <95>; 23237f25828STinghan Shen min-residency-us = <580>; 23337f25828STinghan Shen }; 23437f25828STinghan Shen 23537f25828STinghan Shen cpu_off_b: cpu-off-b { 23637f25828STinghan Shen compatible = "arm,idle-state"; 23737f25828STinghan Shen arm,psci-suspend-param = <0x00010001>; 23837f25828STinghan Shen local-timer-stop; 23937f25828STinghan Shen entry-latency-us = <45>; 24037f25828STinghan Shen exit-latency-us = <140>; 24137f25828STinghan Shen min-residency-us = <740>; 24237f25828STinghan Shen }; 24337f25828STinghan Shen 24437f25828STinghan Shen cluster_off_l: cluster-off-l { 24537f25828STinghan Shen compatible = "arm,idle-state"; 24637f25828STinghan Shen arm,psci-suspend-param = <0x01010002>; 24737f25828STinghan Shen local-timer-stop; 24837f25828STinghan Shen entry-latency-us = <55>; 24937f25828STinghan Shen exit-latency-us = <155>; 25037f25828STinghan Shen min-residency-us = <840>; 25137f25828STinghan Shen }; 25237f25828STinghan Shen 25337f25828STinghan Shen cluster_off_b: cluster-off-b { 25437f25828STinghan Shen compatible = "arm,idle-state"; 25537f25828STinghan Shen arm,psci-suspend-param = <0x01010002>; 25637f25828STinghan Shen local-timer-stop; 25737f25828STinghan Shen entry-latency-us = <50>; 25837f25828STinghan Shen exit-latency-us = <200>; 25937f25828STinghan Shen min-residency-us = <1000>; 26037f25828STinghan Shen }; 26137f25828STinghan Shen }; 26237f25828STinghan Shen 26337f25828STinghan Shen l2_0: l2-cache0 { 26437f25828STinghan Shen compatible = "cache"; 265ce459b1dSPierre Gondois cache-level = <2>; 266b68188a7SAngeloGioacchino Del Regno cache-size = <131072>; 267b68188a7SAngeloGioacchino Del Regno cache-line-size = <64>; 268b68188a7SAngeloGioacchino Del Regno cache-sets = <512>; 26937f25828STinghan Shen next-level-cache = <&l3_0>; 27037f25828STinghan Shen }; 27137f25828STinghan Shen 27237f25828STinghan Shen l2_1: l2-cache1 { 27337f25828STinghan Shen compatible = "cache"; 274ce459b1dSPierre Gondois cache-level = <2>; 275b68188a7SAngeloGioacchino Del Regno cache-size = <262144>; 276b68188a7SAngeloGioacchino Del Regno cache-line-size = <64>; 277b68188a7SAngeloGioacchino Del Regno cache-sets = <512>; 27837f25828STinghan Shen next-level-cache = <&l3_0>; 27937f25828STinghan Shen }; 28037f25828STinghan Shen 28137f25828STinghan Shen l3_0: l3-cache { 28237f25828STinghan Shen compatible = "cache"; 283ce459b1dSPierre Gondois cache-level = <3>; 284b68188a7SAngeloGioacchino Del Regno cache-size = <2097152>; 285b68188a7SAngeloGioacchino Del Regno cache-line-size = <64>; 286b68188a7SAngeloGioacchino Del Regno cache-sets = <2048>; 287b68188a7SAngeloGioacchino Del Regno cache-unified; 28837f25828STinghan Shen }; 28937f25828STinghan Shen }; 29037f25828STinghan Shen 29137f25828STinghan Shen dsu-pmu { 29237f25828STinghan Shen compatible = "arm,dsu-pmu"; 29337f25828STinghan Shen interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH 0>; 29437f25828STinghan Shen cpus = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>, 29537f25828STinghan Shen <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; 29637f25828STinghan Shen }; 29737f25828STinghan Shen 2988903821cSTinghan Shen dmic_codec: dmic-codec { 2998903821cSTinghan Shen compatible = "dmic-codec"; 3008903821cSTinghan Shen num-channels = <2>; 3018903821cSTinghan Shen wakeup-delay-ms = <50>; 3028903821cSTinghan Shen }; 3038903821cSTinghan Shen 3048903821cSTinghan Shen sound: mt8195-sound { 3058903821cSTinghan Shen mediatek,platform = <&afe>; 3068903821cSTinghan Shen status = "disabled"; 3078903821cSTinghan Shen }; 3088903821cSTinghan Shen 3090f1c806bSChen-Yu Tsai clk13m: fixed-factor-clock-13m { 3100f1c806bSChen-Yu Tsai compatible = "fixed-factor-clock"; 3110f1c806bSChen-Yu Tsai #clock-cells = <0>; 3120f1c806bSChen-Yu Tsai clocks = <&clk26m>; 3130f1c806bSChen-Yu Tsai clock-div = <2>; 3140f1c806bSChen-Yu Tsai clock-mult = <1>; 3150f1c806bSChen-Yu Tsai clock-output-names = "clk13m"; 3160f1c806bSChen-Yu Tsai }; 3170f1c806bSChen-Yu Tsai 31837f25828STinghan Shen clk26m: oscillator-26m { 31937f25828STinghan Shen compatible = "fixed-clock"; 32037f25828STinghan Shen #clock-cells = <0>; 32137f25828STinghan Shen clock-frequency = <26000000>; 32237f25828STinghan Shen clock-output-names = "clk26m"; 32337f25828STinghan Shen }; 32437f25828STinghan Shen 32537f25828STinghan Shen clk32k: oscillator-32k { 32637f25828STinghan Shen compatible = "fixed-clock"; 32737f25828STinghan Shen #clock-cells = <0>; 32837f25828STinghan Shen clock-frequency = <32768>; 32937f25828STinghan Shen clock-output-names = "clk32k"; 33037f25828STinghan Shen }; 33137f25828STinghan Shen 332e39e72cfSYT Lee performance: performance-controller@11bc10 { 333e39e72cfSYT Lee compatible = "mediatek,cpufreq-hw"; 334e39e72cfSYT Lee reg = <0 0x0011bc10 0 0x120>, <0 0x0011bd30 0 0x120>; 335e39e72cfSYT Lee #performance-domain-cells = <1>; 336e39e72cfSYT Lee }; 337e39e72cfSYT Lee 33837f25828STinghan Shen pmu-a55 { 33937f25828STinghan Shen compatible = "arm,cortex-a55-pmu"; 34037f25828STinghan Shen interrupt-parent = <&gic>; 34137f25828STinghan Shen interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster0>; 34237f25828STinghan Shen }; 34337f25828STinghan Shen 34437f25828STinghan Shen pmu-a78 { 34537f25828STinghan Shen compatible = "arm,cortex-a78-pmu"; 34637f25828STinghan Shen interrupt-parent = <&gic>; 34737f25828STinghan Shen interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster1>; 34837f25828STinghan Shen }; 34937f25828STinghan Shen 35037f25828STinghan Shen psci { 35137f25828STinghan Shen compatible = "arm,psci-1.0"; 35237f25828STinghan Shen method = "smc"; 35337f25828STinghan Shen }; 35437f25828STinghan Shen 35537f25828STinghan Shen timer: timer { 35637f25828STinghan Shen compatible = "arm,armv8-timer"; 35737f25828STinghan Shen interrupt-parent = <&gic>; 35837f25828STinghan Shen interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH 0>, 35937f25828STinghan Shen <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH 0>, 36037f25828STinghan Shen <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH 0>, 36137f25828STinghan Shen <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH 0>; 36237f25828STinghan Shen }; 36337f25828STinghan Shen 36437f25828STinghan Shen soc { 36537f25828STinghan Shen #address-cells = <2>; 36637f25828STinghan Shen #size-cells = <2>; 36737f25828STinghan Shen compatible = "simple-bus"; 36837f25828STinghan Shen ranges; 36937f25828STinghan Shen 37037f25828STinghan Shen gic: interrupt-controller@c000000 { 37137f25828STinghan Shen compatible = "arm,gic-v3"; 37237f25828STinghan Shen #interrupt-cells = <4>; 37337f25828STinghan Shen #redistributor-regions = <1>; 37437f25828STinghan Shen interrupt-parent = <&gic>; 37537f25828STinghan Shen interrupt-controller; 37637f25828STinghan Shen reg = <0 0x0c000000 0 0x40000>, 37737f25828STinghan Shen <0 0x0c040000 0 0x200000>; 37837f25828STinghan Shen interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>; 37937f25828STinghan Shen 38037f25828STinghan Shen ppi-partitions { 38137f25828STinghan Shen ppi_cluster0: interrupt-partition-0 { 38237f25828STinghan Shen affinity = <&cpu0 &cpu1 &cpu2 &cpu3>; 38337f25828STinghan Shen }; 38437f25828STinghan Shen 38537f25828STinghan Shen ppi_cluster1: interrupt-partition-1 { 38637f25828STinghan Shen affinity = <&cpu4 &cpu5 &cpu6 &cpu7>; 38737f25828STinghan Shen }; 38837f25828STinghan Shen }; 38937f25828STinghan Shen }; 39037f25828STinghan Shen 39137f25828STinghan Shen topckgen: syscon@10000000 { 39237f25828STinghan Shen compatible = "mediatek,mt8195-topckgen", "syscon"; 39337f25828STinghan Shen reg = <0 0x10000000 0 0x1000>; 39437f25828STinghan Shen #clock-cells = <1>; 39537f25828STinghan Shen }; 39637f25828STinghan Shen 39737f25828STinghan Shen infracfg_ao: syscon@10001000 { 39837f25828STinghan Shen compatible = "mediatek,mt8195-infracfg_ao", "syscon", "simple-mfd"; 39937f25828STinghan Shen reg = <0 0x10001000 0 0x1000>; 40037f25828STinghan Shen #clock-cells = <1>; 40137f25828STinghan Shen #reset-cells = <1>; 40237f25828STinghan Shen }; 40337f25828STinghan Shen 40437f25828STinghan Shen pericfg: syscon@10003000 { 40537f25828STinghan Shen compatible = "mediatek,mt8195-pericfg", "syscon"; 40637f25828STinghan Shen reg = <0 0x10003000 0 0x1000>; 40737f25828STinghan Shen #clock-cells = <1>; 40837f25828STinghan Shen }; 40937f25828STinghan Shen 41037f25828STinghan Shen pio: pinctrl@10005000 { 41137f25828STinghan Shen compatible = "mediatek,mt8195-pinctrl"; 41237f25828STinghan Shen reg = <0 0x10005000 0 0x1000>, 41337f25828STinghan Shen <0 0x11d10000 0 0x1000>, 41437f25828STinghan Shen <0 0x11d30000 0 0x1000>, 41537f25828STinghan Shen <0 0x11d40000 0 0x1000>, 41637f25828STinghan Shen <0 0x11e20000 0 0x1000>, 41737f25828STinghan Shen <0 0x11eb0000 0 0x1000>, 41837f25828STinghan Shen <0 0x11f40000 0 0x1000>, 41937f25828STinghan Shen <0 0x1000b000 0 0x1000>; 42037f25828STinghan Shen reg-names = "iocfg0", "iocfg_bm", "iocfg_bl", 42137f25828STinghan Shen "iocfg_br", "iocfg_lm", "iocfg_rb", 42237f25828STinghan Shen "iocfg_tl", "eint"; 42337f25828STinghan Shen gpio-controller; 42437f25828STinghan Shen #gpio-cells = <2>; 42537f25828STinghan Shen gpio-ranges = <&pio 0 0 144>; 42637f25828STinghan Shen interrupt-controller; 42737f25828STinghan Shen interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH 0>; 42837f25828STinghan Shen #interrupt-cells = <2>; 42937f25828STinghan Shen }; 43037f25828STinghan Shen 4312b515194STinghan Shen scpsys: syscon@10006000 { 4322b515194STinghan Shen compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd"; 4332b515194STinghan Shen reg = <0 0x10006000 0 0x1000>; 4342b515194STinghan Shen 4352b515194STinghan Shen /* System Power Manager */ 4362b515194STinghan Shen spm: power-controller { 4372b515194STinghan Shen compatible = "mediatek,mt8195-power-controller"; 4382b515194STinghan Shen #address-cells = <1>; 4392b515194STinghan Shen #size-cells = <0>; 4402b515194STinghan Shen #power-domain-cells = <1>; 4412b515194STinghan Shen 4422b515194STinghan Shen /* power domain of the SoC */ 4432b515194STinghan Shen mfg0: power-domain@MT8195_POWER_DOMAIN_MFG0 { 4442b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_MFG0>; 4452b515194STinghan Shen #address-cells = <1>; 4462b515194STinghan Shen #size-cells = <0>; 4472b515194STinghan Shen #power-domain-cells = <1>; 4482b515194STinghan Shen 4492b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_MFG1 { 4502b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_MFG1>; 4512b515194STinghan Shen clocks = <&apmixedsys CLK_APMIXED_MFGPLL>; 4522b515194STinghan Shen clock-names = "mfg"; 4532b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 4542b515194STinghan Shen #address-cells = <1>; 4552b515194STinghan Shen #size-cells = <0>; 4562b515194STinghan Shen #power-domain-cells = <1>; 4572b515194STinghan Shen 4582b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_MFG2 { 4592b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_MFG2>; 4602b515194STinghan Shen #power-domain-cells = <0>; 4612b515194STinghan Shen }; 4622b515194STinghan Shen 4632b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_MFG3 { 4642b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_MFG3>; 4652b515194STinghan Shen #power-domain-cells = <0>; 4662b515194STinghan Shen }; 4672b515194STinghan Shen 4682b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_MFG4 { 4692b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_MFG4>; 4702b515194STinghan Shen #power-domain-cells = <0>; 4712b515194STinghan Shen }; 4722b515194STinghan Shen 4732b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_MFG5 { 4742b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_MFG5>; 4752b515194STinghan Shen #power-domain-cells = <0>; 4762b515194STinghan Shen }; 4772b515194STinghan Shen 4782b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_MFG6 { 4792b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_MFG6>; 4802b515194STinghan Shen #power-domain-cells = <0>; 4812b515194STinghan Shen }; 4822b515194STinghan Shen }; 4832b515194STinghan Shen }; 4842b515194STinghan Shen 4852b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VPPSYS0 { 4862b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VPPSYS0>; 4872b515194STinghan Shen clocks = <&topckgen CLK_TOP_VPP>, 4882b515194STinghan Shen <&topckgen CLK_TOP_CAM>, 4892b515194STinghan Shen <&topckgen CLK_TOP_CCU>, 4902b515194STinghan Shen <&topckgen CLK_TOP_IMG>, 4912b515194STinghan Shen <&topckgen CLK_TOP_VENC>, 4922b515194STinghan Shen <&topckgen CLK_TOP_VDEC>, 4932b515194STinghan Shen <&topckgen CLK_TOP_WPE_VPP>, 4942b515194STinghan Shen <&topckgen CLK_TOP_CFG_VPP0>, 4952b515194STinghan Shen <&vppsys0 CLK_VPP0_SMI_COMMON>, 4962b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDO0_LARB0>, 4972b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDO0_LARB1>, 4982b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VENCSYS>, 4992b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VENCSYS_CORE1>, 5002b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_INFRA>, 5012b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_CAMSYS>, 5022b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VPP1_LARB5>, 5032b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VPP1_LARB6>, 5042b515194STinghan Shen <&vppsys0 CLK_VPP0_SMI_REORDER>, 5052b515194STinghan Shen <&vppsys0 CLK_VPP0_SMI_IOMMU>, 5062b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_IMGSYS_CAMSYS>, 5072b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_EMI0_EMI1>, 5082b515194STinghan Shen <&vppsys0 CLK_VPP0_SMI_SUB_COMMON_REORDER>, 5092b515194STinghan Shen <&vppsys0 CLK_VPP0_SMI_RSI>, 5102b515194STinghan Shen <&vppsys0 CLK_VPP0_SMI_COMMON_LARB4>, 5112b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDEC_VDEC_CORE1>, 5122b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VPP1_WPE>, 5132b515194STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDO0_VDO1_VENCSYS_CORE1>; 5142b515194STinghan Shen clock-names = "vppsys", "vppsys1", "vppsys2", "vppsys3", 5152b515194STinghan Shen "vppsys4", "vppsys5", "vppsys6", "vppsys7", 5162b515194STinghan Shen "vppsys0-0", "vppsys0-1", "vppsys0-2", "vppsys0-3", 5172b515194STinghan Shen "vppsys0-4", "vppsys0-5", "vppsys0-6", "vppsys0-7", 5182b515194STinghan Shen "vppsys0-8", "vppsys0-9", "vppsys0-10", "vppsys0-11", 5192b515194STinghan Shen "vppsys0-12", "vppsys0-13", "vppsys0-14", 5202b515194STinghan Shen "vppsys0-15", "vppsys0-16", "vppsys0-17", 5212b515194STinghan Shen "vppsys0-18"; 5222b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 5232b515194STinghan Shen #address-cells = <1>; 5242b515194STinghan Shen #size-cells = <0>; 5252b515194STinghan Shen #power-domain-cells = <1>; 5262b515194STinghan Shen 5272b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VDEC1 { 5282b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VDEC1>; 5292b515194STinghan Shen clocks = <&vdecsys CLK_VDEC_LARB1>; 5302b515194STinghan Shen clock-names = "vdec1-0"; 5312b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 5322b515194STinghan Shen #power-domain-cells = <0>; 5332b515194STinghan Shen }; 5342b515194STinghan Shen 5352b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VENC_CORE1 { 5362b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VENC_CORE1>; 5372b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 5382b515194STinghan Shen #power-domain-cells = <0>; 5392b515194STinghan Shen }; 5402b515194STinghan Shen 5412b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VDOSYS0 { 5422b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VDOSYS0>; 5432b515194STinghan Shen clocks = <&topckgen CLK_TOP_CFG_VDO0>, 5442b515194STinghan Shen <&vdosys0 CLK_VDO0_SMI_GALS>, 5452b515194STinghan Shen <&vdosys0 CLK_VDO0_SMI_COMMON>, 5462b515194STinghan Shen <&vdosys0 CLK_VDO0_SMI_EMI>, 5472b515194STinghan Shen <&vdosys0 CLK_VDO0_SMI_IOMMU>, 5482b515194STinghan Shen <&vdosys0 CLK_VDO0_SMI_LARB>, 5492b515194STinghan Shen <&vdosys0 CLK_VDO0_SMI_RSI>; 5502b515194STinghan Shen clock-names = "vdosys0", "vdosys0-0", "vdosys0-1", 5512b515194STinghan Shen "vdosys0-2", "vdosys0-3", 5522b515194STinghan Shen "vdosys0-4", "vdosys0-5"; 5532b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 5542b515194STinghan Shen #address-cells = <1>; 5552b515194STinghan Shen #size-cells = <0>; 5562b515194STinghan Shen #power-domain-cells = <1>; 5572b515194STinghan Shen 5582b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VPPSYS1 { 5592b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VPPSYS1>; 5602b515194STinghan Shen clocks = <&topckgen CLK_TOP_CFG_VPP1>, 5612b515194STinghan Shen <&vppsys1 CLK_VPP1_VPPSYS1_GALS>, 5622b515194STinghan Shen <&vppsys1 CLK_VPP1_VPPSYS1_LARB>; 5632b515194STinghan Shen clock-names = "vppsys1", "vppsys1-0", 5642b515194STinghan Shen "vppsys1-1"; 5652b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 5662b515194STinghan Shen #power-domain-cells = <0>; 5672b515194STinghan Shen }; 5682b515194STinghan Shen 5692b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_WPESYS { 5702b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_WPESYS>; 5712b515194STinghan Shen clocks = <&wpesys CLK_WPE_SMI_LARB7>, 5722b515194STinghan Shen <&wpesys CLK_WPE_SMI_LARB8>, 5732b515194STinghan Shen <&wpesys CLK_WPE_SMI_LARB7_P>, 5742b515194STinghan Shen <&wpesys CLK_WPE_SMI_LARB8_P>; 5752b515194STinghan Shen clock-names = "wepsys-0", "wepsys-1", "wepsys-2", 5762b515194STinghan Shen "wepsys-3"; 5772b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 5782b515194STinghan Shen #power-domain-cells = <0>; 5792b515194STinghan Shen }; 5802b515194STinghan Shen 5812b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VDEC0 { 5822b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VDEC0>; 5832b515194STinghan Shen clocks = <&vdecsys_soc CLK_VDEC_SOC_LARB1>; 5842b515194STinghan Shen clock-names = "vdec0-0"; 5852b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 5862b515194STinghan Shen #power-domain-cells = <0>; 5872b515194STinghan Shen }; 5882b515194STinghan Shen 5892b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VDEC2 { 5902b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VDEC2>; 5912b515194STinghan Shen clocks = <&vdecsys_core1 CLK_VDEC_CORE1_LARB1>; 5922b515194STinghan Shen clock-names = "vdec2-0"; 5932b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 5942b515194STinghan Shen #power-domain-cells = <0>; 5952b515194STinghan Shen }; 5962b515194STinghan Shen 5972b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VENC { 5982b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VENC>; 5992b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 6002b515194STinghan Shen #power-domain-cells = <0>; 6012b515194STinghan Shen }; 6022b515194STinghan Shen 6032b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_VDOSYS1 { 6042b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_VDOSYS1>; 6052b515194STinghan Shen clocks = <&topckgen CLK_TOP_CFG_VDO1>, 6062b515194STinghan Shen <&vdosys1 CLK_VDO1_SMI_LARB2>, 6072b515194STinghan Shen <&vdosys1 CLK_VDO1_SMI_LARB3>, 6082b515194STinghan Shen <&vdosys1 CLK_VDO1_GALS>; 6092b515194STinghan Shen clock-names = "vdosys1", "vdosys1-0", 6102b515194STinghan Shen "vdosys1-1", "vdosys1-2"; 6112b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 6122b515194STinghan Shen #address-cells = <1>; 6132b515194STinghan Shen #size-cells = <0>; 6142b515194STinghan Shen #power-domain-cells = <1>; 6152b515194STinghan Shen 6162b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_DP_TX { 6172b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_DP_TX>; 6182b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 6192b515194STinghan Shen #power-domain-cells = <0>; 6202b515194STinghan Shen }; 6212b515194STinghan Shen 6222b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_EPD_TX { 6232b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_EPD_TX>; 6242b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 6252b515194STinghan Shen #power-domain-cells = <0>; 6262b515194STinghan Shen }; 6272b515194STinghan Shen 6282b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_HDMI_TX { 6292b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_HDMI_TX>; 6302b515194STinghan Shen clocks = <&topckgen CLK_TOP_HDMI_APB>; 6312b515194STinghan Shen clock-names = "hdmi_tx"; 6322b515194STinghan Shen #power-domain-cells = <0>; 6332b515194STinghan Shen }; 6342b515194STinghan Shen }; 6352b515194STinghan Shen 6362b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_IMG { 6372b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_IMG>; 6382b515194STinghan Shen clocks = <&imgsys CLK_IMG_LARB9>, 6392b515194STinghan Shen <&imgsys CLK_IMG_GALS>; 6402b515194STinghan Shen clock-names = "img-0", "img-1"; 6412b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 6422b515194STinghan Shen #address-cells = <1>; 6432b515194STinghan Shen #size-cells = <0>; 6442b515194STinghan Shen #power-domain-cells = <1>; 6452b515194STinghan Shen 6462b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_DIP { 6472b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_DIP>; 6482b515194STinghan Shen #power-domain-cells = <0>; 6492b515194STinghan Shen }; 6502b515194STinghan Shen 6512b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_IPE { 6522b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_IPE>; 6532b515194STinghan Shen clocks = <&topckgen CLK_TOP_IPE>, 6542b515194STinghan Shen <&imgsys CLK_IMG_IPE>, 6552b515194STinghan Shen <&ipesys CLK_IPE_SMI_LARB12>; 6562b515194STinghan Shen clock-names = "ipe", "ipe-0", "ipe-1"; 6572b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 6582b515194STinghan Shen #power-domain-cells = <0>; 6592b515194STinghan Shen }; 6602b515194STinghan Shen }; 6612b515194STinghan Shen 6622b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_CAM { 6632b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_CAM>; 6642b515194STinghan Shen clocks = <&camsys CLK_CAM_LARB13>, 6652b515194STinghan Shen <&camsys CLK_CAM_LARB14>, 6662b515194STinghan Shen <&camsys CLK_CAM_CAM2MM0_GALS>, 6672b515194STinghan Shen <&camsys CLK_CAM_CAM2MM1_GALS>, 6682b515194STinghan Shen <&camsys CLK_CAM_CAM2SYS_GALS>; 6692b515194STinghan Shen clock-names = "cam-0", "cam-1", "cam-2", "cam-3", 6702b515194STinghan Shen "cam-4"; 6712b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 6722b515194STinghan Shen #address-cells = <1>; 6732b515194STinghan Shen #size-cells = <0>; 6742b515194STinghan Shen #power-domain-cells = <1>; 6752b515194STinghan Shen 6762b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_CAM_RAWA { 6772b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_CAM_RAWA>; 6782b515194STinghan Shen #power-domain-cells = <0>; 6792b515194STinghan Shen }; 6802b515194STinghan Shen 6812b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_CAM_RAWB { 6822b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_CAM_RAWB>; 6832b515194STinghan Shen #power-domain-cells = <0>; 6842b515194STinghan Shen }; 6852b515194STinghan Shen 6862b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_CAM_MRAW { 6872b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_CAM_MRAW>; 6882b515194STinghan Shen #power-domain-cells = <0>; 6892b515194STinghan Shen }; 6902b515194STinghan Shen }; 6912b515194STinghan Shen }; 6922b515194STinghan Shen }; 6932b515194STinghan Shen 6942b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_PCIE_MAC_P0 { 6952b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_PCIE_MAC_P0>; 6962b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 6972b515194STinghan Shen #power-domain-cells = <0>; 6982b515194STinghan Shen }; 6992b515194STinghan Shen 7002b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_PCIE_MAC_P1 { 7012b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_PCIE_MAC_P1>; 7022b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 7032b515194STinghan Shen #power-domain-cells = <0>; 7042b515194STinghan Shen }; 7052b515194STinghan Shen 7062b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_PCIE_PHY { 7072b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_PCIE_PHY>; 7082b515194STinghan Shen #power-domain-cells = <0>; 7092b515194STinghan Shen }; 7102b515194STinghan Shen 7112b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY { 7122b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>; 7132b515194STinghan Shen #power-domain-cells = <0>; 7142b515194STinghan Shen }; 7152b515194STinghan Shen 7162b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_CSI_RX_TOP { 7172b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_CSI_RX_TOP>; 7182b515194STinghan Shen clocks = <&topckgen CLK_TOP_SENINF>, 7192b515194STinghan Shen <&topckgen CLK_TOP_SENINF2>; 7202b515194STinghan Shen clock-names = "csi_rx_top", "csi_rx_top1"; 7212b515194STinghan Shen #power-domain-cells = <0>; 7222b515194STinghan Shen }; 7232b515194STinghan Shen 7242b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_ETHER { 7252b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_ETHER>; 7262b515194STinghan Shen clocks = <&pericfg_ao CLK_PERI_AO_ETHERNET_MAC>; 7272b515194STinghan Shen clock-names = "ether"; 7282b515194STinghan Shen #power-domain-cells = <0>; 7292b515194STinghan Shen }; 7302b515194STinghan Shen 7312b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_ADSP { 7322b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_ADSP>; 7332b515194STinghan Shen clocks = <&topckgen CLK_TOP_ADSP>, 7342b515194STinghan Shen <&topckgen CLK_TOP_AUDIO_LOCAL_BUS>; 7352b515194STinghan Shen clock-names = "adsp", "adsp1"; 7362b515194STinghan Shen #address-cells = <1>; 7372b515194STinghan Shen #size-cells = <0>; 7382b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 7392b515194STinghan Shen #power-domain-cells = <1>; 7402b515194STinghan Shen 7412b515194STinghan Shen power-domain@MT8195_POWER_DOMAIN_AUDIO { 7422b515194STinghan Shen reg = <MT8195_POWER_DOMAIN_AUDIO>; 7432b515194STinghan Shen clocks = <&topckgen CLK_TOP_A1SYS_HP>, 7442b515194STinghan Shen <&topckgen CLK_TOP_AUD_INTBUS>, 7452b515194STinghan Shen <&topckgen CLK_TOP_AUDIO_LOCAL_BUS>, 7462b515194STinghan Shen <&infracfg_ao CLK_INFRA_AO_AUDIO_26M_B>; 7472b515194STinghan Shen clock-names = "audio", "audio1", "audio2", 7482b515194STinghan Shen "audio3"; 7492b515194STinghan Shen mediatek,infracfg = <&infracfg_ao>; 7502b515194STinghan Shen #power-domain-cells = <0>; 7512b515194STinghan Shen }; 7522b515194STinghan Shen }; 7532b515194STinghan Shen }; 7542b515194STinghan Shen }; 7552b515194STinghan Shen 75637f25828STinghan Shen watchdog: watchdog@10007000 { 75737f25828STinghan Shen compatible = "mediatek,mt8195-wdt", 75837f25828STinghan Shen "mediatek,mt6589-wdt"; 759a376a9a6STinghan Shen mediatek,disable-extrst; 76037f25828STinghan Shen reg = <0 0x10007000 0 0x100>; 76104cd9783STrevor Wu #reset-cells = <1>; 76237f25828STinghan Shen }; 76337f25828STinghan Shen 76437f25828STinghan Shen apmixedsys: syscon@1000c000 { 76537f25828STinghan Shen compatible = "mediatek,mt8195-apmixedsys", "syscon"; 76637f25828STinghan Shen reg = <0 0x1000c000 0 0x1000>; 76737f25828STinghan Shen #clock-cells = <1>; 76837f25828STinghan Shen }; 76937f25828STinghan Shen 77037f25828STinghan Shen systimer: timer@10017000 { 77137f25828STinghan Shen compatible = "mediatek,mt8195-timer", 77237f25828STinghan Shen "mediatek,mt6765-timer"; 77337f25828STinghan Shen reg = <0 0x10017000 0 0x1000>; 77437f25828STinghan Shen interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH 0>; 7750f1c806bSChen-Yu Tsai clocks = <&clk13m>; 77637f25828STinghan Shen }; 77737f25828STinghan Shen 77837f25828STinghan Shen pwrap: pwrap@10024000 { 77937f25828STinghan Shen compatible = "mediatek,mt8195-pwrap", "syscon"; 78037f25828STinghan Shen reg = <0 0x10024000 0 0x1000>; 78137f25828STinghan Shen reg-names = "pwrap"; 78237f25828STinghan Shen interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH 0>; 78337f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>, 78437f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>; 78537f25828STinghan Shen clock-names = "spi", "wrap"; 78637f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC>; 78737f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_ULPOSC1_D10>; 78837f25828STinghan Shen }; 78937f25828STinghan Shen 790385e0eedSTinghan Shen spmi: spmi@10027000 { 791385e0eedSTinghan Shen compatible = "mediatek,mt8195-spmi"; 792385e0eedSTinghan Shen reg = <0 0x10027000 0 0x000e00>, 793385e0eedSTinghan Shen <0 0x10029000 0 0x000100>; 794385e0eedSTinghan Shen reg-names = "pmif", "spmimst"; 795385e0eedSTinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>, 796385e0eedSTinghan Shen <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>, 797385e0eedSTinghan Shen <&topckgen CLK_TOP_SPMI_M_MST>; 798385e0eedSTinghan Shen clock-names = "pmif_sys_ck", 799385e0eedSTinghan Shen "pmif_tmr_ck", 800385e0eedSTinghan Shen "spmimst_clk_mux"; 801385e0eedSTinghan Shen assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC>; 802385e0eedSTinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_ULPOSC1_D10>; 803385e0eedSTinghan Shen }; 804385e0eedSTinghan Shen 8053b5838d1STinghan Shen iommu_infra: infra-iommu@10315000 { 8063b5838d1STinghan Shen compatible = "mediatek,mt8195-iommu-infra"; 8073b5838d1STinghan Shen reg = <0 0x10315000 0 0x5000>; 8083b5838d1STinghan Shen interrupts = <GIC_SPI 795 IRQ_TYPE_LEVEL_HIGH 0>, 8093b5838d1STinghan Shen <GIC_SPI 796 IRQ_TYPE_LEVEL_HIGH 0>, 8103b5838d1STinghan Shen <GIC_SPI 797 IRQ_TYPE_LEVEL_HIGH 0>, 8113b5838d1STinghan Shen <GIC_SPI 798 IRQ_TYPE_LEVEL_HIGH 0>, 8123b5838d1STinghan Shen <GIC_SPI 799 IRQ_TYPE_LEVEL_HIGH 0>; 8133b5838d1STinghan Shen #iommu-cells = <1>; 8143b5838d1STinghan Shen }; 8153b5838d1STinghan Shen 816329239a1SJason-JH.Lin gce0: mailbox@10320000 { 817329239a1SJason-JH.Lin compatible = "mediatek,mt8195-gce"; 818329239a1SJason-JH.Lin reg = <0 0x10320000 0 0x4000>; 819329239a1SJason-JH.Lin interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH 0>; 820329239a1SJason-JH.Lin #mbox-cells = <2>; 821329239a1SJason-JH.Lin clocks = <&infracfg_ao CLK_INFRA_AO_GCE>; 822329239a1SJason-JH.Lin }; 823329239a1SJason-JH.Lin 824329239a1SJason-JH.Lin gce1: mailbox@10330000 { 825329239a1SJason-JH.Lin compatible = "mediatek,mt8195-gce"; 826329239a1SJason-JH.Lin reg = <0 0x10330000 0 0x4000>; 827329239a1SJason-JH.Lin interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH 0>; 828329239a1SJason-JH.Lin #mbox-cells = <2>; 829329239a1SJason-JH.Lin clocks = <&infracfg_ao CLK_INFRA_AO_GCE2>; 830329239a1SJason-JH.Lin }; 831329239a1SJason-JH.Lin 832867477a5STinghan Shen scp: scp@10500000 { 833867477a5STinghan Shen compatible = "mediatek,mt8195-scp"; 834867477a5STinghan Shen reg = <0 0x10500000 0 0x100000>, 835867477a5STinghan Shen <0 0x10720000 0 0xe0000>, 836867477a5STinghan Shen <0 0x10700000 0 0x8000>; 837867477a5STinghan Shen reg-names = "sram", "cfg", "l1tcm"; 838867477a5STinghan Shen interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH 0>; 839867477a5STinghan Shen status = "disabled"; 840867477a5STinghan Shen }; 841867477a5STinghan Shen 84237f25828STinghan Shen scp_adsp: clock-controller@10720000 { 84337f25828STinghan Shen compatible = "mediatek,mt8195-scp_adsp"; 84437f25828STinghan Shen reg = <0 0x10720000 0 0x1000>; 84537f25828STinghan Shen #clock-cells = <1>; 84637f25828STinghan Shen }; 84737f25828STinghan Shen 8487dd5bc57SYC Hung adsp: dsp@10803000 { 8497dd5bc57SYC Hung compatible = "mediatek,mt8195-dsp"; 8507dd5bc57SYC Hung reg = <0 0x10803000 0 0x1000>, 8517dd5bc57SYC Hung <0 0x10840000 0 0x40000>; 8527dd5bc57SYC Hung reg-names = "cfg", "sram"; 8537dd5bc57SYC Hung clocks = <&topckgen CLK_TOP_ADSP>, 8547dd5bc57SYC Hung <&clk26m>, 8557dd5bc57SYC Hung <&topckgen CLK_TOP_AUDIO_LOCAL_BUS>, 8567dd5bc57SYC Hung <&topckgen CLK_TOP_MAINPLL_D7_D2>, 8577dd5bc57SYC Hung <&scp_adsp CLK_SCP_ADSP_AUDIODSP>, 8587dd5bc57SYC Hung <&topckgen CLK_TOP_AUDIO_H>; 8597dd5bc57SYC Hung clock-names = "adsp_sel", 8607dd5bc57SYC Hung "clk26m_ck", 8617dd5bc57SYC Hung "audio_local_bus", 8627dd5bc57SYC Hung "mainpll_d7_d2", 8637dd5bc57SYC Hung "scp_adsp_audiodsp", 8647dd5bc57SYC Hung "audio_h"; 8657dd5bc57SYC Hung power-domains = <&spm MT8195_POWER_DOMAIN_ADSP>; 8667dd5bc57SYC Hung mbox-names = "rx", "tx"; 8677dd5bc57SYC Hung mboxes = <&adsp_mailbox0>, <&adsp_mailbox1>; 8687dd5bc57SYC Hung status = "disabled"; 8697dd5bc57SYC Hung }; 8707dd5bc57SYC Hung 8717dd5bc57SYC Hung adsp_mailbox0: mailbox@10816000 { 8727dd5bc57SYC Hung compatible = "mediatek,mt8195-adsp-mbox"; 8737dd5bc57SYC Hung #mbox-cells = <0>; 8747dd5bc57SYC Hung reg = <0 0x10816000 0 0x1000>; 8757dd5bc57SYC Hung interrupts = <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH 0>; 8767dd5bc57SYC Hung }; 8777dd5bc57SYC Hung 8787dd5bc57SYC Hung adsp_mailbox1: mailbox@10817000 { 8797dd5bc57SYC Hung compatible = "mediatek,mt8195-adsp-mbox"; 8807dd5bc57SYC Hung #mbox-cells = <0>; 8817dd5bc57SYC Hung reg = <0 0x10817000 0 0x1000>; 8827dd5bc57SYC Hung interrupts = <GIC_SPI 703 IRQ_TYPE_LEVEL_HIGH 0>; 8837dd5bc57SYC Hung }; 8847dd5bc57SYC Hung 8858903821cSTinghan Shen afe: mt8195-afe-pcm@10890000 { 8868903821cSTinghan Shen compatible = "mediatek,mt8195-audio"; 8878903821cSTinghan Shen reg = <0 0x10890000 0 0x10000>; 8888903821cSTinghan Shen mediatek,topckgen = <&topckgen>; 8898903821cSTinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_AUDIO>; 8908903821cSTinghan Shen interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH 0>; 89104cd9783STrevor Wu resets = <&watchdog 14>; 89204cd9783STrevor Wu reset-names = "audiosys"; 8938903821cSTinghan Shen clocks = <&clk26m>, 8948903821cSTinghan Shen <&apmixedsys CLK_APMIXED_APLL1>, 8958903821cSTinghan Shen <&apmixedsys CLK_APMIXED_APLL2>, 8968903821cSTinghan Shen <&topckgen CLK_TOP_APLL12_DIV0>, 8978903821cSTinghan Shen <&topckgen CLK_TOP_APLL12_DIV1>, 8988903821cSTinghan Shen <&topckgen CLK_TOP_APLL12_DIV2>, 8998903821cSTinghan Shen <&topckgen CLK_TOP_APLL12_DIV3>, 9008903821cSTinghan Shen <&topckgen CLK_TOP_APLL12_DIV9>, 9018903821cSTinghan Shen <&topckgen CLK_TOP_A1SYS_HP>, 9028903821cSTinghan Shen <&topckgen CLK_TOP_AUD_INTBUS>, 9038903821cSTinghan Shen <&topckgen CLK_TOP_AUDIO_H>, 9048903821cSTinghan Shen <&topckgen CLK_TOP_AUDIO_LOCAL_BUS>, 9058903821cSTinghan Shen <&topckgen CLK_TOP_DPTX_MCK>, 9068903821cSTinghan Shen <&topckgen CLK_TOP_I2SO1_MCK>, 9078903821cSTinghan Shen <&topckgen CLK_TOP_I2SO2_MCK>, 9088903821cSTinghan Shen <&topckgen CLK_TOP_I2SI1_MCK>, 9098903821cSTinghan Shen <&topckgen CLK_TOP_I2SI2_MCK>, 9108903821cSTinghan Shen <&infracfg_ao CLK_INFRA_AO_AUDIO_26M_B>, 9118903821cSTinghan Shen <&scp_adsp CLK_SCP_ADSP_AUDIODSP>; 9128903821cSTinghan Shen clock-names = "clk26m", 9138903821cSTinghan Shen "apll1_ck", 9148903821cSTinghan Shen "apll2_ck", 9158903821cSTinghan Shen "apll12_div0", 9168903821cSTinghan Shen "apll12_div1", 9178903821cSTinghan Shen "apll12_div2", 9188903821cSTinghan Shen "apll12_div3", 9198903821cSTinghan Shen "apll12_div9", 9208903821cSTinghan Shen "a1sys_hp_sel", 9218903821cSTinghan Shen "aud_intbus_sel", 9228903821cSTinghan Shen "audio_h_sel", 9238903821cSTinghan Shen "audio_local_bus_sel", 9248903821cSTinghan Shen "dptx_m_sel", 9258903821cSTinghan Shen "i2so1_m_sel", 9268903821cSTinghan Shen "i2so2_m_sel", 9278903821cSTinghan Shen "i2si1_m_sel", 9288903821cSTinghan Shen "i2si2_m_sel", 9298903821cSTinghan Shen "infra_ao_audio_26m_b", 9308903821cSTinghan Shen "scp_adsp_audiodsp"; 9318903821cSTinghan Shen status = "disabled"; 9328903821cSTinghan Shen }; 9338903821cSTinghan Shen 93437f25828STinghan Shen uart0: serial@11001100 { 93537f25828STinghan Shen compatible = "mediatek,mt8195-uart", 93637f25828STinghan Shen "mediatek,mt6577-uart"; 93737f25828STinghan Shen reg = <0 0x11001100 0 0x100>; 93837f25828STinghan Shen interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH 0>; 93937f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART0>; 94037f25828STinghan Shen clock-names = "baud", "bus"; 94137f25828STinghan Shen status = "disabled"; 94237f25828STinghan Shen }; 94337f25828STinghan Shen 94437f25828STinghan Shen uart1: serial@11001200 { 94537f25828STinghan Shen compatible = "mediatek,mt8195-uart", 94637f25828STinghan Shen "mediatek,mt6577-uart"; 94737f25828STinghan Shen reg = <0 0x11001200 0 0x100>; 94837f25828STinghan Shen interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH 0>; 94937f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART1>; 95037f25828STinghan Shen clock-names = "baud", "bus"; 95137f25828STinghan Shen status = "disabled"; 95237f25828STinghan Shen }; 95337f25828STinghan Shen 95437f25828STinghan Shen uart2: serial@11001300 { 95537f25828STinghan Shen compatible = "mediatek,mt8195-uart", 95637f25828STinghan Shen "mediatek,mt6577-uart"; 95737f25828STinghan Shen reg = <0 0x11001300 0 0x100>; 95837f25828STinghan Shen interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH 0>; 95937f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART2>; 96037f25828STinghan Shen clock-names = "baud", "bus"; 96137f25828STinghan Shen status = "disabled"; 96237f25828STinghan Shen }; 96337f25828STinghan Shen 96437f25828STinghan Shen uart3: serial@11001400 { 96537f25828STinghan Shen compatible = "mediatek,mt8195-uart", 96637f25828STinghan Shen "mediatek,mt6577-uart"; 96737f25828STinghan Shen reg = <0 0x11001400 0 0x100>; 96837f25828STinghan Shen interrupts = <GIC_SPI 723 IRQ_TYPE_LEVEL_HIGH 0>; 96937f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART3>; 97037f25828STinghan Shen clock-names = "baud", "bus"; 97137f25828STinghan Shen status = "disabled"; 97237f25828STinghan Shen }; 97337f25828STinghan Shen 97437f25828STinghan Shen uart4: serial@11001500 { 97537f25828STinghan Shen compatible = "mediatek,mt8195-uart", 97637f25828STinghan Shen "mediatek,mt6577-uart"; 97737f25828STinghan Shen reg = <0 0x11001500 0 0x100>; 97837f25828STinghan Shen interrupts = <GIC_SPI 724 IRQ_TYPE_LEVEL_HIGH 0>; 97937f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART4>; 98037f25828STinghan Shen clock-names = "baud", "bus"; 98137f25828STinghan Shen status = "disabled"; 98237f25828STinghan Shen }; 98337f25828STinghan Shen 98437f25828STinghan Shen uart5: serial@11001600 { 98537f25828STinghan Shen compatible = "mediatek,mt8195-uart", 98637f25828STinghan Shen "mediatek,mt6577-uart"; 98737f25828STinghan Shen reg = <0 0x11001600 0 0x100>; 98837f25828STinghan Shen interrupts = <GIC_SPI 725 IRQ_TYPE_LEVEL_HIGH 0>; 98937f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART5>; 99037f25828STinghan Shen clock-names = "baud", "bus"; 99137f25828STinghan Shen status = "disabled"; 99237f25828STinghan Shen }; 99337f25828STinghan Shen 99437f25828STinghan Shen auxadc: auxadc@11002000 { 99537f25828STinghan Shen compatible = "mediatek,mt8195-auxadc", 99637f25828STinghan Shen "mediatek,mt8173-auxadc"; 99737f25828STinghan Shen reg = <0 0x11002000 0 0x1000>; 99837f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_AUXADC>; 99937f25828STinghan Shen clock-names = "main"; 100037f25828STinghan Shen #io-channel-cells = <1>; 100137f25828STinghan Shen status = "disabled"; 100237f25828STinghan Shen }; 100337f25828STinghan Shen 100437f25828STinghan Shen pericfg_ao: syscon@11003000 { 100537f25828STinghan Shen compatible = "mediatek,mt8195-pericfg_ao", "syscon"; 100637f25828STinghan Shen reg = <0 0x11003000 0 0x1000>; 100737f25828STinghan Shen #clock-cells = <1>; 100837f25828STinghan Shen }; 100937f25828STinghan Shen 101037f25828STinghan Shen spi0: spi@1100a000 { 101137f25828STinghan Shen compatible = "mediatek,mt8195-spi", 101237f25828STinghan Shen "mediatek,mt6765-spi"; 101337f25828STinghan Shen #address-cells = <1>; 101437f25828STinghan Shen #size-cells = <0>; 101537f25828STinghan Shen reg = <0 0x1100a000 0 0x1000>; 101637f25828STinghan Shen interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH 0>; 101737f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 101837f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 101937f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI0>; 102037f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 102137f25828STinghan Shen status = "disabled"; 102237f25828STinghan Shen }; 102337f25828STinghan Shen 102437f25828STinghan Shen spi1: spi@11010000 { 102537f25828STinghan Shen compatible = "mediatek,mt8195-spi", 102637f25828STinghan Shen "mediatek,mt6765-spi"; 102737f25828STinghan Shen #address-cells = <1>; 102837f25828STinghan Shen #size-cells = <0>; 102937f25828STinghan Shen reg = <0 0x11010000 0 0x1000>; 103037f25828STinghan Shen interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH 0>; 103137f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 103237f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 103337f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI1>; 103437f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 103537f25828STinghan Shen status = "disabled"; 103637f25828STinghan Shen }; 103737f25828STinghan Shen 103837f25828STinghan Shen spi2: spi@11012000 { 103937f25828STinghan Shen compatible = "mediatek,mt8195-spi", 104037f25828STinghan Shen "mediatek,mt6765-spi"; 104137f25828STinghan Shen #address-cells = <1>; 104237f25828STinghan Shen #size-cells = <0>; 104337f25828STinghan Shen reg = <0 0x11012000 0 0x1000>; 104437f25828STinghan Shen interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH 0>; 104537f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 104637f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 104737f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI2>; 104837f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 104937f25828STinghan Shen status = "disabled"; 105037f25828STinghan Shen }; 105137f25828STinghan Shen 105237f25828STinghan Shen spi3: spi@11013000 { 105337f25828STinghan Shen compatible = "mediatek,mt8195-spi", 105437f25828STinghan Shen "mediatek,mt6765-spi"; 105537f25828STinghan Shen #address-cells = <1>; 105637f25828STinghan Shen #size-cells = <0>; 105737f25828STinghan Shen reg = <0 0x11013000 0 0x1000>; 105837f25828STinghan Shen interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH 0>; 105937f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 106037f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 106137f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI3>; 106237f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 106337f25828STinghan Shen status = "disabled"; 106437f25828STinghan Shen }; 106537f25828STinghan Shen 106637f25828STinghan Shen spi4: spi@11018000 { 106737f25828STinghan Shen compatible = "mediatek,mt8195-spi", 106837f25828STinghan Shen "mediatek,mt6765-spi"; 106937f25828STinghan Shen #address-cells = <1>; 107037f25828STinghan Shen #size-cells = <0>; 107137f25828STinghan Shen reg = <0 0x11018000 0 0x1000>; 107237f25828STinghan Shen interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH 0>; 107337f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 107437f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 107537f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI4>; 107637f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 107737f25828STinghan Shen status = "disabled"; 107837f25828STinghan Shen }; 107937f25828STinghan Shen 108037f25828STinghan Shen spi5: spi@11019000 { 108137f25828STinghan Shen compatible = "mediatek,mt8195-spi", 108237f25828STinghan Shen "mediatek,mt6765-spi"; 108337f25828STinghan Shen #address-cells = <1>; 108437f25828STinghan Shen #size-cells = <0>; 108537f25828STinghan Shen reg = <0 0x11019000 0 0x1000>; 108637f25828STinghan Shen interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH 0>; 108737f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 108837f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 108937f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI5>; 109037f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 109137f25828STinghan Shen status = "disabled"; 109237f25828STinghan Shen }; 109337f25828STinghan Shen 109437f25828STinghan Shen spis0: spi@1101d000 { 109537f25828STinghan Shen compatible = "mediatek,mt8195-spi-slave"; 109637f25828STinghan Shen reg = <0 0x1101d000 0 0x1000>; 109737f25828STinghan Shen interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH 0>; 109837f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_SPIS0>; 109937f25828STinghan Shen clock-names = "spi"; 110037f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_SPIS>; 110137f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6>; 110237f25828STinghan Shen status = "disabled"; 110337f25828STinghan Shen }; 110437f25828STinghan Shen 110537f25828STinghan Shen spis1: spi@1101e000 { 110637f25828STinghan Shen compatible = "mediatek,mt8195-spi-slave"; 110737f25828STinghan Shen reg = <0 0x1101e000 0 0x1000>; 110837f25828STinghan Shen interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH 0>; 110937f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_SPIS1>; 111037f25828STinghan Shen clock-names = "spi"; 111137f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_SPIS>; 111237f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6>; 111337f25828STinghan Shen status = "disabled"; 111437f25828STinghan Shen }; 111537f25828STinghan Shen 1116c5fe37e8SBiao Huang eth: ethernet@11021000 { 1117c5fe37e8SBiao Huang compatible = "mediatek,mt8195-gmac", "snps,dwmac-5.10a"; 1118c5fe37e8SBiao Huang reg = <0 0x11021000 0 0x4000>; 1119c5fe37e8SBiao Huang interrupts = <GIC_SPI 716 IRQ_TYPE_LEVEL_HIGH 0>; 1120c5fe37e8SBiao Huang interrupt-names = "macirq"; 1121c5fe37e8SBiao Huang clock-names = "axi", 1122c5fe37e8SBiao Huang "apb", 1123c5fe37e8SBiao Huang "mac_main", 1124c5fe37e8SBiao Huang "ptp_ref", 1125c5fe37e8SBiao Huang "rmii_internal", 1126c5fe37e8SBiao Huang "mac_cg"; 1127c5fe37e8SBiao Huang clocks = <&pericfg_ao CLK_PERI_AO_ETHERNET>, 1128c5fe37e8SBiao Huang <&pericfg_ao CLK_PERI_AO_ETHERNET_BUS>, 1129c5fe37e8SBiao Huang <&topckgen CLK_TOP_SNPS_ETH_250M>, 1130c5fe37e8SBiao Huang <&topckgen CLK_TOP_SNPS_ETH_62P4M_PTP>, 1131c5fe37e8SBiao Huang <&topckgen CLK_TOP_SNPS_ETH_50M_RMII>, 1132c5fe37e8SBiao Huang <&pericfg_ao CLK_PERI_AO_ETHERNET_MAC>; 1133c5fe37e8SBiao Huang assigned-clocks = <&topckgen CLK_TOP_SNPS_ETH_250M>, 1134c5fe37e8SBiao Huang <&topckgen CLK_TOP_SNPS_ETH_62P4M_PTP>, 1135c5fe37e8SBiao Huang <&topckgen CLK_TOP_SNPS_ETH_50M_RMII>; 1136c5fe37e8SBiao Huang assigned-clock-parents = <&topckgen CLK_TOP_ETHPLL_D2>, 1137c5fe37e8SBiao Huang <&topckgen CLK_TOP_ETHPLL_D8>, 1138c5fe37e8SBiao Huang <&topckgen CLK_TOP_ETHPLL_D10>; 1139c5fe37e8SBiao Huang power-domains = <&spm MT8195_POWER_DOMAIN_ETHER>; 1140c5fe37e8SBiao Huang mediatek,pericfg = <&infracfg_ao>; 1141c5fe37e8SBiao Huang snps,axi-config = <&stmmac_axi_setup>; 1142c5fe37e8SBiao Huang snps,mtl-rx-config = <&mtl_rx_setup>; 1143c5fe37e8SBiao Huang snps,mtl-tx-config = <&mtl_tx_setup>; 1144c5fe37e8SBiao Huang snps,txpbl = <16>; 1145c5fe37e8SBiao Huang snps,rxpbl = <16>; 1146c5fe37e8SBiao Huang snps,clk-csr = <0>; 1147c5fe37e8SBiao Huang status = "disabled"; 1148c5fe37e8SBiao Huang 1149c5fe37e8SBiao Huang mdio { 1150c5fe37e8SBiao Huang compatible = "snps,dwmac-mdio"; 1151c5fe37e8SBiao Huang #address-cells = <1>; 1152c5fe37e8SBiao Huang #size-cells = <0>; 1153c5fe37e8SBiao Huang }; 1154c5fe37e8SBiao Huang 1155c5fe37e8SBiao Huang stmmac_axi_setup: stmmac-axi-config { 1156c5fe37e8SBiao Huang snps,wr_osr_lmt = <0x7>; 1157c5fe37e8SBiao Huang snps,rd_osr_lmt = <0x7>; 1158c5fe37e8SBiao Huang snps,blen = <0 0 0 0 16 8 4>; 1159c5fe37e8SBiao Huang }; 1160c5fe37e8SBiao Huang 1161c5fe37e8SBiao Huang mtl_rx_setup: rx-queues-config { 1162c5fe37e8SBiao Huang snps,rx-queues-to-use = <4>; 1163c5fe37e8SBiao Huang snps,rx-sched-sp; 1164c5fe37e8SBiao Huang queue0 { 1165c5fe37e8SBiao Huang snps,dcb-algorithm; 1166c5fe37e8SBiao Huang snps,map-to-dma-channel = <0x0>; 1167c5fe37e8SBiao Huang }; 1168c5fe37e8SBiao Huang queue1 { 1169c5fe37e8SBiao Huang snps,dcb-algorithm; 1170c5fe37e8SBiao Huang snps,map-to-dma-channel = <0x0>; 1171c5fe37e8SBiao Huang }; 1172c5fe37e8SBiao Huang queue2 { 1173c5fe37e8SBiao Huang snps,dcb-algorithm; 1174c5fe37e8SBiao Huang snps,map-to-dma-channel = <0x0>; 1175c5fe37e8SBiao Huang }; 1176c5fe37e8SBiao Huang queue3 { 1177c5fe37e8SBiao Huang snps,dcb-algorithm; 1178c5fe37e8SBiao Huang snps,map-to-dma-channel = <0x0>; 1179c5fe37e8SBiao Huang }; 1180c5fe37e8SBiao Huang }; 1181c5fe37e8SBiao Huang 1182c5fe37e8SBiao Huang mtl_tx_setup: tx-queues-config { 1183c5fe37e8SBiao Huang snps,tx-queues-to-use = <4>; 1184c5fe37e8SBiao Huang snps,tx-sched-wrr; 1185c5fe37e8SBiao Huang queue0 { 1186c5fe37e8SBiao Huang snps,weight = <0x10>; 1187c5fe37e8SBiao Huang snps,dcb-algorithm; 1188c5fe37e8SBiao Huang snps,priority = <0x0>; 1189c5fe37e8SBiao Huang }; 1190c5fe37e8SBiao Huang queue1 { 1191c5fe37e8SBiao Huang snps,weight = <0x11>; 1192c5fe37e8SBiao Huang snps,dcb-algorithm; 1193c5fe37e8SBiao Huang snps,priority = <0x1>; 1194c5fe37e8SBiao Huang }; 1195c5fe37e8SBiao Huang queue2 { 1196c5fe37e8SBiao Huang snps,weight = <0x12>; 1197c5fe37e8SBiao Huang snps,dcb-algorithm; 1198c5fe37e8SBiao Huang snps,priority = <0x2>; 1199c5fe37e8SBiao Huang }; 1200c5fe37e8SBiao Huang queue3 { 1201c5fe37e8SBiao Huang snps,weight = <0x13>; 1202c5fe37e8SBiao Huang snps,dcb-algorithm; 1203c5fe37e8SBiao Huang snps,priority = <0x3>; 1204c5fe37e8SBiao Huang }; 1205c5fe37e8SBiao Huang }; 1206c5fe37e8SBiao Huang }; 1207c5fe37e8SBiao Huang 120837f25828STinghan Shen xhci0: usb@11200000 { 120937f25828STinghan Shen compatible = "mediatek,mt8195-xhci", 121037f25828STinghan Shen "mediatek,mtk-xhci"; 121137f25828STinghan Shen reg = <0 0x11200000 0 0x1000>, 121237f25828STinghan Shen <0 0x11203e00 0 0x0100>; 121337f25828STinghan Shen reg-names = "mac", "ippc"; 121437f25828STinghan Shen interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH 0>; 121537f25828STinghan Shen phys = <&u2port0 PHY_TYPE_USB2>, 121637f25828STinghan Shen <&u3port0 PHY_TYPE_USB3>; 121737f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_USB_TOP>, 121837f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_XHCI>; 121937f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, 122037f25828STinghan Shen <&topckgen CLK_TOP_UNIVPLL_D5_D4>; 122137f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_SSUSB>, 122237f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_REF>, 122337f25828STinghan Shen <&apmixedsys CLK_APMIXED_USB1PLL>, 12246210fc2eSNícolas F. R. A. Prado <&clk26m>, 122537f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SSUSB_XHCI>; 12266210fc2eSNícolas F. R. A. Prado clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck", 12276210fc2eSNícolas F. R. A. Prado "xhci_ck"; 122877d30613SChunfeng Yun mediatek,syscon-wakeup = <&pericfg 0x400 103>; 122977d30613SChunfeng Yun wakeup-source; 123037f25828STinghan Shen status = "disabled"; 123137f25828STinghan Shen }; 123237f25828STinghan Shen 123337f25828STinghan Shen mmc0: mmc@11230000 { 123437f25828STinghan Shen compatible = "mediatek,mt8195-mmc", 123537f25828STinghan Shen "mediatek,mt8183-mmc"; 123637f25828STinghan Shen reg = <0 0x11230000 0 0x10000>, 123737f25828STinghan Shen <0 0x11f50000 0 0x1000>; 123837f25828STinghan Shen interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH 0>; 123937f25828STinghan Shen clocks = <&topckgen CLK_TOP_MSDC50_0>, 124037f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_MSDC0>, 124137f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_MSDC0_SRC>; 124237f25828STinghan Shen clock-names = "source", "hclk", "source_cg"; 124337f25828STinghan Shen status = "disabled"; 124437f25828STinghan Shen }; 124537f25828STinghan Shen 124637f25828STinghan Shen mmc1: mmc@11240000 { 124737f25828STinghan Shen compatible = "mediatek,mt8195-mmc", 124837f25828STinghan Shen "mediatek,mt8183-mmc"; 124937f25828STinghan Shen reg = <0 0x11240000 0 0x1000>, 125037f25828STinghan Shen <0 0x11c70000 0 0x1000>; 125137f25828STinghan Shen interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH 0>; 125237f25828STinghan Shen clocks = <&topckgen CLK_TOP_MSDC30_1>, 125337f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_MSDC1>, 125437f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_MSDC1_SRC>; 125537f25828STinghan Shen clock-names = "source", "hclk", "source_cg"; 125637f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_MSDC30_1>; 125737f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>; 125837f25828STinghan Shen status = "disabled"; 125937f25828STinghan Shen }; 126037f25828STinghan Shen 126137f25828STinghan Shen mmc2: mmc@11250000 { 126237f25828STinghan Shen compatible = "mediatek,mt8195-mmc", 126337f25828STinghan Shen "mediatek,mt8183-mmc"; 126437f25828STinghan Shen reg = <0 0x11250000 0 0x1000>, 126537f25828STinghan Shen <0 0x11e60000 0 0x1000>; 126637f25828STinghan Shen interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>; 126737f25828STinghan Shen clocks = <&topckgen CLK_TOP_MSDC30_2>, 126837f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_CG1_MSDC2>, 126937f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_CG3_MSDC2>; 127037f25828STinghan Shen clock-names = "source", "hclk", "source_cg"; 127137f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_MSDC30_2>; 127237f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>; 127337f25828STinghan Shen status = "disabled"; 127437f25828STinghan Shen }; 127537f25828STinghan Shen 127637f25828STinghan Shen xhci1: usb@11290000 { 127737f25828STinghan Shen compatible = "mediatek,mt8195-xhci", 127837f25828STinghan Shen "mediatek,mtk-xhci"; 127937f25828STinghan Shen reg = <0 0x11290000 0 0x1000>, 128037f25828STinghan Shen <0 0x11293e00 0 0x0100>; 128137f25828STinghan Shen reg-names = "mac", "ippc"; 128237f25828STinghan Shen interrupts = <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH 0>; 128337f25828STinghan Shen phys = <&u2port1 PHY_TYPE_USB2>; 128437f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_USB_TOP_1P>, 128537f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_XHCI_1P>; 128637f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, 128737f25828STinghan Shen <&topckgen CLK_TOP_UNIVPLL_D5_D4>; 128837f25828STinghan Shen clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_1P_BUS>, 128937f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_P1_REF>, 129037f25828STinghan Shen <&apmixedsys CLK_APMIXED_USB1PLL>, 12916210fc2eSNícolas F. R. A. Prado <&clk26m>, 129237f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_SSUSB_1P_XHCI>; 12936210fc2eSNícolas F. R. A. Prado clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck", 12946210fc2eSNícolas F. R. A. Prado "xhci_ck"; 129577d30613SChunfeng Yun mediatek,syscon-wakeup = <&pericfg 0x400 104>; 129677d30613SChunfeng Yun wakeup-source; 129737f25828STinghan Shen status = "disabled"; 129837f25828STinghan Shen }; 129937f25828STinghan Shen 130037f25828STinghan Shen xhci2: usb@112a0000 { 130137f25828STinghan Shen compatible = "mediatek,mt8195-xhci", 130237f25828STinghan Shen "mediatek,mtk-xhci"; 130337f25828STinghan Shen reg = <0 0x112a0000 0 0x1000>, 130437f25828STinghan Shen <0 0x112a3e00 0 0x0100>; 130537f25828STinghan Shen reg-names = "mac", "ippc"; 130637f25828STinghan Shen interrupts = <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH 0>; 130737f25828STinghan Shen phys = <&u2port2 PHY_TYPE_USB2>; 130837f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_USB_TOP_2P>, 130937f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_XHCI_2P>; 131037f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, 131137f25828STinghan Shen <&topckgen CLK_TOP_UNIVPLL_D5_D4>; 131237f25828STinghan Shen clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_2P_BUS>, 131337f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_P2_REF>, 13146210fc2eSNícolas F. R. A. Prado <&clk26m>, 13156210fc2eSNícolas F. R. A. Prado <&clk26m>, 131637f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_SSUSB_2P_XHCI>; 13176210fc2eSNícolas F. R. A. Prado clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck", 13186210fc2eSNícolas F. R. A. Prado "xhci_ck"; 131977d30613SChunfeng Yun mediatek,syscon-wakeup = <&pericfg 0x400 105>; 132077d30613SChunfeng Yun wakeup-source; 132137f25828STinghan Shen status = "disabled"; 132237f25828STinghan Shen }; 132337f25828STinghan Shen 132437f25828STinghan Shen xhci3: usb@112b0000 { 132537f25828STinghan Shen compatible = "mediatek,mt8195-xhci", 132637f25828STinghan Shen "mediatek,mtk-xhci"; 132737f25828STinghan Shen reg = <0 0x112b0000 0 0x1000>, 132837f25828STinghan Shen <0 0x112b3e00 0 0x0100>; 132937f25828STinghan Shen reg-names = "mac", "ippc"; 133037f25828STinghan Shen interrupts = <GIC_SPI 536 IRQ_TYPE_LEVEL_HIGH 0>; 133137f25828STinghan Shen phys = <&u2port3 PHY_TYPE_USB2>; 133237f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_USB_TOP_3P>, 133337f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_XHCI_3P>; 133437f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, 133537f25828STinghan Shen <&topckgen CLK_TOP_UNIVPLL_D5_D4>; 133637f25828STinghan Shen clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_3P_BUS>, 133737f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_P3_REF>, 13386210fc2eSNícolas F. R. A. Prado <&clk26m>, 13396210fc2eSNícolas F. R. A. Prado <&clk26m>, 134037f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_SSUSB_3P_XHCI>; 13416210fc2eSNícolas F. R. A. Prado clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck", 13426210fc2eSNícolas F. R. A. Prado "xhci_ck"; 134377d30613SChunfeng Yun mediatek,syscon-wakeup = <&pericfg 0x400 106>; 134477d30613SChunfeng Yun wakeup-source; 134537f25828STinghan Shen status = "disabled"; 134637f25828STinghan Shen }; 134737f25828STinghan Shen 1348ecc0af6aSTinghan Shen pcie0: pcie@112f0000 { 1349ecc0af6aSTinghan Shen compatible = "mediatek,mt8195-pcie", 1350ecc0af6aSTinghan Shen "mediatek,mt8192-pcie"; 1351ecc0af6aSTinghan Shen device_type = "pci"; 1352ecc0af6aSTinghan Shen #address-cells = <3>; 1353ecc0af6aSTinghan Shen #size-cells = <2>; 1354ecc0af6aSTinghan Shen reg = <0 0x112f0000 0 0x4000>; 1355ecc0af6aSTinghan Shen reg-names = "pcie-mac"; 1356ecc0af6aSTinghan Shen interrupts = <GIC_SPI 791 IRQ_TYPE_LEVEL_HIGH 0>; 1357ecc0af6aSTinghan Shen bus-range = <0x00 0xff>; 1358ecc0af6aSTinghan Shen ranges = <0x81000000 0 0x20000000 1359ecc0af6aSTinghan Shen 0x0 0x20000000 0 0x200000>, 1360ecc0af6aSTinghan Shen <0x82000000 0 0x20200000 1361ecc0af6aSTinghan Shen 0x0 0x20200000 0 0x3e00000>; 1362ecc0af6aSTinghan Shen 1363ecc0af6aSTinghan Shen iommu-map = <0 &iommu_infra IOMMU_PORT_INFRA_PCIE0 0x2>; 1364ecc0af6aSTinghan Shen iommu-map-mask = <0x0>; 1365ecc0af6aSTinghan Shen 1366ecc0af6aSTinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_PCIE_PL_P_250M_P0>, 1367ecc0af6aSTinghan Shen <&infracfg_ao CLK_INFRA_AO_PCIE_TL_26M>, 1368ecc0af6aSTinghan Shen <&infracfg_ao CLK_INFRA_AO_PCIE_TL_96M>, 1369ecc0af6aSTinghan Shen <&infracfg_ao CLK_INFRA_AO_PCIE_TL_32K>, 1370ecc0af6aSTinghan Shen <&infracfg_ao CLK_INFRA_AO_PCIE_PERI_26M>, 1371ecc0af6aSTinghan Shen <&pericfg_ao CLK_PERI_AO_PCIE_P0_MEM>; 1372ecc0af6aSTinghan Shen clock-names = "pl_250m", "tl_26m", "tl_96m", 1373ecc0af6aSTinghan Shen "tl_32k", "peri_26m", "peri_mem"; 1374ecc0af6aSTinghan Shen assigned-clocks = <&topckgen CLK_TOP_TL>; 1375ecc0af6aSTinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_MAINPLL_D4_D4>; 1376ecc0af6aSTinghan Shen 1377ecc0af6aSTinghan Shen phys = <&pciephy>; 1378ecc0af6aSTinghan Shen phy-names = "pcie-phy"; 1379ecc0af6aSTinghan Shen 1380ecc0af6aSTinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_PCIE_MAC_P0>; 1381ecc0af6aSTinghan Shen 1382ecc0af6aSTinghan Shen resets = <&infracfg_ao MT8195_INFRA_RST2_PCIE_P0_SWRST>; 1383ecc0af6aSTinghan Shen reset-names = "mac"; 1384ecc0af6aSTinghan Shen 1385ecc0af6aSTinghan Shen #interrupt-cells = <1>; 1386ecc0af6aSTinghan Shen interrupt-map-mask = <0 0 0 7>; 1387ecc0af6aSTinghan Shen interrupt-map = <0 0 0 1 &pcie_intc0 0>, 1388ecc0af6aSTinghan Shen <0 0 0 2 &pcie_intc0 1>, 1389ecc0af6aSTinghan Shen <0 0 0 3 &pcie_intc0 2>, 1390ecc0af6aSTinghan Shen <0 0 0 4 &pcie_intc0 3>; 1391ecc0af6aSTinghan Shen status = "disabled"; 1392ecc0af6aSTinghan Shen 1393ecc0af6aSTinghan Shen pcie_intc0: interrupt-controller { 1394ecc0af6aSTinghan Shen interrupt-controller; 1395ecc0af6aSTinghan Shen #address-cells = <0>; 1396ecc0af6aSTinghan Shen #interrupt-cells = <1>; 1397ecc0af6aSTinghan Shen }; 1398ecc0af6aSTinghan Shen }; 1399ecc0af6aSTinghan Shen 1400ecc0af6aSTinghan Shen pcie1: pcie@112f8000 { 1401ecc0af6aSTinghan Shen compatible = "mediatek,mt8195-pcie", 1402ecc0af6aSTinghan Shen "mediatek,mt8192-pcie"; 1403ecc0af6aSTinghan Shen device_type = "pci"; 1404ecc0af6aSTinghan Shen #address-cells = <3>; 1405ecc0af6aSTinghan Shen #size-cells = <2>; 1406ecc0af6aSTinghan Shen reg = <0 0x112f8000 0 0x4000>; 1407ecc0af6aSTinghan Shen reg-names = "pcie-mac"; 1408ecc0af6aSTinghan Shen interrupts = <GIC_SPI 792 IRQ_TYPE_LEVEL_HIGH 0>; 1409ecc0af6aSTinghan Shen bus-range = <0x00 0xff>; 1410ecc0af6aSTinghan Shen ranges = <0x81000000 0 0x24000000 1411ecc0af6aSTinghan Shen 0x0 0x24000000 0 0x200000>, 1412ecc0af6aSTinghan Shen <0x82000000 0 0x24200000 1413ecc0af6aSTinghan Shen 0x0 0x24200000 0 0x3e00000>; 1414ecc0af6aSTinghan Shen 1415ecc0af6aSTinghan Shen iommu-map = <0 &iommu_infra IOMMU_PORT_INFRA_PCIE1 0x2>; 1416ecc0af6aSTinghan Shen iommu-map-mask = <0x0>; 1417ecc0af6aSTinghan Shen 1418ecc0af6aSTinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_PCIE_PL_P_250M_P1>, 1419ecc0af6aSTinghan Shen <&clk26m>, 14201bd1d10dSAngeloGioacchino Del Regno <&infracfg_ao CLK_INFRA_AO_PCIE_P1_TL_96M>, 1421ecc0af6aSTinghan Shen <&clk26m>, 14221bd1d10dSAngeloGioacchino Del Regno <&infracfg_ao CLK_INFRA_AO_PCIE_P1_PERI_26M>, 1423ecc0af6aSTinghan Shen /* Designer has connect pcie1 with peri_mem_p0 clock */ 1424ecc0af6aSTinghan Shen <&pericfg_ao CLK_PERI_AO_PCIE_P0_MEM>; 1425ecc0af6aSTinghan Shen clock-names = "pl_250m", "tl_26m", "tl_96m", 1426ecc0af6aSTinghan Shen "tl_32k", "peri_26m", "peri_mem"; 1427ecc0af6aSTinghan Shen assigned-clocks = <&topckgen CLK_TOP_TL_P1>; 1428ecc0af6aSTinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_MAINPLL_D4_D4>; 1429ecc0af6aSTinghan Shen 1430ecc0af6aSTinghan Shen phys = <&u3port1 PHY_TYPE_PCIE>; 1431ecc0af6aSTinghan Shen phy-names = "pcie-phy"; 1432ecc0af6aSTinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_PCIE_MAC_P1>; 1433ecc0af6aSTinghan Shen 1434ecc0af6aSTinghan Shen resets = <&infracfg_ao MT8195_INFRA_RST2_PCIE_P1_SWRST>; 1435ecc0af6aSTinghan Shen reset-names = "mac"; 1436ecc0af6aSTinghan Shen 1437ecc0af6aSTinghan Shen #interrupt-cells = <1>; 1438ecc0af6aSTinghan Shen interrupt-map-mask = <0 0 0 7>; 1439ecc0af6aSTinghan Shen interrupt-map = <0 0 0 1 &pcie_intc1 0>, 1440ecc0af6aSTinghan Shen <0 0 0 2 &pcie_intc1 1>, 1441ecc0af6aSTinghan Shen <0 0 0 3 &pcie_intc1 2>, 1442ecc0af6aSTinghan Shen <0 0 0 4 &pcie_intc1 3>; 1443ecc0af6aSTinghan Shen status = "disabled"; 1444ecc0af6aSTinghan Shen 1445ecc0af6aSTinghan Shen pcie_intc1: interrupt-controller { 1446ecc0af6aSTinghan Shen interrupt-controller; 1447ecc0af6aSTinghan Shen #address-cells = <0>; 1448ecc0af6aSTinghan Shen #interrupt-cells = <1>; 1449ecc0af6aSTinghan Shen }; 1450ecc0af6aSTinghan Shen }; 1451ecc0af6aSTinghan Shen 145237f25828STinghan Shen nor_flash: spi@1132c000 { 145337f25828STinghan Shen compatible = "mediatek,mt8195-nor", 145437f25828STinghan Shen "mediatek,mt8173-nor"; 145537f25828STinghan Shen reg = <0 0x1132c000 0 0x1000>; 145637f25828STinghan Shen interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH 0>; 145737f25828STinghan Shen clocks = <&topckgen CLK_TOP_SPINOR>, 145837f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_FLASHIF_FLASH>, 145937f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_FLASHIF_BUS>; 146037f25828STinghan Shen clock-names = "spi", "sf", "axi"; 146137f25828STinghan Shen #address-cells = <1>; 146237f25828STinghan Shen #size-cells = <0>; 146337f25828STinghan Shen status = "disabled"; 146437f25828STinghan Shen }; 146537f25828STinghan Shen 1466ab43a84cSChunfeng Yun efuse: efuse@11c10000 { 1467ab43a84cSChunfeng Yun compatible = "mediatek,mt8195-efuse", "mediatek,efuse"; 1468ab43a84cSChunfeng Yun reg = <0 0x11c10000 0 0x1000>; 1469ab43a84cSChunfeng Yun #address-cells = <1>; 1470ab43a84cSChunfeng Yun #size-cells = <1>; 1471ab43a84cSChunfeng Yun u3_tx_imp_p0: usb3-tx-imp@184,1 { 1472ab43a84cSChunfeng Yun reg = <0x184 0x1>; 1473ab43a84cSChunfeng Yun bits = <0 5>; 1474ab43a84cSChunfeng Yun }; 1475ab43a84cSChunfeng Yun u3_rx_imp_p0: usb3-rx-imp@184,2 { 1476ab43a84cSChunfeng Yun reg = <0x184 0x2>; 1477ab43a84cSChunfeng Yun bits = <5 5>; 1478ab43a84cSChunfeng Yun }; 1479ab43a84cSChunfeng Yun u3_intr_p0: usb3-intr@185 { 1480ab43a84cSChunfeng Yun reg = <0x185 0x1>; 1481ab43a84cSChunfeng Yun bits = <2 6>; 1482ab43a84cSChunfeng Yun }; 1483ab43a84cSChunfeng Yun comb_tx_imp_p1: usb3-tx-imp@186,1 { 1484ab43a84cSChunfeng Yun reg = <0x186 0x1>; 1485ab43a84cSChunfeng Yun bits = <0 5>; 1486ab43a84cSChunfeng Yun }; 1487ab43a84cSChunfeng Yun comb_rx_imp_p1: usb3-rx-imp@186,2 { 1488ab43a84cSChunfeng Yun reg = <0x186 0x2>; 1489ab43a84cSChunfeng Yun bits = <5 5>; 1490ab43a84cSChunfeng Yun }; 1491ab43a84cSChunfeng Yun comb_intr_p1: usb3-intr@187 { 1492ab43a84cSChunfeng Yun reg = <0x187 0x1>; 1493ab43a84cSChunfeng Yun bits = <2 6>; 1494ab43a84cSChunfeng Yun }; 1495ab43a84cSChunfeng Yun u2_intr_p0: usb2-intr-p0@188,1 { 1496ab43a84cSChunfeng Yun reg = <0x188 0x1>; 1497ab43a84cSChunfeng Yun bits = <0 5>; 1498ab43a84cSChunfeng Yun }; 1499ab43a84cSChunfeng Yun u2_intr_p1: usb2-intr-p1@188,2 { 1500ab43a84cSChunfeng Yun reg = <0x188 0x2>; 1501ab43a84cSChunfeng Yun bits = <5 5>; 1502ab43a84cSChunfeng Yun }; 1503ab43a84cSChunfeng Yun u2_intr_p2: usb2-intr-p2@189,1 { 1504ab43a84cSChunfeng Yun reg = <0x189 0x1>; 1505ab43a84cSChunfeng Yun bits = <2 5>; 1506ab43a84cSChunfeng Yun }; 1507ab43a84cSChunfeng Yun u2_intr_p3: usb2-intr-p3@189,2 { 1508ab43a84cSChunfeng Yun reg = <0x189 0x2>; 1509ab43a84cSChunfeng Yun bits = <7 5>; 1510ab43a84cSChunfeng Yun }; 1511ecc0af6aSTinghan Shen pciephy_rx_ln1: pciephy-rx-ln1@190,1 { 1512ecc0af6aSTinghan Shen reg = <0x190 0x1>; 1513ecc0af6aSTinghan Shen bits = <0 4>; 1514ecc0af6aSTinghan Shen }; 1515ecc0af6aSTinghan Shen pciephy_tx_ln1_nmos: pciephy-tx-ln1-nmos@190,2 { 1516ecc0af6aSTinghan Shen reg = <0x190 0x1>; 1517ecc0af6aSTinghan Shen bits = <4 4>; 1518ecc0af6aSTinghan Shen }; 1519ecc0af6aSTinghan Shen pciephy_tx_ln1_pmos: pciephy-tx-ln1-pmos@191,1 { 1520ecc0af6aSTinghan Shen reg = <0x191 0x1>; 1521ecc0af6aSTinghan Shen bits = <0 4>; 1522ecc0af6aSTinghan Shen }; 1523ecc0af6aSTinghan Shen pciephy_rx_ln0: pciephy-rx-ln0@191,2 { 1524ecc0af6aSTinghan Shen reg = <0x191 0x1>; 1525ecc0af6aSTinghan Shen bits = <4 4>; 1526ecc0af6aSTinghan Shen }; 1527ecc0af6aSTinghan Shen pciephy_tx_ln0_nmos: pciephy-tx-ln0-nmos@192,1 { 1528ecc0af6aSTinghan Shen reg = <0x192 0x1>; 1529ecc0af6aSTinghan Shen bits = <0 4>; 1530ecc0af6aSTinghan Shen }; 1531ecc0af6aSTinghan Shen pciephy_tx_ln0_pmos: pciephy-tx-ln0-pmos@192,2 { 1532ecc0af6aSTinghan Shen reg = <0x192 0x1>; 1533ecc0af6aSTinghan Shen bits = <4 4>; 1534ecc0af6aSTinghan Shen }; 1535ecc0af6aSTinghan Shen pciephy_glb_intr: pciephy-glb-intr@193 { 1536ecc0af6aSTinghan Shen reg = <0x193 0x1>; 1537ecc0af6aSTinghan Shen bits = <0 4>; 1538ecc0af6aSTinghan Shen }; 153964196979SBo-Chen Chen dp_calibration: dp-data@1ac { 154064196979SBo-Chen Chen reg = <0x1ac 0x10>; 154164196979SBo-Chen Chen }; 1542*89b045d3SBalsam CHIHI lvts_efuse_data1: lvts1-calib@1bc { 1543*89b045d3SBalsam CHIHI reg = <0x1bc 0x14>; 1544*89b045d3SBalsam CHIHI }; 1545*89b045d3SBalsam CHIHI lvts_efuse_data2: lvts2-calib@1d0 { 1546*89b045d3SBalsam CHIHI reg = <0x1d0 0x38>; 1547*89b045d3SBalsam CHIHI }; 1548ab43a84cSChunfeng Yun }; 1549ab43a84cSChunfeng Yun 155037f25828STinghan Shen u3phy2: t-phy@11c40000 { 155137f25828STinghan Shen compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; 155237f25828STinghan Shen #address-cells = <1>; 155337f25828STinghan Shen #size-cells = <1>; 155437f25828STinghan Shen ranges = <0 0 0x11c40000 0x700>; 155537f25828STinghan Shen status = "disabled"; 155637f25828STinghan Shen 155737f25828STinghan Shen u2port2: usb-phy@0 { 155837f25828STinghan Shen reg = <0x0 0x700>; 155937f25828STinghan Shen clocks = <&topckgen CLK_TOP_SSUSB_PHY_P2_REF>; 156037f25828STinghan Shen clock-names = "ref"; 156137f25828STinghan Shen #phy-cells = <1>; 156237f25828STinghan Shen }; 156337f25828STinghan Shen }; 156437f25828STinghan Shen 156537f25828STinghan Shen u3phy3: t-phy@11c50000 { 156637f25828STinghan Shen compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; 156737f25828STinghan Shen #address-cells = <1>; 156837f25828STinghan Shen #size-cells = <1>; 156937f25828STinghan Shen ranges = <0 0 0x11c50000 0x700>; 157037f25828STinghan Shen status = "disabled"; 157137f25828STinghan Shen 157237f25828STinghan Shen u2port3: usb-phy@0 { 157337f25828STinghan Shen reg = <0x0 0x700>; 157437f25828STinghan Shen clocks = <&topckgen CLK_TOP_SSUSB_PHY_P3_REF>; 157537f25828STinghan Shen clock-names = "ref"; 157637f25828STinghan Shen #phy-cells = <1>; 157737f25828STinghan Shen }; 157837f25828STinghan Shen }; 157937f25828STinghan Shen 158037f25828STinghan Shen i2c5: i2c@11d00000 { 158137f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 158237f25828STinghan Shen "mediatek,mt8192-i2c"; 158337f25828STinghan Shen reg = <0 0x11d00000 0 0x1000>, 158437f25828STinghan Shen <0 0x10220580 0 0x80>; 158537f25828STinghan Shen interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH 0>; 158637f25828STinghan Shen clock-div = <1>; 158737f25828STinghan Shen clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C5>, 158837f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 158937f25828STinghan Shen clock-names = "main", "dma"; 159037f25828STinghan Shen #address-cells = <1>; 159137f25828STinghan Shen #size-cells = <0>; 159237f25828STinghan Shen status = "disabled"; 159337f25828STinghan Shen }; 159437f25828STinghan Shen 159537f25828STinghan Shen i2c6: i2c@11d01000 { 159637f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 159737f25828STinghan Shen "mediatek,mt8192-i2c"; 159837f25828STinghan Shen reg = <0 0x11d01000 0 0x1000>, 159937f25828STinghan Shen <0 0x10220600 0 0x80>; 160037f25828STinghan Shen interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH 0>; 160137f25828STinghan Shen clock-div = <1>; 160237f25828STinghan Shen clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C6>, 160337f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 160437f25828STinghan Shen clock-names = "main", "dma"; 160537f25828STinghan Shen #address-cells = <1>; 160637f25828STinghan Shen #size-cells = <0>; 160737f25828STinghan Shen status = "disabled"; 160837f25828STinghan Shen }; 160937f25828STinghan Shen 161037f25828STinghan Shen i2c7: i2c@11d02000 { 161137f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 161237f25828STinghan Shen "mediatek,mt8192-i2c"; 161337f25828STinghan Shen reg = <0 0x11d02000 0 0x1000>, 161437f25828STinghan Shen <0 0x10220680 0 0x80>; 161537f25828STinghan Shen interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH 0>; 161637f25828STinghan Shen clock-div = <1>; 161737f25828STinghan Shen clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C7>, 161837f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 161937f25828STinghan Shen clock-names = "main", "dma"; 162037f25828STinghan Shen #address-cells = <1>; 162137f25828STinghan Shen #size-cells = <0>; 162237f25828STinghan Shen status = "disabled"; 162337f25828STinghan Shen }; 162437f25828STinghan Shen 162537f25828STinghan Shen imp_iic_wrap_s: clock-controller@11d03000 { 162637f25828STinghan Shen compatible = "mediatek,mt8195-imp_iic_wrap_s"; 162737f25828STinghan Shen reg = <0 0x11d03000 0 0x1000>; 162837f25828STinghan Shen #clock-cells = <1>; 162937f25828STinghan Shen }; 163037f25828STinghan Shen 163137f25828STinghan Shen i2c0: i2c@11e00000 { 163237f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 163337f25828STinghan Shen "mediatek,mt8192-i2c"; 163437f25828STinghan Shen reg = <0 0x11e00000 0 0x1000>, 163537f25828STinghan Shen <0 0x10220080 0 0x80>; 163637f25828STinghan Shen interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH 0>; 163737f25828STinghan Shen clock-div = <1>; 163837f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C0>, 163937f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 164037f25828STinghan Shen clock-names = "main", "dma"; 164137f25828STinghan Shen #address-cells = <1>; 164237f25828STinghan Shen #size-cells = <0>; 1643a93f071aSTzung-Bi Shih status = "disabled"; 164437f25828STinghan Shen }; 164537f25828STinghan Shen 164637f25828STinghan Shen i2c1: i2c@11e01000 { 164737f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 164837f25828STinghan Shen "mediatek,mt8192-i2c"; 164937f25828STinghan Shen reg = <0 0x11e01000 0 0x1000>, 165037f25828STinghan Shen <0 0x10220200 0 0x80>; 165137f25828STinghan Shen interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH 0>; 165237f25828STinghan Shen clock-div = <1>; 165337f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C1>, 165437f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 165537f25828STinghan Shen clock-names = "main", "dma"; 165637f25828STinghan Shen #address-cells = <1>; 165737f25828STinghan Shen #size-cells = <0>; 165837f25828STinghan Shen status = "disabled"; 165937f25828STinghan Shen }; 166037f25828STinghan Shen 166137f25828STinghan Shen i2c2: i2c@11e02000 { 166237f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 166337f25828STinghan Shen "mediatek,mt8192-i2c"; 166437f25828STinghan Shen reg = <0 0x11e02000 0 0x1000>, 166537f25828STinghan Shen <0 0x10220380 0 0x80>; 166637f25828STinghan Shen interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH 0>; 166737f25828STinghan Shen clock-div = <1>; 166837f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C2>, 166937f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 167037f25828STinghan Shen clock-names = "main", "dma"; 167137f25828STinghan Shen #address-cells = <1>; 167237f25828STinghan Shen #size-cells = <0>; 167337f25828STinghan Shen status = "disabled"; 167437f25828STinghan Shen }; 167537f25828STinghan Shen 167637f25828STinghan Shen i2c3: i2c@11e03000 { 167737f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 167837f25828STinghan Shen "mediatek,mt8192-i2c"; 167937f25828STinghan Shen reg = <0 0x11e03000 0 0x1000>, 168037f25828STinghan Shen <0 0x10220480 0 0x80>; 168137f25828STinghan Shen interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH 0>; 168237f25828STinghan Shen clock-div = <1>; 168337f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C3>, 168437f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 168537f25828STinghan Shen clock-names = "main", "dma"; 168637f25828STinghan Shen #address-cells = <1>; 168737f25828STinghan Shen #size-cells = <0>; 168837f25828STinghan Shen status = "disabled"; 168937f25828STinghan Shen }; 169037f25828STinghan Shen 169137f25828STinghan Shen i2c4: i2c@11e04000 { 169237f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 169337f25828STinghan Shen "mediatek,mt8192-i2c"; 169437f25828STinghan Shen reg = <0 0x11e04000 0 0x1000>, 169537f25828STinghan Shen <0 0x10220500 0 0x80>; 169637f25828STinghan Shen interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH 0>; 169737f25828STinghan Shen clock-div = <1>; 169837f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C4>, 169937f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 170037f25828STinghan Shen clock-names = "main", "dma"; 170137f25828STinghan Shen #address-cells = <1>; 170237f25828STinghan Shen #size-cells = <0>; 170337f25828STinghan Shen status = "disabled"; 170437f25828STinghan Shen }; 170537f25828STinghan Shen 170637f25828STinghan Shen imp_iic_wrap_w: clock-controller@11e05000 { 170737f25828STinghan Shen compatible = "mediatek,mt8195-imp_iic_wrap_w"; 170837f25828STinghan Shen reg = <0 0x11e05000 0 0x1000>; 170937f25828STinghan Shen #clock-cells = <1>; 171037f25828STinghan Shen }; 171137f25828STinghan Shen 171237f25828STinghan Shen u3phy1: t-phy@11e30000 { 171337f25828STinghan Shen compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; 171437f25828STinghan Shen #address-cells = <1>; 171537f25828STinghan Shen #size-cells = <1>; 171637f25828STinghan Shen ranges = <0 0 0x11e30000 0xe00>; 1717a9f6721aSAngeloGioacchino Del Regno power-domains = <&spm MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>; 171837f25828STinghan Shen status = "disabled"; 171937f25828STinghan Shen 172037f25828STinghan Shen u2port1: usb-phy@0 { 172137f25828STinghan Shen reg = <0x0 0x700>; 172237f25828STinghan Shen clocks = <&topckgen CLK_TOP_SSUSB_PHY_P1_REF>, 172337f25828STinghan Shen <&clk26m>; 172437f25828STinghan Shen clock-names = "ref", "da_ref"; 172537f25828STinghan Shen #phy-cells = <1>; 172637f25828STinghan Shen }; 172737f25828STinghan Shen 172837f25828STinghan Shen u3port1: usb-phy@700 { 172937f25828STinghan Shen reg = <0x700 0x700>; 173037f25828STinghan Shen clocks = <&apmixedsys CLK_APMIXED_PLL_SSUSB26M>, 173137f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_PHY_P1_REF>; 173237f25828STinghan Shen clock-names = "ref", "da_ref"; 1733ab43a84cSChunfeng Yun nvmem-cells = <&comb_intr_p1>, 1734ab43a84cSChunfeng Yun <&comb_rx_imp_p1>, 1735ab43a84cSChunfeng Yun <&comb_tx_imp_p1>; 1736ab43a84cSChunfeng Yun nvmem-cell-names = "intr", "rx_imp", "tx_imp"; 173737f25828STinghan Shen #phy-cells = <1>; 173837f25828STinghan Shen }; 173937f25828STinghan Shen }; 174037f25828STinghan Shen 174137f25828STinghan Shen u3phy0: t-phy@11e40000 { 174237f25828STinghan Shen compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; 174337f25828STinghan Shen #address-cells = <1>; 174437f25828STinghan Shen #size-cells = <1>; 174537f25828STinghan Shen ranges = <0 0 0x11e40000 0xe00>; 174637f25828STinghan Shen status = "disabled"; 174737f25828STinghan Shen 174837f25828STinghan Shen u2port0: usb-phy@0 { 174937f25828STinghan Shen reg = <0x0 0x700>; 175037f25828STinghan Shen clocks = <&topckgen CLK_TOP_SSUSB_PHY_REF>, 175137f25828STinghan Shen <&clk26m>; 175237f25828STinghan Shen clock-names = "ref", "da_ref"; 175337f25828STinghan Shen #phy-cells = <1>; 175437f25828STinghan Shen }; 175537f25828STinghan Shen 175637f25828STinghan Shen u3port0: usb-phy@700 { 175737f25828STinghan Shen reg = <0x700 0x700>; 175837f25828STinghan Shen clocks = <&apmixedsys CLK_APMIXED_PLL_SSUSB26M>, 175937f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_PHY_REF>; 176037f25828STinghan Shen clock-names = "ref", "da_ref"; 1761ab43a84cSChunfeng Yun nvmem-cells = <&u3_intr_p0>, 1762ab43a84cSChunfeng Yun <&u3_rx_imp_p0>, 1763ab43a84cSChunfeng Yun <&u3_tx_imp_p0>; 1764ab43a84cSChunfeng Yun nvmem-cell-names = "intr", "rx_imp", "tx_imp"; 176537f25828STinghan Shen #phy-cells = <1>; 176637f25828STinghan Shen }; 176737f25828STinghan Shen }; 176837f25828STinghan Shen 1769ecc0af6aSTinghan Shen pciephy: phy@11e80000 { 1770ecc0af6aSTinghan Shen compatible = "mediatek,mt8195-pcie-phy"; 1771ecc0af6aSTinghan Shen reg = <0 0x11e80000 0 0x10000>; 1772ecc0af6aSTinghan Shen reg-names = "sif"; 1773ecc0af6aSTinghan Shen nvmem-cells = <&pciephy_glb_intr>, <&pciephy_tx_ln0_pmos>, 1774ecc0af6aSTinghan Shen <&pciephy_tx_ln0_nmos>, <&pciephy_rx_ln0>, 1775ecc0af6aSTinghan Shen <&pciephy_tx_ln1_pmos>, <&pciephy_tx_ln1_nmos>, 1776ecc0af6aSTinghan Shen <&pciephy_rx_ln1>; 1777ecc0af6aSTinghan Shen nvmem-cell-names = "glb_intr", "tx_ln0_pmos", 1778ecc0af6aSTinghan Shen "tx_ln0_nmos", "rx_ln0", 1779ecc0af6aSTinghan Shen "tx_ln1_pmos", "tx_ln1_nmos", 1780ecc0af6aSTinghan Shen "rx_ln1"; 1781ecc0af6aSTinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_PCIE_PHY>; 1782ecc0af6aSTinghan Shen #phy-cells = <0>; 1783ecc0af6aSTinghan Shen status = "disabled"; 1784ecc0af6aSTinghan Shen }; 1785ecc0af6aSTinghan Shen 178637f25828STinghan Shen ufsphy: ufs-phy@11fa0000 { 178737f25828STinghan Shen compatible = "mediatek,mt8195-ufsphy", "mediatek,mt8183-ufsphy"; 178837f25828STinghan Shen reg = <0 0x11fa0000 0 0xc000>; 178937f25828STinghan Shen clocks = <&clk26m>, <&clk26m>; 179037f25828STinghan Shen clock-names = "unipro", "mp"; 179137f25828STinghan Shen #phy-cells = <0>; 179237f25828STinghan Shen status = "disabled"; 179337f25828STinghan Shen }; 179437f25828STinghan Shen 179537f25828STinghan Shen mfgcfg: clock-controller@13fbf000 { 179637f25828STinghan Shen compatible = "mediatek,mt8195-mfgcfg"; 179737f25828STinghan Shen reg = <0 0x13fbf000 0 0x1000>; 179837f25828STinghan Shen #clock-cells = <1>; 179937f25828STinghan Shen }; 180037f25828STinghan Shen 18016aa5b46dSTinghan Shen vppsys0: clock-controller@14000000 { 18026aa5b46dSTinghan Shen compatible = "mediatek,mt8195-vppsys0"; 18036aa5b46dSTinghan Shen reg = <0 0x14000000 0 0x1000>; 18046aa5b46dSTinghan Shen #clock-cells = <1>; 18056aa5b46dSTinghan Shen }; 18066aa5b46dSTinghan Shen 18073b5838d1STinghan Shen smi_sub_common_vpp0_vpp1_2x1: smi@14010000 { 18083b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-sub-common"; 18093b5838d1STinghan Shen reg = <0 0x14010000 0 0x1000>; 18103b5838d1STinghan Shen clocks = <&vppsys0 CLK_VPP0_GALS_VPP1_WPE>, 18113b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VPP1_WPE>, 18123b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VPP1_WPE>; 18133b5838d1STinghan Shen clock-names = "apb", "smi", "gals0"; 18143b5838d1STinghan Shen mediatek,smi = <&smi_common_vpp>; 18153b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS0>; 18163b5838d1STinghan Shen }; 18173b5838d1STinghan Shen 18183b5838d1STinghan Shen smi_sub_common_vdec_vpp0_2x1: smi@14011000 { 18193b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-sub-common"; 18203b5838d1STinghan Shen reg = <0 0x14011000 0 0x1000>; 18213b5838d1STinghan Shen clocks = <&vppsys0 CLK_VPP0_GALS_VDEC_VDEC_CORE1>, 18223b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDEC_VDEC_CORE1>, 18233b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDEC_VDEC_CORE1>; 18243b5838d1STinghan Shen clock-names = "apb", "smi", "gals0"; 18253b5838d1STinghan Shen mediatek,smi = <&smi_common_vpp>; 18263b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS0>; 18273b5838d1STinghan Shen }; 18283b5838d1STinghan Shen 18293b5838d1STinghan Shen smi_common_vpp: smi@14012000 { 18303b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-common-vpp"; 18313b5838d1STinghan Shen reg = <0 0x14012000 0 0x1000>; 18323b5838d1STinghan Shen clocks = <&vppsys0 CLK_VPP0_SMI_COMMON_LARB4>, 18333b5838d1STinghan Shen <&vppsys0 CLK_VPP0_SMI_COMMON_LARB4>, 18343b5838d1STinghan Shen <&vppsys0 CLK_VPP0_SMI_RSI>, 18353b5838d1STinghan Shen <&vppsys0 CLK_VPP0_SMI_RSI>; 18363b5838d1STinghan Shen clock-names = "apb", "smi", "gals0", "gals1"; 18373b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS0>; 18383b5838d1STinghan Shen }; 18393b5838d1STinghan Shen 18403b5838d1STinghan Shen larb4: larb@14013000 { 18413b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 18423b5838d1STinghan Shen reg = <0 0x14013000 0 0x1000>; 18433b5838d1STinghan Shen mediatek,larb-id = <4>; 18443b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_vpp0_vpp1_2x1>; 18453b5838d1STinghan Shen clocks = <&vppsys0 CLK_VPP0_GALS_VPP1_WPE>, 18463b5838d1STinghan Shen <&vppsys0 CLK_VPP0_SMI_COMMON_LARB4>; 18473b5838d1STinghan Shen clock-names = "apb", "smi"; 18483b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS0>; 18493b5838d1STinghan Shen }; 18503b5838d1STinghan Shen 18513b5838d1STinghan Shen iommu_vpp: iommu@14018000 { 18523b5838d1STinghan Shen compatible = "mediatek,mt8195-iommu-vpp"; 18533b5838d1STinghan Shen reg = <0 0x14018000 0 0x1000>; 18543b5838d1STinghan Shen mediatek,larbs = <&larb1 &larb3 &larb4 &larb6 &larb8 18553b5838d1STinghan Shen &larb12 &larb14 &larb16 &larb18 18563b5838d1STinghan Shen &larb20 &larb22 &larb23 &larb26 18573b5838d1STinghan Shen &larb27>; 18583b5838d1STinghan Shen interrupts = <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH 0>; 18593b5838d1STinghan Shen clocks = <&vppsys0 CLK_VPP0_SMI_IOMMU>; 18603b5838d1STinghan Shen clock-names = "bclk"; 18613b5838d1STinghan Shen #iommu-cells = <1>; 18623b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS0>; 18633b5838d1STinghan Shen }; 18643b5838d1STinghan Shen 186537f25828STinghan Shen wpesys: clock-controller@14e00000 { 186637f25828STinghan Shen compatible = "mediatek,mt8195-wpesys"; 186737f25828STinghan Shen reg = <0 0x14e00000 0 0x1000>; 186837f25828STinghan Shen #clock-cells = <1>; 186937f25828STinghan Shen }; 187037f25828STinghan Shen 187137f25828STinghan Shen wpesys_vpp0: clock-controller@14e02000 { 187237f25828STinghan Shen compatible = "mediatek,mt8195-wpesys_vpp0"; 187337f25828STinghan Shen reg = <0 0x14e02000 0 0x1000>; 187437f25828STinghan Shen #clock-cells = <1>; 187537f25828STinghan Shen }; 187637f25828STinghan Shen 187737f25828STinghan Shen wpesys_vpp1: clock-controller@14e03000 { 187837f25828STinghan Shen compatible = "mediatek,mt8195-wpesys_vpp1"; 187937f25828STinghan Shen reg = <0 0x14e03000 0 0x1000>; 188037f25828STinghan Shen #clock-cells = <1>; 188137f25828STinghan Shen }; 188237f25828STinghan Shen 18833b5838d1STinghan Shen larb7: larb@14e04000 { 18843b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 18853b5838d1STinghan Shen reg = <0 0x14e04000 0 0x1000>; 18863b5838d1STinghan Shen mediatek,larb-id = <7>; 18873b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 18883b5838d1STinghan Shen clocks = <&wpesys CLK_WPE_SMI_LARB7>, 18893b5838d1STinghan Shen <&wpesys CLK_WPE_SMI_LARB7>; 18903b5838d1STinghan Shen clock-names = "apb", "smi"; 18913b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_WPESYS>; 18923b5838d1STinghan Shen }; 18933b5838d1STinghan Shen 18943b5838d1STinghan Shen larb8: larb@14e05000 { 18953b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 18963b5838d1STinghan Shen reg = <0 0x14e05000 0 0x1000>; 18973b5838d1STinghan Shen mediatek,larb-id = <8>; 18983b5838d1STinghan Shen mediatek,smi = <&smi_common_vpp>; 18993b5838d1STinghan Shen clocks = <&wpesys CLK_WPE_SMI_LARB8>, 19003b5838d1STinghan Shen <&wpesys CLK_WPE_SMI_LARB8>, 19013b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VPP1_WPE>; 19023b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 19033b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_WPESYS>; 19043b5838d1STinghan Shen }; 19053b5838d1STinghan Shen 19066aa5b46dSTinghan Shen vppsys1: clock-controller@14f00000 { 19076aa5b46dSTinghan Shen compatible = "mediatek,mt8195-vppsys1"; 19086aa5b46dSTinghan Shen reg = <0 0x14f00000 0 0x1000>; 19096aa5b46dSTinghan Shen #clock-cells = <1>; 19106aa5b46dSTinghan Shen }; 19116aa5b46dSTinghan Shen 19123b5838d1STinghan Shen larb5: larb@14f02000 { 19133b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 19143b5838d1STinghan Shen reg = <0 0x14f02000 0 0x1000>; 19153b5838d1STinghan Shen mediatek,larb-id = <5>; 19163b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 19173b5838d1STinghan Shen clocks = <&vppsys1 CLK_VPP1_VPPSYS1_LARB>, 19183b5838d1STinghan Shen <&vppsys1 CLK_VPP1_VPPSYS1_GALS>, 19193b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VPP1_LARB5>; 19203b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 19213b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS1>; 19223b5838d1STinghan Shen }; 19233b5838d1STinghan Shen 19243b5838d1STinghan Shen larb6: larb@14f03000 { 19253b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 19263b5838d1STinghan Shen reg = <0 0x14f03000 0 0x1000>; 19273b5838d1STinghan Shen mediatek,larb-id = <6>; 19283b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_vpp0_vpp1_2x1>; 19293b5838d1STinghan Shen clocks = <&vppsys1 CLK_VPP1_VPPSYS1_LARB>, 19303b5838d1STinghan Shen <&vppsys1 CLK_VPP1_VPPSYS1_GALS>, 19313b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VPP1_LARB6>; 19323b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 19333b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS1>; 19343b5838d1STinghan Shen }; 19353b5838d1STinghan Shen 193637f25828STinghan Shen imgsys: clock-controller@15000000 { 193737f25828STinghan Shen compatible = "mediatek,mt8195-imgsys"; 193837f25828STinghan Shen reg = <0 0x15000000 0 0x1000>; 193937f25828STinghan Shen #clock-cells = <1>; 194037f25828STinghan Shen }; 194137f25828STinghan Shen 19423b5838d1STinghan Shen larb9: larb@15001000 { 19433b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 19443b5838d1STinghan Shen reg = <0 0x15001000 0 0x1000>; 19453b5838d1STinghan Shen mediatek,larb-id = <9>; 19463b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_img1_3x1>; 19473b5838d1STinghan Shen clocks = <&imgsys CLK_IMG_LARB9>, 19483b5838d1STinghan Shen <&imgsys CLK_IMG_LARB9>, 19493b5838d1STinghan Shen <&imgsys CLK_IMG_GALS>; 19503b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 19513b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_IMG>; 19523b5838d1STinghan Shen }; 19533b5838d1STinghan Shen 19543b5838d1STinghan Shen smi_sub_common_img0_3x1: smi@15002000 { 19553b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-sub-common"; 19563b5838d1STinghan Shen reg = <0 0x15002000 0 0x1000>; 19573b5838d1STinghan Shen clocks = <&imgsys CLK_IMG_IPE>, 19583b5838d1STinghan Shen <&imgsys CLK_IMG_IPE>, 19593b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_IMGSYS_CAMSYS>; 19603b5838d1STinghan Shen clock-names = "apb", "smi", "gals0"; 19613b5838d1STinghan Shen mediatek,smi = <&smi_common_vpp>; 19623b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_IMG>; 19633b5838d1STinghan Shen }; 19643b5838d1STinghan Shen 19653b5838d1STinghan Shen smi_sub_common_img1_3x1: smi@15003000 { 19663b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-sub-common"; 19673b5838d1STinghan Shen reg = <0 0x15003000 0 0x1000>; 19683b5838d1STinghan Shen clocks = <&imgsys CLK_IMG_LARB9>, 19693b5838d1STinghan Shen <&imgsys CLK_IMG_LARB9>, 19703b5838d1STinghan Shen <&imgsys CLK_IMG_GALS>; 19713b5838d1STinghan Shen clock-names = "apb", "smi", "gals0"; 19723b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 19733b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_IMG>; 19743b5838d1STinghan Shen }; 19753b5838d1STinghan Shen 197637f25828STinghan Shen imgsys1_dip_top: clock-controller@15110000 { 197737f25828STinghan Shen compatible = "mediatek,mt8195-imgsys1_dip_top"; 197837f25828STinghan Shen reg = <0 0x15110000 0 0x1000>; 197937f25828STinghan Shen #clock-cells = <1>; 198037f25828STinghan Shen }; 198137f25828STinghan Shen 19823b5838d1STinghan Shen larb10: larb@15120000 { 19833b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 19843b5838d1STinghan Shen reg = <0 0x15120000 0 0x1000>; 19853b5838d1STinghan Shen mediatek,larb-id = <10>; 19863b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_img1_3x1>; 19873b5838d1STinghan Shen clocks = <&imgsys CLK_IMG_DIP0>, 19883b5838d1STinghan Shen <&imgsys1_dip_top CLK_IMG1_DIP_TOP_LARB10>; 19893b5838d1STinghan Shen clock-names = "apb", "smi"; 19903b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_DIP>; 19913b5838d1STinghan Shen }; 19923b5838d1STinghan Shen 199337f25828STinghan Shen imgsys1_dip_nr: clock-controller@15130000 { 199437f25828STinghan Shen compatible = "mediatek,mt8195-imgsys1_dip_nr"; 199537f25828STinghan Shen reg = <0 0x15130000 0 0x1000>; 199637f25828STinghan Shen #clock-cells = <1>; 199737f25828STinghan Shen }; 199837f25828STinghan Shen 199937f25828STinghan Shen imgsys1_wpe: clock-controller@15220000 { 200037f25828STinghan Shen compatible = "mediatek,mt8195-imgsys1_wpe"; 200137f25828STinghan Shen reg = <0 0x15220000 0 0x1000>; 200237f25828STinghan Shen #clock-cells = <1>; 200337f25828STinghan Shen }; 200437f25828STinghan Shen 20053b5838d1STinghan Shen larb11: larb@15230000 { 20063b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 20073b5838d1STinghan Shen reg = <0 0x15230000 0 0x1000>; 20083b5838d1STinghan Shen mediatek,larb-id = <11>; 20093b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_img1_3x1>; 20103b5838d1STinghan Shen clocks = <&imgsys CLK_IMG_WPE0>, 20113b5838d1STinghan Shen <&imgsys1_wpe CLK_IMG1_WPE_LARB11>; 20123b5838d1STinghan Shen clock-names = "apb", "smi"; 20133b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_DIP>; 20143b5838d1STinghan Shen }; 20153b5838d1STinghan Shen 201637f25828STinghan Shen ipesys: clock-controller@15330000 { 201737f25828STinghan Shen compatible = "mediatek,mt8195-ipesys"; 201837f25828STinghan Shen reg = <0 0x15330000 0 0x1000>; 201937f25828STinghan Shen #clock-cells = <1>; 202037f25828STinghan Shen }; 202137f25828STinghan Shen 20223b5838d1STinghan Shen larb12: larb@15340000 { 20233b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 20243b5838d1STinghan Shen reg = <0 0x15340000 0 0x1000>; 20253b5838d1STinghan Shen mediatek,larb-id = <12>; 20263b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_img0_3x1>; 20273b5838d1STinghan Shen clocks = <&ipesys CLK_IPE_SMI_LARB12>, 20283b5838d1STinghan Shen <&ipesys CLK_IPE_SMI_LARB12>; 20293b5838d1STinghan Shen clock-names = "apb", "smi"; 20303b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_IPE>; 20313b5838d1STinghan Shen }; 20323b5838d1STinghan Shen 203337f25828STinghan Shen camsys: clock-controller@16000000 { 203437f25828STinghan Shen compatible = "mediatek,mt8195-camsys"; 203537f25828STinghan Shen reg = <0 0x16000000 0 0x1000>; 203637f25828STinghan Shen #clock-cells = <1>; 203737f25828STinghan Shen }; 203837f25828STinghan Shen 20393b5838d1STinghan Shen larb13: larb@16001000 { 20403b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 20413b5838d1STinghan Shen reg = <0 0x16001000 0 0x1000>; 20423b5838d1STinghan Shen mediatek,larb-id = <13>; 20433b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_4x1>; 20443b5838d1STinghan Shen clocks = <&camsys CLK_CAM_LARB13>, 20453b5838d1STinghan Shen <&camsys CLK_CAM_LARB13>, 20463b5838d1STinghan Shen <&camsys CLK_CAM_CAM2MM0_GALS>; 20473b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 20483b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM>; 20493b5838d1STinghan Shen }; 20503b5838d1STinghan Shen 20513b5838d1STinghan Shen larb14: larb@16002000 { 20523b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 20533b5838d1STinghan Shen reg = <0 0x16002000 0 0x1000>; 20543b5838d1STinghan Shen mediatek,larb-id = <14>; 20553b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_7x1>; 20563b5838d1STinghan Shen clocks = <&camsys CLK_CAM_LARB14>, 20573b5838d1STinghan Shen <&camsys CLK_CAM_LARB14>; 20583b5838d1STinghan Shen clock-names = "apb", "smi"; 20593b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM>; 20603b5838d1STinghan Shen }; 20613b5838d1STinghan Shen 20623b5838d1STinghan Shen smi_sub_common_cam_4x1: smi@16004000 { 20633b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-sub-common"; 20643b5838d1STinghan Shen reg = <0 0x16004000 0 0x1000>; 20653b5838d1STinghan Shen clocks = <&camsys CLK_CAM_LARB13>, 20663b5838d1STinghan Shen <&camsys CLK_CAM_LARB13>, 20673b5838d1STinghan Shen <&camsys CLK_CAM_CAM2MM0_GALS>; 20683b5838d1STinghan Shen clock-names = "apb", "smi", "gals0"; 20693b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 20703b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM>; 20713b5838d1STinghan Shen }; 20723b5838d1STinghan Shen 20733b5838d1STinghan Shen smi_sub_common_cam_7x1: smi@16005000 { 20743b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-sub-common"; 20753b5838d1STinghan Shen reg = <0 0x16005000 0 0x1000>; 20763b5838d1STinghan Shen clocks = <&camsys CLK_CAM_LARB14>, 20773b5838d1STinghan Shen <&camsys CLK_CAM_CAM2MM1_GALS>, 20783b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_IMGSYS_CAMSYS>; 20793b5838d1STinghan Shen clock-names = "apb", "smi", "gals0"; 20803b5838d1STinghan Shen mediatek,smi = <&smi_common_vpp>; 20813b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM>; 20823b5838d1STinghan Shen }; 20833b5838d1STinghan Shen 20843b5838d1STinghan Shen larb16: larb@16012000 { 20853b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 20863b5838d1STinghan Shen reg = <0 0x16012000 0 0x1000>; 20873b5838d1STinghan Shen mediatek,larb-id = <16>; 20883b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_7x1>; 20893b5838d1STinghan Shen clocks = <&camsys_rawa CLK_CAM_RAWA_LARBX>, 20903b5838d1STinghan Shen <&camsys_rawa CLK_CAM_RAWA_LARBX>; 20913b5838d1STinghan Shen clock-names = "apb", "smi"; 20923b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM_RAWA>; 20933b5838d1STinghan Shen }; 20943b5838d1STinghan Shen 20953b5838d1STinghan Shen larb17: larb@16013000 { 20963b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 20973b5838d1STinghan Shen reg = <0 0x16013000 0 0x1000>; 20983b5838d1STinghan Shen mediatek,larb-id = <17>; 20993b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_4x1>; 21003b5838d1STinghan Shen clocks = <&camsys_yuva CLK_CAM_YUVA_LARBX>, 21013b5838d1STinghan Shen <&camsys_yuva CLK_CAM_YUVA_LARBX>; 21023b5838d1STinghan Shen clock-names = "apb", "smi"; 21033b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM_RAWA>; 21043b5838d1STinghan Shen }; 21053b5838d1STinghan Shen 21063b5838d1STinghan Shen larb27: larb@16014000 { 21073b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 21083b5838d1STinghan Shen reg = <0 0x16014000 0 0x1000>; 21093b5838d1STinghan Shen mediatek,larb-id = <27>; 21103b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_7x1>; 21113b5838d1STinghan Shen clocks = <&camsys_rawb CLK_CAM_RAWB_LARBX>, 21123b5838d1STinghan Shen <&camsys_rawb CLK_CAM_RAWB_LARBX>; 21133b5838d1STinghan Shen clock-names = "apb", "smi"; 21143b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM_RAWB>; 21153b5838d1STinghan Shen }; 21163b5838d1STinghan Shen 21173b5838d1STinghan Shen larb28: larb@16015000 { 21183b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 21193b5838d1STinghan Shen reg = <0 0x16015000 0 0x1000>; 21203b5838d1STinghan Shen mediatek,larb-id = <28>; 21213b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_4x1>; 21223b5838d1STinghan Shen clocks = <&camsys_yuvb CLK_CAM_YUVB_LARBX>, 21233b5838d1STinghan Shen <&camsys_yuvb CLK_CAM_YUVB_LARBX>; 21243b5838d1STinghan Shen clock-names = "apb", "smi"; 21253b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM_RAWB>; 21263b5838d1STinghan Shen }; 21273b5838d1STinghan Shen 212837f25828STinghan Shen camsys_rawa: clock-controller@1604f000 { 212937f25828STinghan Shen compatible = "mediatek,mt8195-camsys_rawa"; 213037f25828STinghan Shen reg = <0 0x1604f000 0 0x1000>; 213137f25828STinghan Shen #clock-cells = <1>; 213237f25828STinghan Shen }; 213337f25828STinghan Shen 213437f25828STinghan Shen camsys_yuva: clock-controller@1606f000 { 213537f25828STinghan Shen compatible = "mediatek,mt8195-camsys_yuva"; 213637f25828STinghan Shen reg = <0 0x1606f000 0 0x1000>; 213737f25828STinghan Shen #clock-cells = <1>; 213837f25828STinghan Shen }; 213937f25828STinghan Shen 214037f25828STinghan Shen camsys_rawb: clock-controller@1608f000 { 214137f25828STinghan Shen compatible = "mediatek,mt8195-camsys_rawb"; 214237f25828STinghan Shen reg = <0 0x1608f000 0 0x1000>; 214337f25828STinghan Shen #clock-cells = <1>; 214437f25828STinghan Shen }; 214537f25828STinghan Shen 214637f25828STinghan Shen camsys_yuvb: clock-controller@160af000 { 214737f25828STinghan Shen compatible = "mediatek,mt8195-camsys_yuvb"; 214837f25828STinghan Shen reg = <0 0x160af000 0 0x1000>; 214937f25828STinghan Shen #clock-cells = <1>; 215037f25828STinghan Shen }; 215137f25828STinghan Shen 215237f25828STinghan Shen camsys_mraw: clock-controller@16140000 { 215337f25828STinghan Shen compatible = "mediatek,mt8195-camsys_mraw"; 215437f25828STinghan Shen reg = <0 0x16140000 0 0x1000>; 215537f25828STinghan Shen #clock-cells = <1>; 215637f25828STinghan Shen }; 215737f25828STinghan Shen 21583b5838d1STinghan Shen larb25: larb@16141000 { 21593b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 21603b5838d1STinghan Shen reg = <0 0x16141000 0 0x1000>; 21613b5838d1STinghan Shen mediatek,larb-id = <25>; 21623b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_4x1>; 21633b5838d1STinghan Shen clocks = <&camsys CLK_CAM_LARB13>, 21643b5838d1STinghan Shen <&camsys_mraw CLK_CAM_MRAW_LARBX>, 21653b5838d1STinghan Shen <&camsys CLK_CAM_CAM2MM0_GALS>; 21663b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 21673b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM_MRAW>; 21683b5838d1STinghan Shen }; 21693b5838d1STinghan Shen 21703b5838d1STinghan Shen larb26: larb@16142000 { 21713b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 21723b5838d1STinghan Shen reg = <0 0x16142000 0 0x1000>; 21733b5838d1STinghan Shen mediatek,larb-id = <26>; 21743b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_7x1>; 21753b5838d1STinghan Shen clocks = <&camsys_mraw CLK_CAM_MRAW_LARBX>, 21763b5838d1STinghan Shen <&camsys_mraw CLK_CAM_MRAW_LARBX>; 21773b5838d1STinghan Shen clock-names = "apb", "smi"; 21783b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM_MRAW>; 21793b5838d1STinghan Shen 21803b5838d1STinghan Shen }; 21813b5838d1STinghan Shen 218237f25828STinghan Shen ccusys: clock-controller@17200000 { 218337f25828STinghan Shen compatible = "mediatek,mt8195-ccusys"; 218437f25828STinghan Shen reg = <0 0x17200000 0 0x1000>; 218537f25828STinghan Shen #clock-cells = <1>; 218637f25828STinghan Shen }; 218737f25828STinghan Shen 21883b5838d1STinghan Shen larb18: larb@17201000 { 21893b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 21903b5838d1STinghan Shen reg = <0 0x17201000 0 0x1000>; 21913b5838d1STinghan Shen mediatek,larb-id = <18>; 21923b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_cam_7x1>; 21933b5838d1STinghan Shen clocks = <&ccusys CLK_CCU_LARB18>, 21943b5838d1STinghan Shen <&ccusys CLK_CCU_LARB18>; 21953b5838d1STinghan Shen clock-names = "apb", "smi"; 21963b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_CAM>; 21973b5838d1STinghan Shen }; 21983b5838d1STinghan Shen 21993b5838d1STinghan Shen larb24: larb@1800d000 { 22003b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 22013b5838d1STinghan Shen reg = <0 0x1800d000 0 0x1000>; 22023b5838d1STinghan Shen mediatek,larb-id = <24>; 22033b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 22043b5838d1STinghan Shen clocks = <&vdecsys_soc CLK_VDEC_SOC_LARB1>, 22053b5838d1STinghan Shen <&vdecsys_soc CLK_VDEC_SOC_LARB1>; 22063b5838d1STinghan Shen clock-names = "apb", "smi"; 22073b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDEC0>; 22083b5838d1STinghan Shen }; 22093b5838d1STinghan Shen 22103b5838d1STinghan Shen larb23: larb@1800e000 { 22113b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 22123b5838d1STinghan Shen reg = <0 0x1800e000 0 0x1000>; 22133b5838d1STinghan Shen mediatek,larb-id = <23>; 22143b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_vdec_vpp0_2x1>; 22153b5838d1STinghan Shen clocks = <&vppsys0 CLK_VPP0_GALS_VDEC_VDEC_CORE1>, 22163b5838d1STinghan Shen <&vdecsys_soc CLK_VDEC_SOC_LARB1>; 22173b5838d1STinghan Shen clock-names = "apb", "smi"; 22183b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDEC0>; 22193b5838d1STinghan Shen }; 22203b5838d1STinghan Shen 222137f25828STinghan Shen vdecsys_soc: clock-controller@1800f000 { 222237f25828STinghan Shen compatible = "mediatek,mt8195-vdecsys_soc"; 222337f25828STinghan Shen reg = <0 0x1800f000 0 0x1000>; 222437f25828STinghan Shen #clock-cells = <1>; 222537f25828STinghan Shen }; 222637f25828STinghan Shen 22273b5838d1STinghan Shen larb21: larb@1802e000 { 22283b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 22293b5838d1STinghan Shen reg = <0 0x1802e000 0 0x1000>; 22303b5838d1STinghan Shen mediatek,larb-id = <21>; 22313b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 22323b5838d1STinghan Shen clocks = <&vdecsys CLK_VDEC_LARB1>, 22333b5838d1STinghan Shen <&vdecsys CLK_VDEC_LARB1>; 22343b5838d1STinghan Shen clock-names = "apb", "smi"; 22353b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDEC1>; 22363b5838d1STinghan Shen }; 22373b5838d1STinghan Shen 223837f25828STinghan Shen vdecsys: clock-controller@1802f000 { 223937f25828STinghan Shen compatible = "mediatek,mt8195-vdecsys"; 224037f25828STinghan Shen reg = <0 0x1802f000 0 0x1000>; 224137f25828STinghan Shen #clock-cells = <1>; 224237f25828STinghan Shen }; 224337f25828STinghan Shen 22443b5838d1STinghan Shen larb22: larb@1803e000 { 22453b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 22463b5838d1STinghan Shen reg = <0 0x1803e000 0 0x1000>; 22473b5838d1STinghan Shen mediatek,larb-id = <22>; 22483b5838d1STinghan Shen mediatek,smi = <&smi_sub_common_vdec_vpp0_2x1>; 22493b5838d1STinghan Shen clocks = <&vppsys0 CLK_VPP0_GALS_VDEC_VDEC_CORE1>, 22503b5838d1STinghan Shen <&vdecsys_core1 CLK_VDEC_CORE1_LARB1>; 22513b5838d1STinghan Shen clock-names = "apb", "smi"; 22523b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDEC2>; 22533b5838d1STinghan Shen }; 22543b5838d1STinghan Shen 225537f25828STinghan Shen vdecsys_core1: clock-controller@1803f000 { 225637f25828STinghan Shen compatible = "mediatek,mt8195-vdecsys_core1"; 225737f25828STinghan Shen reg = <0 0x1803f000 0 0x1000>; 225837f25828STinghan Shen #clock-cells = <1>; 225937f25828STinghan Shen }; 226037f25828STinghan Shen 226137f25828STinghan Shen apusys_pll: clock-controller@190f3000 { 226237f25828STinghan Shen compatible = "mediatek,mt8195-apusys_pll"; 226337f25828STinghan Shen reg = <0 0x190f3000 0 0x1000>; 226437f25828STinghan Shen #clock-cells = <1>; 226537f25828STinghan Shen }; 226637f25828STinghan Shen 226737f25828STinghan Shen vencsys: clock-controller@1a000000 { 226837f25828STinghan Shen compatible = "mediatek,mt8195-vencsys"; 226937f25828STinghan Shen reg = <0 0x1a000000 0 0x1000>; 227037f25828STinghan Shen #clock-cells = <1>; 227137f25828STinghan Shen }; 227237f25828STinghan Shen 22733b5838d1STinghan Shen larb19: larb@1a010000 { 22743b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 22753b5838d1STinghan Shen reg = <0 0x1a010000 0 0x1000>; 22763b5838d1STinghan Shen mediatek,larb-id = <19>; 22773b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 22783b5838d1STinghan Shen clocks = <&vencsys CLK_VENC_VENC>, 22793b5838d1STinghan Shen <&vencsys CLK_VENC_GALS>; 22803b5838d1STinghan Shen clock-names = "apb", "smi"; 22813b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VENC>; 22823b5838d1STinghan Shen }; 22833b5838d1STinghan Shen 2284ee3f54cfSTinghan Shen venc: video-codec@1a020000 { 2285ee3f54cfSTinghan Shen compatible = "mediatek,mt8195-vcodec-enc"; 2286ee3f54cfSTinghan Shen reg = <0 0x1a020000 0 0x10000>; 2287ee3f54cfSTinghan Shen iommus = <&iommu_vdo M4U_PORT_L19_VENC_RCPU>, 2288ee3f54cfSTinghan Shen <&iommu_vdo M4U_PORT_L19_VENC_REC>, 2289ee3f54cfSTinghan Shen <&iommu_vdo M4U_PORT_L19_VENC_BSDMA>, 2290ee3f54cfSTinghan Shen <&iommu_vdo M4U_PORT_L19_VENC_SV_COMV>, 2291ee3f54cfSTinghan Shen <&iommu_vdo M4U_PORT_L19_VENC_RD_COMV>, 2292ee3f54cfSTinghan Shen <&iommu_vdo M4U_PORT_L19_VENC_CUR_LUMA>, 2293ee3f54cfSTinghan Shen <&iommu_vdo M4U_PORT_L19_VENC_CUR_CHROMA>, 2294ee3f54cfSTinghan Shen <&iommu_vdo M4U_PORT_L19_VENC_REF_LUMA>, 2295ee3f54cfSTinghan Shen <&iommu_vdo M4U_PORT_L19_VENC_REF_CHROMA>; 2296ee3f54cfSTinghan Shen interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH 0>; 2297ee3f54cfSTinghan Shen mediatek,scp = <&scp>; 2298ee3f54cfSTinghan Shen clocks = <&vencsys CLK_VENC_VENC>; 2299ee3f54cfSTinghan Shen clock-names = "venc_sel"; 2300ee3f54cfSTinghan Shen assigned-clocks = <&topckgen CLK_TOP_VENC>; 2301ee3f54cfSTinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D4>; 2302ee3f54cfSTinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VENC>; 2303ee3f54cfSTinghan Shen #address-cells = <2>; 2304ee3f54cfSTinghan Shen #size-cells = <2>; 2305ee3f54cfSTinghan Shen dma-ranges = <0x1 0x0 0x0 0x40000000 0x0 0xfff00000>; 2306ee3f54cfSTinghan Shen }; 2307ee3f54cfSTinghan Shen 230837f25828STinghan Shen vencsys_core1: clock-controller@1b000000 { 230937f25828STinghan Shen compatible = "mediatek,mt8195-vencsys_core1"; 231037f25828STinghan Shen reg = <0 0x1b000000 0 0x1000>; 231137f25828STinghan Shen #clock-cells = <1>; 231237f25828STinghan Shen }; 23136aa5b46dSTinghan Shen 23146aa5b46dSTinghan Shen vdosys0: syscon@1c01a000 { 23156aa5b46dSTinghan Shen compatible = "mediatek,mt8195-mmsys", "syscon"; 23166aa5b46dSTinghan Shen reg = <0 0x1c01a000 0 0x1000>; 2317b852ee68SJason-JH.Lin mboxes = <&gce0 0 CMDQ_THR_PRIO_4>; 23186aa5b46dSTinghan Shen #clock-cells = <1>; 23196aa5b46dSTinghan Shen }; 23206aa5b46dSTinghan Shen 23213b5838d1STinghan Shen larb20: larb@1b010000 { 23223b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 23233b5838d1STinghan Shen reg = <0 0x1b010000 0 0x1000>; 23243b5838d1STinghan Shen mediatek,larb-id = <20>; 23253b5838d1STinghan Shen mediatek,smi = <&smi_common_vpp>; 23263b5838d1STinghan Shen clocks = <&vencsys_core1 CLK_VENC_CORE1_LARB>, 23273b5838d1STinghan Shen <&vencsys_core1 CLK_VENC_CORE1_GALS>, 23283b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDO0_VDO1_VENCSYS_CORE1>; 23293b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 23303b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VENC_CORE1>; 23313b5838d1STinghan Shen }; 23323b5838d1STinghan Shen 2333b852ee68SJason-JH.Lin ovl0: ovl@1c000000 { 2334b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-ovl", "mediatek,mt8183-disp-ovl"; 2335b852ee68SJason-JH.Lin reg = <0 0x1c000000 0 0x1000>; 2336b852ee68SJason-JH.Lin interrupts = <GIC_SPI 636 IRQ_TYPE_LEVEL_HIGH 0>; 2337b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2338b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DISP_OVL0>; 2339b852ee68SJason-JH.Lin iommus = <&iommu_vdo M4U_PORT_L0_DISP_OVL0_RDMA0>; 2340b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x0000 0x1000>; 2341b852ee68SJason-JH.Lin }; 2342b852ee68SJason-JH.Lin 2343b852ee68SJason-JH.Lin rdma0: rdma@1c002000 { 2344b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-rdma"; 2345b852ee68SJason-JH.Lin reg = <0 0x1c002000 0 0x1000>; 2346b852ee68SJason-JH.Lin interrupts = <GIC_SPI 638 IRQ_TYPE_LEVEL_HIGH 0>; 2347b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2348b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DISP_RDMA0>; 2349b852ee68SJason-JH.Lin iommus = <&iommu_vdo M4U_PORT_L0_DISP_RDMA0>; 2350b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x2000 0x1000>; 2351b852ee68SJason-JH.Lin }; 2352b852ee68SJason-JH.Lin 2353b852ee68SJason-JH.Lin color0: color@1c003000 { 2354b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-color", "mediatek,mt8173-disp-color"; 2355b852ee68SJason-JH.Lin reg = <0 0x1c003000 0 0x1000>; 2356b852ee68SJason-JH.Lin interrupts = <GIC_SPI 639 IRQ_TYPE_LEVEL_HIGH 0>; 2357b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2358b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DISP_COLOR0>; 2359b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x3000 0x1000>; 2360b852ee68SJason-JH.Lin }; 2361b852ee68SJason-JH.Lin 2362b852ee68SJason-JH.Lin ccorr0: ccorr@1c004000 { 2363b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-ccorr", "mediatek,mt8192-disp-ccorr"; 2364b852ee68SJason-JH.Lin reg = <0 0x1c004000 0 0x1000>; 2365b852ee68SJason-JH.Lin interrupts = <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH 0>; 2366b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2367b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DISP_CCORR0>; 2368b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x4000 0x1000>; 2369b852ee68SJason-JH.Lin }; 2370b852ee68SJason-JH.Lin 2371b852ee68SJason-JH.Lin aal0: aal@1c005000 { 2372b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-aal", "mediatek,mt8183-disp-aal"; 2373b852ee68SJason-JH.Lin reg = <0 0x1c005000 0 0x1000>; 2374b852ee68SJason-JH.Lin interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH 0>; 2375b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2376b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DISP_AAL0>; 2377b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x5000 0x1000>; 2378b852ee68SJason-JH.Lin }; 2379b852ee68SJason-JH.Lin 2380b852ee68SJason-JH.Lin gamma0: gamma@1c006000 { 2381b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-gamma", "mediatek,mt8183-disp-gamma"; 2382b852ee68SJason-JH.Lin reg = <0 0x1c006000 0 0x1000>; 2383b852ee68SJason-JH.Lin interrupts = <GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH 0>; 2384b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2385b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DISP_GAMMA0>; 2386b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x6000 0x1000>; 2387b852ee68SJason-JH.Lin }; 2388b852ee68SJason-JH.Lin 2389b852ee68SJason-JH.Lin dither0: dither@1c007000 { 2390b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-dither", "mediatek,mt8183-disp-dither"; 2391b852ee68SJason-JH.Lin reg = <0 0x1c007000 0 0x1000>; 2392b852ee68SJason-JH.Lin interrupts = <GIC_SPI 643 IRQ_TYPE_LEVEL_HIGH 0>; 2393b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2394b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DISP_DITHER0>; 2395b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x7000 0x1000>; 2396b852ee68SJason-JH.Lin }; 2397b852ee68SJason-JH.Lin 2398b852ee68SJason-JH.Lin dsc0: dsc@1c009000 { 2399b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-dsc"; 2400b852ee68SJason-JH.Lin reg = <0 0x1c009000 0 0x1000>; 2401b852ee68SJason-JH.Lin interrupts = <GIC_SPI 645 IRQ_TYPE_LEVEL_HIGH 0>; 2402b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2403b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DSC_WRAP0>; 2404b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c00XXXX 0x9000 0x1000>; 2405b852ee68SJason-JH.Lin }; 2406b852ee68SJason-JH.Lin 2407b852ee68SJason-JH.Lin merge0: merge@1c014000 { 2408b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-merge"; 2409b852ee68SJason-JH.Lin reg = <0 0x1c014000 0 0x1000>; 2410b852ee68SJason-JH.Lin interrupts = <GIC_SPI 656 IRQ_TYPE_LEVEL_HIGH 0>; 2411b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2412b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_VPP_MERGE0>; 2413b852ee68SJason-JH.Lin mediatek,gce-client-reg = <&gce0 SUBSYS_1c01XXXX 0x4000 0x1000>; 2414b852ee68SJason-JH.Lin }; 2415b852ee68SJason-JH.Lin 24166c2503b5SBo-Chen Chen dp_intf0: dp-intf@1c015000 { 24176c2503b5SBo-Chen Chen compatible = "mediatek,mt8195-dp-intf"; 24186c2503b5SBo-Chen Chen reg = <0 0x1c015000 0 0x1000>; 24196c2503b5SBo-Chen Chen interrupts = <GIC_SPI 657 IRQ_TYPE_LEVEL_HIGH 0>; 24206c2503b5SBo-Chen Chen clocks = <&vdosys0 CLK_VDO0_DP_INTF0>, 24216c2503b5SBo-Chen Chen <&vdosys0 CLK_VDO0_DP_INTF0_DP_INTF>, 24226c2503b5SBo-Chen Chen <&apmixedsys CLK_APMIXED_TVDPLL1>; 24236c2503b5SBo-Chen Chen clock-names = "engine", "pixel", "pll"; 24246c2503b5SBo-Chen Chen status = "disabled"; 24256c2503b5SBo-Chen Chen }; 24266c2503b5SBo-Chen Chen 2427b852ee68SJason-JH.Lin mutex: mutex@1c016000 { 2428b852ee68SJason-JH.Lin compatible = "mediatek,mt8195-disp-mutex"; 2429b852ee68SJason-JH.Lin reg = <0 0x1c016000 0 0x1000>; 2430b852ee68SJason-JH.Lin interrupts = <GIC_SPI 658 IRQ_TYPE_LEVEL_HIGH 0>; 2431b852ee68SJason-JH.Lin power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 2432b852ee68SJason-JH.Lin clocks = <&vdosys0 CLK_VDO0_DISP_MUTEX0>; 2433b852ee68SJason-JH.Lin mediatek,gce-events = <CMDQ_EVENT_VDO0_DISP_STREAM_DONE_0>; 2434b852ee68SJason-JH.Lin }; 2435b852ee68SJason-JH.Lin 24363b5838d1STinghan Shen larb0: larb@1c018000 { 24373b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 24383b5838d1STinghan Shen reg = <0 0x1c018000 0 0x1000>; 24393b5838d1STinghan Shen mediatek,larb-id = <0>; 24403b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 24413b5838d1STinghan Shen clocks = <&vdosys0 CLK_VDO0_SMI_LARB>, 24423b5838d1STinghan Shen <&vdosys0 CLK_VDO0_SMI_LARB>, 24433b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDO0_LARB0>; 24443b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 24453b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 24463b5838d1STinghan Shen }; 24473b5838d1STinghan Shen 24483b5838d1STinghan Shen larb1: larb@1c019000 { 24493b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 24503b5838d1STinghan Shen reg = <0 0x1c019000 0 0x1000>; 24513b5838d1STinghan Shen mediatek,larb-id = <1>; 24523b5838d1STinghan Shen mediatek,smi = <&smi_common_vpp>; 24533b5838d1STinghan Shen clocks = <&vdosys0 CLK_VDO0_SMI_LARB>, 24543b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDO0_VDO1_VENCSYS_CORE1>, 24553b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDO0_LARB1>; 24563b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 24573b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 24583b5838d1STinghan Shen }; 24593b5838d1STinghan Shen 24606aa5b46dSTinghan Shen vdosys1: syscon@1c100000 { 24616aa5b46dSTinghan Shen compatible = "mediatek,mt8195-mmsys", "syscon"; 24626aa5b46dSTinghan Shen reg = <0 0x1c100000 0 0x1000>; 24636aa5b46dSTinghan Shen #clock-cells = <1>; 24646aa5b46dSTinghan Shen }; 24653b5838d1STinghan Shen 24663b5838d1STinghan Shen smi_common_vdo: smi@1c01b000 { 24673b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-common-vdo"; 24683b5838d1STinghan Shen reg = <0 0x1c01b000 0 0x1000>; 24693b5838d1STinghan Shen clocks = <&vdosys0 CLK_VDO0_SMI_COMMON>, 24703b5838d1STinghan Shen <&vdosys0 CLK_VDO0_SMI_EMI>, 24713b5838d1STinghan Shen <&vdosys0 CLK_VDO0_SMI_RSI>, 24723b5838d1STinghan Shen <&vdosys0 CLK_VDO0_SMI_GALS>; 24733b5838d1STinghan Shen clock-names = "apb", "smi", "gals0", "gals1"; 24743b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 24753b5838d1STinghan Shen 24763b5838d1STinghan Shen }; 24773b5838d1STinghan Shen 24783b5838d1STinghan Shen iommu_vdo: iommu@1c01f000 { 24793b5838d1STinghan Shen compatible = "mediatek,mt8195-iommu-vdo"; 24803b5838d1STinghan Shen reg = <0 0x1c01f000 0 0x1000>; 24813b5838d1STinghan Shen mediatek,larbs = <&larb0 &larb2 &larb5 &larb7 &larb9 24823b5838d1STinghan Shen &larb10 &larb11 &larb13 &larb17 24833b5838d1STinghan Shen &larb19 &larb21 &larb24 &larb25 24843b5838d1STinghan Shen &larb28>; 24853b5838d1STinghan Shen interrupts = <GIC_SPI 669 IRQ_TYPE_LEVEL_HIGH 0>; 24863b5838d1STinghan Shen #iommu-cells = <1>; 24873b5838d1STinghan Shen clocks = <&vdosys0 CLK_VDO0_SMI_IOMMU>; 24883b5838d1STinghan Shen clock-names = "bclk"; 24893b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>; 24903b5838d1STinghan Shen }; 24913b5838d1STinghan Shen 24923b5838d1STinghan Shen larb2: larb@1c102000 { 24933b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 24943b5838d1STinghan Shen reg = <0 0x1c102000 0 0x1000>; 24953b5838d1STinghan Shen mediatek,larb-id = <2>; 24963b5838d1STinghan Shen mediatek,smi = <&smi_common_vdo>; 24973b5838d1STinghan Shen clocks = <&vdosys1 CLK_VDO1_SMI_LARB2>, 24983b5838d1STinghan Shen <&vdosys1 CLK_VDO1_SMI_LARB2>, 24993b5838d1STinghan Shen <&vdosys1 CLK_VDO1_GALS>; 25003b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 25013b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>; 25023b5838d1STinghan Shen }; 25033b5838d1STinghan Shen 25043b5838d1STinghan Shen larb3: larb@1c103000 { 25053b5838d1STinghan Shen compatible = "mediatek,mt8195-smi-larb"; 25063b5838d1STinghan Shen reg = <0 0x1c103000 0 0x1000>; 25073b5838d1STinghan Shen mediatek,larb-id = <3>; 25083b5838d1STinghan Shen mediatek,smi = <&smi_common_vpp>; 25093b5838d1STinghan Shen clocks = <&vdosys1 CLK_VDO1_SMI_LARB3>, 25103b5838d1STinghan Shen <&vdosys1 CLK_VDO1_GALS>, 25113b5838d1STinghan Shen <&vppsys0 CLK_VPP0_GALS_VDO0_VDO1_VENCSYS_CORE1>; 25123b5838d1STinghan Shen clock-names = "apb", "smi", "gals"; 25133b5838d1STinghan Shen power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>; 25143b5838d1STinghan Shen }; 25156c2503b5SBo-Chen Chen 25166c2503b5SBo-Chen Chen dp_intf1: dp-intf@1c113000 { 25176c2503b5SBo-Chen Chen compatible = "mediatek,mt8195-dp-intf"; 25186c2503b5SBo-Chen Chen reg = <0 0x1c113000 0 0x1000>; 25196c2503b5SBo-Chen Chen interrupts = <GIC_SPI 513 IRQ_TYPE_LEVEL_HIGH 0>; 25206c2503b5SBo-Chen Chen power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>; 25216c2503b5SBo-Chen Chen clocks = <&vdosys1 CLK_VDO1_DP_INTF0_MM>, 25226c2503b5SBo-Chen Chen <&vdosys1 CLK_VDO1_DPINTF>, 25236c2503b5SBo-Chen Chen <&apmixedsys CLK_APMIXED_TVDPLL2>; 25246c2503b5SBo-Chen Chen clock-names = "engine", "pixel", "pll"; 25256c2503b5SBo-Chen Chen status = "disabled"; 25266c2503b5SBo-Chen Chen }; 252764196979SBo-Chen Chen 252864196979SBo-Chen Chen edp_tx: edp-tx@1c500000 { 252964196979SBo-Chen Chen compatible = "mediatek,mt8195-edp-tx"; 253064196979SBo-Chen Chen reg = <0 0x1c500000 0 0x8000>; 253164196979SBo-Chen Chen nvmem-cells = <&dp_calibration>; 253264196979SBo-Chen Chen nvmem-cell-names = "dp_calibration_data"; 253364196979SBo-Chen Chen power-domains = <&spm MT8195_POWER_DOMAIN_EPD_TX>; 253464196979SBo-Chen Chen interrupts = <GIC_SPI 676 IRQ_TYPE_LEVEL_HIGH 0>; 253564196979SBo-Chen Chen max-linkrate-mhz = <8100>; 253664196979SBo-Chen Chen status = "disabled"; 253764196979SBo-Chen Chen }; 253864196979SBo-Chen Chen 253964196979SBo-Chen Chen dp_tx: dp-tx@1c600000 { 254064196979SBo-Chen Chen compatible = "mediatek,mt8195-dp-tx"; 254164196979SBo-Chen Chen reg = <0 0x1c600000 0 0x8000>; 254264196979SBo-Chen Chen nvmem-cells = <&dp_calibration>; 254364196979SBo-Chen Chen nvmem-cell-names = "dp_calibration_data"; 254464196979SBo-Chen Chen power-domains = <&spm MT8195_POWER_DOMAIN_DP_TX>; 254564196979SBo-Chen Chen interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH 0>; 254664196979SBo-Chen Chen max-linkrate-mhz = <8100>; 254764196979SBo-Chen Chen status = "disabled"; 254864196979SBo-Chen Chen }; 254937f25828STinghan Shen }; 255037f25828STinghan Shen}; 2551