mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	mpc85xx: add AR8327 initvals to the TL-WDR4900 devicetree
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36048
This commit is contained in:
		
							parent
							
								
									7ba6a8d8e8
								
							
						
					
					
						commit
						44ce8dac88
					
				@ -210,7 +210,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 | 
				
			|||||||
+}
 | 
					+}
 | 
				
			||||||
--- /dev/null
 | 
					--- /dev/null
 | 
				
			||||||
+++ b/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
 | 
					+++ b/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
 | 
				
			||||||
@@ -0,0 +1,198 @@
 | 
					@@ -0,0 +1,208 @@
 | 
				
			||||||
+/*
 | 
					+/*
 | 
				
			||||||
+ * TP-Link TL-WDR4900 v1 Device Tree Source
 | 
					+ * TP-Link TL-WDR4900 v1 Device Tree Source
 | 
				
			||||||
+ *
 | 
					+ *
 | 
				
			||||||
@ -301,8 +301,18 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 | 
				
			|||||||
+
 | 
					+
 | 
				
			||||||
+		mdio@24000 {
 | 
					+		mdio@24000 {
 | 
				
			||||||
+			phy0: ethernet-phy@0 {
 | 
					+			phy0: ethernet-phy@0 {
 | 
				
			||||||
+				/* interrupts = <3 1 0 0>; */
 | 
					 | 
				
			||||||
+				reg = <0x0>;
 | 
					+				reg = <0x0>;
 | 
				
			||||||
 | 
					+				qca,ar8327-initvals = <
 | 
				
			||||||
 | 
					+					0x00004 0x07600000 /* PAD0_MODE */
 | 
				
			||||||
 | 
					+					0x00008 0x00000000 /* PAD5_MODE */
 | 
				
			||||||
 | 
					+					0x0000c 0x01000000 /* PAD6_MODE */
 | 
				
			||||||
 | 
					+					0x00010 0x40000000 /* POWER_ON_STRIP */
 | 
				
			||||||
 | 
					+					0x00050 0xcf35cf35 /* LED_CTRL0 */
 | 
				
			||||||
 | 
					+					0x00054 0xcf35cf35 /* LED_CTRL1 */
 | 
				
			||||||
 | 
					+					0x00058 0xcf35cf35 /* LED_CTRL2 */
 | 
				
			||||||
 | 
					+					0x0005c 0x03ffff00 /* LED_CTRL3 */
 | 
				
			||||||
 | 
					+					0x0007c 0x0000007e /* PORT0_STATUS */
 | 
				
			||||||
 | 
					+				>;
 | 
				
			||||||
+			};
 | 
					+			};
 | 
				
			||||||
+		};
 | 
					+		};
 | 
				
			||||||
+
 | 
					+
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user