mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	Adds support of Clock and Reset drivers for STM32MP13 platform. Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // 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";
 | |
| 		};
 | |
| 	};
 | |
| };
 |