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