1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 4f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot#include "stm32mp251.dtsi" 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/ { 9f126890aSEmmanuel Vadot cpus { 10f126890aSEmmanuel Vadot cpu1: cpu@1 { 11f126890aSEmmanuel Vadot compatible = "arm,cortex-a35"; 12f126890aSEmmanuel Vadot device_type = "cpu"; 13f126890aSEmmanuel Vadot reg = <1>; 14f126890aSEmmanuel Vadot enable-method = "psci"; 15*0e8011faSEmmanuel Vadot power-domains = <&CPU_PD1>; 16*0e8011faSEmmanuel Vadot power-domain-names = "psci"; 17f126890aSEmmanuel Vadot }; 18f126890aSEmmanuel Vadot }; 19f126890aSEmmanuel Vadot 20f126890aSEmmanuel Vadot arm-pmu { 21f126890aSEmmanuel Vadot interrupts = <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>, 22f126890aSEmmanuel Vadot <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>; 23f126890aSEmmanuel Vadot interrupt-affinity = <&cpu0>, <&cpu1>; 24f126890aSEmmanuel Vadot }; 257d0873ebSEmmanuel Vadot 26*0e8011faSEmmanuel Vadot psci { 27*0e8011faSEmmanuel Vadot CPU_PD1: power-domain-cpu1 { 28*0e8011faSEmmanuel Vadot #power-domain-cells = <0>; 29*0e8011faSEmmanuel Vadot power-domains = <&CLUSTER_PD>; 30*0e8011faSEmmanuel Vadot }; 31*0e8011faSEmmanuel Vadot }; 32*0e8011faSEmmanuel Vadot 337d0873ebSEmmanuel Vadot timer { 347d0873ebSEmmanuel Vadot interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 357d0873ebSEmmanuel Vadot <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 367d0873ebSEmmanuel Vadot <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 377d0873ebSEmmanuel Vadot <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; 387d0873ebSEmmanuel Vadot }; 39f126890aSEmmanuel Vadot}; 40*0e8011faSEmmanuel Vadot 41*0e8011faSEmmanuel Vadot&optee { 42*0e8011faSEmmanuel Vadot interrupts = <GIC_PPI 15 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; 43*0e8011faSEmmanuel Vadot}; 44*0e8011faSEmmanuel Vadot 45*0e8011faSEmmanuel Vadot&rifsc { 46*0e8011faSEmmanuel Vadot ethernet2: ethernet@482d0000 { 47*0e8011faSEmmanuel Vadot compatible = "st,stm32mp25-dwmac", "snps,dwmac-5.20"; 48*0e8011faSEmmanuel Vadot reg = <0x482d0000 0x4000>; 49*0e8011faSEmmanuel Vadot reg-names = "stmmaceth"; 50*0e8011faSEmmanuel Vadot interrupts-extended = <&intc GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 51*0e8011faSEmmanuel Vadot interrupt-names = "macirq"; 52*0e8011faSEmmanuel Vadot clock-names = "stmmaceth", 53*0e8011faSEmmanuel Vadot "mac-clk-tx", 54*0e8011faSEmmanuel Vadot "mac-clk-rx", 55*0e8011faSEmmanuel Vadot "ptp_ref", 56*0e8011faSEmmanuel Vadot "ethstp", 57*0e8011faSEmmanuel Vadot "eth-ck"; 58*0e8011faSEmmanuel Vadot clocks = <&rcc CK_ETH2_MAC>, 59*0e8011faSEmmanuel Vadot <&rcc CK_ETH2_TX>, 60*0e8011faSEmmanuel Vadot <&rcc CK_ETH2_RX>, 61*0e8011faSEmmanuel Vadot <&rcc CK_KER_ETH2PTP>, 62*0e8011faSEmmanuel Vadot <&rcc CK_ETH2_STP>, 63*0e8011faSEmmanuel Vadot <&rcc CK_KER_ETH2>; 64*0e8011faSEmmanuel Vadot snps,axi-config = <&stmmac_axi_config_2>; 65*0e8011faSEmmanuel Vadot snps,mixed-burst; 66*0e8011faSEmmanuel Vadot snps,mtl-rx-config = <&mtl_rx_setup_2>; 67*0e8011faSEmmanuel Vadot snps,mtl-tx-config = <&mtl_tx_setup_2>; 68*0e8011faSEmmanuel Vadot snps,pbl = <2>; 69*0e8011faSEmmanuel Vadot snps,tso; 70*0e8011faSEmmanuel Vadot st,syscon = <&syscfg 0x3400>; 71*0e8011faSEmmanuel Vadot access-controllers = <&rifsc 61>; 72*0e8011faSEmmanuel Vadot status = "disabled"; 73*0e8011faSEmmanuel Vadot 74*0e8011faSEmmanuel Vadot mtl_rx_setup_2: rx-queues-config { 75*0e8011faSEmmanuel Vadot snps,rx-queues-to-use = <2>; 76*0e8011faSEmmanuel Vadot queue0 {}; 77*0e8011faSEmmanuel Vadot queue1 {}; 78*0e8011faSEmmanuel Vadot }; 79*0e8011faSEmmanuel Vadot 80*0e8011faSEmmanuel Vadot mtl_tx_setup_2: tx-queues-config { 81*0e8011faSEmmanuel Vadot snps,tx-queues-to-use = <4>; 82*0e8011faSEmmanuel Vadot queue0 {}; 83*0e8011faSEmmanuel Vadot queue1 {}; 84*0e8011faSEmmanuel Vadot queue2 {}; 85*0e8011faSEmmanuel Vadot queue3 {}; 86*0e8011faSEmmanuel Vadot }; 87*0e8011faSEmmanuel Vadot 88*0e8011faSEmmanuel Vadot stmmac_axi_config_2: stmmac-axi-config { 89*0e8011faSEmmanuel Vadot snps,blen = <0 0 0 0 16 8 4>; 90*0e8011faSEmmanuel Vadot snps,rd_osr_lmt = <0x7>; 91*0e8011faSEmmanuel Vadot snps,wr_osr_lmt = <0x7>; 92*0e8011faSEmmanuel Vadot }; 93*0e8011faSEmmanuel Vadot }; 94*0e8011faSEmmanuel Vadot}; 95