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 clocks = <&topckgen CLK_TOP_MUX_MFG>; 87637fb78b9SMatthias Brugger clock-names = "mfg"; 87737fb78b9SMatthias Brugger #address-cells = <1>; 87837fb78b9SMatthias Brugger #size-cells = <0>; 87937fb78b9SMatthias Brugger #power-domain-cells = <1>; 88037fb78b9SMatthias Brugger 8819e1b7d00SHsin-Yi Wang mfg: power-domain@MT8183_POWER_DOMAIN_MFG { 88237fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG>; 88337fb78b9SMatthias Brugger #address-cells = <1>; 88437fb78b9SMatthias Brugger #size-cells = <0>; 88537fb78b9SMatthias Brugger #power-domain-cells = <1>; 88637fb78b9SMatthias Brugger 88737fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_MFG_CORE0 { 88837fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG_CORE0>; 88937fb78b9SMatthias Brugger #power-domain-cells = <0>; 89037fb78b9SMatthias Brugger }; 89137fb78b9SMatthias Brugger 89237fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_MFG_CORE1 { 89337fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG_CORE1>; 89437fb78b9SMatthias Brugger #power-domain-cells = <0>; 89537fb78b9SMatthias Brugger }; 89637fb78b9SMatthias Brugger 89737fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_MFG_2D { 89837fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_MFG_2D>; 89937fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 90037fb78b9SMatthias Brugger #power-domain-cells = <0>; 90137fb78b9SMatthias Brugger }; 90237fb78b9SMatthias Brugger }; 90337fb78b9SMatthias Brugger }; 90437fb78b9SMatthias Brugger 90537fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_DISP { 90637fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_DISP>; 90737fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_MM>, 90837fb78b9SMatthias Brugger <&mmsys CLK_MM_SMI_COMMON>, 90937fb78b9SMatthias Brugger <&mmsys CLK_MM_SMI_LARB0>, 91037fb78b9SMatthias Brugger <&mmsys CLK_MM_SMI_LARB1>, 91137fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_COMM0>, 91237fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_COMM1>, 91337fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_CCU2MM>, 91437fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_IPU12MM>, 91537fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_IMG2MM>, 91637fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_CAM2MM>, 91737fb78b9SMatthias Brugger <&mmsys CLK_MM_GALS_IPU2MM>; 91837fb78b9SMatthias Brugger clock-names = "mm", "mm-0", "mm-1", "mm-2", "mm-3", 91937fb78b9SMatthias Brugger "mm-4", "mm-5", "mm-6", "mm-7", 92037fb78b9SMatthias Brugger "mm-8", "mm-9"; 92137fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 92237fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 92337fb78b9SMatthias Brugger #address-cells = <1>; 92437fb78b9SMatthias Brugger #size-cells = <0>; 92537fb78b9SMatthias Brugger #power-domain-cells = <1>; 92637fb78b9SMatthias Brugger 92737fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_CAM { 92837fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_CAM>; 92937fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_CAM>, 93037fb78b9SMatthias Brugger <&camsys CLK_CAM_LARB6>, 93137fb78b9SMatthias Brugger <&camsys CLK_CAM_LARB3>, 93237fb78b9SMatthias Brugger <&camsys CLK_CAM_SENINF>, 93337fb78b9SMatthias Brugger <&camsys CLK_CAM_CAMSV0>, 93437fb78b9SMatthias Brugger <&camsys CLK_CAM_CAMSV1>, 93537fb78b9SMatthias Brugger <&camsys CLK_CAM_CAMSV2>, 93637fb78b9SMatthias Brugger <&camsys CLK_CAM_CCU>; 93737fb78b9SMatthias Brugger clock-names = "cam", "cam-0", "cam-1", 93837fb78b9SMatthias Brugger "cam-2", "cam-3", "cam-4", 93937fb78b9SMatthias Brugger "cam-5", "cam-6"; 94037fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 94137fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 94237fb78b9SMatthias Brugger #power-domain-cells = <0>; 94337fb78b9SMatthias Brugger }; 94437fb78b9SMatthias Brugger 94537fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_ISP { 94637fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_ISP>; 94737fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_IMG>, 94837fb78b9SMatthias Brugger <&imgsys CLK_IMG_LARB5>, 94937fb78b9SMatthias Brugger <&imgsys CLK_IMG_LARB2>; 95037fb78b9SMatthias Brugger clock-names = "isp", "isp-0", "isp-1"; 95137fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 95237fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 95337fb78b9SMatthias Brugger #power-domain-cells = <0>; 95437fb78b9SMatthias Brugger }; 95537fb78b9SMatthias Brugger 95637fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VDEC { 95737fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VDEC>; 95837fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 95937fb78b9SMatthias Brugger #power-domain-cells = <0>; 96037fb78b9SMatthias Brugger }; 96137fb78b9SMatthias Brugger 96237fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VENC { 96337fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VENC>; 96437fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 96537fb78b9SMatthias Brugger #power-domain-cells = <0>; 96637fb78b9SMatthias Brugger }; 96737fb78b9SMatthias Brugger 96837fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VPU_TOP { 96937fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VPU_TOP>; 97037fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_IPU_IF>, 97137fb78b9SMatthias Brugger <&topckgen CLK_TOP_MUX_DSP>, 97237fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_IPU>, 97337fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_AHB>, 97437fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_AXI>, 97537fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_ISP>, 97637fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_CAM_ADL>, 97737fb78b9SMatthias Brugger <&ipu_conn CLK_IPU_CONN_IMG_ADL>; 97837fb78b9SMatthias Brugger clock-names = "vpu", "vpu1", "vpu-0", "vpu-1", 97937fb78b9SMatthias Brugger "vpu-2", "vpu-3", "vpu-4", "vpu-5"; 98037fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 98137fb78b9SMatthias Brugger mediatek,smi = <&smi_common>; 98237fb78b9SMatthias Brugger #address-cells = <1>; 98337fb78b9SMatthias Brugger #size-cells = <0>; 98437fb78b9SMatthias Brugger #power-domain-cells = <1>; 98537fb78b9SMatthias Brugger 98637fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VPU_CORE0 { 98737fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VPU_CORE0>; 98837fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_DSP1>; 98937fb78b9SMatthias Brugger clock-names = "vpu2"; 99037fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 99137fb78b9SMatthias Brugger #power-domain-cells = <0>; 99237fb78b9SMatthias Brugger }; 99337fb78b9SMatthias Brugger 99437fb78b9SMatthias Brugger power-domain@MT8183_POWER_DOMAIN_VPU_CORE1 { 99537fb78b9SMatthias Brugger reg = <MT8183_POWER_DOMAIN_VPU_CORE1>; 99637fb78b9SMatthias Brugger clocks = <&topckgen CLK_TOP_MUX_DSP2>; 99737fb78b9SMatthias Brugger clock-names = "vpu3"; 99837fb78b9SMatthias Brugger mediatek,infracfg = <&infracfg>; 99937fb78b9SMatthias Brugger #power-domain-cells = <0>; 100037fb78b9SMatthias Brugger }; 100137fb78b9SMatthias Brugger }; 100237fb78b9SMatthias Brugger }; 100337fb78b9SMatthias Brugger }; 100437fb78b9SMatthias Brugger }; 100537fb78b9SMatthias Brugger 1006a39f8425Syong.liang watchdog: watchdog@10007000 { 1007f866c471SCrystal Guo compatible = "mediatek,mt8183-wdt"; 1008a39f8425Syong.liang reg = <0 0x10007000 0 0x100>; 1009a39f8425Syong.liang #reset-cells = <1>; 1010a39f8425Syong.liang }; 1011a39f8425Syong.liang 1012e526c9bcSBen Ho apmixedsys: syscon@1000c000 { 1013e526c9bcSBen Ho compatible = "mediatek,mt8183-apmixedsys", "syscon"; 1014e526c9bcSBen Ho reg = <0 0x1000c000 0 0x1000>; 1015e526c9bcSBen Ho #clock-cells = <1>; 1016e526c9bcSBen Ho }; 1017e526c9bcSBen Ho 1018e526c9bcSBen Ho pwrap: pwrap@1000d000 { 1019e526c9bcSBen Ho compatible = "mediatek,mt8183-pwrap"; 1020e526c9bcSBen Ho reg = <0 0x1000d000 0 0x1000>; 1021e526c9bcSBen Ho reg-names = "pwrap"; 1022cac33c10SHsin-Hsiung Wang interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>; 1023e526c9bcSBen Ho clocks = <&topckgen CLK_TOP_MUX_PMICSPI>, 1024e526c9bcSBen Ho <&infracfg CLK_INFRA_PMIC_AP>; 1025e526c9bcSBen Ho clock-names = "spi", "wrap"; 1026e526c9bcSBen Ho }; 1027e526c9bcSBen Ho 1028a8013418SFabien Parent keyboard: keyboard@10010000 { 1029a8013418SFabien Parent compatible = "mediatek,mt6779-keypad"; 1030a8013418SFabien Parent reg = <0 0x10010000 0 0x1000>; 1031a8013418SFabien Parent interrupts = <GIC_SPI 186 IRQ_TYPE_EDGE_FALLING>; 1032a8013418SFabien Parent clocks = <&clk26m>; 1033a8013418SFabien Parent clock-names = "kpd"; 1034a8013418SFabien Parent status = "disabled"; 1035a8013418SFabien Parent }; 1036a8013418SFabien Parent 10371652dbf7SEddie Huang scp: scp@10500000 { 10381652dbf7SEddie Huang compatible = "mediatek,mt8183-scp"; 10391652dbf7SEddie Huang reg = <0 0x10500000 0 0x80000>, 10401652dbf7SEddie Huang <0 0x105c0000 0 0x19080>; 10411652dbf7SEddie Huang reg-names = "sram", "cfg"; 10421652dbf7SEddie Huang interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; 10431652dbf7SEddie Huang clocks = <&infracfg CLK_INFRA_SCPSYS>; 10441652dbf7SEddie Huang clock-names = "main"; 10451652dbf7SEddie Huang memory-region = <&scp_mem_reserved>; 10461652dbf7SEddie Huang status = "disabled"; 10471652dbf7SEddie Huang }; 10481652dbf7SEddie Huang 10495bc8e287SDehui Sun systimer: timer@10017000 { 10505bc8e287SDehui Sun compatible = "mediatek,mt8183-timer", 10515bc8e287SDehui Sun "mediatek,mt6765-timer"; 10525bc8e287SDehui Sun reg = <0 0x10017000 0 0x1000>; 10535bc8e287SDehui Sun interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>; 1054ce8a06b5SChen-Yu Tsai clocks = <&clk13m>; 10555bc8e287SDehui Sun }; 10565bc8e287SDehui Sun 1057c6080916SEnric Balletbo i Serra iommu: iommu@10205000 { 1058c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-m4u"; 1059c6080916SEnric Balletbo i Serra reg = <0 0x10205000 0 0x1000>; 1060c6080916SEnric Balletbo i Serra interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_LOW>; 106133c7874bSNícolas F. R. A. Prado mediatek,larbs = <&larb0>, <&larb1>, <&larb2>, <&larb3>, 106233c7874bSNícolas F. R. A. Prado <&larb4>, <&larb5>, <&larb6>; 1063c6080916SEnric Balletbo i Serra #iommu-cells = <1>; 1064c6080916SEnric Balletbo i Serra }; 1065c6080916SEnric Balletbo i Serra 1066d3c306e3SBibby Hsieh gce: mailbox@10238000 { 1067d3c306e3SBibby Hsieh compatible = "mediatek,mt8183-gce"; 1068d3c306e3SBibby Hsieh reg = <0 0x10238000 0 0x4000>; 1069d3c306e3SBibby Hsieh interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_LOW>; 1070e55c56dfSFabien Parent #mbox-cells = <2>; 1071d3c306e3SBibby Hsieh clocks = <&infracfg CLK_INFRA_GCE>; 1072d3c306e3SBibby Hsieh clock-names = "gce"; 1073d3c306e3SBibby Hsieh }; 1074d3c306e3SBibby Hsieh 1075eb59b353SZhiyong Tao auxadc: auxadc@11001000 { 1076eb59b353SZhiyong Tao compatible = "mediatek,mt8183-auxadc", 1077eb59b353SZhiyong Tao "mediatek,mt8173-auxadc"; 1078eb59b353SZhiyong Tao reg = <0 0x11001000 0 0x1000>; 1079eb59b353SZhiyong Tao clocks = <&infracfg CLK_INFRA_AUXADC>; 1080eb59b353SZhiyong Tao clock-names = "main"; 1081eb59b353SZhiyong Tao #io-channel-cells = <1>; 1082eb59b353SZhiyong Tao status = "disabled"; 1083eb59b353SZhiyong Tao }; 1084eb59b353SZhiyong Tao 1085e526c9bcSBen Ho uart0: serial@11002000 { 1086e526c9bcSBen Ho compatible = "mediatek,mt8183-uart", 1087e526c9bcSBen Ho "mediatek,mt6577-uart"; 1088e526c9bcSBen Ho reg = <0 0x11002000 0 0x1000>; 1089e526c9bcSBen Ho interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>; 1090e526c9bcSBen Ho clocks = <&clk26m>, <&infracfg CLK_INFRA_UART0>; 1091e526c9bcSBen Ho clock-names = "baud", "bus"; 1092e526c9bcSBen Ho status = "disabled"; 1093e526c9bcSBen Ho }; 1094e526c9bcSBen Ho 1095e526c9bcSBen Ho uart1: serial@11003000 { 1096e526c9bcSBen Ho compatible = "mediatek,mt8183-uart", 1097e526c9bcSBen Ho "mediatek,mt6577-uart"; 1098e526c9bcSBen Ho reg = <0 0x11003000 0 0x1000>; 1099e526c9bcSBen Ho interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>; 1100e526c9bcSBen Ho clocks = <&clk26m>, <&infracfg CLK_INFRA_UART1>; 1101e526c9bcSBen Ho clock-names = "baud", "bus"; 1102e526c9bcSBen Ho status = "disabled"; 1103e526c9bcSBen Ho }; 1104e526c9bcSBen Ho 1105e526c9bcSBen Ho uart2: serial@11004000 { 1106e526c9bcSBen Ho compatible = "mediatek,mt8183-uart", 1107e526c9bcSBen Ho "mediatek,mt6577-uart"; 1108e526c9bcSBen Ho reg = <0 0x11004000 0 0x1000>; 1109e526c9bcSBen Ho interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>; 1110e526c9bcSBen Ho clocks = <&clk26m>, <&infracfg CLK_INFRA_UART2>; 1111e526c9bcSBen Ho clock-names = "baud", "bus"; 1112e526c9bcSBen Ho status = "disabled"; 1113e526c9bcSBen Ho }; 1114e526c9bcSBen Ho 1115251137b8SQii Wang i2c6: i2c@11005000 { 1116251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1117251137b8SQii Wang reg = <0 0x11005000 0 0x1000>, 1118251137b8SQii Wang <0 0x11000600 0 0x80>; 1119251137b8SQii Wang interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>; 1120251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C6>, 1121251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1122251137b8SQii Wang clock-names = "main", "dma"; 1123251137b8SQii Wang clock-div = <1>; 1124251137b8SQii Wang #address-cells = <1>; 1125251137b8SQii Wang #size-cells = <0>; 1126251137b8SQii Wang status = "disabled"; 1127251137b8SQii Wang }; 1128251137b8SQii Wang 1129251137b8SQii Wang i2c0: i2c@11007000 { 1130251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1131251137b8SQii Wang reg = <0 0x11007000 0 0x1000>, 1132251137b8SQii Wang <0 0x11000080 0 0x80>; 1133251137b8SQii Wang interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>; 1134251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C0>, 1135251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1136251137b8SQii Wang clock-names = "main", "dma"; 1137251137b8SQii Wang clock-div = <1>; 1138251137b8SQii Wang #address-cells = <1>; 1139251137b8SQii Wang #size-cells = <0>; 1140251137b8SQii Wang status = "disabled"; 1141251137b8SQii Wang }; 1142251137b8SQii Wang 1143251137b8SQii Wang i2c4: i2c@11008000 { 1144251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1145251137b8SQii Wang reg = <0 0x11008000 0 0x1000>, 1146251137b8SQii Wang <0 0x11000100 0 0x80>; 1147251137b8SQii Wang interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>; 1148251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C1>, 1149251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1150251137b8SQii Wang <&infracfg CLK_INFRA_I2C1_ARBITER>; 1151251137b8SQii Wang clock-names = "main", "dma","arb"; 1152251137b8SQii Wang clock-div = <1>; 1153251137b8SQii Wang #address-cells = <1>; 1154251137b8SQii Wang #size-cells = <0>; 1155251137b8SQii Wang status = "disabled"; 1156251137b8SQii Wang }; 1157251137b8SQii Wang 1158251137b8SQii Wang i2c2: i2c@11009000 { 1159251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1160251137b8SQii Wang reg = <0 0x11009000 0 0x1000>, 1161251137b8SQii Wang <0 0x11000280 0 0x80>; 1162251137b8SQii Wang interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>; 1163251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C2>, 1164251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1165251137b8SQii Wang <&infracfg CLK_INFRA_I2C2_ARBITER>; 1166251137b8SQii Wang clock-names = "main", "dma", "arb"; 1167251137b8SQii Wang clock-div = <1>; 1168251137b8SQii Wang #address-cells = <1>; 1169251137b8SQii Wang #size-cells = <0>; 1170251137b8SQii Wang status = "disabled"; 1171251137b8SQii Wang }; 1172251137b8SQii Wang 11738e2dd0f9SErin Lo spi0: spi@1100a000 { 11748e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 11758e2dd0f9SErin Lo #address-cells = <1>; 11768e2dd0f9SErin Lo #size-cells = <0>; 11778e2dd0f9SErin Lo reg = <0 0x1100a000 0 0x1000>; 11788e2dd0f9SErin Lo interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_LOW>; 11798e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 11808e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 11818e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI0>; 11828e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 11838e2dd0f9SErin Lo status = "disabled"; 11848e2dd0f9SErin Lo }; 11858e2dd0f9SErin Lo 1186*4a5191c5SAngeloGioacchino Del Regno thermal: thermal-sensor@1100b000 { 1187b325ce39Smichael.kao #thermal-sensor-cells = <1>; 1188b325ce39Smichael.kao compatible = "mediatek,mt8183-thermal"; 1189e9ff6cdaSAngeloGioacchino Del Regno reg = <0 0x1100b000 0 0xc00>; 1190b325ce39Smichael.kao clocks = <&infracfg CLK_INFRA_THERM>, 1191b325ce39Smichael.kao <&infracfg CLK_INFRA_AUXADC>; 1192b325ce39Smichael.kao clock-names = "therm", "auxadc"; 1193b325ce39Smichael.kao resets = <&infracfg MT8183_INFRACFG_AO_THERM_SW_RST>; 1194b325ce39Smichael.kao interrupts = <0 76 IRQ_TYPE_LEVEL_LOW>; 1195b325ce39Smichael.kao mediatek,auxadc = <&auxadc>; 1196b325ce39Smichael.kao mediatek,apmixedsys = <&apmixedsys>; 1197b325ce39Smichael.kao nvmem-cells = <&thermal_calibration>; 1198b325ce39Smichael.kao nvmem-cell-names = "calibration-data"; 1199b325ce39Smichael.kao }; 1200b325ce39Smichael.kao 1201e9ff6cdaSAngeloGioacchino Del Regno svs: svs@1100bc00 { 1202e9ff6cdaSAngeloGioacchino Del Regno compatible = "mediatek,mt8183-svs"; 1203e9ff6cdaSAngeloGioacchino Del Regno reg = <0 0x1100bc00 0 0x400>; 1204e9ff6cdaSAngeloGioacchino Del Regno interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>; 1205e9ff6cdaSAngeloGioacchino Del Regno clocks = <&infracfg CLK_INFRA_THERM>; 1206e9ff6cdaSAngeloGioacchino Del Regno clock-names = "main"; 1207e9ff6cdaSAngeloGioacchino Del Regno nvmem-cells = <&svs_calibration>, 1208e9ff6cdaSAngeloGioacchino Del Regno <&thermal_calibration>; 1209e9ff6cdaSAngeloGioacchino Del Regno nvmem-cell-names = "svs-calibration-data", 1210e9ff6cdaSAngeloGioacchino Del Regno "t-calibration-data"; 1211e9ff6cdaSAngeloGioacchino Del Regno }; 1212e9ff6cdaSAngeloGioacchino Del Regno 1213f15722c0SHsin-Yi Wang pwm0: pwm@1100e000 { 1214f15722c0SHsin-Yi Wang compatible = "mediatek,mt8183-disp-pwm"; 1215f15722c0SHsin-Yi Wang reg = <0 0x1100e000 0 0x1000>; 1216f15722c0SHsin-Yi Wang interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_LOW>; 12172f99fb6eSEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 1218f15722c0SHsin-Yi Wang #pwm-cells = <2>; 1219f15722c0SHsin-Yi Wang clocks = <&topckgen CLK_TOP_MUX_DISP_PWM>, 1220f15722c0SHsin-Yi Wang <&infracfg CLK_INFRA_DISP_PWM>; 1221f15722c0SHsin-Yi Wang clock-names = "main", "mm"; 1222f15722c0SHsin-Yi Wang }; 1223f15722c0SHsin-Yi Wang 1224afca1c66SFabien Parent pwm1: pwm@11006000 { 1225afca1c66SFabien Parent compatible = "mediatek,mt8183-pwm"; 1226afca1c66SFabien Parent reg = <0 0x11006000 0 0x1000>; 1227afca1c66SFabien Parent #pwm-cells = <2>; 1228afca1c66SFabien Parent clocks = <&infracfg CLK_INFRA_PWM>, 1229afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM_HCLK>, 1230afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM1>, 1231afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM2>, 1232afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM3>, 1233afca1c66SFabien Parent <&infracfg CLK_INFRA_PWM4>; 1234afca1c66SFabien Parent clock-names = "top", "main", "pwm1", "pwm2", "pwm3", 1235afca1c66SFabien Parent "pwm4"; 1236afca1c66SFabien Parent }; 1237afca1c66SFabien Parent 1238251137b8SQii Wang i2c3: i2c@1100f000 { 1239251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1240251137b8SQii Wang reg = <0 0x1100f000 0 0x1000>, 1241251137b8SQii Wang <0 0x11000400 0 0x80>; 1242251137b8SQii Wang interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>; 1243251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C3>, 1244251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1245251137b8SQii Wang clock-names = "main", "dma"; 1246251137b8SQii Wang clock-div = <1>; 1247251137b8SQii Wang #address-cells = <1>; 1248251137b8SQii Wang #size-cells = <0>; 1249251137b8SQii Wang status = "disabled"; 1250251137b8SQii Wang }; 1251251137b8SQii Wang 12528e2dd0f9SErin Lo spi1: spi@11010000 { 12538e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 12548e2dd0f9SErin Lo #address-cells = <1>; 12558e2dd0f9SErin Lo #size-cells = <0>; 12568e2dd0f9SErin Lo reg = <0 0x11010000 0 0x1000>; 12578e2dd0f9SErin Lo interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_LOW>; 12588e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 12598e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 12608e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI1>; 12618e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 12628e2dd0f9SErin Lo status = "disabled"; 12638e2dd0f9SErin Lo }; 12648e2dd0f9SErin Lo 1265251137b8SQii Wang i2c1: i2c@11011000 { 1266251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1267251137b8SQii Wang reg = <0 0x11011000 0 0x1000>, 1268251137b8SQii Wang <0 0x11000480 0 0x80>; 1269251137b8SQii Wang interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>; 1270251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C4>, 1271251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1272251137b8SQii Wang clock-names = "main", "dma"; 1273251137b8SQii Wang clock-div = <1>; 1274251137b8SQii Wang #address-cells = <1>; 1275251137b8SQii Wang #size-cells = <0>; 1276251137b8SQii Wang status = "disabled"; 1277251137b8SQii Wang }; 1278251137b8SQii Wang 12798e2dd0f9SErin Lo spi2: spi@11012000 { 12808e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 12818e2dd0f9SErin Lo #address-cells = <1>; 12828e2dd0f9SErin Lo #size-cells = <0>; 12838e2dd0f9SErin Lo reg = <0 0x11012000 0 0x1000>; 12848e2dd0f9SErin Lo interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>; 12858e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 12868e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 12878e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI2>; 12888e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 12898e2dd0f9SErin Lo status = "disabled"; 12908e2dd0f9SErin Lo }; 12918e2dd0f9SErin Lo 12928e2dd0f9SErin Lo spi3: spi@11013000 { 12938e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 12948e2dd0f9SErin Lo #address-cells = <1>; 12958e2dd0f9SErin Lo #size-cells = <0>; 12968e2dd0f9SErin Lo reg = <0 0x11013000 0 0x1000>; 12978e2dd0f9SErin Lo interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_LOW>; 12988e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 12998e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 13008e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI3>; 13018e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 13028e2dd0f9SErin Lo status = "disabled"; 13038e2dd0f9SErin Lo }; 13048e2dd0f9SErin Lo 1305251137b8SQii Wang i2c9: i2c@11014000 { 1306251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1307251137b8SQii Wang reg = <0 0x11014000 0 0x1000>, 1308251137b8SQii Wang <0 0x11000180 0 0x80>; 1309251137b8SQii Wang interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_LOW>; 1310251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C1_IMM>, 1311251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1312251137b8SQii Wang <&infracfg CLK_INFRA_I2C1_ARBITER>; 1313251137b8SQii Wang clock-names = "main", "dma", "arb"; 1314251137b8SQii Wang clock-div = <1>; 1315251137b8SQii Wang #address-cells = <1>; 1316251137b8SQii Wang #size-cells = <0>; 1317251137b8SQii Wang status = "disabled"; 1318251137b8SQii Wang }; 1319251137b8SQii Wang 1320251137b8SQii Wang i2c10: i2c@11015000 { 1321251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1322251137b8SQii Wang reg = <0 0x11015000 0 0x1000>, 1323251137b8SQii Wang <0 0x11000300 0 0x80>; 1324251137b8SQii Wang interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>; 1325251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C2_IMM>, 1326251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1327251137b8SQii Wang <&infracfg CLK_INFRA_I2C2_ARBITER>; 1328251137b8SQii Wang clock-names = "main", "dma", "arb"; 1329251137b8SQii Wang clock-div = <1>; 1330251137b8SQii Wang #address-cells = <1>; 1331251137b8SQii Wang #size-cells = <0>; 1332251137b8SQii Wang status = "disabled"; 1333251137b8SQii Wang }; 1334251137b8SQii Wang 1335251137b8SQii Wang i2c5: i2c@11016000 { 1336251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1337251137b8SQii Wang reg = <0 0x11016000 0 0x1000>, 1338251137b8SQii Wang <0 0x11000500 0 0x80>; 1339251137b8SQii Wang interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>; 1340251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C5>, 1341251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1342251137b8SQii Wang <&infracfg CLK_INFRA_I2C5_ARBITER>; 1343251137b8SQii Wang clock-names = "main", "dma", "arb"; 1344251137b8SQii Wang clock-div = <1>; 1345251137b8SQii Wang #address-cells = <1>; 1346251137b8SQii Wang #size-cells = <0>; 1347251137b8SQii Wang status = "disabled"; 1348251137b8SQii Wang }; 1349251137b8SQii Wang 1350251137b8SQii Wang i2c11: i2c@11017000 { 1351251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1352251137b8SQii Wang reg = <0 0x11017000 0 0x1000>, 1353251137b8SQii Wang <0 0x11000580 0 0x80>; 1354251137b8SQii Wang interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_LOW>; 1355251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C5_IMM>, 1356251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>, 1357251137b8SQii Wang <&infracfg CLK_INFRA_I2C5_ARBITER>; 1358251137b8SQii Wang clock-names = "main", "dma", "arb"; 1359251137b8SQii Wang clock-div = <1>; 1360251137b8SQii Wang #address-cells = <1>; 1361251137b8SQii Wang #size-cells = <0>; 1362251137b8SQii Wang status = "disabled"; 1363251137b8SQii Wang }; 1364251137b8SQii Wang 13658e2dd0f9SErin Lo spi4: spi@11018000 { 13668e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 13678e2dd0f9SErin Lo #address-cells = <1>; 13688e2dd0f9SErin Lo #size-cells = <0>; 13698e2dd0f9SErin Lo reg = <0 0x11018000 0 0x1000>; 13708e2dd0f9SErin Lo interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_LOW>; 13718e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 13728e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 13738e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI4>; 13748e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 13758e2dd0f9SErin Lo status = "disabled"; 13768e2dd0f9SErin Lo }; 13778e2dd0f9SErin Lo 13788e2dd0f9SErin Lo spi5: spi@11019000 { 13798e2dd0f9SErin Lo compatible = "mediatek,mt8183-spi"; 13808e2dd0f9SErin Lo #address-cells = <1>; 13818e2dd0f9SErin Lo #size-cells = <0>; 13828e2dd0f9SErin Lo reg = <0 0x11019000 0 0x1000>; 13838e2dd0f9SErin Lo interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_LOW>; 13848e2dd0f9SErin Lo clocks = <&topckgen CLK_TOP_SYSPLL_D5_D2>, 13858e2dd0f9SErin Lo <&topckgen CLK_TOP_MUX_SPI>, 13868e2dd0f9SErin Lo <&infracfg CLK_INFRA_SPI5>; 13878e2dd0f9SErin Lo clock-names = "parent-clk", "sel-clk", "spi-clk"; 13888e2dd0f9SErin Lo status = "disabled"; 13898e2dd0f9SErin Lo }; 13908e2dd0f9SErin Lo 1391251137b8SQii Wang i2c7: i2c@1101a000 { 1392251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1393251137b8SQii Wang reg = <0 0x1101a000 0 0x1000>, 1394251137b8SQii Wang <0 0x11000680 0 0x80>; 1395251137b8SQii Wang interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>; 1396251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C7>, 1397251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1398251137b8SQii Wang clock-names = "main", "dma"; 1399251137b8SQii Wang clock-div = <1>; 1400251137b8SQii Wang #address-cells = <1>; 1401251137b8SQii Wang #size-cells = <0>; 1402251137b8SQii Wang status = "disabled"; 1403251137b8SQii Wang }; 1404251137b8SQii Wang 1405251137b8SQii Wang i2c8: i2c@1101b000 { 1406251137b8SQii Wang compatible = "mediatek,mt8183-i2c"; 1407251137b8SQii Wang reg = <0 0x1101b000 0 0x1000>, 1408251137b8SQii Wang <0 0x11000700 0 0x80>; 1409251137b8SQii Wang interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_LOW>; 1410251137b8SQii Wang clocks = <&infracfg CLK_INFRA_I2C8>, 1411251137b8SQii Wang <&infracfg CLK_INFRA_AP_DMA>; 1412251137b8SQii Wang clock-names = "main", "dma"; 1413251137b8SQii Wang clock-div = <1>; 1414251137b8SQii Wang #address-cells = <1>; 1415251137b8SQii Wang #size-cells = <0>; 1416251137b8SQii Wang status = "disabled"; 1417251137b8SQii Wang }; 1418251137b8SQii Wang 14196b3bfa37SEnric Balletbo i Serra ssusb: usb@11201000 { 14206b3bfa37SEnric Balletbo i Serra compatible = "mediatek,mt8183-mtu3", "mediatek,mtu3"; 14216b3bfa37SEnric Balletbo i Serra reg = <0 0x11201000 0 0x2e00>, 14226b3bfa37SEnric Balletbo i Serra <0 0x11203e00 0 0x0100>; 14236b3bfa37SEnric Balletbo i Serra reg-names = "mac", "ippc"; 14246b3bfa37SEnric Balletbo i Serra interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>; 14256b3bfa37SEnric Balletbo i Serra phys = <&u2port0 PHY_TYPE_USB2>, 14266b3bfa37SEnric Balletbo i Serra <&u3port0 PHY_TYPE_USB3>; 14276b3bfa37SEnric Balletbo i Serra clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>, 14286b3bfa37SEnric Balletbo i Serra <&infracfg CLK_INFRA_USB>; 14296b3bfa37SEnric Balletbo i Serra clock-names = "sys_ck", "ref_ck"; 1430d3cbc7f8SChunfeng Yun mediatek,syscon-wakeup = <&pericfg 0x420 101>; 14316b3bfa37SEnric Balletbo i Serra #address-cells = <2>; 14326b3bfa37SEnric Balletbo i Serra #size-cells = <2>; 14336b3bfa37SEnric Balletbo i Serra ranges; 14346b3bfa37SEnric Balletbo i Serra status = "disabled"; 14356b3bfa37SEnric Balletbo i Serra 1436d1c9c70aSChunfeng Yun usb_host: usb@11200000 { 14376b3bfa37SEnric Balletbo i Serra compatible = "mediatek,mt8183-xhci", 14386b3bfa37SEnric Balletbo i Serra "mediatek,mtk-xhci"; 14396b3bfa37SEnric Balletbo i Serra reg = <0 0x11200000 0 0x1000>; 14406b3bfa37SEnric Balletbo i Serra reg-names = "mac"; 14416b3bfa37SEnric Balletbo i Serra interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_LOW>; 14426b3bfa37SEnric Balletbo i Serra clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>, 14436b3bfa37SEnric Balletbo i Serra <&infracfg CLK_INFRA_USB>; 14446b3bfa37SEnric Balletbo i Serra clock-names = "sys_ck", "ref_ck"; 14456b3bfa37SEnric Balletbo i Serra status = "disabled"; 14466b3bfa37SEnric Balletbo i Serra }; 14476b3bfa37SEnric Balletbo i Serra }; 14486b3bfa37SEnric Balletbo i Serra 144913dd23cfSKansho Nishida audiosys: audio-controller@11220000 { 1450e526c9bcSBen Ho compatible = "mediatek,mt8183-audiosys", "syscon"; 1451e526c9bcSBen Ho reg = <0 0x11220000 0 0x1000>; 1452e526c9bcSBen Ho #clock-cells = <1>; 145313dd23cfSKansho Nishida afe: mt8183-afe-pcm { 145413dd23cfSKansho Nishida compatible = "mediatek,mt8183-audio"; 145513dd23cfSKansho Nishida interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_LOW>; 145613dd23cfSKansho Nishida resets = <&watchdog MT8183_TOPRGU_AUDIO_SW_RST>; 145713dd23cfSKansho Nishida reset-names = "audiosys"; 145813dd23cfSKansho Nishida power-domains = 145913dd23cfSKansho Nishida <&spm MT8183_POWER_DOMAIN_AUDIO>; 146013dd23cfSKansho Nishida clocks = <&audiosys CLK_AUDIO_AFE>, 146113dd23cfSKansho Nishida <&audiosys CLK_AUDIO_DAC>, 146213dd23cfSKansho Nishida <&audiosys CLK_AUDIO_DAC_PREDIS>, 146313dd23cfSKansho Nishida <&audiosys CLK_AUDIO_ADC>, 146413dd23cfSKansho Nishida <&audiosys CLK_AUDIO_PDN_ADDA6_ADC>, 146513dd23cfSKansho Nishida <&audiosys CLK_AUDIO_22M>, 146613dd23cfSKansho Nishida <&audiosys CLK_AUDIO_24M>, 146713dd23cfSKansho Nishida <&audiosys CLK_AUDIO_APLL_TUNER>, 146813dd23cfSKansho Nishida <&audiosys CLK_AUDIO_APLL2_TUNER>, 146913dd23cfSKansho Nishida <&audiosys CLK_AUDIO_I2S1>, 147013dd23cfSKansho Nishida <&audiosys CLK_AUDIO_I2S2>, 147113dd23cfSKansho Nishida <&audiosys CLK_AUDIO_I2S3>, 147213dd23cfSKansho Nishida <&audiosys CLK_AUDIO_I2S4>, 147313dd23cfSKansho Nishida <&audiosys CLK_AUDIO_TDM>, 147413dd23cfSKansho Nishida <&audiosys CLK_AUDIO_TML>, 147513dd23cfSKansho Nishida <&infracfg CLK_INFRA_AUDIO>, 147613dd23cfSKansho Nishida <&infracfg CLK_INFRA_AUDIO_26M_BCLK>, 147713dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUDIO>, 147813dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_INTBUS>, 147913dd23cfSKansho Nishida <&topckgen CLK_TOP_SYSPLL_D2_D4>, 148013dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_1>, 148113dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL1_CK>, 148213dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_2>, 148313dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL2_CK>, 148413dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_ENG1>, 148513dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL1_D8>, 148613dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_AUD_ENG2>, 148713dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL2_D8>, 148813dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S0>, 148913dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S1>, 149013dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S2>, 149113dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S3>, 149213dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S4>, 149313dd23cfSKansho Nishida <&topckgen CLK_TOP_MUX_APLL_I2S5>, 149413dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV0>, 149513dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV1>, 149613dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV2>, 149713dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV3>, 149813dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIV4>, 149913dd23cfSKansho Nishida <&topckgen CLK_TOP_APLL12_DIVB>, 150013dd23cfSKansho Nishida /*<&topckgen CLK_TOP_APLL12_DIV5>,*/ 150113dd23cfSKansho Nishida <&clk26m>; 150213dd23cfSKansho Nishida clock-names = "aud_afe_clk", 150313dd23cfSKansho Nishida "aud_dac_clk", 150413dd23cfSKansho Nishida "aud_dac_predis_clk", 150513dd23cfSKansho Nishida "aud_adc_clk", 150613dd23cfSKansho Nishida "aud_adc_adda6_clk", 150713dd23cfSKansho Nishida "aud_apll22m_clk", 150813dd23cfSKansho Nishida "aud_apll24m_clk", 150913dd23cfSKansho Nishida "aud_apll1_tuner_clk", 151013dd23cfSKansho Nishida "aud_apll2_tuner_clk", 151113dd23cfSKansho Nishida "aud_i2s1_bclk_sw", 151213dd23cfSKansho Nishida "aud_i2s2_bclk_sw", 151313dd23cfSKansho Nishida "aud_i2s3_bclk_sw", 151413dd23cfSKansho Nishida "aud_i2s4_bclk_sw", 151513dd23cfSKansho Nishida "aud_tdm_clk", 151613dd23cfSKansho Nishida "aud_tml_clk", 151713dd23cfSKansho Nishida "aud_infra_clk", 151813dd23cfSKansho Nishida "mtkaif_26m_clk", 151913dd23cfSKansho Nishida "top_mux_audio", 152013dd23cfSKansho Nishida "top_mux_aud_intbus", 152113dd23cfSKansho Nishida "top_syspll_d2_d4", 152213dd23cfSKansho Nishida "top_mux_aud_1", 152313dd23cfSKansho Nishida "top_apll1_ck", 152413dd23cfSKansho Nishida "top_mux_aud_2", 152513dd23cfSKansho Nishida "top_apll2_ck", 152613dd23cfSKansho Nishida "top_mux_aud_eng1", 152713dd23cfSKansho Nishida "top_apll1_d8", 152813dd23cfSKansho Nishida "top_mux_aud_eng2", 152913dd23cfSKansho Nishida "top_apll2_d8", 153013dd23cfSKansho Nishida "top_i2s0_m_sel", 153113dd23cfSKansho Nishida "top_i2s1_m_sel", 153213dd23cfSKansho Nishida "top_i2s2_m_sel", 153313dd23cfSKansho Nishida "top_i2s3_m_sel", 153413dd23cfSKansho Nishida "top_i2s4_m_sel", 153513dd23cfSKansho Nishida "top_i2s5_m_sel", 153613dd23cfSKansho Nishida "top_apll12_div0", 153713dd23cfSKansho Nishida "top_apll12_div1", 153813dd23cfSKansho Nishida "top_apll12_div2", 153913dd23cfSKansho Nishida "top_apll12_div3", 154013dd23cfSKansho Nishida "top_apll12_div4", 154113dd23cfSKansho Nishida "top_apll12_divb", 154213dd23cfSKansho Nishida /*"top_apll12_div5",*/ 154313dd23cfSKansho Nishida "top_clk26m_clk"; 154413dd23cfSKansho Nishida }; 1545e526c9bcSBen Ho }; 1546e526c9bcSBen Ho 15475e6cdf00Sjjian zhou mmc0: mmc@11230000 { 15485e6cdf00Sjjian zhou compatible = "mediatek,mt8183-mmc"; 15495e6cdf00Sjjian zhou reg = <0 0x11230000 0 0x1000>, 15505e6cdf00Sjjian zhou <0 0x11f50000 0 0x1000>; 15515e6cdf00Sjjian zhou interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>; 15525e6cdf00Sjjian zhou clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>, 15535e6cdf00Sjjian zhou <&infracfg CLK_INFRA_MSDC0>, 15545e6cdf00Sjjian zhou <&infracfg CLK_INFRA_MSDC0_SCK>; 15555e6cdf00Sjjian zhou clock-names = "source", "hclk", "source_cg"; 15565e6cdf00Sjjian zhou status = "disabled"; 15575e6cdf00Sjjian zhou }; 15585e6cdf00Sjjian zhou 15595e6cdf00Sjjian zhou mmc1: mmc@11240000 { 15605e6cdf00Sjjian zhou compatible = "mediatek,mt8183-mmc"; 15615e6cdf00Sjjian zhou reg = <0 0x11240000 0 0x1000>, 15625e6cdf00Sjjian zhou <0 0x11e10000 0 0x1000>; 15635e6cdf00Sjjian zhou interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_LOW>; 15645e6cdf00Sjjian zhou clocks = <&topckgen CLK_TOP_MUX_MSDC30_1>, 15655e6cdf00Sjjian zhou <&infracfg CLK_INFRA_MSDC1>, 15665e6cdf00Sjjian zhou <&infracfg CLK_INFRA_MSDC1_SCK>; 15675e6cdf00Sjjian zhou clock-names = "source", "hclk", "source_cg"; 15685e6cdf00Sjjian zhou status = "disabled"; 15695e6cdf00Sjjian zhou }; 15705e6cdf00Sjjian zhou 1571d1c9c70aSChunfeng Yun mipi_tx0: dsi-phy@11e50000 { 157288ec8402SJitao Shi compatible = "mediatek,mt8183-mipi-tx"; 157388ec8402SJitao Shi reg = <0 0x11e50000 0 0x1000>; 157488ec8402SJitao Shi clocks = <&apmixedsys CLK_APMIXED_MIPID0_26M>; 157588ec8402SJitao Shi #clock-cells = <0>; 157688ec8402SJitao Shi #phy-cells = <0>; 157788ec8402SJitao Shi clock-output-names = "mipi_tx0_pll"; 157888ec8402SJitao Shi nvmem-cells = <&mipi_tx_calibration>; 157988ec8402SJitao Shi nvmem-cell-names = "calibration-data"; 158088ec8402SJitao Shi }; 158188ec8402SJitao Shi 1582de103388SMichael Mei efuse: efuse@11f10000 { 1583de103388SMichael Mei compatible = "mediatek,mt8183-efuse", 1584de103388SMichael Mei "mediatek,efuse"; 1585de103388SMichael Mei reg = <0 0x11f10000 0 0x1000>; 158688ec8402SJitao Shi #address-cells = <1>; 158788ec8402SJitao Shi #size-cells = <1>; 158894e4dd09SWilliam-tw Lin 158994e4dd09SWilliam-tw Lin socinfo-data1@4c { 159094e4dd09SWilliam-tw Lin reg = <0x04c 0x4>; 159194e4dd09SWilliam-tw Lin }; 159294e4dd09SWilliam-tw Lin 159394e4dd09SWilliam-tw Lin socinfo-data2@60 { 159494e4dd09SWilliam-tw Lin reg = <0x060 0x4>; 159594e4dd09SWilliam-tw Lin }; 159694e4dd09SWilliam-tw Lin 1597b325ce39Smichael.kao thermal_calibration: calib@180 { 1598b325ce39Smichael.kao reg = <0x180 0xc>; 1599b325ce39Smichael.kao }; 1600b325ce39Smichael.kao 160188ec8402SJitao Shi mipi_tx_calibration: calib@190 { 160288ec8402SJitao Shi reg = <0x190 0xc>; 160388ec8402SJitao Shi }; 160441131266SRoger Lu 160541131266SRoger Lu svs_calibration: calib@580 { 160641131266SRoger Lu reg = <0x580 0x64>; 160741131266SRoger Lu }; 1608de103388SMichael Mei }; 1609de103388SMichael Mei 1610d1c9c70aSChunfeng Yun u3phy: t-phy@11f40000 { 16116b3bfa37SEnric Balletbo i Serra compatible = "mediatek,mt8183-tphy", 16126b3bfa37SEnric Balletbo i Serra "mediatek,generic-tphy-v2"; 16136b3bfa37SEnric Balletbo i Serra #address-cells = <1>; 16146b3bfa37SEnric Balletbo i Serra #size-cells = <1>; 16156b3bfa37SEnric Balletbo i Serra ranges = <0 0 0x11f40000 0x1000>; 16166b3bfa37SEnric Balletbo i Serra status = "okay"; 16176b3bfa37SEnric Balletbo i Serra 16186b3bfa37SEnric Balletbo i Serra u2port0: usb-phy@0 { 16196b3bfa37SEnric Balletbo i Serra reg = <0x0 0x700>; 16206b3bfa37SEnric Balletbo i Serra clocks = <&clk26m>; 16216b3bfa37SEnric Balletbo i Serra clock-names = "ref"; 16226b3bfa37SEnric Balletbo i Serra #phy-cells = <1>; 16236b3bfa37SEnric Balletbo i Serra mediatek,discth = <15>; 16246b3bfa37SEnric Balletbo i Serra status = "okay"; 16256b3bfa37SEnric Balletbo i Serra }; 16266b3bfa37SEnric Balletbo i Serra 1627f538437bSMatthias Brugger u3port0: usb-phy@700 { 16286b3bfa37SEnric Balletbo i Serra reg = <0x0700 0x900>; 16296b3bfa37SEnric Balletbo i Serra clocks = <&clk26m>; 16306b3bfa37SEnric Balletbo i Serra clock-names = "ref"; 16316b3bfa37SEnric Balletbo i Serra #phy-cells = <1>; 16326b3bfa37SEnric Balletbo i Serra status = "okay"; 16336b3bfa37SEnric Balletbo i Serra }; 16346b3bfa37SEnric Balletbo i Serra }; 16356b3bfa37SEnric Balletbo i Serra 1636e526c9bcSBen Ho mfgcfg: syscon@13000000 { 1637e526c9bcSBen Ho compatible = "mediatek,mt8183-mfgcfg", "syscon"; 1638e526c9bcSBen Ho reg = <0 0x13000000 0 0x1000>; 1639e526c9bcSBen Ho #clock-cells = <1>; 16401781f2c4SIkjoon Jang power-domains = <&spm MT8183_POWER_DOMAIN_MFG_ASYNC>; 1641e526c9bcSBen Ho }; 1642e526c9bcSBen Ho 1643a8168cebSNicolas Boichat gpu: gpu@13040000 { 1644c78838d8SAngeloGioacchino Del Regno compatible = "mediatek,mt8183b-mali", "arm,mali-bifrost"; 1645a8168cebSNicolas Boichat reg = <0 0x13040000 0 0x4000>; 1646a8168cebSNicolas Boichat interrupts = 1647a8168cebSNicolas Boichat <GIC_SPI 280 IRQ_TYPE_LEVEL_LOW>, 1648a8168cebSNicolas Boichat <GIC_SPI 279 IRQ_TYPE_LEVEL_LOW>, 1649a8168cebSNicolas Boichat <GIC_SPI 278 IRQ_TYPE_LEVEL_LOW>; 1650a8168cebSNicolas Boichat interrupt-names = "job", "mmu", "gpu"; 1651a8168cebSNicolas Boichat 1652ad2631b5SChen-Yu Tsai clocks = <&mfgcfg CLK_MFG_BG3D>; 1653a8168cebSNicolas Boichat 1654a8168cebSNicolas Boichat power-domains = 1655a8168cebSNicolas Boichat <&spm MT8183_POWER_DOMAIN_MFG_CORE0>, 1656a8168cebSNicolas Boichat <&spm MT8183_POWER_DOMAIN_MFG_CORE1>, 1657a8168cebSNicolas Boichat <&spm MT8183_POWER_DOMAIN_MFG_2D>; 1658a8168cebSNicolas Boichat power-domain-names = "core0", "core1", "core2"; 1659a8168cebSNicolas Boichat 1660a8168cebSNicolas Boichat operating-points-v2 = <&gpu_opp_table>; 1661a8168cebSNicolas Boichat }; 1662a8168cebSNicolas Boichat 1663e526c9bcSBen Ho mmsys: syscon@14000000 { 1664e526c9bcSBen Ho compatible = "mediatek,mt8183-mmsys", "syscon"; 1665e526c9bcSBen Ho reg = <0 0x14000000 0 0x1000>; 1666e526c9bcSBen Ho #clock-cells = <1>; 16674bdb00edSEnric Balletbo i Serra #reset-cells = <1>; 1668b7a8f50aSHsin-Yi Wang mboxes = <&gce 0 CMDQ_THR_PRIO_HIGHEST>, 1669b7a8f50aSHsin-Yi Wang <&gce 1 CMDQ_THR_PRIO_HIGHEST>; 1670b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>; 1671e526c9bcSBen Ho }; 1672e526c9bcSBen Ho 1673188ffcd7SMoudy Ho dma-controller0@14001000 { 167460a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-rdma"; 167560a2fb8dSMoudy Ho reg = <0 0x14001000 0 0x1000>; 167660a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x1000 0x1000>; 167760a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_RDMA0_SOF>, 167860a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_RDMA0_EOF>; 167960a2fb8dSMoudy Ho power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 168060a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_RDMA0>, 168160a2fb8dSMoudy Ho <&mmsys CLK_MM_MDP_RSZ1>; 168260a2fb8dSMoudy Ho iommus = <&iommu M4U_PORT_MDP_RDMA0>; 168360a2fb8dSMoudy Ho mboxes = <&gce 20 CMDQ_THR_PRIO_LOWEST 0>, 168460a2fb8dSMoudy Ho <&gce 21 CMDQ_THR_PRIO_LOWEST 0>; 1685188ffcd7SMoudy Ho #dma-cells = <1>; 168660a2fb8dSMoudy Ho }; 168760a2fb8dSMoudy Ho 168860a2fb8dSMoudy Ho mdp3-rsz0@14003000 { 168960a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-rsz"; 169060a2fb8dSMoudy Ho reg = <0 0x14003000 0 0x1000>; 169160a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x3000 0x1000>; 169260a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_RSZ0_SOF>, 169360a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_RSZ0_EOF>; 169460a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_RSZ0>; 169560a2fb8dSMoudy Ho }; 169660a2fb8dSMoudy Ho 169760a2fb8dSMoudy Ho mdp3-rsz1@14004000 { 169860a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-rsz"; 169960a2fb8dSMoudy Ho reg = <0 0x14004000 0 0x1000>; 170060a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x4000 0x1000>; 170160a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_RSZ1_SOF>, 170260a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_RSZ1_EOF>; 170360a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_RSZ1>; 170460a2fb8dSMoudy Ho }; 170560a2fb8dSMoudy Ho 1706188ffcd7SMoudy Ho dma-controller@14005000 { 170760a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-wrot"; 170860a2fb8dSMoudy Ho reg = <0 0x14005000 0 0x1000>; 170960a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x5000 0x1000>; 171060a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_WROT0_SOF>, 171160a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_WROT0_EOF>; 171260a2fb8dSMoudy Ho power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 171360a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_WROT0>; 171460a2fb8dSMoudy Ho iommus = <&iommu M4U_PORT_MDP_WROT0>; 1715188ffcd7SMoudy Ho #dma-cells = <1>; 171660a2fb8dSMoudy Ho }; 171760a2fb8dSMoudy Ho 171860a2fb8dSMoudy Ho mdp3-wdma@14006000 { 171960a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-wdma"; 172060a2fb8dSMoudy Ho reg = <0 0x14006000 0 0x1000>; 172160a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x6000 0x1000>; 172260a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_WDMA0_SOF>, 172360a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_WDMA0_EOF>; 172460a2fb8dSMoudy Ho power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 172560a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_WDMA0>; 172660a2fb8dSMoudy Ho iommus = <&iommu M4U_PORT_MDP_WDMA0>; 172760a2fb8dSMoudy Ho }; 172860a2fb8dSMoudy Ho 172991f9c963SEnric Balletbo i Serra ovl0: ovl@14008000 { 173091f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-ovl"; 173191f9c963SEnric Balletbo i Serra reg = <0 0x14008000 0 0x1000>; 173291f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_LOW>; 173391f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 173491f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_OVL0>; 173591f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_OVL0>; 173691f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x8000 0x1000>; 173791f9c963SEnric Balletbo i Serra }; 173891f9c963SEnric Balletbo i Serra 173991f9c963SEnric Balletbo i Serra ovl_2l0: ovl@14009000 { 174091f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-ovl-2l"; 174191f9c963SEnric Balletbo i Serra reg = <0 0x14009000 0 0x1000>; 174291f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_LOW>; 174391f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 174491f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_OVL0_2L>; 174591f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_2L_OVL0_LARB0>; 174691f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x9000 0x1000>; 174791f9c963SEnric Balletbo i Serra }; 174891f9c963SEnric Balletbo i Serra 174991f9c963SEnric Balletbo i Serra ovl_2l1: ovl@1400a000 { 175091f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-ovl-2l"; 175191f9c963SEnric Balletbo i Serra reg = <0 0x1400a000 0 0x1000>; 175291f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_LOW>; 175391f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 175491f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_OVL1_2L>; 175591f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_2L_OVL1_LARB0>; 175691f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xa000 0x1000>; 175791f9c963SEnric Balletbo i Serra }; 175891f9c963SEnric Balletbo i Serra 175991f9c963SEnric Balletbo i Serra rdma0: rdma@1400b000 { 176091f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-rdma"; 176191f9c963SEnric Balletbo i Serra reg = <0 0x1400b000 0 0x1000>; 176291f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_LOW>; 176391f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 176491f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_RDMA0>; 176591f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_RDMA0>; 1766431368c2SYongqiang Niu mediatek,rdma-fifo-size = <5120>; 176791f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xb000 0x1000>; 176891f9c963SEnric Balletbo i Serra }; 176991f9c963SEnric Balletbo i Serra 177091f9c963SEnric Balletbo i Serra rdma1: rdma@1400c000 { 177191f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-rdma"; 177291f9c963SEnric Balletbo i Serra reg = <0 0x1400c000 0 0x1000>; 177391f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>; 177491f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 177591f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_RDMA1>; 177691f9c963SEnric Balletbo i Serra iommus = <&iommu M4U_PORT_DISP_RDMA1>; 1777431368c2SYongqiang Niu mediatek,rdma-fifo-size = <2048>; 177891f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xc000 0x1000>; 177991f9c963SEnric Balletbo i Serra }; 178091f9c963SEnric Balletbo i Serra 178191f9c963SEnric Balletbo i Serra color0: color@1400e000 { 178291f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-color", 178391f9c963SEnric Balletbo i Serra "mediatek,mt8173-disp-color"; 178491f9c963SEnric Balletbo i Serra reg = <0 0x1400e000 0 0x1000>; 178591f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_LOW>; 178691f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 178791f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_COLOR0>; 178891f9c963SEnric Balletbo i Serra mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xe000 0x1000>; 178991f9c963SEnric Balletbo i Serra }; 179091f9c963SEnric Balletbo i Serra 179191f9c963SEnric Balletbo i Serra ccorr0: ccorr@1400f000 { 179291f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-ccorr"; 179391f9c963SEnric Balletbo i Serra reg = <0 0x1400f000 0 0x1000>; 179491f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_LOW>; 179591f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 179691f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_CCORR0>; 1797b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xf000 0x1000>; 179891f9c963SEnric Balletbo i Serra }; 179991f9c963SEnric Balletbo i Serra 180091f9c963SEnric Balletbo i Serra aal0: aal@14010000 { 180171b946e9SRex-BC Chen compatible = "mediatek,mt8183-disp-aal"; 180291f9c963SEnric Balletbo i Serra reg = <0 0x14010000 0 0x1000>; 180391f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_LOW>; 180491f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 180591f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_AAL0>; 1806b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0 0x1000>; 180791f9c963SEnric Balletbo i Serra }; 180891f9c963SEnric Balletbo i Serra 180991f9c963SEnric Balletbo i Serra gamma0: gamma@14011000 { 18109a2cb5ebSYongqiang Niu compatible = "mediatek,mt8183-disp-gamma"; 181191f9c963SEnric Balletbo i Serra reg = <0 0x14011000 0 0x1000>; 181291f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_LOW>; 181391f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 181491f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_GAMMA0>; 1815b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x1000 0x1000>; 181691f9c963SEnric Balletbo i Serra }; 181791f9c963SEnric Balletbo i Serra 181891f9c963SEnric Balletbo i Serra dither0: dither@14012000 { 181991f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-dither"; 182091f9c963SEnric Balletbo i Serra reg = <0 0x14012000 0 0x1000>; 182191f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_LOW>; 182291f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 182391f9c963SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_DISP_DITHER0>; 1824b7a8f50aSHsin-Yi Wang mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x2000 0x1000>; 182591f9c963SEnric Balletbo i Serra }; 182691f9c963SEnric Balletbo i Serra 182788ec8402SJitao Shi dsi0: dsi@14014000 { 182888ec8402SJitao Shi compatible = "mediatek,mt8183-dsi"; 182988ec8402SJitao Shi reg = <0 0x14014000 0 0x1000>; 183088ec8402SJitao Shi interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_LOW>; 183188ec8402SJitao Shi power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 183288ec8402SJitao Shi clocks = <&mmsys CLK_MM_DSI0_MM>, 183388ec8402SJitao Shi <&mmsys CLK_MM_DSI0_IF>, 183488ec8402SJitao Shi <&mipi_tx0>; 183588ec8402SJitao Shi clock-names = "engine", "digital", "hs"; 18364bdb00edSEnric Balletbo i Serra resets = <&mmsys MT8183_MMSYS_SW0_RST_B_DISP_DSI0>; 183788ec8402SJitao Shi phys = <&mipi_tx0>; 183888ec8402SJitao Shi phy-names = "dphy"; 183988ec8402SJitao Shi }; 184088ec8402SJitao Shi 184191f9c963SEnric Balletbo i Serra mutex: mutex@14016000 { 184291f9c963SEnric Balletbo i Serra compatible = "mediatek,mt8183-disp-mutex"; 184391f9c963SEnric Balletbo i Serra reg = <0 0x14016000 0 0x1000>; 184491f9c963SEnric Balletbo i Serra interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_LOW>; 184591f9c963SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 184602912fb7SHsin-Yi Wang mediatek,gce-events = <CMDQ_EVENT_MUTEX_STREAM_DONE0>, 184702912fb7SHsin-Yi Wang <CMDQ_EVENT_MUTEX_STREAM_DONE1>; 18480be021f9SMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x6000 0x1000>; 184991f9c963SEnric Balletbo i Serra }; 185091f9c963SEnric Balletbo i Serra 1851c6080916SEnric Balletbo i Serra larb0: larb@14017000 { 1852c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1853c6080916SEnric Balletbo i Serra reg = <0 0x14017000 0 0x1000>; 1854c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1855c6080916SEnric Balletbo i Serra clocks = <&mmsys CLK_MM_SMI_LARB0>, 1856c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_SMI_LARB0>; 1857c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 1858c6080916SEnric Balletbo i Serra clock-names = "apb", "smi"; 1859c6080916SEnric Balletbo i Serra }; 1860c6080916SEnric Balletbo i Serra 1861ddebdbadSEnric Balletbo i Serra smi_common: smi@14019000 { 1862946437cfSHsin-Yi Wang compatible = "mediatek,mt8183-smi-common"; 1863ddebdbadSEnric Balletbo i Serra reg = <0 0x14019000 0 0x1000>; 1864ddebdbadSEnric Balletbo i Serra clocks = <&mmsys CLK_MM_SMI_COMMON>, 1865ddebdbadSEnric Balletbo i Serra <&mmsys CLK_MM_SMI_COMMON>, 1866ddebdbadSEnric Balletbo i Serra <&mmsys CLK_MM_GALS_COMM0>, 1867ddebdbadSEnric Balletbo i Serra <&mmsys CLK_MM_GALS_COMM1>; 1868ddebdbadSEnric Balletbo i Serra clock-names = "apb", "smi", "gals0", "gals1"; 1869946437cfSHsin-Yi Wang power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; 1870ddebdbadSEnric Balletbo i Serra }; 1871ddebdbadSEnric Balletbo i Serra 187260a2fb8dSMoudy Ho mdp3-ccorr@1401c000 { 187360a2fb8dSMoudy Ho compatible = "mediatek,mt8183-mdp3-ccorr"; 187460a2fb8dSMoudy Ho reg = <0 0x1401c000 0 0x1000>; 187560a2fb8dSMoudy Ho mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0xc000 0x1000>; 187660a2fb8dSMoudy Ho mediatek,gce-events = <CMDQ_EVENT_MDP_CCORR_SOF>, 187760a2fb8dSMoudy Ho <CMDQ_EVENT_MDP_CCORR_EOF>; 187860a2fb8dSMoudy Ho clocks = <&mmsys CLK_MM_MDP_CCORR>; 187960a2fb8dSMoudy Ho }; 188060a2fb8dSMoudy Ho 1881e526c9bcSBen Ho imgsys: syscon@15020000 { 1882e526c9bcSBen Ho compatible = "mediatek,mt8183-imgsys", "syscon"; 1883e526c9bcSBen Ho reg = <0 0x15020000 0 0x1000>; 1884e526c9bcSBen Ho #clock-cells = <1>; 1885e526c9bcSBen Ho }; 1886e526c9bcSBen Ho 1887c6080916SEnric Balletbo i Serra larb5: larb@15021000 { 1888c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1889c6080916SEnric Balletbo i Serra reg = <0 0x15021000 0 0x1000>; 1890c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1891c6080916SEnric Balletbo i Serra clocks = <&imgsys CLK_IMG_LARB5>, <&imgsys CLK_IMG_LARB5>, 1892c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_GALS_IMG2MM>; 1893c6080916SEnric Balletbo i Serra clock-names = "apb", "smi", "gals"; 1894c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_ISP>; 1895c6080916SEnric Balletbo i Serra }; 1896c6080916SEnric Balletbo i Serra 1897c6080916SEnric Balletbo i Serra larb2: larb@1502f000 { 1898c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1899c6080916SEnric Balletbo i Serra reg = <0 0x1502f000 0 0x1000>; 1900c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1901c6080916SEnric Balletbo i Serra clocks = <&imgsys CLK_IMG_LARB2>, <&imgsys CLK_IMG_LARB2>, 1902c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_GALS_IPU2MM>; 1903c6080916SEnric Balletbo i Serra clock-names = "apb", "smi", "gals"; 1904c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_ISP>; 1905c6080916SEnric Balletbo i Serra }; 1906c6080916SEnric Balletbo i Serra 1907e526c9bcSBen Ho vdecsys: syscon@16000000 { 1908e526c9bcSBen Ho compatible = "mediatek,mt8183-vdecsys", "syscon"; 1909e526c9bcSBen Ho reg = <0 0x16000000 0 0x1000>; 1910e526c9bcSBen Ho #clock-cells = <1>; 1911e526c9bcSBen Ho }; 1912e526c9bcSBen Ho 191389ce5a09SYunfei Dong vcodec_dec: video-codec@16020000 { 191489ce5a09SYunfei Dong compatible = "mediatek,mt8183-vcodec-dec"; 191589ce5a09SYunfei Dong reg = <0 0x16020000 0 0x1000>, /* VDEC_MISC */ 191689ce5a09SYunfei Dong <0 0x16021000 0 0x800>, /* VDEC_VLD */ 191789ce5a09SYunfei Dong <0 0x16021800 0 0x800>, /* VDEC_TOP */ 191889ce5a09SYunfei Dong <0 0x16022000 0 0x1000>, /* VDEC_MC */ 191989ce5a09SYunfei Dong <0 0x16023000 0 0x1000>, /* VDEC_AVCVLD */ 192089ce5a09SYunfei Dong <0 0x16024000 0 0x1000>, /* VDEC_AVCMV */ 192189ce5a09SYunfei Dong <0 0x16025000 0 0x1000>, /* VDEC_PP */ 192289ce5a09SYunfei Dong <0 0x16026800 0 0x800>, /* VP8_VD */ 192389ce5a09SYunfei Dong <0 0x16027000 0 0x800>, /* VP6_VD */ 192489ce5a09SYunfei Dong <0 0x16027800 0 0x800>, /* VP8_VL */ 192589ce5a09SYunfei Dong <0 0x16028400 0 0x400>; /* VP9_VD */ 192689ce5a09SYunfei Dong reg-names = "misc", "ld", "top", "cm", "ad", "av", "pp", 192789ce5a09SYunfei Dong "hwd", "hwq", "hwb", "hwg"; 192889ce5a09SYunfei Dong interrupts = <GIC_SPI 250 IRQ_TYPE_LEVEL_LOW>; 192989ce5a09SYunfei Dong iommus = <&iommu M4U_PORT_HW_VDEC_MC_EXT>, 193089ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_PP_EXT>, 193189ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_VLD_EXT>, 193289ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_AVC_MV_EXT>, 193389ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_PRED_RD_EXT>, 193489ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_PRED_WR_EXT>, 193589ce5a09SYunfei Dong <&iommu M4U_PORT_HW_VDEC_PPWRAP_EXT>; 193689ce5a09SYunfei Dong mediatek,scp = <&scp>; 193789ce5a09SYunfei Dong mediatek,vdecsys = <&vdecsys>; 193889ce5a09SYunfei Dong power-domains = <&spm MT8183_POWER_DOMAIN_VDEC>; 193989ce5a09SYunfei Dong clocks = <&vdecsys CLK_VDEC_VDEC>; 194089ce5a09SYunfei Dong clock-names = "vdec"; 194189ce5a09SYunfei Dong }; 194289ce5a09SYunfei Dong 1943c6080916SEnric Balletbo i Serra larb1: larb@16010000 { 1944c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1945c6080916SEnric Balletbo i Serra reg = <0 0x16010000 0 0x1000>; 1946c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1947c6080916SEnric Balletbo i Serra clocks = <&vdecsys CLK_VDEC_VDEC>, <&vdecsys CLK_VDEC_LARB1>; 1948c6080916SEnric Balletbo i Serra clock-names = "apb", "smi"; 1949c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_VDEC>; 1950c6080916SEnric Balletbo i Serra }; 1951c6080916SEnric Balletbo i Serra 1952e526c9bcSBen Ho vencsys: syscon@17000000 { 1953e526c9bcSBen Ho compatible = "mediatek,mt8183-vencsys", "syscon"; 1954e526c9bcSBen Ho reg = <0 0x17000000 0 0x1000>; 1955e526c9bcSBen Ho #clock-cells = <1>; 1956e526c9bcSBen Ho }; 1957e526c9bcSBen Ho 1958c6080916SEnric Balletbo i Serra larb4: larb@17010000 { 1959c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 1960c6080916SEnric Balletbo i Serra reg = <0 0x17010000 0 0x1000>; 1961c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 1962c6080916SEnric Balletbo i Serra clocks = <&vencsys CLK_VENC_LARB>, 1963c6080916SEnric Balletbo i Serra <&vencsys CLK_VENC_LARB>; 1964c6080916SEnric Balletbo i Serra clock-names = "apb", "smi"; 1965c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_VENC>; 1966c6080916SEnric Balletbo i Serra }; 1967c6080916SEnric Balletbo i Serra 1968e630c7b0SKrzysztof Kozlowski venc_jpg: jpeg-encoder@17030000 { 1969462f6c4aSMaoguang Meng compatible = "mediatek,mt8183-jpgenc", "mediatek,mtk-jpgenc"; 1970462f6c4aSMaoguang Meng reg = <0 0x17030000 0 0x1000>; 1971462f6c4aSMaoguang Meng interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_LOW>; 1972462f6c4aSMaoguang Meng iommus = <&iommu M4U_PORT_JPGENC_RDMA>, 1973462f6c4aSMaoguang Meng <&iommu M4U_PORT_JPGENC_BSDMA>; 1974462f6c4aSMaoguang Meng power-domains = <&spm MT8183_POWER_DOMAIN_VENC>; 1975462f6c4aSMaoguang Meng clocks = <&vencsys CLK_VENC_JPGENC>; 1976462f6c4aSMaoguang Meng clock-names = "jpgenc"; 1977462f6c4aSMaoguang Meng }; 1978462f6c4aSMaoguang Meng 1979e526c9bcSBen Ho ipu_conn: syscon@19000000 { 1980e526c9bcSBen Ho compatible = "mediatek,mt8183-ipu_conn", "syscon"; 1981e526c9bcSBen Ho reg = <0 0x19000000 0 0x1000>; 1982e526c9bcSBen Ho #clock-cells = <1>; 1983e526c9bcSBen Ho }; 1984e526c9bcSBen Ho 1985e526c9bcSBen Ho ipu_adl: syscon@19010000 { 1986e526c9bcSBen Ho compatible = "mediatek,mt8183-ipu_adl", "syscon"; 1987e526c9bcSBen Ho reg = <0 0x19010000 0 0x1000>; 1988e526c9bcSBen Ho #clock-cells = <1>; 1989e526c9bcSBen Ho }; 1990e526c9bcSBen Ho 1991e526c9bcSBen Ho ipu_core0: syscon@19180000 { 1992e526c9bcSBen Ho compatible = "mediatek,mt8183-ipu_core0", "syscon"; 1993e526c9bcSBen Ho reg = <0 0x19180000 0 0x1000>; 1994e526c9bcSBen Ho #clock-cells = <1>; 1995e526c9bcSBen Ho }; 1996e526c9bcSBen Ho 1997e526c9bcSBen Ho ipu_core1: syscon@19280000 { 1998e526c9bcSBen Ho compatible = "mediatek,mt8183-ipu_core1", "syscon"; 1999e526c9bcSBen Ho reg = <0 0x19280000 0 0x1000>; 2000e526c9bcSBen Ho #clock-cells = <1>; 2001e526c9bcSBen Ho }; 2002e526c9bcSBen Ho 2003e526c9bcSBen Ho camsys: syscon@1a000000 { 2004e526c9bcSBen Ho compatible = "mediatek,mt8183-camsys", "syscon"; 2005e526c9bcSBen Ho reg = <0 0x1a000000 0 0x1000>; 2006e526c9bcSBen Ho #clock-cells = <1>; 2007e526c9bcSBen Ho }; 2008c6080916SEnric Balletbo i Serra 2009c6080916SEnric Balletbo i Serra larb6: larb@1a001000 { 2010c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 2011c6080916SEnric Balletbo i Serra reg = <0 0x1a001000 0 0x1000>; 2012c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 2013c6080916SEnric Balletbo i Serra clocks = <&camsys CLK_CAM_LARB6>, <&camsys CLK_CAM_LARB6>, 2014c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_GALS_CAM2MM>; 2015c6080916SEnric Balletbo i Serra clock-names = "apb", "smi", "gals"; 2016c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_CAM>; 2017c6080916SEnric Balletbo i Serra }; 2018c6080916SEnric Balletbo i Serra 2019c6080916SEnric Balletbo i Serra larb3: larb@1a002000 { 2020c6080916SEnric Balletbo i Serra compatible = "mediatek,mt8183-smi-larb"; 2021c6080916SEnric Balletbo i Serra reg = <0 0x1a002000 0 0x1000>; 2022c6080916SEnric Balletbo i Serra mediatek,smi = <&smi_common>; 2023c6080916SEnric Balletbo i Serra clocks = <&camsys CLK_CAM_LARB3>, <&camsys CLK_CAM_LARB3>, 2024c6080916SEnric Balletbo i Serra <&mmsys CLK_MM_GALS_IPU12MM>; 2025c6080916SEnric Balletbo i Serra clock-names = "apb", "smi", "gals"; 2026c6080916SEnric Balletbo i Serra power-domains = <&spm MT8183_POWER_DOMAIN_CAM>; 2027c6080916SEnric Balletbo i Serra }; 2028e526c9bcSBen Ho }; 20295a60d634SAngeloGioacchino Del Regno 20305a60d634SAngeloGioacchino Del Regno thermal_zones: thermal-zones { 20315a60d634SAngeloGioacchino Del Regno cpu_thermal: cpu-thermal { 20325a60d634SAngeloGioacchino Del Regno polling-delay-passive = <100>; 20335a60d634SAngeloGioacchino Del Regno polling-delay = <500>; 20345a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 0>; 20355a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 20365a60d634SAngeloGioacchino Del Regno 20375a60d634SAngeloGioacchino Del Regno trips { 20385a60d634SAngeloGioacchino Del Regno threshold: trip-point0 { 20395a60d634SAngeloGioacchino Del Regno temperature = <68000>; 20405a60d634SAngeloGioacchino Del Regno hysteresis = <2000>; 20415a60d634SAngeloGioacchino Del Regno type = "passive"; 20425a60d634SAngeloGioacchino Del Regno }; 20435a60d634SAngeloGioacchino Del Regno 20445a60d634SAngeloGioacchino Del Regno target: trip-point1 { 20455a60d634SAngeloGioacchino Del Regno temperature = <80000>; 20465a60d634SAngeloGioacchino Del Regno hysteresis = <2000>; 20475a60d634SAngeloGioacchino Del Regno type = "passive"; 20485a60d634SAngeloGioacchino Del Regno }; 20495a60d634SAngeloGioacchino Del Regno 20505a60d634SAngeloGioacchino Del Regno cpu_crit: cpu-crit { 20515a60d634SAngeloGioacchino Del Regno temperature = <115000>; 20525a60d634SAngeloGioacchino Del Regno hysteresis = <2000>; 20535a60d634SAngeloGioacchino Del Regno type = "critical"; 20545a60d634SAngeloGioacchino Del Regno }; 20555a60d634SAngeloGioacchino Del Regno }; 20565a60d634SAngeloGioacchino Del Regno 20575a60d634SAngeloGioacchino Del Regno cooling-maps { 20585a60d634SAngeloGioacchino Del Regno map0 { 20595a60d634SAngeloGioacchino Del Regno trip = <&target>; 20605a60d634SAngeloGioacchino Del Regno cooling-device = <&cpu0 20615a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20625a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20635a60d634SAngeloGioacchino Del Regno <&cpu1 20645a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20655a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20665a60d634SAngeloGioacchino Del Regno <&cpu2 20675a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20685a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20695a60d634SAngeloGioacchino Del Regno <&cpu3 20705a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20715a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>; 20725a60d634SAngeloGioacchino Del Regno contribution = <3072>; 20735a60d634SAngeloGioacchino Del Regno }; 20745a60d634SAngeloGioacchino Del Regno map1 { 20755a60d634SAngeloGioacchino Del Regno trip = <&target>; 20765a60d634SAngeloGioacchino Del Regno cooling-device = <&cpu4 20775a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20785a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20795a60d634SAngeloGioacchino Del Regno <&cpu5 20805a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20815a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20825a60d634SAngeloGioacchino Del Regno <&cpu6 20835a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20845a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>, 20855a60d634SAngeloGioacchino Del Regno <&cpu7 20865a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT 20875a60d634SAngeloGioacchino Del Regno THERMAL_NO_LIMIT>; 20885a60d634SAngeloGioacchino Del Regno contribution = <1024>; 20895a60d634SAngeloGioacchino Del Regno }; 20905a60d634SAngeloGioacchino Del Regno }; 20915a60d634SAngeloGioacchino Del Regno }; 20925a60d634SAngeloGioacchino Del Regno 2093*4a5191c5SAngeloGioacchino Del Regno tzts1: soc-thermal { 2094*4a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 2095*4a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 20965a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 1>; 20975a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 2098*4a5191c5SAngeloGioacchino Del Regno trips { 2099*4a5191c5SAngeloGioacchino Del Regno soc_alert: trip-alert { 2100*4a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 2101*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2102*4a5191c5SAngeloGioacchino Del Regno type = "passive"; 21035a60d634SAngeloGioacchino Del Regno }; 21045a60d634SAngeloGioacchino Del Regno 2105*4a5191c5SAngeloGioacchino Del Regno soc_crit: trip-crit { 2106*4a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 2107*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2108*4a5191c5SAngeloGioacchino Del Regno type = "critical"; 2109*4a5191c5SAngeloGioacchino Del Regno }; 2110*4a5191c5SAngeloGioacchino Del Regno }; 2111*4a5191c5SAngeloGioacchino Del Regno }; 2112*4a5191c5SAngeloGioacchino Del Regno 2113*4a5191c5SAngeloGioacchino Del Regno tzts2: gpu-thermal { 2114*4a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 2115*4a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21165a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 2>; 21175a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 2118*4a5191c5SAngeloGioacchino Del Regno 2119*4a5191c5SAngeloGioacchino Del Regno trips { 2120*4a5191c5SAngeloGioacchino Del Regno gpu_alert: trip-alert { 2121*4a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 2122*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2123*4a5191c5SAngeloGioacchino Del Regno type = "passive"; 21245a60d634SAngeloGioacchino Del Regno }; 21255a60d634SAngeloGioacchino Del Regno 2126*4a5191c5SAngeloGioacchino Del Regno gpu_crit: trip-crit { 2127*4a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 2128*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2129*4a5191c5SAngeloGioacchino Del Regno type = "critical"; 2130*4a5191c5SAngeloGioacchino Del Regno }; 2131*4a5191c5SAngeloGioacchino Del Regno }; 2132*4a5191c5SAngeloGioacchino Del Regno }; 2133*4a5191c5SAngeloGioacchino Del Regno 2134*4a5191c5SAngeloGioacchino Del Regno tzts3: md1-thermal { 2135*4a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 2136*4a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21375a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 3>; 21385a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 2139*4a5191c5SAngeloGioacchino Del Regno 2140*4a5191c5SAngeloGioacchino Del Regno trips { 2141*4a5191c5SAngeloGioacchino Del Regno md1_alert: trip-alert { 2142*4a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 2143*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2144*4a5191c5SAngeloGioacchino Del Regno type = "passive"; 21455a60d634SAngeloGioacchino Del Regno }; 21465a60d634SAngeloGioacchino Del Regno 2147*4a5191c5SAngeloGioacchino Del Regno md1_crit: trip-crit { 2148*4a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 2149*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2150*4a5191c5SAngeloGioacchino Del Regno type = "critical"; 2151*4a5191c5SAngeloGioacchino Del Regno }; 2152*4a5191c5SAngeloGioacchino Del Regno }; 2153*4a5191c5SAngeloGioacchino Del Regno }; 2154*4a5191c5SAngeloGioacchino Del Regno 2155*4a5191c5SAngeloGioacchino Del Regno tzts4: cpu-little-thermal { 2156*4a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 2157*4a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21585a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 4>; 21595a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 2160*4a5191c5SAngeloGioacchino Del Regno 2161*4a5191c5SAngeloGioacchino Del Regno trips { 2162*4a5191c5SAngeloGioacchino Del Regno cpul_alert: trip-alert { 2163*4a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 2164*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2165*4a5191c5SAngeloGioacchino Del Regno type = "passive"; 21665a60d634SAngeloGioacchino Del Regno }; 21675a60d634SAngeloGioacchino Del Regno 2168*4a5191c5SAngeloGioacchino Del Regno cpul_crit: trip-crit { 2169*4a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 2170*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2171*4a5191c5SAngeloGioacchino Del Regno type = "critical"; 2172*4a5191c5SAngeloGioacchino Del Regno }; 2173*4a5191c5SAngeloGioacchino Del Regno }; 2174*4a5191c5SAngeloGioacchino Del Regno }; 2175*4a5191c5SAngeloGioacchino Del Regno 2176*4a5191c5SAngeloGioacchino Del Regno tzts5: cpu-big-thermal { 2177*4a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 2178*4a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 21795a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 5>; 21805a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 2181*4a5191c5SAngeloGioacchino Del Regno 2182*4a5191c5SAngeloGioacchino Del Regno trips { 2183*4a5191c5SAngeloGioacchino Del Regno cpub_alert: trip-alert { 2184*4a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 2185*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2186*4a5191c5SAngeloGioacchino Del Regno type = "passive"; 21875a60d634SAngeloGioacchino Del Regno }; 21885a60d634SAngeloGioacchino Del Regno 2189*4a5191c5SAngeloGioacchino Del Regno cpub_crit: trip-crit { 2190*4a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 2191*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2192*4a5191c5SAngeloGioacchino Del Regno type = "critical"; 2193*4a5191c5SAngeloGioacchino Del Regno }; 2194*4a5191c5SAngeloGioacchino Del Regno }; 2195*4a5191c5SAngeloGioacchino Del Regno }; 2196*4a5191c5SAngeloGioacchino Del Regno 2197*4a5191c5SAngeloGioacchino Del Regno tztsABB: tsabb-thermal { 2198*4a5191c5SAngeloGioacchino Del Regno polling-delay = <1000>; 2199*4a5191c5SAngeloGioacchino Del Regno polling-delay-passive = <250>; 22005a60d634SAngeloGioacchino Del Regno thermal-sensors = <&thermal 6>; 22015a60d634SAngeloGioacchino Del Regno sustainable-power = <5000>; 2202*4a5191c5SAngeloGioacchino Del Regno 2203*4a5191c5SAngeloGioacchino Del Regno trips { 2204*4a5191c5SAngeloGioacchino Del Regno tsabb_alert: trip-alert { 2205*4a5191c5SAngeloGioacchino Del Regno temperature = <85000>; 2206*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2207*4a5191c5SAngeloGioacchino Del Regno type = "passive"; 2208*4a5191c5SAngeloGioacchino Del Regno }; 2209*4a5191c5SAngeloGioacchino Del Regno 2210*4a5191c5SAngeloGioacchino Del Regno tsabb_crit: trip-crit { 2211*4a5191c5SAngeloGioacchino Del Regno temperature = <100000>; 2212*4a5191c5SAngeloGioacchino Del Regno hysteresis = <2000>; 2213*4a5191c5SAngeloGioacchino Del Regno type = "critical"; 2214*4a5191c5SAngeloGioacchino Del Regno }; 2215*4a5191c5SAngeloGioacchino Del Regno }; 22165a60d634SAngeloGioacchino Del Regno }; 22175a60d634SAngeloGioacchino Del Regno }; 2218e526c9bcSBen Ho}; 2219