~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/st/stm32mp253.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php