Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
49 lines
898 B
Devicetree
49 lines
898 B
Devicetree
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/dts-v1/;
|
|
|
|
#include "rk3566-pinetab2.dtsi"
|
|
|
|
/ {
|
|
model = "Pine64 PineTab2 v2.0";
|
|
compatible = "pine64,pinetab2-v2.0", "pine64,pinetab2", "rockchip,rk3566";
|
|
};
|
|
|
|
&gpio_keys {
|
|
pinctrl-0 = <&kb_id_det>, <&hall_int_l>;
|
|
|
|
event-hall-sensor {
|
|
debounce-interval = <20>;
|
|
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
|
|
label = "Hall Sensor";
|
|
linux,code = <SW_LID>;
|
|
linux,input-type = <EV_SW>;
|
|
wakeup-event-action = <EV_ACT_DEASSERTED>;
|
|
wakeup-source;
|
|
};
|
|
};
|
|
|
|
&lcd {
|
|
reset-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_LOW>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&lcd_pwren_h &lcd0_rst_l>;
|
|
};
|
|
|
|
&pinctrl {
|
|
lcd0 {
|
|
lcd0_rst_l: lcd0-rst-l {
|
|
rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|
|
hall {
|
|
hall_int_l: hall-int-l {
|
|
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&sdmmc1 {
|
|
vmmc-supply = <&vcc_sys>;
|
|
};
|