Files
build/patch/kernel/archive/rockchip-6.17/overlay/rk322x-led-conf5.dtso
Paolo Sabatino 29317c6f7e update rockchip 32 bit edge kernel to 6.17
* 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
2025-09-18 22:48:06 +02:00

98 lines
1.6 KiB
Plaintext

/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/rockchip.h>
/*
* gpio configuration for AEMS IPB900 boards
*
* - enables working and auxiliary leds
* - fixes low strength on sdio pins for wifi
*/
/ {
fragment@0 {
target-path = "/gpio-leds";
__overlay__ {
working {
gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
auxiliary {
gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_LOW>;
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 = <1 RK_PA7 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;
};
};
};
fragment@3 {
target = <&sdio_bus4>;
__overlay__ {
rockchip,pins = <3 2 1 &pcfg_pull_none_8ma>,
<3 3 1 &pcfg_pull_none_8ma>,
<3 4 1 &pcfg_pull_none_8ma>,
<3 5 1 &pcfg_pull_none_8ma>;
};
};
fragment@4 {
target = <&sdio_clk>;
__overlay__ {
rockchip,pins = <3 0 1 &pcfg_pull_none_8ma>;
};
};
fragment@5 {
target = <&sdio_cmd>;
__overlay__ {
rockchip,pins = <3 1 1 &pcfg_pull_none_8ma>;
};
};
};