summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/st/stm32mp133.dtsi
blob: 73e470019ce426c9cafdbff0b4498c6fb3918f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
/*
 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
 */

#include "stm32mp131.dtsi"

/ {
	soc {
		m_can1: can@4400e000 {
			compatible = "bosch,m_can";
			reg = <0x4400e000 0x400>, <0x44011000 0x1400>;
			reg-names = "m_can", "message_ram";
			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
				     <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "int0", "int1";
			clocks = <&scmi_clk CK_SCMI_HSE>, <&rcc FDCAN_K>;
			clock-names = "hclk", "cclk";
			bosch,mram-cfg = <0x0 0 0 32 0 0 2 2>;
			status = "disabled";
		};

		m_can2: can@4400f000 {
			compatible = "bosch,m_can";
			reg = <0x4400f000 0x400>, <0x44011000 0x2800>;
			reg-names = "m_can", "message_ram";
			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
				     <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "int0", "int1";
			clocks = <&scmi_clk CK_SCMI_HSE>, <&rcc FDCAN_K>;
			clock-names = "hclk", "cclk";
			bosch,mram-cfg = <0x1400 0 0 32 0 0 2 2>;
			status = "disabled";
		};
	};
};

&etzpc {
	adc_1: adc@48003000 {
		compatible = "st,stm32mp13-adc-core";
		reg = <0x48003000 0x400>;
		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&rcc ADC1>, <&rcc ADC1_K>;
		clock-names = "bus", "adc";
		interrupt-controller;
		#interrupt-cells = <1>;
		#address-cells = <1>;
		#size-cells = <0>;
		access-controllers = <&etzpc 32>;
		status = "disabled";

		adc1: adc@0 {
			compatible = "st,stm32mp13-adc";
			#io-channel-cells = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0x0>;
			interrupt-parent = <&adc_1>;
			interrupts = <0>;
			dmas = <&dmamux1 9 0x400 0x80000001>;
			dma-names = "rx";
			status = "disabled";

			channel@18 {
				reg = <18>;
				label = "vrefint";
			};
		};
	};

	ethernet2: ethernet@5800e000 {
		compatible = "st,stm32mp13-dwmac", "snps,dwmac-4.20a";
		reg = <0x5800e000 0x2000>;
		reg-names = "stmmaceth";
		interrupts-extended = <&intc GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "macirq";
		clock-names = "stmmaceth",
			      "mac-clk-tx",
			      "mac-clk-rx",
			      "ethstp",
			      "eth-ck";
		clocks = <&rcc ETH2MAC>,
			 <&rcc ETH2TX>,
			 <&rcc ETH2RX>,
			 <&rcc ETH2STP>,
			 <&rcc ETH2CK_K>;
		st,syscon = <&syscfg 0x4 0xff000000>;
		snps,mixed-burst;
		snps,pbl = <2>;
		snps,axi-config = <&stmmac_axi_config_2>;
		snps,tso;
		access-controllers = <&etzpc 49>;
		status = "disabled";

		stmmac_axi_config_2: stmmac-axi-config {
			snps,blen = <0 0 0 0 16 8 4>;
			snps,rd_osr_lmt = <0x7>;
			snps,wr_osr_lmt = <0x7>;
		};
	};
};