123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818 |
- // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
- /*
- * Copyright (C) 2022 MediaTek Inc.
- * Author: Allen-KH Cheng <[email protected]>
- */
- /dts-v1/;
- #include <dt-bindings/clock/mt8186-clk.h>
- #include <dt-bindings/interrupt-controller/arm-gic.h>
- #include <dt-bindings/interrupt-controller/irq.h>
- #include <dt-bindings/pinctrl/mt8186-pinfunc.h>
- #include <dt-bindings/power/mt8186-power.h>
- #include <dt-bindings/phy/phy.h>
- #include <dt-bindings/reset/mt8186-resets.h>
- / {
- compatible = "mediatek,mt8186";
- interrupt-parent = <&gic>;
- #address-cells = <2>;
- #size-cells = <2>;
- cpus {
- #address-cells = <1>;
- #size-cells = <0>;
- cpu-map {
- cluster0 {
- core0 {
- cpu = <&cpu0>;
- };
- core1 {
- cpu = <&cpu1>;
- };
- core2 {
- cpu = <&cpu2>;
- };
- core3 {
- cpu = <&cpu3>;
- };
- core4 {
- cpu = <&cpu4>;
- };
- core5 {
- cpu = <&cpu5>;
- };
- core6 {
- cpu = <&cpu6>;
- };
- core7 {
- cpu = <&cpu7>;
- };
- };
- };
- cpu0: cpu@0 {
- device_type = "cpu";
- compatible = "arm,cortex-a55";
- reg = <0x000>;
- enable-method = "psci";
- clock-frequency = <2000000000>;
- capacity-dmips-mhz = <382>;
- cpu-idle-states = <&cpu_off_l &cluster_off_l>;
- next-level-cache = <&l2_0>;
- #cooling-cells = <2>;
- };
- cpu1: cpu@100 {
- device_type = "cpu";
- compatible = "arm,cortex-a55";
- reg = <0x100>;
- enable-method = "psci";
- clock-frequency = <2000000000>;
- capacity-dmips-mhz = <382>;
- cpu-idle-states = <&cpu_off_l &cluster_off_l>;
- next-level-cache = <&l2_0>;
- #cooling-cells = <2>;
- };
- cpu2: cpu@200 {
- device_type = "cpu";
- compatible = "arm,cortex-a55";
- reg = <0x200>;
- enable-method = "psci";
- clock-frequency = <2000000000>;
- capacity-dmips-mhz = <382>;
- cpu-idle-states = <&cpu_off_l &cluster_off_l>;
- next-level-cache = <&l2_0>;
- #cooling-cells = <2>;
- };
- cpu3: cpu@300 {
- device_type = "cpu";
- compatible = "arm,cortex-a55";
- reg = <0x300>;
- enable-method = "psci";
- clock-frequency = <2000000000>;
- capacity-dmips-mhz = <382>;
- cpu-idle-states = <&cpu_off_l &cluster_off_l>;
- next-level-cache = <&l2_0>;
- #cooling-cells = <2>;
- };
- cpu4: cpu@400 {
- device_type = "cpu";
- compatible = "arm,cortex-a55";
- reg = <0x400>;
- enable-method = "psci";
- clock-frequency = <2000000000>;
- capacity-dmips-mhz = <382>;
- cpu-idle-states = <&cpu_off_l &cluster_off_l>;
- next-level-cache = <&l2_0>;
- #cooling-cells = <2>;
- };
- cpu5: cpu@500 {
- device_type = "cpu";
- compatible = "arm,cortex-a55";
- reg = <0x500>;
- enable-method = "psci";
- clock-frequency = <2000000000>;
- capacity-dmips-mhz = <382>;
- cpu-idle-states = <&cpu_off_l &cluster_off_l>;
- next-level-cache = <&l2_0>;
- #cooling-cells = <2>;
- };
- cpu6: cpu@600 {
- device_type = "cpu";
- compatible = "arm,cortex-a76";
- reg = <0x600>;
- enable-method = "psci";
- clock-frequency = <2050000000>;
- capacity-dmips-mhz = <1024>;
- cpu-idle-states = <&cpu_off_b &cluster_off_b>;
- next-level-cache = <&l2_1>;
- #cooling-cells = <2>;
- };
- cpu7: cpu@700 {
- device_type = "cpu";
- compatible = "arm,cortex-a76";
- reg = <0x700>;
- enable-method = "psci";
- clock-frequency = <2050000000>;
- capacity-dmips-mhz = <1024>;
- cpu-idle-states = <&cpu_off_b &cluster_off_b>;
- next-level-cache = <&l2_1>;
- #cooling-cells = <2>;
- };
- idle-states {
- entry-method = "psci";
- cpu_off_l: cpu-off-l {
- compatible = "arm,idle-state";
- arm,psci-suspend-param = <0x00010001>;
- local-timer-stop;
- entry-latency-us = <50>;
- exit-latency-us = <100>;
- min-residency-us = <1600>;
- };
- cpu_off_b: cpu-off-b {
- compatible = "arm,idle-state";
- arm,psci-suspend-param = <0x00010001>;
- local-timer-stop;
- entry-latency-us = <50>;
- exit-latency-us = <100>;
- min-residency-us = <1400>;
- };
- cluster_off_l: cluster-off-l {
- compatible = "arm,idle-state";
- arm,psci-suspend-param = <0x01010001>;
- local-timer-stop;
- entry-latency-us = <100>;
- exit-latency-us = <250>;
- min-residency-us = <2100>;
- };
- cluster_off_b: cluster-off-b {
- compatible = "arm,idle-state";
- arm,psci-suspend-param = <0x01010001>;
- local-timer-stop;
- entry-latency-us = <100>;
- exit-latency-us = <250>;
- min-residency-us = <1900>;
- };
- };
- l2_0: l2-cache0 {
- compatible = "cache";
- next-level-cache = <&l3_0>;
- };
- l2_1: l2-cache1 {
- compatible = "cache";
- next-level-cache = <&l3_0>;
- };
- l3_0: l3-cache {
- compatible = "cache";
- };
- };
- clk13m: fixed-factor-clock-13m {
- compatible = "fixed-factor-clock";
- #clock-cells = <0>;
- clocks = <&clk26m>;
- clock-div = <2>;
- clock-mult = <1>;
- clock-output-names = "clk13m";
- };
- clk26m: oscillator-26m {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <26000000>;
- clock-output-names = "clk26m";
- };
- clk32k: oscillator-32k {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <32768>;
- clock-output-names = "clk32k";
- };
- pmu-a55 {
- compatible = "arm,cortex-a55-pmu";
- interrupt-parent = <&gic>;
- interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster0>;
- };
- pmu-a76 {
- compatible = "arm,cortex-a76-pmu";
- interrupt-parent = <&gic>;
- interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster1>;
- };
- psci {
- compatible = "arm,psci-1.0";
- method = "smc";
- };
- timer {
- compatible = "arm,armv8-timer";
- interrupt-parent = <&gic>;
- interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>,
- <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>,
- <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>,
- <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>;
- };
- soc {
- #address-cells = <2>;
- #size-cells = <2>;
- compatible = "simple-bus";
- ranges;
- gic: interrupt-controller@c000000 {
- compatible = "arm,gic-v3";
- #interrupt-cells = <4>;
- #redistributor-regions = <1>;
- interrupt-parent = <&gic>;
- interrupt-controller;
- reg = <0 0x0c000000 0 0x40000>,
- <0 0x0c040000 0 0x200000>;
- interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
- ppi-partitions {
- ppi_cluster0: interrupt-partition-0 {
- affinity = <&cpu0 &cpu1 &cpu2 &cpu3 &cpu4 &cpu5>;
- };
- ppi_cluster1: interrupt-partition-1 {
- affinity = <&cpu6 &cpu7>;
- };
- };
- };
- mcusys: syscon@c53a000 {
- compatible = "mediatek,mt8186-mcusys", "syscon";
- reg = <0 0xc53a000 0 0x1000>;
- #clock-cells = <1>;
- };
- topckgen: syscon@10000000 {
- compatible = "mediatek,mt8186-topckgen", "syscon";
- reg = <0 0x10000000 0 0x1000>;
- #clock-cells = <1>;
- };
- infracfg_ao: syscon@10001000 {
- compatible = "mediatek,mt8186-infracfg_ao", "syscon";
- reg = <0 0x10001000 0 0x1000>;
- #clock-cells = <1>;
- #reset-cells = <1>;
- };
- pericfg: syscon@10003000 {
- compatible = "mediatek,mt8186-pericfg", "syscon";
- reg = <0 0x10003000 0 0x1000>;
- };
- pio: pinctrl@10005000 {
- compatible = "mediatek,mt8186-pinctrl";
- reg = <0 0x10005000 0 0x1000>,
- <0 0x10002000 0 0x0200>,
- <0 0x10002200 0 0x0200>,
- <0 0x10002400 0 0x0200>,
- <0 0x10002600 0 0x0200>,
- <0 0x10002a00 0 0x0200>,
- <0 0x10002c00 0 0x0200>,
- <0 0x1000b000 0 0x1000>;
- reg-names = "iocfg0", "iocfg_lt", "iocfg_lm", "iocfg_lb",
- "iocfg_bl", "iocfg_rb", "iocfg_rt", "eint";
- gpio-controller;
- #gpio-cells = <2>;
- gpio-ranges = <&pio 0 0 185>;
- interrupt-controller;
- interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH 0>;
- #interrupt-cells = <2>;
- };
- watchdog: watchdog@10007000 {
- compatible = "mediatek,mt8186-wdt";
- mediatek,disable-extrst;
- reg = <0 0x10007000 0 0x1000>;
- #reset-cells = <1>;
- };
- apmixedsys: syscon@1000c000 {
- compatible = "mediatek,mt8186-apmixedsys", "syscon";
- reg = <0 0x1000c000 0 0x1000>;
- #clock-cells = <1>;
- };
- pwrap: pwrap@1000d000 {
- compatible = "mediatek,mt8186-pwrap", "syscon";
- reg = <0 0x1000d000 0 0x1000>;
- reg-names = "pwrap";
- interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>,
- <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>;
- clock-names = "spi", "wrap";
- };
- systimer: timer@10017000 {
- compatible = "mediatek,mt8186-timer",
- "mediatek,mt6765-timer";
- reg = <0 0x10017000 0 0x1000>;
- interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&clk13m>;
- };
- scp: scp@10500000 {
- compatible = "mediatek,mt8186-scp";
- reg = <0 0x10500000 0 0x40000>,
- <0 0x105c0000 0 0x19080>;
- reg-names = "sram", "cfg";
- interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH 0>;
- };
- nor_flash: spi@11000000 {
- compatible = "mediatek,mt8186-nor";
- reg = <0 0x11000000 0 0x1000>;
- clocks = <&topckgen CLK_TOP_SPINOR>,
- <&infracfg_ao CLK_INFRA_AO_SPINOR>,
- <&infracfg_ao CLK_INFRA_AO_FLASHIF_133M>,
- <&infracfg_ao CLK_INFRA_AO_FLASHIF_66M>;
- clock-names = "spi", "sf", "axi", "axi_s";
- assigned-clocks = <&topckgen CLK_TOP_SPINOR>;
- assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D3_D8>;
- interrupts = <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH 0>;
- status = "disabled";
- };
- auxadc: adc@11001000 {
- compatible = "mediatek,mt8186-auxadc", "mediatek,mt8173-auxadc";
- reg = <0 0x11001000 0 0x1000>;
- #io-channel-cells = <1>;
- clocks = <&infracfg_ao CLK_INFRA_AO_AUXADC>;
- clock-names = "main";
- };
- uart0: serial@11002000 {
- compatible = "mediatek,mt8186-uart",
- "mediatek,mt6577-uart";
- reg = <0 0x11002000 0 0x1000>;
- interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART0>;
- clock-names = "baud", "bus";
- status = "disabled";
- };
- uart1: serial@11003000 {
- compatible = "mediatek,mt8186-uart",
- "mediatek,mt6577-uart";
- reg = <0 0x11003000 0 0x1000>;
- interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART1>;
- clock-names = "baud", "bus";
- status = "disabled";
- };
- i2c0: i2c@11007000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x11007000 0 0x1000>,
- <0 0x10200100 0 0x100>;
- interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C0>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- i2c1: i2c@11008000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x11008000 0 0x1000>,
- <0 0x10200200 0 0x100>;
- interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C1>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- i2c2: i2c@11009000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x11009000 0 0x1000>,
- <0 0x10200300 0 0x180>;
- interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C2>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- i2c3: i2c@1100f000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x1100f000 0 0x1000>,
- <0 0x10200480 0 0x100>;
- interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C3>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- i2c4: i2c@11011000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x11011000 0 0x1000>,
- <0 0x10200580 0 0x180>;
- interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C4>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- i2c5: i2c@11016000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x11016000 0 0x1000>,
- <0 0x10200700 0 0x100>;
- interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C5>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- i2c6: i2c@1100d000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x1100d000 0 0x1000>,
- <0 0x10200800 0 0x100>;
- interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C6>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- i2c7: i2c@11004000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x11004000 0 0x1000>,
- <0 0x10200900 0 0x180>;
- interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C7>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- i2c8: i2c@11005000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x11005000 0 0x1000>,
- <0 0x10200A80 0 0x180>;
- interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C8>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- spi0: spi@1100a000 {
- compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0 0x1100a000 0 0x1000>;
- interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&topckgen CLK_TOP_MAINPLL_D5>,
- <&topckgen CLK_TOP_SPI>,
- <&infracfg_ao CLK_INFRA_AO_SPI0>;
- clock-names = "parent-clk", "sel-clk", "spi-clk";
- status = "disabled";
- };
- pwm0: pwm@1100e000 {
- compatible = "mediatek,mt8186-disp-pwm", "mediatek,mt8183-disp-pwm";
- reg = <0 0x1100e000 0 0x1000>;
- interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH 0>;
- #pwm-cells = <2>;
- clocks = <&topckgen CLK_TOP_DISP_PWM>,
- <&infracfg_ao CLK_INFRA_AO_DISP_PWM>;
- clock-names = "main", "mm";
- status = "disabled";
- };
- spi1: spi@11010000 {
- compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0 0x11010000 0 0x1000>;
- interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&topckgen CLK_TOP_MAINPLL_D5>,
- <&topckgen CLK_TOP_SPI>,
- <&infracfg_ao CLK_INFRA_AO_SPI1>;
- clock-names = "parent-clk", "sel-clk", "spi-clk";
- status = "disabled";
- };
- spi2: spi@11012000 {
- compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0 0x11012000 0 0x1000>;
- interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&topckgen CLK_TOP_MAINPLL_D5>,
- <&topckgen CLK_TOP_SPI>,
- <&infracfg_ao CLK_INFRA_AO_SPI2>;
- clock-names = "parent-clk", "sel-clk", "spi-clk";
- status = "disabled";
- };
- spi3: spi@11013000 {
- compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0 0x11013000 0 0x1000>;
- interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&topckgen CLK_TOP_MAINPLL_D5>,
- <&topckgen CLK_TOP_SPI>,
- <&infracfg_ao CLK_INFRA_AO_SPI3>;
- clock-names = "parent-clk", "sel-clk", "spi-clk";
- status = "disabled";
- };
- spi4: spi@11014000 {
- compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0 0x11014000 0 0x1000>;
- interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&topckgen CLK_TOP_MAINPLL_D5>,
- <&topckgen CLK_TOP_SPI>,
- <&infracfg_ao CLK_INFRA_AO_SPI4>;
- clock-names = "parent-clk", "sel-clk", "spi-clk";
- status = "disabled";
- };
- spi5: spi@11015000 {
- compatible = "mediatek,mt8186-spi", "mediatek,mt6765-spi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0 0x11015000 0 0x1000>;
- interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&topckgen CLK_TOP_MAINPLL_D5>,
- <&topckgen CLK_TOP_SPI>,
- <&infracfg_ao CLK_INFRA_AO_SPI5>;
- clock-names = "parent-clk", "sel-clk", "spi-clk";
- status = "disabled";
- };
- imp_iic_wrap: clock-controller@11017000 {
- compatible = "mediatek,mt8186-imp_iic_wrap";
- reg = <0 0x11017000 0 0x1000>;
- #clock-cells = <1>;
- };
- uart2: serial@11018000 {
- compatible = "mediatek,mt8186-uart",
- "mediatek,mt6577-uart";
- reg = <0 0x11018000 0 0x1000>;
- interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART2>;
- clock-names = "baud", "bus";
- status = "disabled";
- };
- i2c9: i2c@11019000 {
- compatible = "mediatek,mt8186-i2c";
- reg = <0 0x11019000 0 0x1000>,
- <0 0x10200c00 0 0x180>;
- interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH 0>;
- clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C9>,
- <&infracfg_ao CLK_INFRA_AO_AP_DMA>;
- clock-names = "main", "dma";
- clock-div = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
- mmc0: mmc@11230000 {
- compatible = "mediatek,mt8186-mmc",
- "mediatek,mt8183-mmc";
- reg = <0 0x11230000 0 0x1000>,
- <0 0x11cd0000 0 0x1000>;
- clocks = <&topckgen CLK_TOP_MSDC50_0>,
- <&infracfg_ao CLK_INFRA_AO_MSDC0>,
- <&infracfg_ao CLK_INFRA_AO_MSDC0_SRC>;
- clock-names = "source", "hclk", "source_cg";
- interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH 0>;
- assigned-clocks = <&topckgen CLK_TOP_MSDC50_0>;
- assigned-clock-parents = <&apmixedsys CLK_APMIXED_MSDCPLL>;
- status = "disabled";
- };
- mmc1: mmc@11240000 {
- compatible = "mediatek,mt8186-mmc",
- "mediatek,mt8183-mmc";
- reg = <0 0x11240000 0 0x1000>,
- <0 0x11c90000 0 0x1000>;
- clocks = <&topckgen CLK_TOP_MSDC30_1>,
- <&infracfg_ao CLK_INFRA_AO_MSDC1>,
- <&infracfg_ao CLK_INFRA_AO_MSDC1_SRC>;
- clock-names = "source", "hclk", "source_cg";
- interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH 0>;
- assigned-clocks = <&topckgen CLK_TOP_MSDC30_1>;
- assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>;
- status = "disabled";
- };
- u3phy0: t-phy@11c80000 {
- compatible = "mediatek,mt8186-tphy",
- "mediatek,generic-tphy-v2";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0x0 0x0 0x11c80000 0x1000>;
- status = "disabled";
- u2port1: usb-phy@0 {
- reg = <0x0 0x700>;
- clocks = <&clk26m>;
- clock-names = "ref";
- #phy-cells = <1>;
- };
- u3port1: usb-phy@700 {
- reg = <0x700 0x900>;
- clocks = <&clk26m>;
- clock-names = "ref";
- #phy-cells = <1>;
- };
- };
- u3phy1: t-phy@11ca0000 {
- compatible = "mediatek,mt8186-tphy",
- "mediatek,generic-tphy-v2";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0x0 0x0 0x11ca0000 0x1000>;
- status = "disabled";
- u2port0: usb-phy@0 {
- reg = <0x0 0x700>;
- clocks = <&clk26m>;
- clock-names = "ref";
- #phy-cells = <1>;
- mediatek,discth = <0x8>;
- };
- };
- efuse: efuse@11cb0000 {
- compatible = "mediatek,mt8186-efuse", "mediatek,efuse";
- reg = <0 0x11cb0000 0 0x1000>;
- #address-cells = <1>;
- #size-cells = <1>;
- };
- mipi_tx0: dsi-phy@11cc0000 {
- compatible = "mediatek,mt8183-mipi-tx";
- reg = <0 0x11cc0000 0 0x1000>;
- clocks = <&clk26m>;
- #clock-cells = <0>;
- #phy-cells = <0>;
- clock-output-names = "mipi_tx0_pll";
- status = "disabled";
- };
- mfgsys: clock-controller@13000000 {
- compatible = "mediatek,mt8186-mfgsys";
- reg = <0 0x13000000 0 0x1000>;
- #clock-cells = <1>;
- };
- mmsys: syscon@14000000 {
- compatible = "mediatek,mt8186-mmsys", "syscon";
- reg = <0 0x14000000 0 0x1000>;
- #clock-cells = <1>;
- #reset-cells = <1>;
- };
- wpesys: clock-controller@14020000 {
- compatible = "mediatek,mt8186-wpesys";
- reg = <0 0x14020000 0 0x1000>;
- #clock-cells = <1>;
- };
- imgsys1: clock-controller@15020000 {
- compatible = "mediatek,mt8186-imgsys1";
- reg = <0 0x15020000 0 0x1000>;
- #clock-cells = <1>;
- };
- imgsys2: clock-controller@15820000 {
- compatible = "mediatek,mt8186-imgsys2";
- reg = <0 0x15820000 0 0x1000>;
- #clock-cells = <1>;
- };
- vdecsys: clock-controller@1602f000 {
- compatible = "mediatek,mt8186-vdecsys";
- reg = <0 0x1602f000 0 0x1000>;
- #clock-cells = <1>;
- };
- vencsys: clock-controller@17000000 {
- compatible = "mediatek,mt8186-vencsys";
- reg = <0 0x17000000 0 0x1000>;
- #clock-cells = <1>;
- };
- camsys: clock-controller@1a000000 {
- compatible = "mediatek,mt8186-camsys";
- reg = <0 0x1a000000 0 0x1000>;
- #clock-cells = <1>;
- };
- camsys_rawa: clock-controller@1a04f000 {
- compatible = "mediatek,mt8186-camsys_rawa";
- reg = <0 0x1a04f000 0 0x1000>;
- #clock-cells = <1>;
- };
- camsys_rawb: clock-controller@1a06f000 {
- compatible = "mediatek,mt8186-camsys_rawb";
- reg = <0 0x1a06f000 0 0x1000>;
- #clock-cells = <1>;
- };
- mdpsys: clock-controller@1b000000 {
- compatible = "mediatek,mt8186-mdpsys";
- reg = <0 0x1b000000 0 0x1000>;
- #clock-cells = <1>;
- };
- ipesys: clock-controller@1c000000 {
- compatible = "mediatek,mt8186-ipesys";
- reg = <0 0x1c000000 0 0x1000>;
- #clock-cells = <1>;
- };
- };
- };
|