其中gpio0节点是在内核源码的“/arch/arm64/boot/dts/rockchip/rk3568.dtsi”设备树的3549-3560行定义的,而ft5x06: ft5x06@38触摸芯片节点是在内核源码的“/arch/arm64/boot/dts/rockchip/topeet_rk3568_lcds.dtsi”设备树的301-313行定义的。接下来将会对设备树常见的四个gpio属性进行介绍。 60.1.2 gpio-...
imx8qm-mek-gpio-poweroff.dts #include "imx8qm-mek.dts" /{ gpio-keys {compatible = "gpio-keys";pinctrl-names = "default";pinctrl-0 = <&pinctrl_gpio_keys>; power {label = "GPIO Key Power";linux,code = <KEY_POWER>;gpios = <&lsio_gpio5 22 GPIO_ACTIVE_LOW>;debounce-interval =...
dts/freescale/fsl-imx8qxp-colibri-eval-v3.dtsi@@ -41,7 +41,10 @@ gpio-key,wakeup; }; };-+ gpio-poweroff {+ compatible = "gpio-poweroff";+ gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;+ }; panel { compatible = "panel-dpi"; backlight = <&backlight>;diff --git a/arch/arm64/...
... anyway: does that "wakeup-source" mean, that the rockpi4 is able to wakeup on keypress after issuing a "poweroff"? Only if this line is also wired up to the pmic. When the power is cut off, no code is executed any longer that could initiate actions. Reveal hidden contents ...
全志D1开发板添加基于中断的 gpio-key 按键驱动 修改output/build/linux-origin_master/arch/riscv/boot/dts/board.dts:在 reg_usb1_vbus: usb1-vbus { compatible = "regulator-fixed"; regulator-name = "usb1-vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regula...
{ poweroff-on-red-state; }; }; gpu-dvfs-rework { status = "okay"; }; pwm_regulators { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <0>; cpu_ovr_reg: pwm-regulator@0 { status = "okay"; reg = <0>; compatible = "pwm-regulator"...