Commit a06b9560 authored by Gatien Chevallier's avatar Gatien Chevallier Committed by Alexandre Torgue

ARM: dts: stm32: add ETZPC as a system bus for STM32MP13x boards

ETZPC is a firewall controller. Put all peripherals filtered by the
ETZPC as ETZPC subnodes and keep the "simple-bus" compatible for
backward compatibility.
Signed-off-by: default avatarGatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
parent ad426352
This diff is collapsed.
...@@ -33,35 +33,37 @@ m_can2: can@4400f000 { ...@@ -33,35 +33,37 @@ m_can2: can@4400f000 {
bosch,mram-cfg = <0x1400 0 0 32 0 0 2 2>; bosch,mram-cfg = <0x1400 0 0 32 0 0 2 2>;
status = "disabled"; status = "disabled";
}; };
};
};
adc_1: adc@48003000 { &etzpc {
compatible = "st,stm32mp13-adc-core"; adc_1: adc@48003000 {
reg = <0x48003000 0x400>; compatible = "st,stm32mp13-adc-core";
interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; reg = <0x48003000 0x400>;
clocks = <&rcc ADC1>, <&rcc ADC1_K>; interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "bus", "adc"; clocks = <&rcc ADC1>, <&rcc ADC1_K>;
interrupt-controller; clock-names = "bus", "adc";
#interrupt-cells = <1>; interrupt-controller;
#interrupt-cells = <1>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
adc1: adc@0 {
compatible = "st,stm32mp13-adc";
#io-channel-cells = <1>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x0>;
interrupt-parent = <&adc_1>;
interrupts = <0>;
dmas = <&dmamux1 9 0x400 0x80000001>;
dma-names = "rx";
status = "disabled"; status = "disabled";
adc1: adc@0 { channel@18 {
compatible = "st,stm32mp13-adc"; reg = <18>;
#io-channel-cells = <1>; label = "vrefint";
#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";
};
}; };
}; };
}; };
......
...@@ -4,15 +4,13 @@ ...@@ -4,15 +4,13 @@
* Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
*/ */
/ { &etzpc {
soc { cryp: crypto@54002000 {
cryp: crypto@54002000 { compatible = "st,stm32mp1-cryp";
compatible = "st,stm32mp1-cryp"; reg = <0x54002000 0x400>;
reg = <0x54002000 0x400>; interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; clocks = <&rcc CRYP1>;
clocks = <&rcc CRYP1>; resets = <&rcc CRYP1_R>;
resets = <&rcc CRYP1_R>; status = "disabled";
status = "disabled";
};
}; };
}; };
...@@ -4,15 +4,13 @@ ...@@ -4,15 +4,13 @@
* Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
*/ */
/ { &etzpc {
soc { cryp: crypto@54002000 {
cryp: crypto@54002000 { compatible = "st,stm32mp1-cryp";
compatible = "st,stm32mp1-cryp"; reg = <0x54002000 0x400>;
reg = <0x54002000 0x400>; interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; clocks = <&rcc CRYP1>;
clocks = <&rcc CRYP1>; resets = <&rcc CRYP1_R>;
resets = <&rcc CRYP1_R>; status = "disabled";
status = "disabled";
};
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment