1e526c9bcSBen Ho// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2e526c9bcSBen Ho/* 3e526c9bcSBen Ho * Copyright (c) 2018 MediaTek Inc. 4e526c9bcSBen Ho * Author: Ben Ho <ben.ho@mediatek.com> 5e526c9bcSBen Ho * Erin Lo <erin.lo@mediatek.com> 6e526c9bcSBen Ho */ 7e526c9bcSBen Ho 8e526c9bcSBen Ho#include <dt-bindings/clock/mt8183-clk.h> 918d6e3f6SMatthias Brugger#include <dt-bindings/gce/mt8183-gce.h> 10e526c9bcSBen Ho#include <dt-bindings/interrupt-controller/arm-gic.h> 11e526c9bcSBen Ho#include <dt-bindings/interrupt-controller/irq.h> 12c6080916SEnric Balletbo i Serra#include <dt-bindings/memory/mt8183-larb-port.h> 1337fb78b9SMatthias Brugger#include <dt-bindings/power/mt8183-power.h> 14f07c776fSEnric Balletbo i Serra#include <dt-bindings/reset/mt8183-resets.h> 156b3bfa37SEnric Balletbo i Serra#include <dt-bindings/phy/phy.h> 16fccf4261SMatthias Kaehlcke#include <dt-bindings/thermal/thermal.h> 174e233326SHsin-Yi Wang#include <dt-bindings/pinctrl/mt8183-pinfunc.h> 18e526c9bcSBen Ho 19e526c9bcSBen Ho/ { 20e526c9bcSBen Ho compatible = "mediatek,mt8183"; 21e526c9bcSBen Ho interrupt-parent = <&sysirq>; 22e526c9bcSBen Ho #address-cells = <2>; 23e526c9bcSBen Ho #size-cells = <2>; 24e526c9bcSBen Ho 25251137b8SQii Wang aliases { 26251137b8SQii Wang i2c0 = &i2c0; 27251137b8SQii Wang i2c1 = &i2c1; 28251137b8SQii Wang i2c2 = &i2c2; 29251137b8SQii Wang i2c3 = &i2c3; 30251137b8SQii Wang i2c4 = &i2c4; 31251137b8SQii Wang i2c5 = &i2c5; 32251137b8SQii Wang i2c6 = &i2c6; 33251137b8SQii Wang i2c7 = &i2c7; 34251137b8SQii Wang i2c8 = &i2c8; 35251137b8SQii Wang i2c9 = &i2c9; 36251137b8SQii Wang i2c10 = &i2c10; 37251137b8SQii Wang i2c11 = &i2c11; 3891f9c963SEnric Balletbo i Serra ovl0 = &ovl0; 3991f9c963SEnric Balletbo i Serra ovl-2l0 = &ovl_2l0; 4091f9c963SEnric Balletbo i Serra ovl-2l1 = &ovl_2l1; 4191f9c963SEnric Balletbo i Serra rdma0 = &rdma0; 4291f9c963SEnric Balletbo i Serra rdma1 = &rdma1; 43251137b8SQii Wang }; 44251137b8SQii Wang 4595eacb24SRex-BC Chen cluster0_opp: opp-table-cluster0 { 4695eacb24SRex-BC Chen compatible = "operating-points-v2"; 4795eacb24SRex-BC Chen opp-shared; 4895eacb24SRex-BC Chen opp0-793000000 { 4995eacb24SRex-BC Chen opp-hz = /bits/ 64 <793000000>; 5095eacb24SRex-BC Chen opp-microvolt = <650000>; 5195eacb24SRex-BC Chen required-opps = <&opp2_00>; 5295eacb24SRex-BC Chen }; 5395eacb24SRex-BC Chen opp0-910000000 { 5495eacb24SRex-BC Chen opp-hz = /bits/ 64 <910000000>; 5595eacb24SRex-BC Chen opp-microvolt = <687500>; 5695eacb24SRex-BC Chen required-opps = <&opp2_01>; 5795eacb24SRex-BC Chen }; 5895eacb24SRex-BC Chen opp0-1014000000 { 5995eacb24SRex-BC Chen opp-hz = /bits/ 64 <1014000000>; 6095eacb24SRex-BC Chen opp-microvolt = <718750>; 6195eacb24SRex-BC Chen required-opps = <&opp2_02>; 6295eacb24SRex-BC Chen }; 6395eacb24SRex-BC Chen opp0-1131000000 { 6495eacb24SRex-BC Chen opp-hz = /bits/ 64 <1131000000>; 6595eacb24SRex-BC Chen opp-microvolt = <756250>; 6695eacb24SRex-BC Chen required-opps = <&opp2_03>; 6795eacb24SRex-BC Chen }; 6895eacb24SRex-BC Chen opp0-1248000000 { 6995eacb24SRex-BC Chen opp-hz = /bits/ 64 <1248000000>; 7095eacb24SRex-BC Chen opp-microvolt = <800000>; 7195eacb24SRex-BC Chen required-opps = <&opp2_04>; 7295eacb24SRex-BC Chen }; 7395eacb24SRex-BC Chen opp0-1326000000 { 7495eacb24SRex-BC Chen opp-hz = /bits/ 64 <1326000000>; 7595eacb24SRex-BC Chen opp-microvolt = <818750>; 7695eacb24SRex-BC Chen required-opps = <&opp2_05>; 7795eacb24SRex-BC Chen }; 7895eacb24SRex-BC Chen opp0-1417000000 { 7995eacb24SRex-BC Chen opp-hz = /bits/ 64 <1417000000>; 8095eacb24SRex-BC Chen opp-microvolt = <850000>; 8195eacb24SRex-BC Chen required-opps = <&opp2_06>; 8295eacb24SRex-BC Chen }; 8395eacb24SRex-BC Chen opp0-1508000000 { 8495eacb24SRex-BC Chen opp-hz = /bits/ 64 <1508000000>; 8595eacb24SRex-BC Chen opp-microvolt = <868750>; 8695eacb24SRex-BC Chen required-opps = <&opp2_07>; 8795eacb24SRex-BC Chen }; 8895eacb24SRex-BC Chen opp0-1586000000 { 8995eacb24SRex-BC Chen opp-hz = /bits/ 64 <1586000000>; 9095eacb24SRex-BC Chen opp-microvolt = <893750>; 9195eacb24SRex-BC Chen required-opps = <&opp2_08>; 9295eacb24SRex-BC Chen }; 9395eacb24SRex-BC Chen opp0-1625000000 { 9495eacb24SRex-BC Chen opp-hz = /bits/ 64 <1625000000>; 9595eacb24SRex-BC Chen opp-microvolt = <906250>; 9695eacb24SRex-BC Chen required-opps = <&opp2_09>; 9795eacb24SRex-BC Chen }; 9895eacb24SRex-BC Chen opp0-1677000000 { 9995eacb24SRex-BC Chen opp-hz = /bits/ 64 <1677000000>; 10095eacb24SRex-BC Chen opp-microvolt = <931250>; 10195eacb24SRex-BC Chen required-opps = <&opp2_10>; 10295eacb24SRex-BC Chen }; 10395eacb24SRex-BC Chen opp0-1716000000 { 10495eacb24SRex-BC Chen opp-hz = /bits/ 64 <1716000000>; 10595eacb24SRex-BC Chen opp-microvolt = <943750>; 10695eacb24SRex-BC Chen required-opps = <&opp2_11>; 10795eacb24SRex-BC Chen }; 10895eacb24SRex-BC Chen opp0-1781000000 { 10995eacb24SRex-BC Chen opp-hz = /bits/ 64 <1781000000>; 11095eacb24SRex-BC Chen opp-microvolt = <975000>; 11195eacb24SRex-BC Chen required-opps = <&opp2_12>; 11295eacb24SRex-BC Chen }; 11395eacb24SRex-BC Chen opp0-1846000000 { 11495eacb24SRex-BC Chen opp-hz = /bits/ 64 <1846000000>; 11595eacb24SRex-BC Chen opp-microvolt = <1000000>; 11695eacb24SRex-BC Chen required-opps = <&opp2_13>; 11795eacb24SRex-BC Chen }; 11895eacb24SRex-BC Chen opp0-1924000000 { 11995eacb24SRex-BC Chen opp-hz = /bits/ 64 <1924000000>; 12095eacb24SRex-BC Chen opp-microvolt = <1025000>; 12195eacb24SRex-BC Chen required-opps = <&opp2_14>; 12295eacb24SRex-BC Chen }; 12395eacb24SRex-BC Chen opp0-1989000000 { 12495eacb24SRex-BC Chen opp-hz = /bits/ 64 <1989000000>; 12595eacb24SRex-BC Chen opp-microvolt = <1050000>; 12695eacb24SRex-BC Chen required-opps = <&opp2_15>; 12795eacb24SRex-BC Chen }; }; 12895eacb24SRex-BC Chen 12995eacb24SRex-BC Chen cluster1_opp: opp-table-cluster1 { 13095eacb24SRex-BC Chen compatible = "operating-points-v2"; 13195eacb24SRex-BC Chen opp-shared; 13295eacb24SRex-BC Chen opp1-793000000 { 13395eacb24SRex-BC Chen opp-hz = /bits/ 64 <793000000>; 13495eacb24SRex-BC Chen opp-microvolt = <700000>; 13595eacb24SRex-BC Chen required-opps = <&opp2_00>; 13695eacb24SRex-BC Chen }; 13795eacb24SRex-BC Chen opp1-910000000 { 13895eacb24SRex-BC Chen opp-hz = /bits/ 64 <910000000>; 13995eacb24SRex-BC Chen opp-microvolt = <725000>; 14095eacb24SRex-BC Chen required-opps = <&opp2_01>; 14195eacb24SRex-BC Chen }; 14295eacb24SRex-BC Chen opp1-1014000000 { 14395eacb24SRex-BC Chen opp-hz = /bits/ 64 <1014000000>; 14495eacb24SRex-BC Chen opp-microvolt = <750000>; 14595eacb24SRex-BC Chen required-opps = <&opp2_02>; 14695eacb24SRex-BC Chen }; 14795eacb24SRex-BC Chen opp1-1131000000 { 14895eacb24SRex-BC Chen opp-hz = /bits/ 64 <1131000000>; 14995eacb24SRex-BC Chen opp-microvolt = <775000>; 15095eacb24SRex-BC Chen required-opps = <&opp2_03>; 15195eacb24SRex-BC Chen }; 15295eacb24SRex-BC Chen opp1-1248000000 { 15395eacb24SRex-BC Chen opp-hz = /bits/ 64 <1248000000>; 15495eacb24SRex-BC Chen opp-microvolt = <800000>; 15595eacb24SRex-BC Chen required-opps = <&opp2_04>; 15695eacb24SRex-BC Chen }; 15795eacb24SRex-BC Chen opp1-1326000000 { 15895eacb24SRex-BC Chen opp-hz = /bits/ 64 <1326000000>; 15995eacb24SRex-BC Chen opp-microvolt = <825000>; 16095eacb24SRex-BC Chen required-opps = <&opp2_05>; 16195eacb24SRex-BC Chen }; 16295eacb24SRex-BC Chen opp1-1417000000 { 16395eacb24SRex-BC Chen opp-hz = /bits/ 64 <1417000000>; 16495eacb24SRex-BC Chen opp-microvolt = <850000>; 16595eacb24SRex-BC Chen required-opps = <&opp2_06>; 16695eacb24SRex-BC Chen }; 16795eacb24SRex-BC Chen opp1-1508000000 { 16895eacb24SRex-BC Chen opp-hz = /bits/ 64 <1508000000>; 16995eacb24SRex-BC Chen opp-microvolt = <875000>; 17095eacb24SRex-BC Chen required-opps = <&opp2_07>; 17195eacb24SRex-BC Chen }; 17295eacb24SRex-BC Chen opp1-1586000000 { 17395eacb24SRex-BC Chen opp-hz = /bits/ 64 <1586000000>; 17495eacb24SRex-BC Chen opp-microvolt = <900000>; 17595eacb24SRex-BC Chen required-opps = <&opp2_08>; 17695eacb24SRex-BC Chen }; 17795eacb24SRex-BC Chen opp1-1625000000 { 17895eacb24SRex-BC Chen opp-hz = /bits/ 64 <1625000000>; 17995eacb24SRex-BC Chen opp-microvolt = <912500>; 18095eacb24SRex-BC Chen required-opps = <&opp2_09>; 18195eacb24SRex-BC Chen }; 18295eacb24SRex-BC Chen opp1-1677000000 { 18395eacb24SRex-BC Chen opp-hz = /bits/ 64 <1677000000>; 18495eacb24SRex-BC Chen opp-microvolt = <931250>; 18595eacb24SRex-BC Chen required-opps = <&opp2_10>; 18695eacb24SRex-BC Chen }; 18795eacb24SRex-BC Chen opp1-1716000000 { 18895eacb24SRex-BC Chen opp-hz = /bits/ 64 <1716000000>; 18995eacb24SRex-BC Chen opp-microvolt = <950000>; 19095eacb24SRex-BC Chen required-opps = <&opp2_11>; 19195eacb24SRex-BC Chen }; 19295eacb24SRex-BC Chen opp1-1781000000 { 19395eacb24SRex-BC Chen opp-hz = /bits/ 64 <1781000000>; 19495eacb24SRex-BC Chen opp-microvolt = <975000>; 19595eacb24SRex-BC Chen required-opps = <&opp2_12>; 19695eacb24SRex-BC Chen }; 19795eacb24SRex-BC Chen opp1-1846000000 { 19895eacb24SRex-BC Chen opp-hz = /bits/ 64 <1846000000>; 19995eacb24SRex-BC Chen opp-microvolt = <1000000>; 20095eacb24SRex-BC Chen required-opps = <&opp2_13>; 20195eacb24SRex-BC Chen }; 20295eacb24SRex-BC Chen opp1-1924000000 { 20395eacb24SRex-BC Chen opp-hz = /bits/ 64 <1924000000>; 20495eacb24SRex-BC Chen opp-microvolt = <1025000>; 20595eacb24SRex-BC Chen required-opps = <&opp2_14>; 20695eacb24SRex-BC Chen }; 20795eacb24SRex-BC Chen opp1-1989000000 { 20895eacb24SRex-BC Chen opp-hz = /bits/ 64 <1989000000>; 20995eacb24SRex-BC Chen opp-microvolt = <1050000>; 21095eacb24SRex-BC Chen required-opps = <&opp2_15>; 21195eacb24SRex-BC Chen }; 21295eacb24SRex-BC Chen }; 21395eacb24SRex-BC Chen 21495eacb24SRex-BC Chen cci_opp: opp-table-cci { 21595eacb24SRex-BC Chen compatible = "operating-points-v2"; 21695eacb24SRex-BC Chen opp-shared; 21795eacb24SRex-BC Chen opp2_00: opp-273000000 { 21895eacb24SRex-BC Chen opp-hz = /bits/ 64 <273000000>; 21995eacb24SRex-BC Chen opp-microvolt = <650000>; 22095eacb24SRex-BC Chen }; 22195eacb24SRex-BC Chen opp2_01: opp-338000000 { 22295eacb24SRex-BC Chen opp-hz = /bits/ 64 <338000000>; 22395eacb24SRex-BC Chen opp-microvolt = <687500>; 22495eacb24SRex-BC Chen }; 22595eacb24SRex-BC Chen opp2_02: opp-403000000 { 22695eacb24SRex-BC Chen opp-hz = /bits/ 64 <403000000>; 22795eacb24SRex-BC Chen opp-microvolt = <718750>; 22895eacb24SRex-BC Chen }; 22995eacb24SRex-BC Chen opp2_03: opp-463000000 { 23095eacb24SRex-BC Chen opp-hz = /bits/ 64 <463000000>; 23195eacb24SRex-BC Chen opp-microvolt = <756250>; 23295eacb24SRex-BC Chen }; 23395eacb24SRex-BC Chen opp2_04: opp-546000000 { 23495eacb24SRex-BC Chen opp-hz = /bits/ 64 <546000000>; 23595eacb24SRex-BC Chen opp-microvolt = <800000>; 23695eacb24SRex-BC Chen }; 23795eacb24SRex-BC Chen opp2_05: opp-624000000 { 23895eacb24SRex-BC Chen opp-hz = /bits/ 64 <624000000>; 23995eacb24SRex-BC Chen opp-microvolt = <818750>; 24095eacb24SRex-BC Chen }; 24195eacb24SRex-BC Chen opp2_06: opp-689000000 { 24295eacb24SRex-BC Chen opp-hz = /bits/ 64 <689000000>; 24395eacb24SRex-BC Chen opp-microvolt = <850000>; 24495eacb24SRex-BC Chen }; 24595eacb24SRex-BC Chen opp2_07: opp-767000000 { 24695eacb24SRex-BC Chen opp-hz = /bits/ 64 <767000000>; 24795eacb24SRex-BC Chen opp-microvolt = <868750>; 24895eacb24SRex-BC Chen }; 24995eacb24SRex-BC Chen opp2_08: opp-845000000 { 25095eacb24SRex-BC Chen opp-hz = /bits/ 64 <845000000>; 25195eacb24SRex-BC Chen opp-microvolt = <893750>; 25295eacb24SRex-BC Chen }; 25395eacb24SRex-BC Chen opp2_09: opp-871000000 { 25495eacb24SRex-BC Chen opp-hz = /bits/ 64 <871000000>; 25595eacb24SRex-BC Chen opp-microvolt = <906250>; 25695eacb24SRex-BC Chen }; 25795eacb24SRex-BC Chen opp2_10: opp-923000000 { 25895eacb24SRex-BC Chen opp-hz = /bits/ 64 <923000000>; 25995eacb24SRex-BC Chen opp-microvolt = <931250>; 26095eacb24SRex-BC Chen }; 26195eacb24SRex-BC Chen opp2_11: opp-962000000 { 26295eacb24SRex-BC Chen opp-hz = /bits/ 64 <962000000>; 26395eacb24SRex-BC Chen opp-microvolt = <943750>; 26495eacb24SRex-BC Chen }; 26595eacb24SRex-BC Chen opp2_12: opp-1027000000 { 26695eacb24SRex-BC Chen opp-hz = /bits/ 64 <1027000000>; 26795eacb24SRex-BC Chen opp-microvolt = <975000>; 26895eacb24SRex-BC Chen }; 26995eacb24SRex-BC Chen opp2_13: opp-1092000000 { 27095eacb24SRex-BC Chen opp-hz = /bits/ 64 <1092000000>; 27195eacb24SRex-BC Chen opp-microvolt = <1000000>; 27295eacb24SRex-BC Chen }; 27395eacb24SRex-BC Chen opp2_14: opp-1144000000 { 27495eacb24SRex-BC Chen opp-hz = /bits/ 64 <1144000000>; 27595eacb24SRex-BC Chen opp-microvolt = <1025000>; 27695eacb24SRex-BC Chen }; 27795eacb24SRex-BC Chen opp2_15: opp-1196000000 { 27895eacb24SRex-BC Chen opp-hz = /bits/ 64 <1196000000>; 27995eacb24SRex-BC Chen opp-microvolt = <1050000>; 28095eacb24SRex-BC Chen }; 28195eacb24SRex-BC Chen }; 28295eacb24SRex-BC Chen 283f3ceebebSRex-BC Chen cci: cci { 284f3ceebebSRex-BC Chen compatible = "mediatek,mt8183-cci"; 285f3ceebebSRex-BC Chen clocks = <&mcucfg CLK_MCU_BUS_SEL>, 286f3ceebebSRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 287f3ceebebSRex-BC Chen clock-names = "cci", "intermediate"; 288f3ceebebSRex-BC Chen operating-points-v2 = <&cci_opp>; 289f3ceebebSRex-BC Chen }; 290f3ceebebSRex-BC Chen 291e526c9bcSBen Ho cpus { 292e526c9bcSBen Ho #address-cells = <1>; 293e526c9bcSBen Ho #size-cells = <0>; 294e526c9bcSBen Ho 295e526c9bcSBen Ho cpu-map { 296e526c9bcSBen Ho cluster0 { 297e526c9bcSBen Ho core0 { 298e526c9bcSBen Ho cpu = <&cpu0>; 299e526c9bcSBen Ho }; 300e526c9bcSBen Ho core1 { 301e526c9bcSBen Ho cpu = <&cpu1>; 302e526c9bcSBen Ho }; 303e526c9bcSBen Ho core2 { 304e526c9bcSBen Ho cpu = <&cpu2>; 305e526c9bcSBen Ho }; 306e526c9bcSBen Ho core3 { 307e526c9bcSBen Ho cpu = <&cpu3>; 308e526c9bcSBen Ho }; 309e526c9bcSBen Ho }; 310e526c9bcSBen Ho 311e526c9bcSBen Ho cluster1 { 312e526c9bcSBen Ho core0 { 313e526c9bcSBen Ho cpu = <&cpu4>; 314e526c9bcSBen Ho }; 315e526c9bcSBen Ho core1 { 316e526c9bcSBen Ho cpu = <&cpu5>; 317e526c9bcSBen Ho }; 318e526c9bcSBen Ho core2 { 319e526c9bcSBen Ho cpu = <&cpu6>; 320e526c9bcSBen Ho }; 321e526c9bcSBen Ho core3 { 322e526c9bcSBen Ho cpu = <&cpu7>; 323e526c9bcSBen Ho }; 324e526c9bcSBen Ho }; 325e526c9bcSBen Ho }; 326e526c9bcSBen Ho 327e526c9bcSBen Ho cpu0: cpu@0 { 328e526c9bcSBen Ho device_type = "cpu"; 329e526c9bcSBen Ho compatible = "arm,cortex-a53"; 330e526c9bcSBen Ho reg = <0x000>; 331e526c9bcSBen Ho enable-method = "psci"; 332cc216dfdSHsin-Yi, Wang capacity-dmips-mhz = <741>; 3336b552975SIkjoon Jang cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP0>; 33495eacb24SRex-BC Chen clocks = <&mcucfg CLK_MCU_MP0_SEL>, 33595eacb24SRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 33695eacb24SRex-BC Chen clock-names = "cpu", "intermediate"; 33795eacb24SRex-BC Chen operating-points-v2 = <&cluster0_opp>; 338cc10317dSmichael.kao dynamic-power-coefficient = <84>; 33934a39d47SAngeloGioacchino Del Regno i-cache-size = <32768>; 34034a39d47SAngeloGioacchino Del Regno i-cache-line-size = <64>; 34134a39d47SAngeloGioacchino Del Regno i-cache-sets = <256>; 34234a39d47SAngeloGioacchino Del Regno d-cache-size = <32768>; 34334a39d47SAngeloGioacchino Del Regno d-cache-line-size = <64>; 34434a39d47SAngeloGioacchino Del Regno d-cache-sets = <128>; 34534a39d47SAngeloGioacchino Del Regno next-level-cache = <&l2_0>; 3465323e0faSmichael.kao #cooling-cells = <2>; 34768163cd1SRex-BC Chen mediatek,cci = <&cci>; 348e526c9bcSBen Ho }; 349e526c9bcSBen Ho 350e526c9bcSBen Ho cpu1: cpu@1 { 351e526c9bcSBen Ho device_type = "cpu"; 352e526c9bcSBen Ho compatible = "arm,cortex-a53"; 353e526c9bcSBen Ho reg = <0x001>; 354e526c9bcSBen Ho enable-method = "psci"; 355cc216dfdSHsin-Yi, Wang capacity-dmips-mhz = <741>; 3566b552975SIkjoon Jang cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP0>; 35795eacb24SRex-BC Chen clocks = <&mcucfg CLK_MCU_MP0_SEL>, 35895eacb24SRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 35995eacb24SRex-BC Chen clock-names = "cpu", "intermediate"; 36095eacb24SRex-BC Chen operating-points-v2 = <&cluster0_opp>; 361cc10317dSmichael.kao dynamic-power-coefficient = <84>; 36234a39d47SAngeloGioacchino Del Regno i-cache-size = <32768>; 36334a39d47SAngeloGioacchino Del Regno i-cache-line-size = <64>; 36434a39d47SAngeloGioacchino Del Regno i-cache-sets = <256>; 36534a39d47SAngeloGioacchino Del Regno d-cache-size = <32768>; 36634a39d47SAngeloGioacchino Del Regno d-cache-line-size = <64>; 36734a39d47SAngeloGioacchino Del Regno d-cache-sets = <128>; 36834a39d47SAngeloGioacchino Del Regno next-level-cache = <&l2_0>; 3695323e0faSmichael.kao #cooling-cells = <2>; 37068163cd1SRex-BC Chen mediatek,cci = <&cci>; 371e526c9bcSBen Ho }; 372e526c9bcSBen Ho 373e526c9bcSBen Ho cpu2: cpu@2 { 374e526c9bcSBen Ho device_type = "cpu"; 375e526c9bcSBen Ho compatible = "arm,cortex-a53"; 376e526c9bcSBen Ho reg = <0x002>; 377e526c9bcSBen Ho enable-method = "psci"; 378cc216dfdSHsin-Yi, Wang capacity-dmips-mhz = <741>; 3796b552975SIkjoon Jang cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP0>; 38095eacb24SRex-BC Chen clocks = <&mcucfg CLK_MCU_MP0_SEL>, 38195eacb24SRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 38295eacb24SRex-BC Chen clock-names = "cpu", "intermediate"; 38395eacb24SRex-BC Chen operating-points-v2 = <&cluster0_opp>; 384cc10317dSmichael.kao dynamic-power-coefficient = <84>; 38534a39d47SAngeloGioacchino Del Regno i-cache-size = <32768>; 38634a39d47SAngeloGioacchino Del Regno i-cache-line-size = <64>; 38734a39d47SAngeloGioacchino Del Regno i-cache-sets = <256>; 38834a39d47SAngeloGioacchino Del Regno d-cache-size = <32768>; 38934a39d47SAngeloGioacchino Del Regno d-cache-line-size = <64>; 39034a39d47SAngeloGioacchino Del Regno d-cache-sets = <128>; 39134a39d47SAngeloGioacchino Del Regno next-level-cache = <&l2_0>; 3925323e0faSmichael.kao #cooling-cells = <2>; 39368163cd1SRex-BC Chen mediatek,cci = <&cci>; 394e526c9bcSBen Ho }; 395e526c9bcSBen Ho 396e526c9bcSBen Ho cpu3: cpu@3 { 397e526c9bcSBen Ho device_type = "cpu"; 398e526c9bcSBen Ho compatible = "arm,cortex-a53"; 399e526c9bcSBen Ho reg = <0x003>; 400e526c9bcSBen Ho enable-method = "psci"; 401cc216dfdSHsin-Yi, Wang capacity-dmips-mhz = <741>; 4026b552975SIkjoon Jang cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP0>; 40395eacb24SRex-BC Chen clocks = <&mcucfg CLK_MCU_MP0_SEL>, 40495eacb24SRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 40595eacb24SRex-BC Chen clock-names = "cpu", "intermediate"; 40695eacb24SRex-BC Chen operating-points-v2 = <&cluster0_opp>; 407cc10317dSmichael.kao dynamic-power-coefficient = <84>; 40834a39d47SAngeloGioacchino Del Regno i-cache-size = <32768>; 40934a39d47SAngeloGioacchino Del Regno i-cache-line-size = <64>; 41034a39d47SAngeloGioacchino Del Regno i-cache-sets = <256>; 41134a39d47SAngeloGioacchino Del Regno d-cache-size = <32768>; 41234a39d47SAngeloGioacchino Del Regno d-cache-line-size = <64>; 41334a39d47SAngeloGioacchino Del Regno d-cache-sets = <128>; 41434a39d47SAngeloGioacchino Del Regno next-level-cache = <&l2_0>; 4155323e0faSmichael.kao #cooling-cells = <2>; 41668163cd1SRex-BC Chen mediatek,cci = <&cci>; 417e526c9bcSBen Ho }; 418e526c9bcSBen Ho 419e526c9bcSBen Ho cpu4: cpu@100 { 420e526c9bcSBen Ho device_type = "cpu"; 421e526c9bcSBen Ho compatible = "arm,cortex-a73"; 422e526c9bcSBen Ho reg = <0x100>; 423e526c9bcSBen Ho enable-method = "psci"; 424cc216dfdSHsin-Yi, Wang capacity-dmips-mhz = <1024>; 4256b552975SIkjoon Jang cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP1>; 42695eacb24SRex-BC Chen clocks = <&mcucfg CLK_MCU_MP2_SEL>, 42795eacb24SRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 42895eacb24SRex-BC Chen clock-names = "cpu", "intermediate"; 42995eacb24SRex-BC Chen operating-points-v2 = <&cluster1_opp>; 430cc10317dSmichael.kao dynamic-power-coefficient = <211>; 43134a39d47SAngeloGioacchino Del Regno i-cache-size = <65536>; 43234a39d47SAngeloGioacchino Del Regno i-cache-line-size = <64>; 43334a39d47SAngeloGioacchino Del Regno i-cache-sets = <256>; 43434a39d47SAngeloGioacchino Del Regno d-cache-size = <65536>; 43534a39d47SAngeloGioacchino Del Regno d-cache-line-size = <64>; 43634a39d47SAngeloGioacchino Del Regno d-cache-sets = <256>; 43734a39d47SAngeloGioacchino Del Regno next-level-cache = <&l2_1>; 4385323e0faSmichael.kao #cooling-cells = <2>; 43968163cd1SRex-BC Chen mediatek,cci = <&cci>; 440e526c9bcSBen Ho }; 441e526c9bcSBen Ho 442e526c9bcSBen Ho cpu5: cpu@101 { 443e526c9bcSBen Ho device_type = "cpu"; 444e526c9bcSBen Ho compatible = "arm,cortex-a73"; 445e526c9bcSBen Ho reg = <0x101>; 446e526c9bcSBen Ho enable-method = "psci"; 447cc216dfdSHsin-Yi, Wang capacity-dmips-mhz = <1024>; 4486b552975SIkjoon Jang cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP1>; 44995eacb24SRex-BC Chen clocks = <&mcucfg CLK_MCU_MP2_SEL>, 45095eacb24SRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 45195eacb24SRex-BC Chen clock-names = "cpu", "intermediate"; 45295eacb24SRex-BC Chen operating-points-v2 = <&cluster1_opp>; 453cc10317dSmichael.kao dynamic-power-coefficient = <211>; 45434a39d47SAngeloGioacchino Del Regno i-cache-size = <65536>; 45534a39d47SAngeloGioacchino Del Regno i-cache-line-size = <64>; 45634a39d47SAngeloGioacchino Del Regno i-cache-sets = <256>; 45734a39d47SAngeloGioacchino Del Regno d-cache-size = <65536>; 45834a39d47SAngeloGioacchino Del Regno d-cache-line-size = <64>; 45934a39d47SAngeloGioacchino Del Regno d-cache-sets = <256>; 46034a39d47SAngeloGioacchino Del Regno next-level-cache = <&l2_1>; 4615323e0faSmichael.kao #cooling-cells = <2>; 46268163cd1SRex-BC Chen mediatek,cci = <&cci>; 463e526c9bcSBen Ho }; 464e526c9bcSBen Ho 465e526c9bcSBen Ho cpu6: cpu@102 { 466e526c9bcSBen Ho device_type = "cpu"; 467e526c9bcSBen Ho compatible = "arm,cortex-a73"; 468e526c9bcSBen Ho reg = <0x102>; 469e526c9bcSBen Ho enable-method = "psci"; 470cc216dfdSHsin-Yi, Wang capacity-dmips-mhz = <1024>; 4716b552975SIkjoon Jang cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP1>; 47295eacb24SRex-BC Chen clocks = <&mcucfg CLK_MCU_MP2_SEL>, 47395eacb24SRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 47495eacb24SRex-BC Chen clock-names = "cpu", "intermediate"; 47595eacb24SRex-BC Chen operating-points-v2 = <&cluster1_opp>; 476cc10317dSmichael.kao dynamic-power-coefficient = <211>; 47734a39d47SAngeloGioacchino Del Regno i-cache-size = <65536>; 47834a39d47SAngeloGioacchino Del Regno i-cache-line-size = <64>; 47934a39d47SAngeloGioacchino Del Regno i-cache-sets = <256>; 48034a39d47SAngeloGioacchino Del Regno d-cache-size = <65536>; 48134a39d47SAngeloGioacchino Del Regno d-cache-line-size = <64>; 48234a39d47SAngeloGioacchino Del Regno d-cache-sets = <256>; 48334a39d47SAngeloGioacchino Del Regno next-level-cache = <&l2_1>; 4845323e0faSmichael.kao #cooling-cells = <2>; 48568163cd1SRex-BC Chen mediatek,cci = <&cci>; 486e526c9bcSBen Ho }; 487e526c9bcSBen Ho 488e526c9bcSBen Ho cpu7: cpu@103 { 489e526c9bcSBen Ho device_type = "cpu"; 490e526c9bcSBen Ho compatible = "arm,cortex-a73"; 491e526c9bcSBen Ho reg = <0x103>; 492e526c9bcSBen Ho enable-method = "psci"; 493cc216dfdSHsin-Yi, Wang capacity-dmips-mhz = <1024>; 4946b552975SIkjoon Jang cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP1>; 49595eacb24SRex-BC Chen clocks = <&mcucfg CLK_MCU_MP2_SEL>, 49695eacb24SRex-BC Chen <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>; 49795eacb24SRex-BC Chen clock-names = "cpu", "intermediate"; 49895eacb24SRex-BC Chen operating-points-v2 = <&cluster1_opp>; 499cc10317dSmichael.kao dynamic-power-coefficient = <211>; 50034a39d47SAngeloGioacchino Del Regno i-cache-size = <65536>; 50134a39d47SAngeloGioacchino Del Regno i-cache-line-size = <64>; 50234a39d47SAngeloGioacchino Del Regno i-cache-sets = <256>; 50334a39d47SAngeloGioacchino Del Regno d-cache-size = <65536>; 50434a39d47SAngeloGioacchino Del Regno d-cache-line-size = <64>; 50534a39d47SAngeloGioacchino Del Regno d-cache-sets = <256>; 50634a39d47SAngeloGioacchino Del Regno next-level-cache = <&l2_1>; 5075323e0faSmichael.kao #cooling-cells = <2>; 50868163cd1SRex-BC Chen mediatek,cci = <&cci>; 5096be021b1SJames Liao }; 5106be021b1SJames Liao 5116be021b1SJames Liao idle-states { 5126be021b1SJames Liao entry-method = "psci"; 5136be021b1SJames Liao 5146be021b1SJames Liao CPU_SLEEP: cpu-sleep { 5156be021b1SJames Liao compatible = "arm,idle-state"; 5166be021b1SJames Liao local-timer-stop; 5176be021b1SJames Liao arm,psci-suspend-param = <0x00010001>; 5186be021b1SJames Liao entry-latency-us = <200>; 5196be021b1SJames Liao exit-latency-us = <200>; 5206be021b1SJames Liao min-residency-us = <800>; 5216be021b1SJames Liao }; 5226be021b1SJames Liao 5232a7abd3eSEnric Balletbo i Serra CLUSTER_SLEEP0: cluster-sleep-0 { 5246b552975SIkjoon Jang compatible = "arm,idle-state"; 5256b552975SIkjoon Jang local-timer-stop; 5266b552975SIkjoon Jang arm,psci-suspend-param = <0x01010001>; 5276b552975SIkjoon Jang entry-latency-us = <250>; 5286b552975SIkjoon Jang exit-latency-us = <400>; 5296b552975SIkjoon Jang min-residency-us = <1000>; 5306b552975SIkjoon Jang }; 5312a7abd3eSEnric Balletbo i Serra CLUSTER_SLEEP1: cluster-sleep-1 { 5326be021b1SJames Liao compatible = "arm,idle-state"; 5336be021b1SJames Liao local-timer-stop; 5346be021b1SJames Liao arm,psci-suspend-param = <0x01010001>; 5356be021b1SJames Liao entry-latency-us = <250>; 5366be021b1SJames Liao exit-latency-us = <400>; 5376be021b1SJames Liao min-residency-us = <1300>; 5386be021b1SJames Liao }; 539e526c9bcSBen Ho }; 54034a39d47SAngeloGioacchino Del Regno 54134a39d47SAngeloGioacchino Del Regno l2_0: l2-cache0 { 54234a39d47SAngeloGioacchino Del Regno compatible = "cache"; 54334a39d47SAngeloGioacchino Del Regno cache-level = <2>; 54434a39d47SAngeloGioacchino Del Regno cache-size = <1048576>; 54534a39d47SAngeloGioacchino Del Regno cache-line-size = <64>; 54634a39d47SAngeloGioacchino Del Regno cache-sets = <1024>; 54734a39d47SAngeloGioacchino Del Regno cache-unified; 54834a39d47SAngeloGioacchino Del Regno }; 54934a39d47SAngeloGioacchino Del Regno 55034a39d47SAngeloGioacchino Del Regno l2_1: l2-cache1 { 55134a39d47SAngeloGioacchino Del Regno compatible = "cache"; 55234a39d47SAngeloGioacchino Del Regno cache-level = <2>; 55334a39d47SAngeloGioacchino Del Regno cache-size = <1048576>; 55434a39d47SAngeloGioacchino Del Regno cache-line-size = <64>; 55534a39d47SAngeloGioacchino Del Regno cache-sets = <1024>; 55634a39d47SAngeloGioacchino Del Regno cache-unified; 55734a39d47SAngeloGioacchino Del Regno }; 558e526c9bcSBen Ho }; 559e526c9bcSBen Ho 5606f117db4SKrzysztof Kozlowski gpu_opp_table: opp-table-0 { 561a8168cebSNicolas Boichat compatible = "operating-points-v2"; 562a8168cebSNicolas Boichat opp-shared; 563a8168cebSNicolas Boichat 564a8168cebSNicolas Boichat opp-300000000 { 565a8168cebSNicolas Boichat opp-hz = /bits/ 64 <300000000>; 566dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <625000>; 567a8168cebSNicolas Boichat }; 568a8168cebSNicolas Boichat 569a8168cebSNicolas Boichat opp-320000000 { 570a8168cebSNicolas Boichat opp-hz = /bits/ 64 <320000000>; 571dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <631250>; 572a8168cebSNicolas Boichat }; 573a8168cebSNicolas Boichat 574a8168cebSNicolas Boichat opp-340000000 { 575a8168cebSNicolas Boichat opp-hz = /bits/ 64 <340000000>; 576dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <637500>; 577a8168cebSNicolas Boichat }; 578a8168cebSNicolas Boichat 579a8168cebSNicolas Boichat opp-360000000 { 580a8168cebSNicolas Boichat opp-hz = /bits/ 64 <360000000>; 581dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <643750>; 582a8168cebSNicolas Boichat }; 583a8168cebSNicolas Boichat 584a8168cebSNicolas Boichat opp-380000000 { 585a8168cebSNicolas Boichat opp-hz = /bits/ 64 <380000000>; 586dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <650000>; 587a8168cebSNicolas Boichat }; 588a8168cebSNicolas Boichat 589a8168cebSNicolas Boichat opp-400000000 { 590a8168cebSNicolas Boichat opp-hz = /bits/ 64 <400000000>; 591dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <656250>; 592a8168cebSNicolas Boichat }; 593a8168cebSNicolas Boichat 594a8168cebSNicolas Boichat opp-420000000 { 595a8168cebSNicolas Boichat opp-hz = /bits/ 64 <420000000>; 596dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <662500>; 597a8168cebSNicolas Boichat }; 598a8168cebSNicolas Boichat 599a8168cebSNicolas Boichat opp-460000000 { 600a8168cebSNicolas Boichat opp-hz = /bits/ 64 <460000000>; 601dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <675000>; 602a8168cebSNicolas Boichat }; 603a8168cebSNicolas Boichat 604a8168cebSNicolas Boichat opp-500000000 { 605a8168cebSNicolas Boichat opp-hz = /bits/ 64 <500000000>; 606dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <687500>; 607a8168cebSNicolas Boichat }; 608a8168cebSNicolas Boichat 609a8168cebSNicolas Boichat opp-540000000 { 610a8168cebSNicolas Boichat opp-hz = /bits/ 64 <540000000>; 611dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <700000>; 612a8168cebSNicolas Boichat }; 613a8168cebSNicolas Boichat 614a8168cebSNicolas Boichat opp-580000000 { 615a8168cebSNicolas Boichat opp-hz = /bits/ 64 <580000000>; 616dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <712500>; 617a8168cebSNicolas Boichat }; 618a8168cebSNicolas Boichat 619a8168cebSNicolas Boichat opp-620000000 { 620a8168cebSNicolas Boichat opp-hz = /bits/ 64 <620000000>; 621dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <725000>; 622a8168cebSNicolas Boichat }; 623a8168cebSNicolas Boichat 624a8168cebSNicolas Boichat opp-653000000 { 625a8168cebSNicolas Boichat opp-hz = /bits/ 64 <653000000>; 626dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <743750>; 627a8168cebSNicolas Boichat }; 628a8168cebSNicolas Boichat 629a8168cebSNicolas Boichat opp-698000000 { 630a8168cebSNicolas Boichat opp-hz = /bits/ 64 <698000000>; 631dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <768750>; 632a8168cebSNicolas Boichat }; 633a8168cebSNicolas Boichat 634a8168cebSNicolas Boichat opp-743000000 { 635a8168cebSNicolas Boichat opp-hz = /bits/ 64 <743000000>; 636dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <793750>; 637a8168cebSNicolas Boichat }; 638a8168cebSNicolas Boichat 639a8168cebSNicolas Boichat opp-800000000 { 640a8168cebSNicolas Boichat opp-hz = /bits/ 64 <800000000>; 641dbe602b2SAngeloGioacchino Del Regno opp-microvolt = <825000>; 642a8168cebSNicolas Boichat }; 643a8168cebSNicolas Boichat }; 644a8168cebSNicolas Boichat 645e526c9bcSBen Ho pmu-a53 { 646e526c9bcSBen Ho compatible = "arm,cortex-a53-pmu"; 647e526c9bcSBen Ho interrupt-parent = <&gic>; 648e526c9bcSBen Ho interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster0>; 649e526c9bcSBen Ho }; 650e526c9bcSBen Ho 651e526c9bcSBen Ho pmu-a73 { 652e526c9bcSBen Ho compatible = "arm,cortex-a73-pmu"; 653e526c9bcSBen Ho interrupt-parent = <&gic>; 654e526c9bcSBen Ho interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster1>; 655e526c9bcSBen Ho }; 656e526c9bcSBen Ho 657e526c9bcSBen Ho psci { 658e526c9bcSBen Ho compatible = "arm,psci-1.0"; 659e526c9bcSBen Ho method = "smc"; 660e526c9bcSBen Ho }; 661e526c9bcSBen Ho 662ce8a06b5SChen-Yu Tsai clk13m: fixed-factor-clock-13m { 663ce8a06b5SChen-Yu Tsai compatible = "fixed-factor-clock"; 664ce8a06b5SChen-Yu Tsai #clock-cells = <0>; 665ce8a06b5SChen-Yu Tsai clocks = <&clk26m>; 666ce8a06b5SChen-Yu Tsai clock-div = <2>; 667ce8a06b5SChen-Yu Tsai clock-mult = <1>; 668ce8a06b5SChen-Yu Tsai clock-output-names = "clk13m"; 669ce8a06b5SChen-Yu Tsai }; 670ce8a06b5SChen-Yu Tsai 671e526c9bcSBen Ho clk26m: oscillator { 672e526c9bcSBen Ho compatible = "fixed-clock"; 673e526c9bcSBen Ho #clock-cells = <0>; 674e526c9bcSBen Ho clock-frequency = <26000000>; 675e526c9bcSBen Ho clock-output-names = "clk26m"; 676e526c9bcSBen Ho }; 677e526c9bcSBen Ho 678e526c9bcSBen Ho timer { 679e526c9bcSBen Ho compatible = "arm,armv8-timer"; 680e526c9bcSBen Ho interrupt-parent = <&gic>; 681e526c9bcSBen Ho interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>, 682e526c9bcSBen Ho <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>, 683e526c9bcSBen Ho <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>, 684e526c9bcSBen Ho <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>; 685e526c9bcSBen Ho }; 686e526c9bcSBen Ho 687e526c9bcSBen Ho soc { 688e526c9bcSBen Ho #address-cells = <2>; 689e526c9bcSBen Ho #size-cells = <2>; 690e526c9bcSBen Ho compatible = "simple-bus"; 691e526c9bcSBen Ho ranges; 692e526c9bcSBen Ho 6932208b284SChunfeng Yun soc_data: efuse@8000000 { 694de103388SMichael Mei compatible = "mediatek,mt8183-efuse", 695de103388SMichael Mei "mediatek,efuse"; 696de103388SMichael Mei reg = <0 0x08000000 0 0x0010>; 697de103388SMichael Mei #address-cells = <1>; 698de103388SMichael Mei #size-cells = <1>; 699de103388SMichael Mei status = "disabled"; 700de103388SMichael Mei }; 701de103388SMichael Mei 702e526c9bcSBen Ho gic: interrupt-controller@c000000 { 703e526c9bcSBen Ho compatible = "arm,gic-v3"; 704e526c9bcSBen Ho #interrupt-cells = <4>; 705e526c9bcSBen Ho interrupt-parent = <&gic>; 706e526c9bcSBen Ho interrupt-controller; 707e526c9bcSBen Ho reg = <0 0x0c000000 0 0x40000>, /* GICD */ 708e526c9bcSBen Ho <0 0x0c100000 0 0x200000>, /* GICR */ 709e526c9bcSBen Ho <0 0x0c400000 0 0x2000>, /* GICC */ 710e526c9bcSBen Ho <0 0x0c410000 0 0x1000>, /* GICH */ 711e526c9bcSBen Ho <0 0x0c420000 0 0x2000>; /* GICV */ 712e526c9bcSBen Ho 713e526c9bcSBen Ho interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>; 714e526c9bcSBen Ho ppi-partitions { 715e526c9bcSBen Ho ppi_cluster0: interrupt-partition-0 { 716e526c9bcSBen Ho affinity = <&cpu0 &cpu1 &cpu2 &cpu3>; 717e526c9bcSBen Ho }; 718e526c9bcSBen Ho ppi_cluster1: interrupt-partition-1 { 719e526c9bcSBen Ho affinity = <&cpu4 &cpu5 &cpu6 &cpu7>; 720e526c9bcSBen Ho }; 721e526c9bcSBen Ho }; 722e526c9bcSBen Ho }; 723e526c9bcSBen Ho 724e526c9bcSBen Ho mcucfg: syscon@c530000 { 725e526c9bcSBen Ho compatible = "mediatek,mt8183-mcucfg", "syscon"; 726e526c9bcSBen Ho reg = <0 0x0c530000 0 0x1000>; 727e526c9bcSBen Ho #clock-cells = <1>; 728e526c9bcSBen Ho }; 729e526c9bcSBen Ho 730e526c9bcSBen Ho sysirq: interrupt-controller@c530a80 { 731e526c9bcSBen Ho compatible = "mediatek,mt8183-sysirq", 732e526c9bcSBen Ho "mediatek,mt6577-sysirq"; 733e526c9bcSBen Ho interrupt-controller; 734e526c9bcSBen Ho #interrupt-cells = <3>; 735e526c9bcSBen Ho interrupt-parent = <&gic>; 736e526c9bcSBen Ho reg = <0 0x0c530a80 0 0x50>; 737e526c9bcSBen Ho }; 738e526c9bcSBen Ho 7397781083fSSeiya Wang cpu_debug0: cpu-debug@d410000 { 7407781083fSSeiya Wang compatible = "arm,coresight-cpu-debug", "arm,primecell"; 7417781083fSSeiya Wang reg = <0x0 0xd410000 0x0 0x1000>; 7427781083fSSeiya Wang clocks = <&infracfg CLK_INFRA_DEBUGSYS>; 7437781083fSSeiya Wang clock-names = "apb_pclk"; 7447781083fSSeiya Wang cpu = <&cpu0>; 7457781083fSSeiya Wang }; 7467781083fSSeiya Wang 7477781083fSSeiya Wang cpu_debug1: cpu-debug@d510000 { 7487781083fSSeiya Wang compatible = "arm,coresight-cpu-debug", "arm,primecell"; 7497781083fSSeiya Wang reg = <0x0 0xd510000 0x0 0x1000>; 7507781083fSSeiya Wang clocks = <&infracfg CLK_INFRA_DEBUGSYS>; 7517781083fSSeiya Wang clock-names = "apb_pclk"; 7527781083fSSeiya Wang cpu = <&cpu1>; 7537781083fSSeiya Wang }; 7547781083fSSeiya Wang 7557781083fSSeiya Wang cpu_debug2: cpu-debug@d610000 { 7567781083fSSeiya Wang compatible = "arm,coresight-cpu-debug", "arm,primecell"; 7577781083fSSeiya Wang reg = <0x0 0xd610000 0x0 0x1000>; 7587781083fSSeiya Wang clocks = <&infracfg CLK_INFRA_DEBUGSYS>; 7597781083fSSeiya Wang clock-names = "apb_pclk"; 7607781083fSSeiya Wang cpu = <&cpu2>; 7617781083fSSeiya Wang }; 7627781083fSSeiya Wang 7637781083fSSeiya Wang cpu_debug3: cpu-debug@d710000 { 7647781083fSSeiya Wang compatible = "arm,coresight-cpu-debug", "arm,primecell"; 7657781083fSSeiya Wang reg = <0x0 0xd710000 0x0 0x1000>; 7667781083fSSeiya Wang clocks = <&infracfg CLK_INFRA_DEBUGSYS>; 7677781083fSSeiya Wang clock-names = "apb_pclk"; 7687781083fSSeiya Wang cpu = <&cpu3>; 7697781083fSSeiya Wang }; 7707781083fSSeiya Wang 7717781083fSSeiya Wang cpu_debug4: cpu-debug@d810000 { 7727781083fSSeiya Wang compatible = "arm,coresight-cpu-debug", "arm,primecell"; 7737781083fSSeiya Wang reg = <0x0 0xd810000 0x0 0x1000>; 7747781083fSSeiya Wang clocks = <&infracfg CLK_INFRA_DEBUGSYS>; 7757781083fSSeiya Wang clock-names = "apb_pclk"; 7767781083fSSeiya Wang cpu = <&cpu4>; 7777781083fSSeiya Wang }; 7787781083fSSeiya Wang 7797781083fSSeiya Wang cpu_debug5: cpu-debug@d910000 { 7807781083fSSeiya Wang compatible = "arm,coresight-cpu-debug", "arm,primecell"; 7817781083fSSeiya Wang reg = <0x0 0xd910000 0x0 0x1000>; 7827781083fSSeiya Wang clocks = <&infracfg CLK_INFRA_DEBUGSYS>; 7837781083fSSeiya Wang clock-names = "apb_pclk"; 7847781083fSSeiya Wang cpu = <&cpu5>; 7857781083fSSeiya Wang }; 7867781083fSSeiya Wang 7877781083fSSeiya Wang cpu_debug6: cpu-debug@da10000 { 7887781083fSSeiya Wang compatible = "arm,coresight-cpu-debug", "arm,primecell"; 7897781083fSSeiya Wang reg = <0x0 0xda10000 0x0 0x1000>; 7907781083fSSeiya Wang clocks = <&infracfg CLK_INFRA_DEBUGSYS>; 7917781083fSSeiya Wang clock-names = "apb_pclk"; 7927781083fSSeiya Wang cpu = <&cpu6>; 7937781083fSSeiya Wang }; 7947781083fSSeiya Wang 7957781083fSSeiya Wang cpu_debug7: cpu-debug@db10000 { 7967781083fSSeiya Wang compatible = "arm,coresight-cpu-debug", "arm,primecell"; 7977781083fSSeiya Wang reg = <0x0 0xdb10000 0x0 0x1000>; 7987781083fSSeiya Wang clocks = <&infracfg CLK_INFRA_DEBUGSYS>; 7997781083fSSeiya Wang clock-names = "apb_pclk"; 8007781083fSSeiya Wang cpu = <&cpu7>; 8017781083fSSeiya Wang }; 8027781083fSSeiya Wang 803e526c9bcSBen Ho topckgen: syscon@10000000 { 804e526c9bcSBen Ho compatible = "mediatek,mt8183-topckgen", "syscon"; 805e526c9bcSBen Ho reg = <0 0x10000000 0 0x1000>; 806e526c9bcSBen Ho #clock-cells = <1>; 807e526c9bcSBen Ho }; 808e526c9bcSBen Ho 809e526c9bcSBen Ho infracfg: syscon@10001000 { 810e526c9bcSBen Ho compatible = "mediatek,mt8183-infracfg", "syscon"; 811e526c9bcSBen Ho reg = <0 0x10001000 0 0x1000>; 812e526c9bcSBen Ho #clock-cells = <1>; 813a845ad16Syong.liang #reset-cells = <1>; 814e526c9bcSBen Ho }; 815e526c9bcSBen Ho 81672704ac6SEnric Balletbo i Serra pericfg: syscon@10003000 { 81772704ac6SEnric Balletbo i Serra compatible = "mediatek,mt8183-pericfg", "syscon"; 81872704ac6SEnric Balletbo i Serra reg = <0 0x10003000 0 0x1000>; 81972704ac6SEnric Balletbo i Serra #clock-cells = <1>; 82072704ac6SEnric Balletbo i Serra }; 82172704ac6SEnric Balletbo i Serra 822da719a35SZhiyong Tao pio: pinctrl@10005000 { 823da719a35SZhiyong Tao compatible = "mediatek,mt8183-pinctrl"; 824da719a35SZhiyong Tao reg = <0 0x10005000 0 0x1000>, 825da719a35SZhiyong Tao <0 0x11f20000 0 0x1000>, 826da719a35SZhiyong Tao <0 0x11e80000 0 0x1000>, 827da719a35SZhiyong Tao <0 0x11e70000 0 0x1000>, 828da719a35SZhiyong Tao <0 0x11e90000 0 0x1000>, 829da719a35SZhiyong Tao <0 0x11d30000 0 0x1000>, 830da719a35SZhiyong Tao <0 0x11d20000 0 0x1000>, 831da719a35SZhiyong Tao <0 0x11c50000 0 0x1000>, 832da719a35SZhiyong Tao <0 0x11f30000 0 0x1000>, 833da719a35SZhiyong Tao <0 0x1000b000 0 0x1000>; 834da719a35SZhiyong Tao reg-names = "iocfg0", "iocfg1", "iocfg2", 835da719a35SZhiyong Tao "iocfg3", "iocfg4", "iocfg5", 836da719a35SZhiyong Tao "iocfg6", "iocfg7", "iocfg8", 837da719a35SZhiyong Tao "eint"; 838da719a35SZhiyong Tao gpio-controller; 839da719a35SZhiyong Tao #gpio-cells = <2>; 840da719a35SZhiyong Tao gpio-ranges = <&pio 0 0 192>; 841da719a35SZhiyong Tao interrupt-controller; 842da719a35SZhiyong Tao interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; 843da719a35SZhiyong Tao #interrupt-cells = <2>; 844da719a35SZhiyong Tao }; 845da719a35SZhiyong Tao 84637fb78b9SMatthias Brugger scpsys: syscon@10006000 { 847d3dfd468STinghan Shen compatible = "mediatek,mt8183-scpsys", "syscon", "simple-mfd"; 84837fb78b9SMatthias Brugger reg = <0 0x10006000 0 0x1000>; 84937fb78b9SMatthias Brugger 85037fb78b9SMatthias Brugger /* System Power Manager */ 85137fb78b9SMatthias Brugger spm: power-controller { 85237fb78b9SMatthias Brugger compatible = "mediatek,mt8183-power-controller"; 85337fb78b9SMatthias Brugger #address-cells = <1>; 85437fb78b9SMatthias Brugger #size-cells = <0>; 85537fb78b9SMatthias Brugger #power-domain-cells = <1>; 85637fb78b9SMatthias Brugger 85737fb78b9SMatthias Brugger /* power domain of the SoC */ 85837fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_AUDIO { 85937fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_AUDIO>; 86037fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_AUD_INTBUS>, 86137fb78b9SMatthias Brugger <&infracfg CLK_INFRA_AUDIO>, 86237fb78b9SMatthias Brugger <&infracfg CLK_INFRA_AUDIO_26M_BCLK>; 86337fb78b9SMatthias Brugger clock-names = "audio", "audio1", "audio2"; 86437fb78b9SMatthias Brugger #power-domain-cells = <0>; 86537fb78b9SMatthias Brugger }; 86637fb78b9SMatthias Brugger 86737fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_CONN { 86837fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_CONN>; 86937fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 87037fb78b9SMatthias Brugger #power-domain-cells = <0>; 87137fb78b9SMatthias Brugger }; 87237fb78b9SMatthias Brugger 87363859d71SAngeloGioacchino Del Regno mfg_async: power-domain@MT8183_POWER_DOMAIN_MFG_ASYNC { 87437fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG_ASYNC>; 87537fb78b9SMatthias Brugger #address-cells = <1>; 87637fb78b9SMatthias Brugger #size-cells = <0>; 87737fb78b9SMatthias Brugger #power-domain-cells = <1>; 87837fb78b9SMatthias Brugger 8799e1b7d00SHsin-Yi Wang mfg: power-domain@MT8183_POWER_DOMAIN_MFG { 88037fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG>; 88137fb78b9SMatthias Brugger #address-cells = <1>; 88237fb78b9SMatthias Brugger #size-cells = <0>; 88337fb78b9SMatthias Brugger #power-domain-cells = <1>; 88437fb78b9SMatthias Brugger 88537fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_MFG_CORE0 { 88637fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG_CORE0>; 88737fb78b9SMatthias Brugger #power-domain-cells = <0>; 88837fb78b9SMatthias Brugger }; 88937fb78b9SMatthias Brugger 89037fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_MFG_CORE1 { 89137fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG_CORE1>; 89237fb78b9SMatthias Brugger #power-domain-cells = <0>; 89337fb78b9SMatthias Brugger }; 89437fb78b9SMatthias Brugger 89537fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_MFG_2D { 89637fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG_2D>; 89737fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 89837fb78b9SMatthias Brugger #power-domain-cells = <0>; 89937fb78b9SMatthias Brugger }; 90037fb78b9SMatthias Brugger }; 90137fb78b9SMatthias Brugger }; 90237fb78b9SMatthias Brugger 90337fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_DISP { 90437fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_DISP>; 90537fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_MM>, 90637fb78b9SMatthias Brugger <&mmsys CLK_MM_SMI_COMMON>, 90737fb78b9SMatthias Brugger <&mmsys CLK_MM_SMI_LARB0>, 90837fb78b9SMatthias Brugger <&mmsys CLK_MM_SMI_LARB1>, 90937fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_COMM0>, 91037fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_COMM1>, 91137fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_CCU2MM>, 91237fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_IPU12MM>, 91337fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_IMG2MM>, 91437fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_CAM2MM>, 91537fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_IPU2MM>; 91637fb78b9SMatthias Brugger clock-names = "mm", "mm-0", "mm-1", "mm-2", "mm-3", 91737fb78b9SMatthias Brugger "mm-4", "mm-5", "mm-6", "mm-7", 91837fb78b9SMatthias Brugger "mm-8", "mm-9"; 91937fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 92037fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 92137fb78b9SMatthias Brugger #address-cells = <1>; 92237fb78b9SMatthias Brugger #size-cells = <0>; 92337fb78b9SMatthias Brugger #power-domain-cells = <1>; 92437fb78b9SMatthias Brugger 92537fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_CAM { 92637fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_CAM>; 92737fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_CAM>, 92837fb78b9SMatthias Brugger <&camsys CLK_CAM_LARB6>, 92937fb78b9SMatthias Brugger <&camsys CLK_CAM_LARB3>, 93037fb78b9SMatthias Brugger <&camsys CLK_CAM_SENINF>, 93137fb78b9SMatthias Brugger <&camsys CLK_CAM_CAMSV0>, 93237fb78b9SMatthias Brugger <&camsys CLK_CAM_CAMSV1>, 93337fb78b9SMatthias Brugger <&camsys CLK_CAM_CAMSV2>, 93437fb78b9SMatthias Brugger <&camsys CLK_CAM_CCU>; 93537fb78b9SMatthias Brugger clock-names = "cam", "cam-0", "cam-1", 93637fb78b9SMatthias Brugger "cam-2", "cam-3", "cam-4", 93737fb78b9SMatthias Brugger "cam-5", "cam-6"; 93837fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 93937fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 94037fb78b9SMatthias Brugger #power-domain-cells = <0>; 94137fb78b9SMatthias Brugger }; 94237fb78b9SMatthias Brugger 94337fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_ISP { 94437fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_ISP>; 94537fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_IMG>, 94637fb78b9SMatthias Brugger <&imgsys CLK_IMG_LARB5>, 94737fb78b9SMatthias Brugger <&imgsys CLK_IMG_LARB2>; 94837fb78b9SMatthias Brugger clock-names = "isp", "isp-0", "isp-1"; 94937fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 95037fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 95137fb78b9SMatthias Brugger #power-domain-cells = <0>; 95237fb78b9SMatthias Brugger }; 95337fb78b9SMatthias Brugger 95437fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VDEC { 95537fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VDEC>; 95637fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 95737fb78b9SMatthias Brugger #power-domain-cells = <0>; 95837fb78b9SMatthias Brugger }; 95937fb78b9SMatthias Brugger 96037fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VENC { 96137fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VENC>; 96237fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 96337fb78b9SMatthias Brugger #power-domain-cells = <0>; 96437fb78b9SMatthias Brugger }; 96537fb78b9SMatthias Brugger 96637fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VPU_TOP { 96737fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VPU_TOP>; 96837fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_IPU_IF>, 96937fb78b9SMatthias Brugger <&topckgen CLK_TOP_MUX_DSP>, 97037fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_IPU>, 97137fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_AHB>, 97237fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_AXI>, 97337fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_ISP>, 97437fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_CAM_ADL>, 97537fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_IMG_ADL>; 97637fb78b9SMatthias Brugger clock-names = "vpu", "vpu1", "vpu-0", "vpu-1", 97737fb78b9SMatthias Brugger "vpu-2", "vpu-3", "vpu-4", "vpu-5"; 97837fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 97937fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 98037fb78b9SMatthias Brugger #address-cells = <1>; 98137fb78b9SMatthias Brugger #size-cells = <0>; 98237fb78b9SMatthias Brugger #power-domain-cells = <1>; 98337fb78b9SMatthias Brugger 98437fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VPU_CORE0 { 98537fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VPU_CORE0>; 98637fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_DSP1>; 98737fb78b9SMatthias Brugger clock-names = "vpu2"; 98837fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 98937fb78b9SMatthias Brugger #power-domain-cells = <0>; 99037fb78b9SMatthias Brugger }; 99137fb78b9SMatthias Brugger 99237fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VPU_CORE1 { 99337fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VPU_CORE1>; 99437fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_DSP2>; 99537fb78b9SMatthias Brugger clock-names = "vpu3"; 99637fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 99737fb78b9SMatthias Brugger #power-domain-cells = <0>; 99837fb78b9SMatthias Brugger }; 99937fb78b9SMatthias Brugger }; 100037fb78b9SMatthias Brugger }; 100137fb78b9SMatthias Brugger }; 100237fb78b9SMatthias Brugger }; 100337fb78b9SMatthias Brugger 1004a39f8425Syong.liang watchdog: watchdog@10007000 { 1005f866c471SCrystal Guo compatible = "mediatek,mt8183-wdt"; 1006a39f8425Syong.liang reg = <0 0x10007000 0 0x100>; 1007a39f8425Syong.liang #reset-cells = <1>; 1008a39f8425Syong.liang }; 1009a39f8425Syong.liang 1010e526c9bcSBen Ho apmixedsys: syscon@1000c000 { 1011e526c9bcSBen Ho compatible = "mediatek,mt8183-apmixedsys", "syscon"; 1012e526c9bcSBen Ho reg = <0 0x1000c000 0 0x1000>; 1013e526c9bcSBen Ho #clock-cells = <1>; 1014e526c9bcSBen Ho }; 1015e526c9bcSBen Ho 1016e526c9bcSBen Ho pwrap: pwrap@1000d000 { 1017e526c9bcSBen Ho compatible = "mediatek,mt8183-pwrap"; 1018e526c9bcSBen Ho reg = <0 0x1000d000 0 0x1000>; 1019e526c9bcSBen Ho reg-names = "pwrap"; 1020cac33c10SHsin-Hsiung Wang interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>; 1021e526c9bcSBen Ho clocks = <&topckgen CLK_TOP_MUX_PMICSPI>, 1022e526c9bcSBen Ho <&infracfg CLK_INFRA_PMIC_AP>; 1023e526c9bcSBen Ho clock-names = "spi", "wrap"; 1024e526c9bcSBen Ho }; 1025e526c9bcSBen Ho 1026a8013418SFabien Parent keyboard: keyboard@10010000 { 1027a8013418SFabien Parent compatible = "mediatek,mt6779-keypad"; 1028a8013418SFabien Parent reg = <0 0x10010000 0 0x1000>; 1029a8013418SFabien Parent interrupts = <GIC_SPI 186 IRQ_TYPE_EDGE_FALLING>; 1030a8013418SFabien Parent clocks = <&clk26m>; 1031a8013418SFabien Parent clock-names = "kpd"; 1032a8013418SFabien Parent status = "disabled"; 1033a8013418SFabien Parent }; 1034a8013418SFabien Parent 10351652dbf7SEddie Huang scp: scp@10500000 { 10361652dbf7SEddie Huang compatible = "mediatek,mt8183-scp"; 10371652dbf7SEddie Huang reg = <0 0x10500000 0 0x80000>, 10381652dbf7SEddie Huang <0 0x105c0000 0 0x19080>; 10391652dbf7SEddie Huang reg-names = "sram", "cfg"; 10401652dbf7SEddie Huang interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; 10411652dbf7SEddie Huang clocks = <&infracfg CLK_INFRA_SCPSYS>; 10421652dbf7SEddie Huang clock-names = "main"; 10431652dbf7SEddie Huang memory-region = <&scp_mem_reserved>; 10441652dbf7SEddie Huang status = "disabled"; 10451652dbf7SEddie Huang }; 10461652dbf7SEddie Huang 10475bc8e287SDehui Sun systimer: timer@10017000 { 10485bc8e287SDehui Sun compatible = "mediatek,mt8183-timer", 10495bc8e287SDehui Sun "mediatek,mt6765-timer"; 10505bc8e287SDehui Sun reg = <0 0x10017000 0 0x1000>; 10515bc8e287SDehui Sun interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>; 1052ce8a06b5SChen-Yu Tsai clocks = <&clk13m>; 10535bc8e287SDehui Sun }; 10545bc8e287SDehui Sun 1055c6080916SEnric Balletbo i Serra iommu: iommu@10205000 { 1056c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-m4u"; 1057c6080916SEnric Balletbo i Serra reg = <0 0x10205000 0 0x1000>; 1058c6080916SEnric Balletbo i Serra interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_LOW>; 105933c7874bSNícolas F. R. A. Prado mediatek,larbs = <&larb0>, <&larb1>, <&larb2>, <&larb3>, 106033c7874bSNícolas F. R. A. Prado <&larb4>, <&larb5>, <&larb6>; 1061c6080916SEnric Balletbo i Serra #iommu-cells = <1>; 1062c6080916SEnric Balletbo i Serra }; 1063c6080916SEnric Balletbo i Serra 1064d3c306e3SBibby Hsieh gce: mailbox@10238000 { 1065d3c306e3SBibby Hsieh compatible = "mediatek,mt8183-gce"; 1066d3c306e3SBibby Hsieh reg = <0 0x10238000 0 0x4000>; 1067d3c306e3SBibby Hsieh interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_LOW>; 1068e55c56dfSFabien Parent #mbox-cells = <2>; 1069d3c306e3SBibby Hsieh clocks = <&infracfg CLK_INFRA_GCE>; 1070d3c306e3SBibby Hsieh clock-names = "gce"; 1071d3c306e3SBibby Hsieh }; 1072d3c306e3SBibby Hsieh 1073eb59b353SZhiyong Tao auxadc: auxadc@11001000 { 1074eb59b353SZhiyong Tao compatible = "mediatek,mt8183-auxadc", 1075eb59b353SZhiyong Tao "mediatek,mt8173-auxadc"; 1076eb59b353SZhiyong Tao reg = <0 0x11001000 0 0x1000>; 1077eb59b353SZhiyong Tao clocks = <&infracfg CLK_INFRA_AUXADC>; 1078eb59b353SZhiyong Tao clock-names = "main"; 1079eb59b353SZhiyong Tao #io-channel-cells = <1>; 1080eb59b353SZhiyong Tao status = "disabled"; 1081eb59b353SZhiyong Tao }; 1082eb59b353SZhiyong Tao 1083e526c9bcSBen Ho uart0: serial@11002000 { 1084e526c9bcSBen Ho compatible = "mediatek,mt8183-uart", 1085e526c9bcSBen Ho "mediatek,mt6577-uart"; 1086e526c9bcSBen Ho reg = <0 0x11002000 0 0x1000>; 1087e526c9bcSBen Ho interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>; 1088e526c9bcSBen Ho clocks = <&clk26m>, <&infracfg CLK_INFRA_UART0>; 1089e526c9bcSBen Ho clock-names = "baud", "bus"; 1090e526c9bcSBen Ho status = "disabled"; 1091e526c9bcSBen Ho }; 1092e526c9bcSBen Ho 1093e526c9bcSBen Ho uart1: serial@11003000 { 1094e526c9bcSBen Ho compatible = "mediatek,mt8183-uart", 1095e526c9bcSBen Ho "mediatek,mt6577-uart"; 1096e526c9bcSBen Ho reg = <0 0x11003000 0 0x1000>; 1097e526c9bcSBen Ho interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>; 1098e526c9bcSBen Ho clocks = <&clk26m>, <&infracfg CLK_INFRA_UART1>; 1099e526c9bcSBen Ho clock-names = "baud", "bus"; 1100e526c9bcSBen Ho status = "disabled"; 1101e526c9bcSBen Ho }; 1102e526c9bcSBen Ho 1103e526c9bcSBen Ho uart2: serial@11004000 { 1104e526c9bcSBen Ho compatible = "mediatek,mt8183-uart", 1105e526c9bcSBen Ho "mediatek,mt6577-uart"; 1106e526c9bcSBen Ho reg = <0 0x11004000 0 0x1000>; 1107e526c9bcSBen Ho interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>; 1108e526c9bcSBen Ho clocks = <&clk26m>, <&infracfg CLK_INFRA_UART2>; 1109e526c9bcSBen Ho clock-names = "baud", "bus"; 1110e526c9bcSBen Ho status = "disabled"; 1111e526c9bcSBen Ho }; 1112e526c9bcSBen Ho 1113251137b8SQii Wang i2c6: i2c@11005000 { 1114251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1115251137b8SQii Wang reg = <0 0x11005000 0 0x1000>, 1116251137b8SQii Wang <0 0x11000600 0 0x80>; 1117251137b8SQii Wang interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>; 1118251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C6>, 1119251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1120251137b8SQii Wang clock-names = "main", "dma"; 1121251137b8SQii Wang clock-div = <1>; 1122251137b8SQii Wang #address-cells = <1>; 1123251137b8SQii Wang #size-cells = <0>; 1124251137b8SQii Wang status = "disabled"; 1125251137b8SQii Wang }; 1126251137b8SQii Wang 1127251137b8SQii Wang i2c0: i2c@11007000 { 1128251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1129251137b8SQii Wang reg = <0 0x11007000 0 0x1000>, 1130251137b8SQii Wang <0 0x11000080 0 0x80>; 1131251137b8SQii Wang interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>; 1132251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C0>, 1133251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1134251137b8SQii Wang clock-names = "main", "dma"; 1135251137b8SQii Wang clock-div = <1>; 1136251137b8SQii Wang #address-cells = <1>; 1137251137b8SQii Wang #size-cells = <0>; 1138251137b8SQii Wang status = "disabled"; 1139251137b8SQii Wang }; 1140251137b8SQii Wang 1141251137b8SQii Wang i2c4: i2c@11008000 { 1142251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1143251137b8SQii Wang reg = <0 0x11008000 0 0x1000>, 1144251137b8SQii Wang <0 0x11000100 0 0x80>; 1145251137b8SQii Wang interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>; 1146251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C1>, 1147251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1148251137b8SQii Wang <&infracfg CLK_INFRA_I2C1_ARBITER>; 1149251137b8SQii Wang clock-names = "main", "dma","arb"; 1150251137b8SQii Wang clock-div = <1>; 1151251137b8SQii Wang #address-cells = <1>; 1152251137b8SQii Wang #size-cells = <0>; 1153251137b8SQii Wang status = "disabled"; 1154251137b8SQii Wang }; 1155251137b8SQii Wang 1156251137b8SQii Wang i2c2: i2c@11009000 { 1157251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1158251137b8SQii Wang reg = <0 0x11009000 0 0x1000>, 1159251137b8SQii Wang <0 0x11000280 0 0x80>; 1160251137b8SQii Wang interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>; 1161251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C2>, 1162251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1163251137b8SQii Wang <&infracfg CLK_INFRA_I2C2_ARBITER>; 1164251137b8SQii Wang clock-names = "main", "dma", "arb"; 1165251137b8SQii Wang clock-div = <1>; 1166251137b8SQii Wang #address-cells = <1>; 1167251137b8SQii Wang #size-cells = <0>; 1168251137b8SQii Wang status = "disabled"; 1169251137b8SQii Wang }; 1170251137b8SQii Wang 11718e2dd0f9SErin Lo spi0: spi@1100a000 { 11728e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 11738e2dd0f9SErin Lo #address-cells = <1>; 11748e2dd0f9SErin Lo #size-cells = <0>; 11758e2dd0f9SErin Lo reg = <0 0x1100a000 0 0x1000>; 11768e2dd0f9SErin Lo interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_LOW>; 11778e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 11788e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 11798e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI0>; 11808e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 11818e2dd0f9SErin Lo status = "disabled"; 11828e2dd0f9SErin Lo }; 11838e2dd0f9SErin Lo 11844a5191c5SAngeloGioacchino Del Regno thermal: thermal-sensor@1100b000 { 1185b325ce39Smichael.kao #thermal-sensor-cells = <1>; 1186b325ce39Smichael.kao compatible = "mediatek,mt8183-thermal"; 1187e9ff6cdaSAngeloGioacchino Del Regno reg = <0 0x1100b000 0 0xc00>; 1188b325ce39Smichael.kao clocks = <&infracfg CLK_INFRA_THERM>, 1189b325ce39Smichael.kao <&infracfg CLK_INFRA_AUXADC>; 1190b325ce39Smichael.kao clock-names = "therm", "auxadc"; 1191b325ce39Smichael.kao resets = <&infracfg MT8183_INFRACFG_AO_THERM_SW_RST>; 1192b325ce39Smichael.kao interrupts = <0 76 IRQ_TYPE_LEVEL_LOW>; 1193b325ce39Smichael.kao mediatek,auxadc = <&auxadc>; 1194b325ce39Smichael.kao mediatek,apmixedsys = <&apmixedsys>; 1195b325ce39Smichael.kao nvmem-cells = <&thermal_calibration>; 1196b325ce39Smichael.kao nvmem-cell-names = "calibration-data"; 1197b325ce39Smichael.kao }; 1198b325ce39Smichael.kao 1199e9ff6cdaSAngeloGioacchino Del Regno svs: svs@1100bc00 { 1200e9ff6cdaSAngeloGioacchino Del Regno compatible = "mediatek,mt8183-svs"; 1201e9ff6cdaSAngeloGioacchino Del Regno reg = <0 0x1100bc00 0 0x400>; 1202e9ff6cdaSAngeloGioacchino Del Regno interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>; 1203e9ff6cdaSAngeloGioacchino Del Regno clocks = <&infracfg CLK_INFRA_THERM>; 1204e9ff6cdaSAngeloGioacchino Del Regno clock-names = "main"; 1205e9ff6cdaSAngeloGioacchino Del Regno nvmem-cells = <&svs_calibration>, 1206e9ff6cdaSAngeloGioacchino Del Regno <&thermal_calibration>; 1207e9ff6cdaSAngeloGioacchino Del Regno nvmem-cell-names = "svs-calibration-data", 1208e9ff6cdaSAngeloGioacchino Del Regno "t-calibration-data"; 1209e9ff6cdaSAngeloGioacchino Del Regno }; 1210e9ff6cdaSAngeloGioacchino Del Regno 1211f15722c0SHsin-Yi Wang pwm0: pwm@1100e000 { 1212f15722c0SHsin-Yi Wang compatible = "mediatek,mt8183-disp-pwm"; 1213f15722c0SHsin-Yi Wang reg = <0 0x1100e000 0 0x1000>; 1214f15722c0SHsin-Yi Wang interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_LOW>; 12152f99fb6eSEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 1216f15722c0SHsin-Yi Wang #pwm-cells = <2>; 1217f15722c0SHsin-Yi Wang clocks = <&topckgen CLK_TOP_MUX_DISP_PWM>, 1218f15722c0SHsin-Yi Wang <&infracfg CLK_INFRA_DISP_PWM>; 1219f15722c0SHsin-Yi Wang clock-names = "main", "mm"; 1220f15722c0SHsin-Yi Wang }; 1221f15722c0SHsin-Yi Wang 1222afca1c66SFabien Parent pwm1: pwm@11006000 { 1223afca1c66SFabien Parent compatible = "mediatek,mt8183-pwm"; 1224afca1c66SFabien Parent reg = <0 0x11006000 0 0x1000>; 1225afca1c66SFabien Parent #pwm-cells = <2>; 1226afca1c66SFabien Parent clocks = <&infracfg CLK_INFRA_PWM>, 1227afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM_HCLK>, 1228afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM1>, 1229afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM2>, 1230afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM3>, 1231afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM4>; 1232afca1c66SFabien Parent clock-names = "top", "main", "pwm1", "pwm2", "pwm3", 1233afca1c66SFabien Parent "pwm4"; 1234afca1c66SFabien Parent }; 1235afca1c66SFabien Parent 1236251137b8SQii Wang i2c3: i2c@1100f000 { 1237251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1238251137b8SQii Wang reg = <0 0x1100f000 0 0x1000>, 1239251137b8SQii Wang <0 0x11000400 0 0x80>; 1240251137b8SQii Wang interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>; 1241251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C3>, 1242251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1243251137b8SQii Wang clock-names = "main", "dma"; 1244251137b8SQii Wang clock-div = <1>; 1245251137b8SQii Wang #address-cells = <1>; 1246251137b8SQii Wang #size-cells = <0>; 1247251137b8SQii Wang status = "disabled"; 1248251137b8SQii Wang }; 1249251137b8SQii Wang 12508e2dd0f9SErin Lo spi1: spi@11010000 { 12518e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 12528e2dd0f9SErin Lo #address-cells = <1>; 12538e2dd0f9SErin Lo #size-cells = <0>; 12548e2dd0f9SErin Lo reg = <0 0x11010000 0 0x1000>; 12558e2dd0f9SErin Lo interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_LOW>; 12568e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 12578e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 12588e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI1>; 12598e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 12608e2dd0f9SErin Lo status = "disabled"; 12618e2dd0f9SErin Lo }; 12628e2dd0f9SErin Lo 1263251137b8SQii Wang i2c1: i2c@11011000 { 1264251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1265251137b8SQii Wang reg = <0 0x11011000 0 0x1000>, 1266251137b8SQii Wang <0 0x11000480 0 0x80>; 1267251137b8SQii Wang interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>; 1268251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C4>, 1269251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1270251137b8SQii Wang clock-names = "main", "dma"; 1271251137b8SQii Wang clock-div = <1>; 1272251137b8SQii Wang #address-cells = <1>; 1273251137b8SQii Wang #size-cells = <0>; 1274251137b8SQii Wang status = "disabled"; 1275251137b8SQii Wang }; 1276251137b8SQii Wang 12778e2dd0f9SErin Lo spi2: spi@11012000 { 12788e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 12798e2dd0f9SErin Lo #address-cells = <1>; 12808e2dd0f9SErin Lo #size-cells = <0>; 12818e2dd0f9SErin Lo reg = <0 0x11012000 0 0x1000>; 12828e2dd0f9SErin Lo interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>; 12838e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 12848e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 12858e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI2>; 12868e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 12878e2dd0f9SErin Lo status = "disabled"; 12888e2dd0f9SErin Lo }; 12898e2dd0f9SErin Lo 12908e2dd0f9SErin Lo spi3: spi@11013000 { 12918e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 12928e2dd0f9SErin Lo #address-cells = <1>; 12938e2dd0f9SErin Lo #size-cells = <0>; 12948e2dd0f9SErin Lo reg = <0 0x11013000 0 0x1000>; 12958e2dd0f9SErin Lo interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_LOW>; 12968e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 12978e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 12988e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI3>; 12998e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 13008e2dd0f9SErin Lo status = "disabled"; 13018e2dd0f9SErin Lo }; 13028e2dd0f9SErin Lo 1303251137b8SQii Wang i2c9: i2c@11014000 { 1304251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1305251137b8SQii Wang reg = <0 0x11014000 0 0x1000>, 1306251137b8SQii Wang <0 0x11000180 0 0x80>; 1307251137b8SQii Wang interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_LOW>; 1308251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C1_IMM>, 1309251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1310251137b8SQii Wang <&infracfg CLK_INFRA_I2C1_ARBITER>; 1311251137b8SQii Wang clock-names = "main", "dma", "arb"; 1312251137b8SQii Wang clock-div = <1>; 1313251137b8SQii Wang #address-cells = <1>; 1314251137b8SQii Wang #size-cells = <0>; 1315251137b8SQii Wang status = "disabled"; 1316251137b8SQii Wang }; 1317251137b8SQii Wang 1318251137b8SQii Wang i2c10: i2c@11015000 { 1319251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1320251137b8SQii Wang reg = <0 0x11015000 0 0x1000>, 1321251137b8SQii Wang <0 0x11000300 0 0x80>; 1322251137b8SQii Wang interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>; 1323251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C2_IMM>, 1324251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1325251137b8SQii Wang <&infracfg CLK_INFRA_I2C2_ARBITER>; 1326251137b8SQii Wang clock-names = "main", "dma", "arb"; 1327251137b8SQii Wang clock-div = <1>; 1328251137b8SQii Wang #address-cells = <1>; 1329251137b8SQii Wang #size-cells = <0>; 1330251137b8SQii Wang status = "disabled"; 1331251137b8SQii Wang }; 1332251137b8SQii Wang 1333251137b8SQii Wang i2c5: i2c@11016000 { 1334251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1335251137b8SQii Wang reg = <0 0x11016000 0 0x1000>, 1336251137b8SQii Wang <0 0x11000500 0 0x80>; 1337251137b8SQii Wang interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>; 1338251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C5>, 1339251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1340251137b8SQii Wang <&infracfg CLK_INFRA_I2C5_ARBITER>; 1341251137b8SQii Wang clock-names = "main", "dma", "arb"; 1342251137b8SQii Wang clock-div = <1>; 1343251137b8SQii Wang #address-cells = <1>; 1344251137b8SQii Wang #size-cells = <0>; 1345251137b8SQii Wang status = "disabled"; 1346251137b8SQii Wang }; 1347251137b8SQii Wang 1348251137b8SQii Wang i2c11: i2c@11017000 { 1349251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1350251137b8SQii Wang reg = <0 0x11017000 0 0x1000>, 1351251137b8SQii Wang <0 0x11000580 0 0x80>; 1352251137b8SQii Wang interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_LOW>; 1353251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C5_IMM>, 1354251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1355251137b8SQii Wang <&infracfg CLK_INFRA_I2C5_ARBITER>; 1356251137b8SQii Wang clock-names = "main", "dma", "arb"; 1357251137b8SQii Wang clock-div = <1>; 1358251137b8SQii Wang #address-cells = <1>; 1359251137b8SQii Wang #size-cells = <0>; 1360251137b8SQii Wang status = "disabled"; 1361251137b8SQii Wang }; 1362251137b8SQii Wang 13638e2dd0f9SErin Lo spi4: spi@11018000 { 13648e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 13658e2dd0f9SErin Lo #address-cells = <1>; 13668e2dd0f9SErin Lo #size-cells = <0>; 13678e2dd0f9SErin Lo reg = <0 0x11018000 0 0x1000>; 13688e2dd0f9SErin Lo interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_LOW>; 13698e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 13708e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 13718e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI4>; 13728e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 13738e2dd0f9SErin Lo status = "disabled"; 13748e2dd0f9SErin Lo }; 13758e2dd0f9SErin Lo 13768e2dd0f9SErin Lo spi5: spi@11019000 { 13778e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 13788e2dd0f9SErin Lo #address-cells = <1>; 13798e2dd0f9SErin Lo #size-cells = <0>; 13808e2dd0f9SErin Lo reg = <0 0x11019000 0 0x1000>; 13818e2dd0f9SErin Lo interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_LOW>; 13828e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 13838e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 13848e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI5>; 13858e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 13868e2dd0f9SErin Lo status = "disabled"; 13878e2dd0f9SErin Lo }; 13888e2dd0f9SErin Lo 1389251137b8SQii Wang i2c7: i2c@1101a000 { 1390251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1391251137b8SQii Wang reg = <0 0x1101a000 0 0x1000>, 1392251137b8SQii Wang <0 0x11000680 0 0x80>; 1393251137b8SQii Wang interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>; 1394251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C7>, 1395251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1396251137b8SQii Wang clock-names = "main", "dma"; 1397251137b8SQii Wang clock-div = <1>; 1398251137b8SQii Wang #address-cells = <1>; 1399251137b8SQii Wang #size-cells = <0>; 1400251137b8SQii Wang status = "disabled"; 1401251137b8SQii Wang }; 1402251137b8SQii Wang 1403251137b8SQii Wang i2c8: i2c@1101b000 { 1404251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1405251137b8SQii Wang reg = <0 0x1101b000 0 0x1000>, 1406251137b8SQii Wang <0 0x11000700 0 0x80>; 1407251137b8SQii Wang interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_LOW>; 1408251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C8>, 1409251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1410251137b8SQii Wang clock-names = "main", "dma"; 1411251137b8SQii Wang clock-div = <1>; 1412251137b8SQii Wang #address-cells = <1>; 1413251137b8SQii Wang #size-cells = <0>; 1414251137b8SQii Wang status = "disabled"; 1415251137b8SQii Wang }; 1416251137b8SQii Wang 14176b3bfa37SEnric Balletbo i Serra ssusb: usb@11201000 { 14186b3bfa37SEnric Balletbo i Serra compatible = "mediatek,mt8183-mtu3", "mediatek,mtu3"; 14196b3bfa37SEnric Balletbo i Serra reg = <0 0x11201000 0 0x2e00>, 14206b3bfa37SEnric Balletbo i Serra <0 0x11203e00 0 0x0100>; 14216b3bfa37SEnric Balletbo i Serra reg-names = "mac", "ippc"; 14226b3bfa37SEnric Balletbo i Serra interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>; 14236b3bfa37SEnric Balletbo i Serra phys = <&u2port0 PHY_TYPE_USB2>, 14246b3bfa37SEnric Balletbo i Serra <&u3port0 PHY_TYPE_USB3>; 14256b3bfa37SEnric Balletbo i Serra clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>, 14266b3bfa37SEnric Balletbo i Serra <&infracfg CLK_INFRA_USB>; 14276b3bfa37SEnric Balletbo i Serra clock-names = "sys_ck", "ref_ck"; 1428d3cbc7f8SChunfeng Yun mediatek,syscon-wakeup = <&pericfg 0x420 101>; 14296b3bfa37SEnric Balletbo i Serra #address-cells = <2>; 14306b3bfa37SEnric Balletbo i Serra #size-cells = <2>; 14316b3bfa37SEnric Balletbo i Serra ranges; 14326b3bfa37SEnric Balletbo i Serra status = "disabled"; 14336b3bfa37SEnric Balletbo i Serra 1434d1c9c70aSChunfeng Yun usb_host: usb@11200000 { 14356b3bfa37SEnric Balletbo i Serra compatible = "mediatek,mt8183-xhci", 14366b3bfa37SEnric Balletbo i Serra "mediatek,mtk-xhci"; 14376b3bfa37SEnric Balletbo i Serra reg = <0 0x11200000 0 0x1000>; 14386b3bfa37SEnric Balletbo i Serra reg-names = "mac"; 14396b3bfa37SEnric Balletbo i Serra interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_LOW>; 14406b3bfa37SEnric Balletbo i Serra clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>, 14416b3bfa37SEnric Balletbo i Serra <&infracfg CLK_INFRA_USB>; 14426b3bfa37SEnric Balletbo i Serra clock-names = "sys_ck", "ref_ck"; 14436b3bfa37SEnric Balletbo i Serra status = "disabled"; 14446b3bfa37SEnric Balletbo i Serra }; 14456b3bfa37SEnric Balletbo i Serra }; 14466b3bfa37SEnric Balletbo i Serra 144713dd23cfSKansho Nishida audiosys: audio-controller@11220000 { 1448e526c9bcSBen Ho compatible = "mediatek,mt8183-audiosys", "syscon"; 1449e526c9bcSBen Ho reg = <0 0x11220000 0 0x1000>; 1450e526c9bcSBen Ho #clock-cells = <1>; 145113dd23cfSKansho Nishida afe: mt8183-afe-pcm { 145213dd23cfSKansho Nishida compatible = "mediatek,mt8183-audio"; 145313dd23cfSKansho Nishida interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_LOW>; 145413dd23cfSKansho Nishida resets = <&watchdog MT8183_TOPRGU_AUDIO_SW_RST>; 145513dd23cfSKansho Nishida reset-names = "audiosys"; 145613dd23cfSKansho Nishida power-domains = 145713dd23cfSKansho Nishida <&spm MT8183_POWER_DOMAIN_AUDIO>; 145813dd23cfSKansho Nishida clocks = <&audiosys CLK_AUDIO_AFE>, 145913dd23cfSKansho Nishida <&audiosys CLK_AUDIO_DAC>, 146013dd23cfSKansho Nishida <&audiosys CLK_AUDIO_DAC_PREDIS>, 146113dd23cfSKansho Nishida <&audiosys CLK_AUDIO_ADC>, 146213dd23cfSKansho Nishida <&audiosys CLK_AUDIO_PDN_ADDA6_ADC>, 146313dd23cfSKansho Nishida <&audiosys CLK_AUDIO_22M>, 146413dd23cfSKansho Nishida <&audiosys CLK_AUDIO_24M>, 146513dd23cfSKansho Nishida <&audiosys CLK_AUDIO_APLL_TUNER>, 146613dd23cfSKansho Nishida <&audiosys CLK_AUDIO_APLL2_TUNER>, 146713dd23cfSKansho Nishida <&audiosys CLK_AUDIO_I2S1>, 146813dd23cfSKansho Nishida <&audiosys CLK_AUDIO_I2S2>, 146913dd23cfSKansho Nishida <&audiosys CLK_AUDIO_I2S3>, 147013dd23cfSKansho Nishida <&audiosys CLK_AUDIO_I2S4>, 147113dd23cfSKansho Nishida <&audiosys CLK_AUDIO_TDM>, 147213dd23cfSKansho Nishida <&audiosys CLK_AUDIO_TML>, 147313dd23cfSKansho Nishida <&infracfg CLK_INFRA_AUDIO>, 147413dd23cfSKansho Nishida <&infracfg CLK_INFRA_AUDIO_26M_BCLK>, 147513dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUDIO>, 147613dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_INTBUS>, 147713dd23cfSKansho Nishida <&topckgen CLK_TOP_SYSPLL_D2_D4>, 147813dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_1>, 147913dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL1_CK>, 148013dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_2>, 148113dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL2_CK>, 148213dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_ENG1>, 148313dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL1_D8>, 148413dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_ENG2>, 148513dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL2_D8>, 148613dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S0>, 148713dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S1>, 148813dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S2>, 148913dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S3>, 149013dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S4>, 149113dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S5>, 149213dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV0>, 149313dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV1>, 149413dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV2>, 149513dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV3>, 149613dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV4>, 149713dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIVB>, 149813dd23cfSKansho Nishida /*<&topckgen CLK_TOP_APLL12_DIV5>,*/ 149913dd23cfSKansho Nishida <&clk26m>; 150013dd23cfSKansho Nishida clock-names = "aud_afe_clk", 150113dd23cfSKansho Nishida "aud_dac_clk", 150213dd23cfSKansho Nishida "aud_dac_predis_clk", 150313dd23cfSKansho Nishida "aud_adc_clk", 150413dd23cfSKansho Nishida "aud_adc_adda6_clk", 150513dd23cfSKansho Nishida "aud_apll22m_clk", 150613dd23cfSKansho Nishida "aud_apll24m_clk", 150713dd23cfSKansho Nishida "aud_apll1_tuner_clk", 150813dd23cfSKansho Nishida "aud_apll2_tuner_clk", 150913dd23cfSKansho Nishida "aud_i2s1_bclk_sw", 151013dd23cfSKansho Nishida "aud_i2s2_bclk_sw", 151113dd23cfSKansho Nishida "aud_i2s3_bclk_sw", 151213dd23cfSKansho Nishida "aud_i2s4_bclk_sw", 151313dd23cfSKansho Nishida "aud_tdm_clk", 151413dd23cfSKansho Nishida "aud_tml_clk", 151513dd23cfSKansho Nishida "aud_infra_clk", 151613dd23cfSKansho Nishida "mtkaif_26m_clk", 151713dd23cfSKansho Nishida "top_mux_audio", 151813dd23cfSKansho Nishida "top_mux_aud_intbus", 151913dd23cfSKansho Nishida "top_syspll_d2_d4", 152013dd23cfSKansho Nishida "top_mux_aud_1", 152113dd23cfSKansho Nishida "top_apll1_ck", 152213dd23cfSKansho Nishida "top_mux_aud_2", 152313dd23cfSKansho Nishida "top_apll2_ck", 152413dd23cfSKansho Nishida "top_mux_aud_eng1", 152513dd23cfSKansho Nishida "top_apll1_d8", 152613dd23cfSKansho Nishida "top_mux_aud_eng2", 152713dd23cfSKansho Nishida "top_apll2_d8", 152813dd23cfSKansho Nishida "top_i2s0_m_sel", 152913dd23cfSKansho Nishida "top_i2s1_m_sel", 153013dd23cfSKansho Nishida "top_i2s2_m_sel", 153113dd23cfSKansho Nishida "top_i2s3_m_sel", 153213dd23cfSKansho Nishida "top_i2s4_m_sel", 153313dd23cfSKansho Nishida "top_i2s5_m_sel", 153413dd23cfSKansho Nishida "top_apll12_div0", 153513dd23cfSKansho Nishida "top_apll12_div1", 153613dd23cfSKansho Nishida "top_apll12_div2", 153713dd23cfSKansho Nishida "top_apll12_div3", 153813dd23cfSKansho Nishida "top_apll12_div4", 153913dd23cfSKansho Nishida "top_apll12_divb", 154013dd23cfSKansho Nishida /*"top_apll12_div5",*/ 154113dd23cfSKansho Nishida "top_clk26m_clk"; 154213dd23cfSKansho Nishida }; 1543e526c9bcSBen Ho }; 1544e526c9bcSBen Ho 15455e6cdf00Sjjian zhou mmc0: mmc@11230000 { 15465e6cdf00Sjjian zhou compatible = "mediatek,mt8183-mmc"; 15475e6cdf00Sjjian zhou reg = <0 0x11230000 0 0x1000>, 15485e6cdf00Sjjian zhou <0 0x11f50000 0 0x1000>; 15495e6cdf00Sjjian zhou interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>; 15505e6cdf00Sjjian zhou clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>, 15515e6cdf00Sjjian zhou <&infracfg CLK_INFRA_MSDC0>, 15525e6cdf00Sjjian zhou <&infracfg CLK_INFRA_MSDC0_SCK>; 15535e6cdf00Sjjian zhou clock-names = "source", "hclk", "source_cg"; 15545e6cdf00Sjjian zhou status = "disabled"; 15555e6cdf00Sjjian zhou }; 15565e6cdf00Sjjian zhou 15575e6cdf00Sjjian zhou mmc1: mmc@11240000 { 15585e6cdf00Sjjian zhou compatible = "mediatek,mt8183-mmc"; 15595e6cdf00Sjjian zhou reg = <0 0x11240000 0 0x1000>, 15605e6cdf00Sjjian zhou <0 0x11e10000 0 0x1000>; 15615e6cdf00Sjjian zhou interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_LOW>; 15625e6cdf00Sjjian zhou clocks = <&topckgen CLK_TOP_MUX_MSDC30_1>, 15635e6cdf00Sjjian zhou <&infracfg CLK_INFRA_MSDC1>, 15645e6cdf00Sjjian zhou <&infracfg CLK_INFRA_MSDC1_SCK>; 15655e6cdf00Sjjian zhou clock-names = "source", "hclk", "source_cg"; 15665e6cdf00Sjjian zhou status = "disabled"; 15675e6cdf00Sjjian zhou }; 15685e6cdf00Sjjian zhou 1569d1c9c70aSChunfeng Yun mipi_tx0: dsi-phy@11e50000 { 157088ec8402SJitao Shi compatible = "mediatek,mt8183-mipi-tx"; 157188ec8402SJitao Shi reg = <0 0x11e50000 0 0x1000>; 157288ec8402SJitao Shi clocks = <&apmixedsys CLK_APMIXED_MIPID0_26M>; 157388ec8402SJitao Shi #clock-cells = <0>; 157488ec8402SJitao Shi #phy-cells = <0>; 157588ec8402SJitao Shi clock-output-names = "mipi_tx0_pll"; 157688ec8402SJitao Shi nvmem-cells = <&mipi_tx_calibration>; 157788ec8402SJitao Shi nvmem-cell-names = "calibration-data"; 157888ec8402SJitao Shi }; 157988ec8402SJitao Shi 1580de103388SMichael Mei efuse: efuse@11f10000 { 1581de103388SMichael Mei compatible = "mediatek,mt8183-efuse", 1582de103388SMichael Mei "mediatek,efuse"; 1583de103388SMichael Mei reg = <0 0x11f10000 0 0x1000>; 158488ec8402SJitao Shi #address-cells = <1>; 158588ec8402SJitao Shi #size-cells = <1>; 158694e4dd09SWilliam-tw Lin 158794e4dd09SWilliam-tw Lin socinfo-data1@4c { 158894e4dd09SWilliam-tw Lin reg = <0x04c 0x4>; 158994e4dd09SWilliam-tw Lin }; 159094e4dd09SWilliam-tw Lin 159194e4dd09SWilliam-tw Lin socinfo-data2@60 { 159294e4dd09SWilliam-tw Lin reg = <0x060 0x4>; 159394e4dd09SWilliam-tw Lin }; 159494e4dd09SWilliam-tw Lin 1595b325ce39Smichael.kao thermal_calibration: calib@180 { 1596b325ce39Smichael.kao reg = <0x180 0xc>; 1597b325ce39Smichael.kao }; 1598b325ce39Smichael.kao 159988ec8402SJitao Shi mipi_tx_calibration: calib@190 { 160088ec8402SJitao Shi reg = <0x190 0xc>; 160188ec8402SJitao Shi }; 160241131266SRoger Lu 160341131266SRoger Lu svs_calibration: calib@580 { 160441131266SRoger Lu reg = <0x580 0x64>; 160541131266SRoger Lu }; 1606de103388SMichael Mei }; 1607de103388SMichael Mei 1608d1c9c70aSChunfeng Yun u3phy: t-phy@11f40000 { 16096b3bfa37SEnric Balletbo i Serra compatible = "mediatek,mt8183-tphy", 16106b3bfa37SEnric Balletbo i Serra "mediatek,generic-tphy-v2"; 16116b3bfa37SEnric Balletbo i Serra #address-cells = <1>; 16126b3bfa37SEnric Balletbo i Serra #size-cells = <1>; 16136b3bfa37SEnric Balletbo i Serra ranges = <0 0 0x11f40000 0x1000>; 16146b3bfa37SEnric Balletbo i Serra status = "okay"; 16156b3bfa37SEnric Balletbo i Serra 16166b3bfa37SEnric Balletbo i Serra u2port0: usb-phy@0 { 16176b3bfa37SEnric Balletbo i Serra reg = <0x0 0x700>; 16186b3bfa37SEnric Balletbo i Serra clocks = <&clk26m>; 16196b3bfa37SEnric Balletbo i Serra clock-names = "ref"; 16206b3bfa37SEnric Balletbo i Serra #phy-cells = <1>; 16216b3bfa37SEnric Balletbo i Serra mediatek,discth = <15>; 16226b3bfa37SEnric Balletbo i Serra status = "okay"; 16236b3bfa37SEnric Balletbo i Serra }; 16246b3bfa37SEnric Balletbo i Serra 1625f538437bSMatthias Brugger u3port0: usb-phy@700 { 16266b3bfa37SEnric Balletbo i Serra reg = <0x0700 0x900>; 16276b3bfa37SEnric Balletbo i Serra clocks = <&clk26m>; 16286b3bfa37SEnric Balletbo i Serra clock-names = "ref"; 16296b3bfa37SEnric Balletbo i Serra #phy-cells = <1>; 16306b3bfa37SEnric Balletbo i Serra status = "okay"; 16316b3bfa37SEnric Balletbo i Serra }; 16326b3bfa37SEnric Balletbo i Serra }; 16336b3bfa37SEnric Balletbo i Serra 1634e526c9bcSBen Ho mfgcfg: syscon@13000000 { 1635e526c9bcSBen Ho compatible = "mediatek,mt8183-mfgcfg", "syscon"; 1636e526c9bcSBen Ho reg = <0 0x13000000 0 0x1000>; 1637e526c9bcSBen Ho #clock-cells = <1>; 16381781f2c4SIkjoon Jang power-domains = <&spm MT8183_POWER_DOMAIN_MFG_ASYNC>; 1639e526c9bcSBen Ho }; 1640e526c9bcSBen Ho 1641a8168cebSNicolas Boichat gpu: gpu@13040000 { 1642c78838d8SAngeloGioacchino Del Regno compatible = "mediatek,mt8183b-mali", "arm,mali-bifrost"; 1643a8168cebSNicolas Boichat reg = <0 0x13040000 0 0x4000>; 1644a8168cebSNicolas Boichat interrupts = 1645a8168cebSNicolas Boichat <GIC_SPI 280 IRQ_TYPE_LEVEL_LOW>, 1646a8168cebSNicolas Boichat <GIC_SPI 279 IRQ_TYPE_LEVEL_LOW>, 1647a8168cebSNicolas Boichat <GIC_SPI 278 IRQ_TYPE_LEVEL_LOW>; 1648a8168cebSNicolas Boichat interrupt-names = "job", "mmu", "gpu"; 1649a8168cebSNicolas Boichat 1650ad2631b5SChen-Yu Tsai clocks = <&mfgcfg CLK_MFG_BG3D>; 1651a8168cebSNicolas Boichat 1652a8168cebSNicolas Boichat power-domains = 1653a8168cebSNicolas Boichat <&spm MT8183_POWER_DOMAIN_MFG_CORE0>, 1654a8168cebSNicolas Boichat <&spm MT8183_POWER_DOMAIN_MFG_CORE1>, 1655a8168cebSNicolas Boichat <&spm MT8183_POWER_DOMAIN_MFG_2D>; 1656a8168cebSNicolas Boichat power-domain-names = "core0", "core1", "core2"; 1657a8168cebSNicolas Boichat 1658a8168cebSNicolas Boichat operating-points-v2 = <&gpu_opp_table>; 1659a8168cebSNicolas Boichat }; 1660a8168cebSNicolas Boichat 1661e526c9bcSBen Ho mmsys: syscon@14000000 { 1662e526c9bcSBen Ho compatible = "mediatek,mt8183-mmsys", "syscon"; 1663e526c9bcSBen Ho reg = <0 0x14000000 0 0x1000>; 1664e526c9bcSBen Ho #clock-cells = <1>; 16654bdb00edSEnric Balletbo i Serra #reset-cells = <1>; 1666b7a8f50aSHsin-Yi Wang mboxes = <&gce 0 CMDQ_THR_PRIO_HIGHEST>, 1667b7a8f50aSHsin-Yi Wang <&gce 1 CMDQ_THR_PRIO_HIGHEST>; 1668b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>; 1669e526c9bcSBen Ho }; 1670e526c9bcSBen Ho 1671188ffcd7SMoudy Ho dma-controller0@14001000 { 167260a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-rdma"; 167360a2fb8dSMoudy Ho reg = <0 0x14001000 0 0x1000>; 167460a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x1000 0x1000>; 167560a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_RDMA0_SOF>, 167660a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_RDMA0_EOF>; 167760a2fb8dSMoudy Ho power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 167860a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_RDMA0>, 167960a2fb8dSMoudy Ho <&mmsys CLK_MM_MDP_RSZ1>; 168060a2fb8dSMoudy Ho iommus = <&iommu M4U_PORT_MDP_RDMA0>; 168160a2fb8dSMoudy Ho mboxes = <&gce 20 CMDQ_THR_PRIO_LOWEST 0>, 168260a2fb8dSMoudy Ho <&gce 21 CMDQ_THR_PRIO_LOWEST 0>; 1683188ffcd7SMoudy Ho #dma-cells = <1>; 168460a2fb8dSMoudy Ho }; 168560a2fb8dSMoudy Ho 168660a2fb8dSMoudy Ho mdp3-rsz0@14003000 { 168760a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-rsz"; 168860a2fb8dSMoudy Ho reg = <0 0x14003000 0 0x1000>; 168960a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x3000 0x1000>; 169060a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_RSZ0_SOF>, 169160a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_RSZ0_EOF>; 169260a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_RSZ0>; 169360a2fb8dSMoudy Ho }; 169460a2fb8dSMoudy Ho 169560a2fb8dSMoudy Ho mdp3-rsz1@14004000 { 169660a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-rsz"; 169760a2fb8dSMoudy Ho reg = <0 0x14004000 0 0x1000>; 169860a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x4000 0x1000>; 169960a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_RSZ1_SOF>, 170060a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_RSZ1_EOF>; 170160a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_RSZ1>; 170260a2fb8dSMoudy Ho }; 170360a2fb8dSMoudy Ho 1704188ffcd7SMoudy Ho dma-controller@14005000 { 170560a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-wrot"; 170660a2fb8dSMoudy Ho reg = <0 0x14005000 0 0x1000>; 170760a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x5000 0x1000>; 170860a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_WROT0_SOF>, 170960a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_WROT0_EOF>; 171060a2fb8dSMoudy Ho power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 171160a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_WROT0>; 171260a2fb8dSMoudy Ho iommus = <&iommu M4U_PORT_MDP_WROT0>; 1713188ffcd7SMoudy Ho #dma-cells = <1>; 171460a2fb8dSMoudy Ho }; 171560a2fb8dSMoudy Ho 171660a2fb8dSMoudy Ho mdp3-wdma@14006000 { 171760a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-wdma"; 171860a2fb8dSMoudy Ho reg = <0 0x14006000 0 0x1000>; 171960a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x6000 0x1000>; 172060a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_WDMA0_SOF>, 172160a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_WDMA0_EOF>; 172260a2fb8dSMoudy Ho power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 172360a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_WDMA0>; 172460a2fb8dSMoudy Ho iommus = <&iommu M4U_PORT_MDP_WDMA0>; 172560a2fb8dSMoudy Ho }; 172660a2fb8dSMoudy Ho 172791f9c963SEnric Balletbo i Serra ovl0: ovl@14008000 { 172891f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-ovl"; 172991f9c963SEnric Balletbo i Serra reg = <0 0x14008000 0 0x1000>; 173091f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_LOW>; 173191f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 173291f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_OVL0>; 173391f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_OVL0>; 173491f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x8000 0x1000>; 173591f9c963SEnric Balletbo i Serra }; 173691f9c963SEnric Balletbo i Serra 173791f9c963SEnric Balletbo i Serra ovl_2l0: ovl@14009000 { 173891f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-ovl-2l"; 173991f9c963SEnric Balletbo i Serra reg = <0 0x14009000 0 0x1000>; 174091f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_LOW>; 174191f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 174291f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_OVL0_2L>; 174391f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_2L_OVL0_LARB0>; 174491f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x9000 0x1000>; 174591f9c963SEnric Balletbo i Serra }; 174691f9c963SEnric Balletbo i Serra 174791f9c963SEnric Balletbo i Serra ovl_2l1: ovl@1400a000 { 174891f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-ovl-2l"; 174991f9c963SEnric Balletbo i Serra reg = <0 0x1400a000 0 0x1000>; 175091f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_LOW>; 175191f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 175291f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_OVL1_2L>; 175391f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_2L_OVL1_LARB0>; 175491f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xa000 0x1000>; 175591f9c963SEnric Balletbo i Serra }; 175691f9c963SEnric Balletbo i Serra 175791f9c963SEnric Balletbo i Serra rdma0: rdma@1400b000 { 175891f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-rdma"; 175991f9c963SEnric Balletbo i Serra reg = <0 0x1400b000 0 0x1000>; 176091f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_LOW>; 176191f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 176291f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_RDMA0>; 176391f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_RDMA0>; 1764431368c2SYongqiang Niu mediatek,rdma-fifo-size = <5120>; 176591f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xb000 0x1000>; 176691f9c963SEnric Balletbo i Serra }; 176791f9c963SEnric Balletbo i Serra 176891f9c963SEnric Balletbo i Serra rdma1: rdma@1400c000 { 176991f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-rdma"; 177091f9c963SEnric Balletbo i Serra reg = <0 0x1400c000 0 0x1000>; 177191f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>; 177291f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 177391f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_RDMA1>; 177491f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_RDMA1>; 1775431368c2SYongqiang Niu mediatek,rdma-fifo-size = <2048>; 177691f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xc000 0x1000>; 177791f9c963SEnric Balletbo i Serra }; 177891f9c963SEnric Balletbo i Serra 177991f9c963SEnric Balletbo i Serra color0: color@1400e000 { 178091f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-color", 178191f9c963SEnric Balletbo i Serra "mediatek,mt8173-disp-color"; 178291f9c963SEnric Balletbo i Serra reg = <0 0x1400e000 0 0x1000>; 178391f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_LOW>; 178491f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 178591f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_COLOR0>; 178691f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xe000 0x1000>; 178791f9c963SEnric Balletbo i Serra }; 178891f9c963SEnric Balletbo i Serra 178991f9c963SEnric Balletbo i Serra ccorr0: ccorr@1400f000 { 179091f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-ccorr"; 179191f9c963SEnric Balletbo i Serra reg = <0 0x1400f000 0 0x1000>; 179291f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_LOW>; 179391f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 179491f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_CCORR0>; 1795b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xf000 0x1000>; 179691f9c963SEnric Balletbo i Serra }; 179791f9c963SEnric Balletbo i Serra 179891f9c963SEnric Balletbo i Serra aal0: aal@14010000 { 179971b946e9SRex-BC Chen compatible = "mediatek,mt8183-disp-aal"; 180091f9c963SEnric Balletbo i Serra reg = <0 0x14010000 0 0x1000>; 180191f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_LOW>; 180291f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 180391f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_AAL0>; 1804b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0 0x1000>; 180591f9c963SEnric Balletbo i Serra }; 180691f9c963SEnric Balletbo i Serra 180791f9c963SEnric Balletbo i Serra gamma0: gamma@14011000 { 18089a2cb5ebSYongqiang Niu compatible = "mediatek,mt8183-disp-gamma"; 180991f9c963SEnric Balletbo i Serra reg = <0 0x14011000 0 0x1000>; 181091f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_LOW>; 181191f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 181291f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_GAMMA0>; 1813b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x1000 0x1000>; 181491f9c963SEnric Balletbo i Serra }; 181591f9c963SEnric Balletbo i Serra 181691f9c963SEnric Balletbo i Serra dither0: dither@14012000 { 181791f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-dither"; 181891f9c963SEnric Balletbo i Serra reg = <0 0x14012000 0 0x1000>; 181991f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_LOW>; 182091f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 182191f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_DITHER0>; 1822b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x2000 0x1000>; 182391f9c963SEnric Balletbo i Serra }; 182491f9c963SEnric Balletbo i Serra 182588ec8402SJitao Shi dsi0: dsi@14014000 { 182688ec8402SJitao Shi compatible = "mediatek,mt8183-dsi"; 182788ec8402SJitao Shi reg = <0 0x14014000 0 0x1000>; 182888ec8402SJitao Shi interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_LOW>; 182988ec8402SJitao Shi power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 183088ec8402SJitao Shi clocks = <&mmsys CLK_MM_DSI0_MM>, 183188ec8402SJitao Shi <&mmsys CLK_MM_DSI0_IF>, 183288ec8402SJitao Shi <&mipi_tx0>; 183388ec8402SJitao Shi clock-names = "engine", "digital", "hs"; 18344bdb00edSEnric Balletbo i Serra resets = <&mmsys MT8183_MMSYS_SW0_RST_B_DISP_DSI0>; 183588ec8402SJitao Shi phys = <&mipi_tx0>; 183688ec8402SJitao Shi phy-names = "dphy"; 183788ec8402SJitao Shi }; 183888ec8402SJitao Shi 1839*009d855aSPi-Hsun Shih dpi0: dpi@14015000 { 1840*009d855aSPi-Hsun Shih compatible = "mediatek,mt8183-dpi"; 1841*009d855aSPi-Hsun Shih reg = <0 0x14015000 0 0x1000>; 1842*009d855aSPi-Hsun Shih interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_LOW>; 1843*009d855aSPi-Hsun Shih power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 1844*009d855aSPi-Hsun Shih clocks = <&mmsys CLK_MM_DPI_IF>, 1845*009d855aSPi-Hsun Shih <&mmsys CLK_MM_DPI_MM>, 1846*009d855aSPi-Hsun Shih <&apmixedsys CLK_APMIXED_TVDPLL>; 1847*009d855aSPi-Hsun Shih clock-names = "pixel", "engine", "pll"; 1848*009d855aSPi-Hsun Shih }; 1849*009d855aSPi-Hsun Shih 185091f9c963SEnric Balletbo i Serra mutex: mutex@14016000 { 185191f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-mutex"; 185291f9c963SEnric Balletbo i Serra reg = <0 0x14016000 0 0x1000>; 185391f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_LOW>; 185491f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 185502912fb7SHsin-Yi Wang mediatek,gce-events = <CMDQ_EVENT_MUTEX_STREAM_DONE0>, 185602912fb7SHsin-Yi Wang <CMDQ_EVENT_MUTEX_STREAM_DONE1>; 18570be021f9SMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x6000 0x1000>; 185891f9c963SEnric Balletbo i Serra }; 185991f9c963SEnric Balletbo i Serra 1860c6080916SEnric Balletbo i Serra larb0: larb@14017000 { 1861c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1862c6080916SEnric Balletbo i Serra reg = <0 0x14017000 0 0x1000>; 1863c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1864c6080916SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_SMI_LARB0>, 1865c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_SMI_LARB0>; 1866c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 1867c6080916SEnric Balletbo i Serra clock-names = "apb", "smi"; 1868c6080916SEnric Balletbo i Serra }; 1869c6080916SEnric Balletbo i Serra 1870ddebdbadSEnric Balletbo i Serra smi_common: smi@14019000 { 1871946437cfSHsin-Yi Wang compatible = "mediatek,mt8183-smi-common"; 1872ddebdbadSEnric Balletbo i Serra reg = <0 0x14019000 0 0x1000>; 1873ddebdbadSEnric Balletbo i Serra clocks = <&mmsys CLK_MM_SMI_COMMON>, 1874ddebdbadSEnric Balletbo i Serra <&mmsys CLK_MM_SMI_COMMON>, 1875ddebdbadSEnric Balletbo i Serra <&mmsys CLK_MM_GALS_COMM0>, 1876ddebdbadSEnric Balletbo i Serra <&mmsys CLK_MM_GALS_COMM1>; 1877ddebdbadSEnric Balletbo i Serra clock-names = "apb", "smi", "gals0", "gals1"; 1878946437cfSHsin-Yi Wang power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 1879ddebdbadSEnric Balletbo i Serra }; 1880ddebdbadSEnric Balletbo i Serra 188160a2fb8dSMoudy Ho mdp3-ccorr@1401c000 { 188260a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-ccorr"; 188360a2fb8dSMoudy Ho reg = <0 0x1401c000 0 0x1000>; 188460a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0xc000 0x1000>; 188560a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_CCORR_SOF>, 188660a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_CCORR_EOF>; 188760a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_CCORR>; 188860a2fb8dSMoudy Ho }; 188960a2fb8dSMoudy Ho 1890e526c9bcSBen Ho imgsys: syscon@15020000 { 1891e526c9bcSBen Ho compatible = "mediatek,mt8183-imgsys", "syscon"; 1892e526c9bcSBen Ho reg = <0 0x15020000 0 0x1000>; 1893e526c9bcSBen Ho #clock-cells = <1>; 1894e526c9bcSBen Ho }; 1895e526c9bcSBen Ho 1896c6080916SEnric Balletbo i Serra larb5: larb@15021000 { 1897c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1898c6080916SEnric Balletbo i Serra reg = <0 0x15021000 0 0x1000>; 1899c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1900c6080916SEnric Balletbo i Serra clocks = <&imgsys CLK_IMG_LARB5>, <&imgsys CLK_IMG_LARB5>, 1901c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_GALS_IMG2MM>; 1902c6080916SEnric Balletbo i Serra clock-names = "apb", "smi", "gals"; 1903c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_ISP>; 1904c6080916SEnric Balletbo i Serra }; 1905c6080916SEnric Balletbo i Serra 1906c6080916SEnric Balletbo i Serra larb2: larb@1502f000 { 1907c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1908c6080916SEnric Balletbo i Serra reg = <0 0x1502f000 0 0x1000>; 1909c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1910c6080916SEnric Balletbo i Serra clocks = <&imgsys CLK_IMG_LARB2>, <&imgsys CLK_IMG_LARB2>, 1911c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_GALS_IPU2MM>; 1912c6080916SEnric Balletbo i Serra clock-names = "apb", "smi", "gals"; 1913c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_ISP>; 1914c6080916SEnric Balletbo i Serra }; 1915c6080916SEnric Balletbo i Serra 1916e526c9bcSBen Ho vdecsys: syscon@16000000 { 1917e526c9bcSBen Ho compatible = "mediatek,mt8183-vdecsys", "syscon"; 1918e526c9bcSBen Ho reg = <0 0x16000000 0 0x1000>; 1919e526c9bcSBen Ho #clock-cells = <1>; 1920e526c9bcSBen Ho }; 1921e526c9bcSBen Ho 192289ce5a09SYunfei Dong vcodec_dec: video-codec@16020000 { 192389ce5a09SYunfei Dong compatible = "mediatek,mt8183-vcodec-dec"; 192489ce5a09SYunfei Dong reg = <0 0x16020000 0 0x1000>, /* VDEC_MISC */ 192589ce5a09SYunfei Dong <0 0x16021000 0 0x800>, /* VDEC_VLD */ 192689ce5a09SYunfei Dong <0 0x16021800 0 0x800>, /* VDEC_TOP */ 192789ce5a09SYunfei Dong <0 0x16022000 0 0x1000>, /* VDEC_MC */ 192889ce5a09SYunfei Dong <0 0x16023000 0 0x1000>, /* VDEC_AVCVLD */ 192989ce5a09SYunfei Dong <0 0x16024000 0 0x1000>, /* VDEC_AVCMV */ 193089ce5a09SYunfei Dong <0 0x16025000 0 0x1000>, /* VDEC_PP */ 193189ce5a09SYunfei Dong <0 0x16026800 0 0x800>, /* VP8_VD */ 193289ce5a09SYunfei Dong <0 0x16027000 0 0x800>, /* VP6_VD */ 193389ce5a09SYunfei Dong <0 0x16027800 0 0x800>, /* VP8_VL */ 193489ce5a09SYunfei Dong <0 0x16028400 0 0x400>; /* VP9_VD */ 193589ce5a09SYunfei Dong reg-names = "misc", "ld", "top", "cm", "ad", "av", "pp", 193689ce5a09SYunfei Dong "hwd", "hwq", "hwb", "hwg"; 193789ce5a09SYunfei Dong interrupts = <GIC_SPI 250 IRQ_TYPE_LEVEL_LOW>; 193889ce5a09SYunfei Dong iommus = <&iommu M4U_PORT_HW_VDEC_MC_EXT>, 193989ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_PP_EXT>, 194089ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_VLD_EXT>, 194189ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_AVC_MV_EXT>, 194289ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_PRED_RD_EXT>, 194389ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_PRED_WR_EXT>, 194489ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_PPWRAP_EXT>; 194589ce5a09SYunfei Dong mediatek,scp = <&scp>; 194689ce5a09SYunfei Dong mediatek,vdecsys = <&vdecsys>; 194789ce5a09SYunfei Dong power-domains = <&spm MT8183_POWER_DOMAIN_VDEC>; 194889ce5a09SYunfei Dong clocks = <&vdecsys CLK_VDEC_VDEC>; 194989ce5a09SYunfei Dong clock-names = "vdec"; 195089ce5a09SYunfei Dong }; 195189ce5a09SYunfei Dong 1952c6080916SEnric Balletbo i Serra larb1: larb@16010000 { 1953c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1954c6080916SEnric Balletbo i Serra reg = <0 0x16010000 0 0x1000>; 1955c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1956c6080916SEnric Balletbo i Serra clocks = <&vdecsys CLK_VDEC_VDEC>, <&vdecsys CLK_VDEC_LARB1>; 1957c6080916SEnric Balletbo i Serra clock-names = "apb", "smi"; 1958c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_VDEC>; 1959c6080916SEnric Balletbo i Serra }; 1960c6080916SEnric Balletbo i Serra 1961e526c9bcSBen Ho vencsys: syscon@17000000 { 1962e526c9bcSBen Ho compatible = "mediatek,mt8183-vencsys", "syscon"; 1963e526c9bcSBen Ho reg = <0 0x17000000 0 0x1000>; 1964e526c9bcSBen Ho #clock-cells = <1>; 1965e526c9bcSBen Ho }; 1966e526c9bcSBen Ho 1967c6080916SEnric Balletbo i Serra larb4: larb@17010000 { 1968c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1969c6080916SEnric Balletbo i Serra reg = <0 0x17010000 0 0x1000>; 1970c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1971c6080916SEnric Balletbo i Serra clocks = <&vencsys CLK_VENC_LARB>, 1972c6080916SEnric Balletbo i Serra <&vencsys CLK_VENC_LARB>; 1973c6080916SEnric Balletbo i Serra clock-names = "apb", "smi"; 1974c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_VENC>; 1975c6080916SEnric Balletbo i Serra }; 1976c6080916SEnric Balletbo i Serra 1977e630c7b0SKrzysztof Kozlowski venc_jpg: jpeg-encoder@17030000 { 1978462f6c4aSMaoguang Meng compatible = "mediatek,mt8183-jpgenc", "mediatek,mtk-jpgenc"; 1979462f6c4aSMaoguang Meng reg = <0 0x17030000 0 0x1000>; 1980462f6c4aSMaoguang Meng interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_LOW>; 1981462f6c4aSMaoguang Meng iommus = <&iommu M4U_PORT_JPGENC_RDMA>, 1982462f6c4aSMaoguang Meng <&iommu M4U_PORT_JPGENC_BSDMA>; 1983462f6c4aSMaoguang Meng power-domains = <&spm MT8183_POWER_DOMAIN_VENC>; 1984462f6c4aSMaoguang Meng clocks = <&vencsys CLK_VENC_JPGENC>; 1985462f6c4aSMaoguang Meng clock-names = "jpgenc"; 1986462f6c4aSMaoguang Meng }; 1987462f6c4aSMaoguang Meng 1988e526c9bcSBen Ho ipu_conn: syscon@19000000 { 1989e526c9bcSBen Ho compatible = "mediatek,mt8183-ipu_conn", "syscon"; 1990e526c9bcSBen Ho reg = <0 0x19000000 0 0x1000>; 1991e526c9bcSBen Ho #clock-cells = <1>; 1992e526c9bcSBen Ho }; 1993e526c9bcSBen Ho 1994e526c9bcSBen Ho ipu_adl: syscon@19010000 { 1995e526c9bcSBen Ho compatible = "mediatek,mt8183-ipu_adl", "syscon"; 1996e526c9bcSBen Ho reg = <0 0x19010000 0 0x1000>; 1997e526c9bcSBen Ho #clock-cells = <1>; 1998e526c9bcSBen Ho }; 1999e526c9bcSBen Ho 2000e526c9bcSBen Ho ipu_core0: syscon@19180000 { 2001e526c9bcSBen Ho compatible = "mediatek,mt8183-ipu_core0", "syscon"; 2002e526c9bcSBen Ho reg = <0 0x19180000 0 0x1000>; 2003e526c9bcSBen Ho #clock-cells = <1>; 2004e526c9bcSBen Ho }; 2005e526c9bcSBen Ho 2006e526c9bcSBen Ho ipu_core1: syscon@19280000 { 2007e526c9bcSBen Ho compatible = "mediatek,mt8183-ipu_core1", "syscon"; 2008e526c9bcSBen Ho reg = <0 0x19280000 0 0x1000>; 2009e526c9bcSBen Ho #clock-cells = <1>; 2010e526c9bcSBen Ho }; 2011e526c9bcSBen Ho 2012e526c9bcSBen Ho camsys: syscon@1a000000 { 2013e526c9bcSBen Ho compatible = "mediatek,mt8183-camsys", "syscon"; 2014e526c9bcSBen Ho reg = <0 0x1a000000 0 0x1000>; 2015e526c9bcSBen Ho #clock-cells = <1>; 2016e526c9bcSBen Ho }; 2017c6080916SEnric Balletbo i Serra 2018c6080916SEnric Balletbo i Serra larb6: larb@1a001000 { 2019c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 2020c6080916SEnric Balletbo i Serra reg = <0 0x1a001000 0 0x1000>; 2021c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 2022c6080916SEnric Balletbo i Serra clocks = <&camsys CLK_CAM_LARB6>, <&camsys CLK_CAM_LARB6>, 2023c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_GALS_CAM2MM>; 2024c6080916SEnric Balletbo i Serra clock-names = "apb", "smi", "gals"; 2025c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_CAM>; 2026c6080916SEnric Balletbo i Serra }; 2027c6080916SEnric Balletbo i Serra 2028c6080916SEnric Balletbo i Serra larb3: larb@1a002000 { 2029c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 2030c6080916SEnric Balletbo i Serra reg = <0 0x1a002000 0 0x1000>; 2031c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 2032c6080916SEnric Balletbo i Serra clocks = <&camsys CLK_CAM_LARB3>, <&camsys CLK_CAM_LARB3>, 2033c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_GALS_IPU12MM>; 2034c6080916SEnric Balletbo i Serra clock-names = "apb", "smi", "gals"; 2035c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_CAM>; 2036c6080916SEnric Balletbo i Serra }; 2037e526c9bcSBen Ho }; 20385a60d634SAngeloGioacchino Del Regno 20395a60d634SAngeloGioacchino Del Regno thermal_zones: thermal-zones { 20405a60d634SAngeloGioacchino Del Regno cpu_thermal: cpu-thermal { 20415a60d634SAngeloGioacchino Del Regno polling-delay-passive = <100>; 20425a60d634SAngeloGioacchino Del Regno polling-delay = <500>; 20435a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 0>; 20445a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 20455a60d634SAngeloGioacchino Del Regno 20465a60d634SAngeloGioacchino Del Regno trips { 20475a60d634SAngeloGioacchino Del Regno threshold: trip-point0 { 20485a60d634SAngeloGioacchino Del Regno temperature = <68000>; 20495a60d634SAngeloGioacchino Del Regno hysteresis = <2000>; 20505a60d634SAngeloGioacchino Del Regno type = "passive"; 20515a60d634SAngeloGioacchino Del Regno }; 20525a60d634SAngeloGioacchino Del Regno 20535a60d634SAngeloGioacchino Del Regno target: trip-point1 { 20545a60d634SAngeloGioacchino Del Regno temperature = <80000>; 20555a60d634SAngeloGioacchino Del Regno hysteresis = <2000>; 20565a60d634SAngeloGioacchino Del Regno type = "passive"; 20575a60d634SAngeloGioacchino Del Regno }; 20585a60d634SAngeloGioacchino Del Regno 20595a60d634SAngeloGioacchino Del Regno cpu_crit: cpu-crit { 20605a60d634SAngeloGioacchino Del Regno temperature = <115000>; 20615a60d634SAngeloGioacchino Del Regno hysteresis = <2000>; 20625a60d634SAngeloGioacchino Del Regno type = "critical"; 20635a60d634SAngeloGioacchino Del Regno }; 20645a60d634SAngeloGioacchino Del Regno }; 20655a60d634SAngeloGioacchino Del Regno 20665a60d634SAngeloGioacchino Del Regno cooling-maps { 20675a60d634SAngeloGioacchino Del Regno map0 { 20685a60d634SAngeloGioacchino Del Regno trip = <&target>; 20695a60d634SAngeloGioacchino Del Regno cooling-device = <&cpu0 20705a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20715a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20725a60d634SAngeloGioacchino Del Regno <&cpu1 20735a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20745a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20755a60d634SAngeloGioacchino Del Regno <&cpu2 20765a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20775a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20785a60d634SAngeloGioacchino Del Regno <&cpu3 20795a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20805a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>; 20815a60d634SAngeloGioacchino Del Regno contribution = <3072>; 20825a60d634SAngeloGioacchino Del Regno }; 20835a60d634SAngeloGioacchino Del Regno map1 { 20845a60d634SAngeloGioacchino Del Regno trip = <&target>; 20855a60d634SAngeloGioacchino Del Regno cooling-device = <&cpu4 20865a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20875a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20885a60d634SAngeloGioacchino Del Regno <&cpu5 20895a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20905a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20915a60d634SAngeloGioacchino Del Regno <&cpu6 20925a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20935a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20945a60d634SAngeloGioacchino Del Regno <&cpu7 20955a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20965a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>; 20975a60d634SAngeloGioacchino Del Regno contribution = <1024>; 20985a60d634SAngeloGioacchino Del Regno }; 20995a60d634SAngeloGioacchino Del Regno }; 21005a60d634SAngeloGioacchino Del Regno }; 21015a60d634SAngeloGioacchino Del Regno 21024a5191c5SAngeloGioacchino Del Regno tzts1: soc-thermal { 21034a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 21044a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21055a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 1>; 21065a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 21074a5191c5SAngeloGioacchino Del Regno trips { 21084a5191c5SAngeloGioacchino Del Regno soc_alert: trip-alert { 21094a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 21104a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21114a5191c5SAngeloGioacchino Del Regno type = "passive"; 21125a60d634SAngeloGioacchino Del Regno }; 21135a60d634SAngeloGioacchino Del Regno 21144a5191c5SAngeloGioacchino Del Regno soc_crit: trip-crit { 21154a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 21164a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21174a5191c5SAngeloGioacchino Del Regno type = "critical"; 21184a5191c5SAngeloGioacchino Del Regno }; 21194a5191c5SAngeloGioacchino Del Regno }; 21204a5191c5SAngeloGioacchino Del Regno }; 21214a5191c5SAngeloGioacchino Del Regno 21224a5191c5SAngeloGioacchino Del Regno tzts2: gpu-thermal { 21234a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 21244a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21255a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 2>; 21265a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 21274a5191c5SAngeloGioacchino Del Regno 21284a5191c5SAngeloGioacchino Del Regno trips { 21294a5191c5SAngeloGioacchino Del Regno gpu_alert: trip-alert { 21304a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 21314a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21324a5191c5SAngeloGioacchino Del Regno type = "passive"; 21335a60d634SAngeloGioacchino Del Regno }; 21345a60d634SAngeloGioacchino Del Regno 21354a5191c5SAngeloGioacchino Del Regno gpu_crit: trip-crit { 21364a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 21374a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21384a5191c5SAngeloGioacchino Del Regno type = "critical"; 21394a5191c5SAngeloGioacchino Del Regno }; 21404a5191c5SAngeloGioacchino Del Regno }; 21414a5191c5SAngeloGioacchino Del Regno }; 21424a5191c5SAngeloGioacchino Del Regno 21434a5191c5SAngeloGioacchino Del Regno tzts3: md1-thermal { 21444a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 21454a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21465a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 3>; 21475a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 21484a5191c5SAngeloGioacchino Del Regno 21494a5191c5SAngeloGioacchino Del Regno trips { 21504a5191c5SAngeloGioacchino Del Regno md1_alert: trip-alert { 21514a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 21524a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21534a5191c5SAngeloGioacchino Del Regno type = "passive"; 21545a60d634SAngeloGioacchino Del Regno }; 21555a60d634SAngeloGioacchino Del Regno 21564a5191c5SAngeloGioacchino Del Regno md1_crit: trip-crit { 21574a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 21584a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21594a5191c5SAngeloGioacchino Del Regno type = "critical"; 21604a5191c5SAngeloGioacchino Del Regno }; 21614a5191c5SAngeloGioacchino Del Regno }; 21624a5191c5SAngeloGioacchino Del Regno }; 21634a5191c5SAngeloGioacchino Del Regno 21644a5191c5SAngeloGioacchino Del Regno tzts4: cpu-little-thermal { 21654a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 21664a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21675a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 4>; 21685a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 21694a5191c5SAngeloGioacchino Del Regno 21704a5191c5SAngeloGioacchino Del Regno trips { 21714a5191c5SAngeloGioacchino Del Regno cpul_alert: trip-alert { 21724a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 21734a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21744a5191c5SAngeloGioacchino Del Regno type = "passive"; 21755a60d634SAngeloGioacchino Del Regno }; 21765a60d634SAngeloGioacchino Del Regno 21774a5191c5SAngeloGioacchino Del Regno cpul_crit: trip-crit { 21784a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 21794a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21804a5191c5SAngeloGioacchino Del Regno type = "critical"; 21814a5191c5SAngeloGioacchino Del Regno }; 21824a5191c5SAngeloGioacchino Del Regno }; 21834a5191c5SAngeloGioacchino Del Regno }; 21844a5191c5SAngeloGioacchino Del Regno 21854a5191c5SAngeloGioacchino Del Regno tzts5: cpu-big-thermal { 21864a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 21874a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21885a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 5>; 21895a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 21904a5191c5SAngeloGioacchino Del Regno 21914a5191c5SAngeloGioacchino Del Regno trips { 21924a5191c5SAngeloGioacchino Del Regno cpub_alert: trip-alert { 21934a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 21944a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 21954a5191c5SAngeloGioacchino Del Regno type = "passive"; 21965a60d634SAngeloGioacchino Del Regno }; 21975a60d634SAngeloGioacchino Del Regno 21984a5191c5SAngeloGioacchino Del Regno cpub_crit: trip-crit { 21994a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 22004a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 22014a5191c5SAngeloGioacchino Del Regno type = "critical"; 22024a5191c5SAngeloGioacchino Del Regno }; 22034a5191c5SAngeloGioacchino Del Regno }; 22044a5191c5SAngeloGioacchino Del Regno }; 22054a5191c5SAngeloGioacchino Del Regno 22064a5191c5SAngeloGioacchino Del Regno tztsABB: tsabb-thermal { 22074a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 22084a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 22095a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 6>; 22105a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 22114a5191c5SAngeloGioacchino Del Regno 22124a5191c5SAngeloGioacchino Del Regno trips { 22134a5191c5SAngeloGioacchino Del Regno tsabb_alert: trip-alert { 22144a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 22154a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 22164a5191c5SAngeloGioacchino Del Regno type = "passive"; 22174a5191c5SAngeloGioacchino Del Regno }; 22184a5191c5SAngeloGioacchino Del Regno 22194a5191c5SAngeloGioacchino Del Regno tsabb_crit: trip-crit { 22204a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 22214a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 22224a5191c5SAngeloGioacchino Del Regno type = "critical"; 22234a5191c5SAngeloGioacchino Del Regno }; 22244a5191c5SAngeloGioacchino Del Regno }; 22255a60d634SAngeloGioacchino Del Regno }; 22265a60d634SAngeloGioacchino Del Regno }; 2227e526c9bcSBen Ho}; 2228