File tree Expand file tree Collapse file tree
arch/riscv/boot/dts/canaan Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 gpio-keys {
3636 compatible = "gpio-keys";
3737
38- key0 {
38+ key {
3939 label = "KEY0";
4040 linux,code = <BTN_0>;
4141 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
Original file line number Diff line number Diff line change 4747 gpio-keys {
4848 compatible = "gpio-keys";
4949
50- boot {
50+ key- boot {
5151 label = "BOOT";
5252 linux,code = <BTN_0>;
5353 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
Original file line number Diff line number Diff line change 5252 gpio-keys {
5353 compatible = "gpio-keys";
5454
55- boot {
55+ key- boot {
5656 label = "BOOT";
5757 linux,code = <BTN_0>;
5858 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
Original file line number Diff line number Diff line change 4646 gpio-keys {
4747 compatible = "gpio-keys";
4848
49- up {
49+ key- up {
5050 label = "UP";
5151 linux,code = <BTN_1>;
5252 gpios = <&gpio1_0 7 GPIO_ACTIVE_LOW>;
5353 };
5454
55- press {
55+ key- press {
5656 label = "PRESS";
5757 linux,code = <BTN_0>;
5858 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
5959 };
6060
61- down {
61+ key- down {
6262 label = "DOWN";
6363 linux,code = <BTN_2>;
6464 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
Original file line number Diff line number Diff line change 2323 gpio-keys {
2424 compatible = "gpio-keys";
2525
26- boot {
26+ key- boot {
2727 label = "BOOT";
2828 linux,code = <BTN_0>;
2929 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
You can’t perform that action at this time.
0 commit comments