 fa6d53261a
			
		
	
	fa6d53261a
	
	
	
		
			
			The DTS files in files-4.19 and files-5.4 are exactly identical except for one file (qcom-ipq4018-emr3500.dts), which is only present for 5.4. Since there is no point in maintaining all these identical files twice, this patch moves them to the "files" directory. If there ever was a new kernel with substantial DTS changes, a new folder would need to be introduced anyway and could easily be done. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
		
			
				
	
	
		
			82 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 | |
| /* Copyright (c) 2019, CRISIS INNOVATION LAB d.o.o.
 | |
|  * Author: Robert Marko <robert@meshpoint.me>
 | |
|  */
 | |
| 
 | |
| #include "qcom-ipq4018-jalapeno.dtsi"
 | |
| 
 | |
| / {
 | |
| 	model = "Crisis Innovation Lab MeshPoint.One";
 | |
| 	compatible = "cilab,meshpoint-one";
 | |
| 
 | |
| 	aliases {
 | |
| 		led-boot = &led_status;
 | |
| 		led-failsafe = &led_status;
 | |
| 		led-running = &led_status;
 | |
| 		led-upgrade = &led_status;
 | |
| 	};
 | |
| 
 | |
| 	soc {
 | |
| 		i2c-gpio {
 | |
| 			status = "okay";
 | |
| 
 | |
| 			#address-cells = <1>;
 | |
| 			#size-cells = <0>;
 | |
| 
 | |
| 			compatible = "i2c-gpio";
 | |
| 			gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) /* sda */
 | |
| 					 &tlmm 4 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) /* scl */
 | |
| 					>;
 | |
| 
 | |
| 			bme280@76 {
 | |
| 				status = "okay";
 | |
| 
 | |
| 				compatible = "bosch,bme280";
 | |
| 				reg = <0x76>;
 | |
| 			};
 | |
| 
 | |
| 			pcf2129@51 {
 | |
| 				status = "okay";
 | |
| 
 | |
| 				compatible = "nxp,pcf2129";
 | |
| 				reg = <0x51>;
 | |
| 			};
 | |
| 
 | |
| 			ina230@40 {
 | |
| 				status = "okay";
 | |
| 
 | |
| 				compatible = "ti,ina230";
 | |
| 				reg = <0x40>;
 | |
| 				shunt-resistor = <2000>;
 | |
| 			};
 | |
| 
 | |
| 			ina230@44 {
 | |
| 				status = "okay";
 | |
| 
 | |
| 				compatible = "ti,ina230";
 | |
| 				reg = <0x44>;
 | |
| 				shunt-resistor = <2000>;
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	keys {
 | |
| 		compatible = "gpio-keys";
 | |
| 
 | |
| 		reset {
 | |
| 			label = "reset";
 | |
| 			gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
 | |
| 			linux,code = <KEY_RESTART >;
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	leds {
 | |
| 		compatible = "gpio-leds";
 | |
| 
 | |
| 		led_status: status {
 | |
| 			label = "meshpoint-one:blue:status";
 | |
| 			gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
 | |
| 		};
 | |
| 	};
 | |
| };
 |