mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	Add all the i2c nodes for each family, and add specific i2c overwrites in the related board-specific dts. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
		
			
				
	
	
		
			50 lines
		
	
	
		
			879 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			879 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * Copyright (C) 2018 Angelo Dureghello <angelo@sysam.it>
 | |
|  */
 | |
| 
 | |
| / {
 | |
| 	compatible = "fsl,mcf5307";
 | |
| 
 | |
| 	aliases {
 | |
| 		serial0 = &uart0;
 | |
| 	};
 | |
| 
 | |
| 	soc {
 | |
| 		compatible = "simple-bus";
 | |
| 		#address-cells = <1>;
 | |
| 		#size-cells = <1>;
 | |
| 
 | |
| 		/* MBAR */
 | |
| 		mbar: mbar@10000000 {
 | |
| 			compatible = "simple-bus";
 | |
| 			#address-cells = <1>;
 | |
| 			#size-cells = <1>;
 | |
| 			ranges = <0x00000000 0x10000000 0x10000>;
 | |
| 			reg = <0x10000000 0x10000>;
 | |
| 
 | |
| 			uart0: uart@1c0 {
 | |
| 				compatible = "fsl,mcf-uart";
 | |
| 				reg = <0x1c0 0x40>;
 | |
| 				status = "disabled";
 | |
| 			};
 | |
| 
 | |
| 			uart1: uart@200 {
 | |
| 				compatible = "fsl,mcf-uart";
 | |
| 				reg = <0x200 0x40>;
 | |
| 				status = "disabled";
 | |
| 			};
 | |
| 
 | |
| 			i2c0: i2c@280 {
 | |
| 				compatible = "fsl-i2c";
 | |
| 				#address-cells=<1>;
 | |
| 				#size-cells=<0>;
 | |
| 				cell-index = <0>;
 | |
| 				reg = <0x280 0x14>;
 | |
| 				clock-frequency = <100000>;
 | |
| 				status = "disabled";
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |