mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	ath79: make OpenMesh MR900 DTSI more general
The OpenMesh MR900 and to-be-added MR1750 family are very similar. Make the existing MR900 DTSI more general so it can be used for the MR1750 devices as well. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
		
							parent
							
								
									bcb311497d
								
							
						
					
					
						commit
						847cda16eb
					
				@ -37,10 +37,9 @@
 | 
				
			|||||||
			gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
 | 
								gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		wifi2g_blue {
 | 
							led_wifi2g: wifi2g {
 | 
				
			||||||
			label = "blue:wifi2g";
 | 
								label = "blue:wifi2g";
 | 
				
			||||||
			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
 | 
								gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
 | 
				
			||||||
			linux,default-trigger = "phy0tpt";
 | 
					 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		status_green {
 | 
							status_green {
 | 
				
			||||||
@ -59,10 +58,9 @@
 | 
				
			|||||||
			default-state = "on";
 | 
								default-state = "on";
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		wifi5g_blue {
 | 
							led_wifi5g: wifi5g {
 | 
				
			||||||
			label = "blue:wifi5g";
 | 
								label = "blue:wifi5g";
 | 
				
			||||||
			gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
 | 
								gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
 | 
				
			||||||
			linux,default-trigger = "phy1tpt";
 | 
					 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -168,11 +166,4 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
&pcie0 {
 | 
					&pcie0 {
 | 
				
			||||||
	status = "okay";
 | 
						status = "okay";
 | 
				
			||||||
 | 
					 | 
				
			||||||
	wifi@0,0 {
 | 
					 | 
				
			||||||
		compatible = "pci168c,0033";
 | 
					 | 
				
			||||||
		reg = <0x0000 0 0 0 0>;
 | 
					 | 
				
			||||||
		mtd-mac-address = <&art 0x0>;
 | 
					 | 
				
			||||||
		mtd-mac-address-increment = <16>;
 | 
					 | 
				
			||||||
	};
 | 
					 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
@ -1,8 +1,25 @@
 | 
				
			|||||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "qca9558_openmesh_mr900.dtsi"
 | 
					#include "qca9558_openmesh_mr.dtsi"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/ {
 | 
					/ {
 | 
				
			||||||
	compatible = "openmesh,mr900-v1", "qca,qca9558";
 | 
						compatible = "openmesh,mr900-v1", "qca,qca9558";
 | 
				
			||||||
	model = "OpenMesh MR900 v1";
 | 
						model = "OpenMesh MR900 v1";
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&led_wifi2g {
 | 
				
			||||||
 | 
						linux,default-trigger = "phy0tpt";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&led_wifi5g {
 | 
				
			||||||
 | 
						linux,default-trigger = "phy1tpt";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&pcie0 {
 | 
				
			||||||
 | 
						wifi@0,0 {
 | 
				
			||||||
 | 
							compatible = "pci168c,0033";
 | 
				
			||||||
 | 
							reg = <0x0000 0 0 0 0>;
 | 
				
			||||||
 | 
							mtd-mac-address = <&art 0x0>;
 | 
				
			||||||
 | 
							mtd-mac-address-increment = <16>;
 | 
				
			||||||
 | 
						};
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
@ -1,8 +1,25 @@
 | 
				
			|||||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "qca9558_openmesh_mr900.dtsi"
 | 
					#include "qca9558_openmesh_mr.dtsi"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/ {
 | 
					/ {
 | 
				
			||||||
	compatible = "openmesh,mr900-v2", "qca,qca9558";
 | 
						compatible = "openmesh,mr900-v2", "qca,qca9558";
 | 
				
			||||||
	model = "OpenMesh MR900 v2";
 | 
						model = "OpenMesh MR900 v2";
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&led_wifi2g {
 | 
				
			||||||
 | 
						linux,default-trigger = "phy0tpt";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&led_wifi5g {
 | 
				
			||||||
 | 
						linux,default-trigger = "phy1tpt";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&pcie0 {
 | 
				
			||||||
 | 
						wifi@0,0 {
 | 
				
			||||||
 | 
							compatible = "pci168c,0033";
 | 
				
			||||||
 | 
							reg = <0x0000 0 0 0 0>;
 | 
				
			||||||
 | 
							mtd-mac-address = <&art 0x0>;
 | 
				
			||||||
 | 
							mtd-mac-address-increment = <16>;
 | 
				
			||||||
 | 
						};
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user