File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 48
48
#size-cells = <0>;
49
49
button@1 {
50
50
label = "Function Button";
51
- linux,code = <132 >;
51
+ linux,code = <357 >;
52
52
gpios = <&gpio1 9 1>;
53
53
};
54
54
button@2 {
55
55
label = "Power-on Switch";
56
- linux,code = <116>;
56
+ linux,code = <0>;
57
+ linux,input-type = <5>;
57
58
gpios = <&gpio1 10 1>;
58
59
};
59
60
button@3 {
60
61
label = "Power-auto Switch";
61
- linux,code = <142>;
62
+ linux,code = <1>;
63
+ linux,input-type = <5>;
62
64
gpios = <&gpio1 11 1>;
63
65
};
64
66
};
67
69
compatible = "gpio-leds";
68
70
69
71
led@1 {
70
- label = "lschlv2 :blue:func";
72
+ label = "lsxl :blue:func";
71
73
gpios = <&gpio1 4 1>;
72
74
};
73
75
74
76
led@2 {
75
- label = "lschlv2 :red:alarm";
77
+ label = "lsxl :red:alarm";
76
78
gpios = <&gpio1 5 1>;
77
79
};
78
80
79
81
led@3 {
80
- label = "lschlv2 :amber:info";
82
+ label = "lsxl :amber:info";
81
83
gpios = <&gpio1 6 1>;
82
84
};
83
85
84
86
led@4 {
85
- label = "lschlv2 :blue:power";
87
+ label = "lsxl :blue:power";
86
88
gpios = <&gpio1 7 1>;
87
89
linux,default-trigger = "default-on";
88
90
};
89
91
90
92
led@5 {
91
- label = "lschlv2 :red:func";
93
+ label = "lsxl :red:func";
92
94
gpios = <&gpio1 16 1>;
93
95
};
94
96
};
Original file line number Diff line number Diff line change @@ -51,9 +51,7 @@ static void __init kirkwood_dt_init(void)
51
51
52
52
kirkwood_setup_cpu_mbus ();
53
53
54
- #ifdef CONFIG_CACHE_FEROCEON_L2
55
54
kirkwood_l2_init ();
56
- #endif
57
55
58
56
/* Setup root of clk tree */
59
57
kirkwood_clk_init ();
Original file line number Diff line number Diff line change @@ -633,13 +633,15 @@ char * __init kirkwood_id(void)
633
633
634
634
void __init kirkwood_l2_init (void )
635
635
{
636
+ #ifdef CONFIG_CACHE_FEROCEON_L2
636
637
#ifdef CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH
637
638
writel (readl (L2_CONFIG_REG ) | L2_WRITETHROUGH , L2_CONFIG_REG );
638
639
feroceon_l2_init (1 );
639
640
#else
640
641
writel (readl (L2_CONFIG_REG ) & ~L2_WRITETHROUGH , L2_CONFIG_REG );
641
642
feroceon_l2_init (0 );
642
643
#endif
644
+ #endif
643
645
}
644
646
645
647
void __init kirkwood_init (void )
@@ -657,9 +659,7 @@ void __init kirkwood_init(void)
657
659
658
660
kirkwood_setup_cpu_mbus ();
659
661
660
- #ifdef CONFIG_CACHE_FEROCEON_L2
661
662
kirkwood_l2_init ();
662
- #endif
663
663
664
664
/* Setup root of clk tree */
665
665
kirkwood_clk_init ();
You can’t perform that action at this time.
0 commit comments