1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 4f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot#include "stm32mp131.dtsi" 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot/ { 10f126890aSEmmanuel Vadot soc { 11f126890aSEmmanuel Vadot m_can1: can@4400e000 { 12f126890aSEmmanuel Vadot compatible = "bosch,m_can"; 13f126890aSEmmanuel Vadot reg = <0x4400e000 0x400>, <0x44011000 0x1400>; 14f126890aSEmmanuel Vadot reg-names = "m_can", "message_ram"; 15f126890aSEmmanuel Vadot interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, 16f126890aSEmmanuel Vadot <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 17f126890aSEmmanuel Vadot interrupt-names = "int0", "int1"; 18f126890aSEmmanuel Vadot clocks = <&scmi_clk CK_SCMI_HSE>, <&rcc FDCAN_K>; 19f126890aSEmmanuel Vadot clock-names = "hclk", "cclk"; 20f126890aSEmmanuel Vadot bosch,mram-cfg = <0x0 0 0 32 0 0 2 2>; 21f126890aSEmmanuel Vadot status = "disabled"; 22f126890aSEmmanuel Vadot }; 23f126890aSEmmanuel Vadot 24f126890aSEmmanuel Vadot m_can2: can@4400f000 { 25f126890aSEmmanuel Vadot compatible = "bosch,m_can"; 26f126890aSEmmanuel Vadot reg = <0x4400f000 0x400>, <0x44011000 0x2800>; 27f126890aSEmmanuel Vadot reg-names = "m_can", "message_ram"; 28f126890aSEmmanuel Vadot interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 29f126890aSEmmanuel Vadot <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 30f126890aSEmmanuel Vadot interrupt-names = "int0", "int1"; 31f126890aSEmmanuel Vadot clocks = <&scmi_clk CK_SCMI_HSE>, <&rcc FDCAN_K>; 32f126890aSEmmanuel Vadot clock-names = "hclk", "cclk"; 33f126890aSEmmanuel Vadot bosch,mram-cfg = <0x1400 0 0 32 0 0 2 2>; 34f126890aSEmmanuel Vadot status = "disabled"; 35f126890aSEmmanuel Vadot }; 367d0873ebSEmmanuel Vadot }; 377d0873ebSEmmanuel Vadot}; 38f126890aSEmmanuel Vadot 397d0873ebSEmmanuel Vadot&etzpc { 40f126890aSEmmanuel Vadot adc_1: adc@48003000 { 41f126890aSEmmanuel Vadot compatible = "st,stm32mp13-adc-core"; 42f126890aSEmmanuel Vadot reg = <0x48003000 0x400>; 43f126890aSEmmanuel Vadot interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 44f126890aSEmmanuel Vadot clocks = <&rcc ADC1>, <&rcc ADC1_K>; 45f126890aSEmmanuel Vadot clock-names = "bus", "adc"; 46f126890aSEmmanuel Vadot interrupt-controller; 47f126890aSEmmanuel Vadot #interrupt-cells = <1>; 48f126890aSEmmanuel Vadot #address-cells = <1>; 49f126890aSEmmanuel Vadot #size-cells = <0>; 507d0873ebSEmmanuel Vadot access-controllers = <&etzpc 32>; 51f126890aSEmmanuel Vadot status = "disabled"; 52f126890aSEmmanuel Vadot 53f126890aSEmmanuel Vadot adc1: adc@0 { 54f126890aSEmmanuel Vadot compatible = "st,stm32mp13-adc"; 55f126890aSEmmanuel Vadot #io-channel-cells = <1>; 56f126890aSEmmanuel Vadot #address-cells = <1>; 57f126890aSEmmanuel Vadot #size-cells = <0>; 58f126890aSEmmanuel Vadot reg = <0x0>; 59f126890aSEmmanuel Vadot interrupt-parent = <&adc_1>; 60f126890aSEmmanuel Vadot interrupts = <0>; 61f126890aSEmmanuel Vadot dmas = <&dmamux1 9 0x400 0x80000001>; 62f126890aSEmmanuel Vadot dma-names = "rx"; 63f126890aSEmmanuel Vadot status = "disabled"; 64f126890aSEmmanuel Vadot 65f126890aSEmmanuel Vadot channel@18 { 66f126890aSEmmanuel Vadot reg = <18>; 67f126890aSEmmanuel Vadot label = "vrefint"; 68f126890aSEmmanuel Vadot }; 69f126890aSEmmanuel Vadot }; 70f126890aSEmmanuel Vadot }; 71*0e8011faSEmmanuel Vadot 72*0e8011faSEmmanuel Vadot ethernet2: ethernet@5800e000 { 73*0e8011faSEmmanuel Vadot compatible = "st,stm32mp13-dwmac", "snps,dwmac-4.20a"; 74*0e8011faSEmmanuel Vadot reg = <0x5800e000 0x2000>; 75*0e8011faSEmmanuel Vadot reg-names = "stmmaceth"; 76*0e8011faSEmmanuel Vadot interrupts-extended = <&intc GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 77*0e8011faSEmmanuel Vadot interrupt-names = "macirq"; 78*0e8011faSEmmanuel Vadot clock-names = "stmmaceth", 79*0e8011faSEmmanuel Vadot "mac-clk-tx", 80*0e8011faSEmmanuel Vadot "mac-clk-rx", 81*0e8011faSEmmanuel Vadot "ethstp", 82*0e8011faSEmmanuel Vadot "eth-ck"; 83*0e8011faSEmmanuel Vadot clocks = <&rcc ETH2MAC>, 84*0e8011faSEmmanuel Vadot <&rcc ETH2TX>, 85*0e8011faSEmmanuel Vadot <&rcc ETH2RX>, 86*0e8011faSEmmanuel Vadot <&rcc ETH2STP>, 87*0e8011faSEmmanuel Vadot <&rcc ETH2CK_K>; 88*0e8011faSEmmanuel Vadot st,syscon = <&syscfg 0x4 0xff000000>; 89*0e8011faSEmmanuel Vadot snps,mixed-burst; 90*0e8011faSEmmanuel Vadot snps,pbl = <2>; 91*0e8011faSEmmanuel Vadot snps,axi-config = <&stmmac_axi_config_2>; 92*0e8011faSEmmanuel Vadot snps,tso; 93*0e8011faSEmmanuel Vadot access-controllers = <&etzpc 49>; 94*0e8011faSEmmanuel Vadot status = "disabled"; 95*0e8011faSEmmanuel Vadot 96*0e8011faSEmmanuel Vadot stmmac_axi_config_2: stmmac-axi-config { 97*0e8011faSEmmanuel Vadot snps,blen = <0 0 0 0 16 8 4>; 98*0e8011faSEmmanuel Vadot snps,rd_osr_lmt = <0x7>; 99*0e8011faSEmmanuel Vadot snps,wr_osr_lmt = <0x7>; 100*0e8011faSEmmanuel Vadot }; 101*0e8011faSEmmanuel Vadot }; 102f126890aSEmmanuel Vadot}; 103