Skip to contentSkip to conversation

bmips: improve BCM6328 device tree

PATCH In review Álvaro Fernández Rojas 2 participants 2 messages Jan 17, 2016 – Jan 18, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 bmips: improve BCM6328 device tree

Adds bcm6328-leds node to bcm6328.dtsi

---
 arch/mips/boot/dts/brcm/bcm6328.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/mips/boot/dts/brcm/bcm6328.dtsi +9 -0
index 41891c1..d61b161 100644
@@ -31,6 +31,7 @@
 	};
 
 	aliases {
+		leds0 = &leds0;
 		uart0 = &uart0;
 	};
 
@@ -82,5 +83,13 @@
 			offset = <0x28>;
 			mask = <0x1>;
 		};
+
+		leds0: led-controller@10000800 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "brcm,bcm6328-leds";
+			reg = <0x10000800 0x24>;
+			status = "disabled";
+		};
 	};
 };
Signature · 1 line
1.9.1