Skip to content

Commit

Permalink
???
Browse files Browse the repository at this point in the history
  • Loading branch information
DHDAXCW authored Apr 27, 2023
1 parent c4d98eb commit 969321b
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,20 @@
chosen: chosen {
stdout-path = "serial2:1500000n8";
};

gpio_keys: gpio-keys {
compatible = "gpio-keys";
pinctrl-0 = <&reset_button_pin>;
pinctrl-names = "default";

reset {
label = "reset";
gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
debounce-interval = <50>;
};
};

hdmi-con {
compatible = "hdmi-connector";
type = "a";
Expand Down Expand Up @@ -551,6 +564,12 @@
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

gpio-key {
reset_button_pin: reset-button-pin {
rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};

&pmu_io_domains {
Expand Down

0 comments on commit 969321b

Please sign in to comment.