[Feature][T108][task-view-1874] config hsm enable to high
Only Configure: No
Affected branch: GSW_V1453
Affected module: hsm
Self-test: yes
Doc Update: no
Change-Id: I1a128dfbe978c5feea17ad669a267f4d5a093077
diff --git a/marvell/linux/arch/arm/boot/dts/asr1806-p301.dts b/marvell/linux/arch/arm/boot/dts/asr1806-p301.dts
index 5063131..b2d94d1 100755
--- a/marvell/linux/arch/arm/boot/dts/asr1806-p301.dts
+++ b/marvell/linux/arch/arm/boot/dts/asr1806-p301.dts
@@ -473,7 +473,7 @@
>;
DS_OFF;PULL_DOWN;EDGE_NONE;SL_NORMAL;
};
-#if 1
+#if 0
twsi1_pmx_func: twsi1_pmx_func {
pinctrl-single,pins = <
GPIO10 AF1
@@ -1061,6 +1061,13 @@
DS_MEDIUM;PULL_DOWN;EDGE_NONE;SL_NORMAL;
};
+ hsm_enable_func: hsm_enable_func {
+ pinctrl-single,pins = <
+ GPIO10 AF0 /* HSM RESET N */
+ >;
+ DS_MEDIUM;PULL_UP;EDGE_NONE;SL_NORMAL;
+ };
+
wake_pmx_func1: wake_pmx_func1 {
pinctrl-single,pins = <
USB_ID AF1
@@ -1303,14 +1310,14 @@
*/
};
twsi1: i2c@d4010800 {
-#if 1
+#if 0
pinctrl-names = "default","gpio","sleep";
pinctrl-0 = <&twsi1_pmx_func>;
pinctrl-1 = <&twsi1_pmx_gpio>;
pinctrl-2 = <&twsi1_pmx_sleep>;
i2c-gpio = <&gpio 10 0 &gpio 11 0>;
#endif
- status= "okay";
+ status= "disable";
//nau8810@1a {
// compatible = "marvell,nau8810";
// reg = <0x1a>;
@@ -1651,7 +1658,7 @@
dtsleds{
compatible = "gpio-leds";
pinctrl-names = "default";
- pinctrl-0 = <&led_pmx_func1>;
+ pinctrl-0 = <&led_pmx_func1 &hsm_enable_func>;
status = "okay";
led0{
label = "red";
@@ -1661,6 +1668,13 @@
default-state = "off";
};
+ led1{
+ label = "hsm_en";
+ gpios = <&gpio 10 0>;
+ linux,default-trigger = "pattern";
+ led-pattern = "100:100:100";
+ default-state = "on";
+ };
// led1{
// label = "blue";