xref: /freebsd/sys/contrib/device-tree/src/arm/st/stm32mp153.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
4*f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot#include "stm32mp151.dtsi"
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot/ {
10*f126890aSEmmanuel Vadot	cpus {
11*f126890aSEmmanuel Vadot		cpu1: cpu@1 {
12*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
13*f126890aSEmmanuel Vadot			clock-frequency = <650000000>;
14*f126890aSEmmanuel Vadot			device_type = "cpu";
15*f126890aSEmmanuel Vadot			reg = <1>;
16*f126890aSEmmanuel Vadot		};
17*f126890aSEmmanuel Vadot	};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	arm-pmu {
20*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
21*f126890aSEmmanuel Vadot			     <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
22*f126890aSEmmanuel Vadot		interrupt-affinity = <&cpu0>, <&cpu1>;
23*f126890aSEmmanuel Vadot	};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	timer {
26*f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
27*f126890aSEmmanuel Vadot			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
28*f126890aSEmmanuel Vadot			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
29*f126890aSEmmanuel Vadot			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
30*f126890aSEmmanuel Vadot	};
31*f126890aSEmmanuel Vadot
32*f126890aSEmmanuel Vadot	soc {
33*f126890aSEmmanuel Vadot		m_can1: can@4400e000 {
34*f126890aSEmmanuel Vadot			compatible = "bosch,m_can";
35*f126890aSEmmanuel Vadot			reg = <0x4400e000 0x400>, <0x44011000 0x1400>;
36*f126890aSEmmanuel Vadot			reg-names = "m_can", "message_ram";
37*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
38*f126890aSEmmanuel Vadot				     <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
39*f126890aSEmmanuel Vadot			interrupt-names = "int0", "int1";
40*f126890aSEmmanuel Vadot			clocks = <&rcc CK_HSE>, <&rcc FDCAN_K>;
41*f126890aSEmmanuel Vadot			clock-names = "hclk", "cclk";
42*f126890aSEmmanuel Vadot			bosch,mram-cfg = <0x0 0 0 32 0 0 2 2>;
43*f126890aSEmmanuel Vadot			status = "disabled";
44*f126890aSEmmanuel Vadot		};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot		m_can2: can@4400f000 {
47*f126890aSEmmanuel Vadot			compatible = "bosch,m_can";
48*f126890aSEmmanuel Vadot			reg = <0x4400f000 0x400>, <0x44011000 0x2800>;
49*f126890aSEmmanuel Vadot			reg-names = "m_can", "message_ram";
50*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
51*f126890aSEmmanuel Vadot				     <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
52*f126890aSEmmanuel Vadot			interrupt-names = "int0", "int1";
53*f126890aSEmmanuel Vadot			clocks = <&rcc CK_HSE>, <&rcc FDCAN_K>;
54*f126890aSEmmanuel Vadot			clock-names = "hclk", "cclk";
55*f126890aSEmmanuel Vadot			bosch,mram-cfg = <0x1400 0 0 32 0 0 2 2>;
56*f126890aSEmmanuel Vadot			status = "disabled";
57*f126890aSEmmanuel Vadot		};
58*f126890aSEmmanuel Vadot	};
59*f126890aSEmmanuel Vadot};
60