realtek: rtl838x: label switch port dts nodes
Although PHY nodes are labeled, the port nodes were not. Labeling of
ports is useful for 'status = "disabled"' ports, which is supported
since commit 9a7f17e11f ("realtek: ignore disabled switch ports")
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
			
			
This commit is contained in:
		 Alexandru Gagniuc
					Alexandru Gagniuc
				
			
				
					committed by
					
						 Sander Vanheule
						Sander Vanheule
					
				
			
			
				
	
			
			
			 Sander Vanheule
						Sander Vanheule
					
				
			
						parent
						
							bc9dcfb1ce
						
					
				
				
					commit
					5f026f1272
				
			| @@ -37,7 +37,7 @@ | |||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
| #define SWITCH_PORT(n, s, m) \ | #define SWITCH_PORT(n, s, m) \ | ||||||
| 	port@##n { \ | 	port##n: port@##n { \ | ||||||
| 		reg = <##n>; \ | 		reg = <##n>; \ | ||||||
| 		label = SWITCH_PORT_LABEL(s) ; \ | 		label = SWITCH_PORT_LABEL(s) ; \ | ||||||
| 		phy-handle = <&phy##n>; \ | 		phy-handle = <&phy##n>; \ | ||||||
| @@ -45,7 +45,7 @@ | |||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
| #define SWITCH_SFP_PORT(n, s, m) \ | #define SWITCH_SFP_PORT(n, s, m) \ | ||||||
| 	port@##n { \ | 	port##n: port@##n { \ | ||||||
| 		reg = <##n>; \ | 		reg = <##n>; \ | ||||||
| 		label = SWITCH_PORT_LABEL(s) ; \ | 		label = SWITCH_PORT_LABEL(s) ; \ | ||||||
| 		phy-handle = <&phy##n>; \ | 		phy-handle = <&phy##n>; \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user