mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-26 09:38:14 +00:00 
			
		
		
		
	We need an 'other' FDT which is different from the control FDT, so we can check that the ofnode tests correctly handle them both. Add this to the build along with a way to read it into the sandbox state. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			36 lines
		
	
	
		
			623 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			623 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * Other devicetree file for running sandbox tests
 | |
|  *
 | |
|  * This used for tests which want to check they can access multiple device
 | |
|  * trees. This one is loaded and checks are made that it is actually visible.
 | |
|  */
 | |
| 
 | |
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	compatible = "sandbox-other";
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	node {
 | |
| 		target = <&target 3 4>;
 | |
| 
 | |
| 		subnode {
 | |
| 			compatible = "sandbox-other2";
 | |
| 			str-prop = "other";
 | |
| 		};
 | |
| 
 | |
| 		subnode2 {
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	target: target {
 | |
| 		compatible = "sandbox-other2";
 | |
| 		#gpio-cells = <2>;
 | |
| 		str-prop = "other";
 | |
| 		reg = <0x8000 0x100>;
 | |
| 		status = "disabled";
 | |
| 	};
 | |
| };
 |