mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* import new layout for libreelec patches (no more mbox) * refactor existing patches to kernel 6.17 * fix uboot issue causing VOP IOMMU page fault and no screen
65 lines
1.1 KiB
Plaintext
65 lines
1.1 KiB
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/pinctrl/rockchip.h>
|
|
|
|
/ {
|
|
|
|
fragment@0 {
|
|
target-path = "/gpio-leds";
|
|
__overlay__ {
|
|
|
|
working {
|
|
gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "none";
|
|
};
|
|
|
|
auxiliary {
|
|
gpios = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
|
|
label = "auxiliary";
|
|
linux,default-trigger = "mmc2";
|
|
default-state = "off";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&gpio_led_aux>;
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target-path = "/pinctrl/gpio-items";
|
|
__overlay__ {
|
|
|
|
gpio_led_aux: gpio-led-aux {
|
|
rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
|
|
reset_key: reset-key {
|
|
rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
fragment@2 {
|
|
target = <&gpio_keys>;
|
|
__overlay__ {
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&reset_key>;
|
|
|
|
reset {
|
|
gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_LOW>;
|
|
label = "reset";
|
|
linux,code = <KEY_RESTART>;
|
|
debounce-interval = <200>;
|
|
wakeup-source;
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
};
|