From 12c8243fa3d9b46ef06553e98752a4bf5b0bb9d5 Mon Sep 17 00:00:00 2001
From: Kenneth Johansson <kenneth@southpole.se>
Date: Mon, 8 Jun 2015 17:06:01 +0200
Subject: [PATCH] board: turn on dimming on EG300.

---
 .../base-files/lib/db/boards/EG300R0          | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/brcm63xx_ref_nand/base-files/lib/db/boards/EG300R0 b/brcm63xx_ref_nand/base-files/lib/db/boards/EG300R0
index 5c4252dc8..90971a467 100644
--- a/brcm63xx_ref_nand/base-files/lib/db/boards/EG300R0
+++ b/brcm63xx_ref_nand/base-files/lib/db/boards/EG300R0
@@ -119,11 +119,15 @@ config button_map Wireless
 config button_map THOUCH_NEAR
        list button 9512_touch_near
        option hotplug touch_near
+       option dimming	on
+       option minpress 0
+
 
 config button_map THOUCH_FAR
        list button 9512_touch_far
        option hotplug touch_far
-
+       option minpress 0
+	
 #
 #		Button config , end
 #
@@ -222,6 +226,19 @@ config led_map led_map
 	list functions ext
 	list functions dect
 
+# dimming turn leds off unless above cutof level
+       option dimming_level	notice
+       option dimming_on	5
+       list dimming		wifi
+       list dimming		wps
+       list dimming		lan
+       list dimming 		status
+       list dimming		wan	
+       list dimming		internet
+       list dimming		voic1
+       list dimming 		dect
+       list dimming 		ext
+
 config led_map led_wifi
        list led_action_ok     'Wireless_green = ON'
        list led_action_ok     'Wireless_blue  = OFF'
-- 
GitLab