[PATCH 4/5] ARM: dts: renesas: r9a06g032-rzn1d400-db: describe LEDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
---
 .../dts/renesas/r9a06g032-rzn1d400-db.dts     | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts
index d50a1d91e968..ccd47f0181b4 100644
--- a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts
+++ b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts
@@ -8,6 +8,7 @@
 
 /dts-v1/;
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/pinctrl/rzn1-pinctrl.h>
 #include <dt-bindings/net/pcs-rzn1-miic.h>
 
@@ -24,6 +25,42 @@ chosen {
 	aliases {
 		serial0 = &uart0;
 	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		led-pca0 {
+			gpios = <&pca9698 0 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-pca1 {
+			gpios = <&pca9698 1 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-pca2 {
+			gpios = <&pca9698 2 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-pca3 {
+			gpios = <&pca9698 3 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-pca4 {
+			gpios = <&pca9698 4 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-pca5 {
+			gpios = <&pca9698 5 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-pca6 {
+			gpios = <&pca9698 6 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-pca7 {
+			gpios = <&pca9698 7 GPIO_ACTIVE_HIGH>;
+		};
+	};
 };
 
 &can0 {
-- 
2.47.2





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux